]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: Add ifunc tests for memmove
[thirdparty/glibc.git] / ChangeLog
CommitLineData
91f4b564
AZ
12014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4 (__libc_ifunc_impl_list): Add memmove functions.
5
7c33f1e5
SP
62014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7
8 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9 Remove code.
10 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11 Likewise
12 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13 Likewise
14 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15 Likewise
16 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17 Likewise
18 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
19 Likewise
20 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21 Likewise
22 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23 Likewise
24 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
25 Likewise
26 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27 Likewise
28 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29 Likewise
30 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31 Likewise
32 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
33 Likewise
34 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
35 Likewise
36 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37 Likewise
38 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
39 Likewise
40 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41 Likewise
42
3f17b03b
AZ
432014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44
87868c24
AZ
45 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46 to avoid alignment traps in non-cacheable memory.
47 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48
07aedd78
AZ
49 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
50 multiarch objects.
51 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
52 file: multiarch power7 memmove.
53 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
54 multiarch default memmove.
55 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
56 multiarch memove for powerpc32/power4.
57
17762f66
AZ
58 * string/bcopy.c: Use full path to include memmove.c.
59 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
60 multiarch objects.
61 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
62 bcopy for powerpc64.
63 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
64 bcopy for powerpc64.
65 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
66 and memmove implementations.
67 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
68 optimized multiarch memmove for POWER7/powerpc64.
69 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
70 default multiarch memmove for powerpc64.
71 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
72 multiarch for powerpc64.
73 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
74 for POWER7/powerpc64.
75 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
76 memmove for POWER7/powerpc64.
77
d6f68bbe
AZ
78 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
79 glibc default one.
80
3f17b03b
AZ
81 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
82 __ELF_NATIVE_CLASS equal to 64.
83
08192659
RM
842014-07-07 Roland McGrath <roland@hack.frob.com>
85
f4c4021b
RM
86 * sysdeps/nptl/lowlevellock.h: File removed.
87
f083450f
RM
88 * NEWS: NPTL is no longer an add-on!
89 * nptl/internaltypes.h: Moved ...
90 * sysdeps/nptl/internaltypes.h: ... here.
91 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
92 * sysdeps/nptl/fork.c: Likewise.
93 * sysdeps/nptl/gai_misc.h: Likewise.
94 * sysdeps/nptl/librt-cancellation.c: Likewise.
95 * sysdeps/nptl/jmp-unwind.c: Likewise.
96 * sysdeps/nptl/setxid.h: Likewise.
97 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
98 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
99 * sysdeps/unix/sysv/linux/arm/Implies: New file.
100 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
101 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
102 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
103 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
104 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
105 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
106 * sysdeps/unix/sysv/linux/mips/Implies: New file.
107 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
108 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
109 * sysdeps/unix/sysv/linux/sh/Implies: New file.
110 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
111 * sysdeps/unix/sysv/linux/tile/Implies: New file.
112 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
113 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
114 * nptl/Makeconfig: Moved ...
115 * sysdeps/nptl/Makeconfig: ... here.
116 * nptl/configure: File removed.
117 * nptl/ANNOUNCE: File removed.
118 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
119 * sysdeps/unix/sysv/linux/configure: Regenerated.
120
08192659
RM
121 * nptl/Makefile (routines): Add libc_pthread_init,
122 libc_multiple_threads, register-atfork and unregister-atfork.
123 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
124 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
125 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
126 pthread-pi-defines.sym, structsem.sym.
127 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
128 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
129 [$(subdir) = nptl] (tests): Add tst-setgetname.
130 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
131 * sysdeps/unix/sysv/linux/sigaction.c: Just include
132 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
133 [!LIBC_SIGACTION]: Remove aliases.
134 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
135 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
136 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
137 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
138 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
139 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
140 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
141 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
142 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
143 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
144 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
145 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
146 __libc_allocate_rtsig_private.
147 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
148 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
149 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
150 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
151 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
152 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
153 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
154 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
155 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
156 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
157 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
158 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
159 * nptl/internaltypes.h: ... here.
160 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
161 * sysdeps/nptl/jmp-unwind.c: ... here.
162 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
163 * nptl/libc-lowlevellock.c: ... here.
164 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
165 * nptl/libc_multiple_threads.c: ... here.
166 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
167 * nptl/libc_pthread_init.c: ... here.
168 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
169 * nptl/lowlevelbarrier.sym: ... here.
170 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
171 * nptl/lowlevelcond.sym: ... here.
172 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
173 * nptl/lowlevellock.c: ... here.
174 * nptl/lowlevellock.h: Moved ...
175 * sysdeps/nptl/lowlevellock.h: ... here.
176 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
177 * nptl/lowlevelrobustlock.c: ... here.
178 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
179 * nptl/lowlevelrobustlock.sym: ... here.
180 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
181 * nptl/lowlevelrwlock.sym: ... here.
182 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
183 * nptl/pt-fork.c: ... here.
184 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
185 * nptl/pthread-pi-defines.sym: ... here.
186 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
187 * nptl/pthread_attr_getaffinity.c: ... here.
188 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
189 * nptl/pthread_attr_setaffinity.c: ... here.
190 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
191 * nptl/pthread_mutex_cond_lock.c: ... here.
192 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
193 Update #include.
194 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
195 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
196 * nptl/pthread_once.c: ... here, replacing old file.
197 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
198 * nptl/pthread_yield.c: ... here.
199 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
200 * nptl/register-atfork.c: ... here.
201 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
202 * nptl/sem_post.c: ... here.
203 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
204 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
205 * nptl/sem_timedwait.c: ... here.
206 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
207 * nptl/sem_trywait.c: ... here.
208 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
209 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
210 * nptl/sem_wait.c: ... here.
211 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
212 * nptl/structsem.sym: ... here.
213 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
214 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
215 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
216 * nptl/unregister-atfork.c: ... here.
217 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
218 * nptl/unwindbuf.sym: ... here.
219 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
220 * sysdeps/nptl/fork.c: ... here.
221 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
222 * sysdeps/nptl/fork.h: ... here.
223 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
224 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
225 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
226 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
227 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
228 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
229 * sysdeps/unix/sysv/linux/getpid.c: ... here.
230 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
231 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
232 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
233 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
234 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
235 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
236 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
237 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
238 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
239 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
240 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
241 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
242 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
243 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
244 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
245 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
246 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
247 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
248 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
249 * sysdeps/unix/sysv/linux/raise.c: ... here.
250 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
251 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
252 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
253 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
254 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
255 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
256 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
257 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
258 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
259 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
260 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
261 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
262 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
263 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
264 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
265
96baf6ff
SP
2662014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
267
268 * sysdeps/generic/memcopy.h: Add comment for
269 MEMCPY_OK_FOR_FWD_MEMMOVE.
270
6b7b14b2
WN
2712014-07-04 Will Newton <will.newton@linaro.org>
272
1570a72b
WN
273 * string/memchr.c: Merge from gnulib.
274 [_LIBC]: Remove conditionals.
275 (__ptr_t): Remove define.
276 (LONG_MAX_32_BITS): Likewise.
277 (LONG_MAX): Likewise.
278 (MEMCHR): Use ANSI prototype and optimize algorithm.
279
6b7b14b2
WN
280 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
281
38851324
SP
2822014-07-03 Roland McGrath <roland@hack.frob.com>
283
3d9eb57c
RM
284 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
285 (lll_futex_timed_wait_bitset): Fix syscall argument count.
286
78b984ae
RM
287 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
288 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
289 in a bare environment with no <stdlib.h> installed.
290 * sysdeps/nptl/configure: Regenerated.
291
2d5976a5
RM
292 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
293
c1f5acd4
RM
294 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
295 AC_EGREP_CPP for kernel header checks, so they only succeed if
296 including <linux/version.h> actually works right.
297 * sysdeps/unix/sysv/linux/configure: Regenerated.
298
4d614fe5
RM
299 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
300 value so it's not diagnosed as unused.
301
38851324
SP
302 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
303 thing) with "ifeq ($(subdir),rt)".
304
b3ec00e5
RH
3052014-07-03 Richard Henderson <rth@redhat.com>
306
69862e25
RH
307 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
308 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
309 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
310
d5e16ade
RH
311 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
312 (math_force_eval): New.
313
ca7b945c
RH
314 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
315 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
316
cd1175a3
RH
317 * sysdeps/alpha/fpu/s_round.c: Remove file.
318 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
319
b3ec00e5
RH
320 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
321 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
322 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
323 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
324 (_dl_start, print_statistics): Likewise.
325 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
326 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
327
328 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
329 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
330 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
331 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
332 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
333 (HP_SMALL_TIMING_AVAIL): Define.
334 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
335 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
336 (HP_SMALL_TIMING_AVAIL): Define.
337 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
338 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
339
340 * sysdeps/aarch64/hp-timing.h: New file.
341
342 * sysdeps/generic/hp-timing.h: Remove dead comment.
343 * sysdeps/generic/hp-timing-common.h: New file.
344 * sysdeps/alpha/hp-timing.h: Include it.
345 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
346 * sysdeps/i386/i686/hp-timing.h: Likewise.
347 * sysdeps/ia64/hp-timing.h: Likewise.
348 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
349 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
350 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
351 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
352 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
353 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
354 (hp_timing_t): New.
355
356 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
357 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
358 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
359 * elf/rtld.c (_dl_start_final): Likewise.
360 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
361 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
362 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
363 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
364 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
365 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
366 (HP_TIMING_DIFF_INIT): Remove.
367 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
368 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
369 (HP_TIMING_DIFF_INIT): Remove.
370 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
371 * sysdeps/i386/i686/hp-timing.c: Remove file.
372 * sysdeps/x86_64/hp-timing.c: Remove file.
373 * sysdeps/ia64/hp-timing.c: Remove file.
374 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
375 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
376 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
377 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
378
379 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
380 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
381 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
382 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
383 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
384 (HP_TIMING_ACCUM): Remove.
385 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
386 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
387 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
388
389 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
390 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
391 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
392 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
393 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
394 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
395 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
396 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
397
398 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
399
225f410f
MR
4002014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
401
402 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
403
3247f285
SP
4042014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
405
406 Sync up with gettext.
407 * intl/loadmsgcat.c: Define O_BINARY if not defined.
408 [_MSC_VER]: Include malloc.h
409 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
410 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
411 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
412 TEMP_FAILURE_RETRY. Cast return of alloca.
413 [!_LIBC] Call gl_rwlock_init.
414 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
415
d12704c7
SP
4162014-07-02 Roland McGrath <roland@hack.frob.com>
417
418 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
419 before checking its value.
420
99f8dc92
SP
4212014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
422
05fdac77
SP
423 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
424
99f8dc92
SP
425 * debug/memcpy_chk.c: Don't include pagecopy.h.
426 * debug/mempcpy_chk.c: Likewise.
427 * string/memcpy.c: Likewise.
428 * string/memmove.c: Likewise.
429 * sysdeps/powerpc/memmove.c: Likewise.
430 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
431 definition of PAGE_COPY_FWD_MAYBE here...
432 * sysdeps/generic/pagecopy.h: ... from here.
433 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
434
bc8ea385
VR
4352014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
436 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
437
438 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
440 optimizations.
441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
442 (__libc_ifunc_impl_list): Likewise.
443 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
444 multiarch strcat for PPC64.
445 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
446 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
447
fe5f34e4
RM
4482014-07-02 Roland McGrath <roland@hack.frob.com>
449
450 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
451
256aa665
SP
4522014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
453
d4eb8195
SP
454 * intl/loadmsgcat.c: Remove declaration of
455 get_sysdep_segment_value.
456 (get_sysdep_segment_value): Use ISO C style.
457 (_nl_load_domain): Use ISO C style. Get rid of redundant
458 semicolon. Fix typo and formatting in comment.
459 (_nl_unload_domain): Use ISO C style.
460
256aa665
SP
461 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
462
b100f9aa
WN
4632014-07-02 Will Newton <will.newton@linaro.org>
464
465 * malloc/obstack.c: Merge from gnulib master.
466 [HAVE_CONFIG_H]: Remove conditional code.
467 [!_LIBC]: Include config.h.
468 [!ELIDE_CODE]: Don't include inttypes.h, include
469 stdint.h unconditionally.
470 (print_and_abort): Mark as _Noreturn.
471 (_obstack_allocated_p): Mark as __attribute_pure__.
472 (obstack_free): Rename to __obstack_free.
473 [!__attribute__]: Remove conditional code.
474 * malloc/obstack.h: Merge from gnulib master.
475 [__cplusplus]: Move conditional down.
476 [!__attribute_pure__]: Define __attribute_pure__ here
477 if it is not already defined.
478 (_obstack_memory_used): Mark as __attribute_pure__.
479 [!__obstack_free]: Define as obstack_free.
480 [__GNUC__]: Remove check for ancient NeXT gcc.
481
c4c41244
PE
4822014-07-02 Will Newton <will.newton@linaro.org>
483 Paul Eggert <eggert@cs.ucla.edu>
484
485 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
486
e1e041c4
SP
4872014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
488
489 * resolv/gethnamaddr.c: Add comment warning that the file is
490 not maintained.
491
ccf431ff
CD
4922014-07-01 Carlos O'Donell <carlos@redhat.com>
493
d34570a6
CD
494 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
495 entries.
496
ccf431ff
CD
497 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
498 entry for aio_cancel and aio_cancel64.
499 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
500 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
501 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
502 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
503 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
504 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
505 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
506 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
507 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
508 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
509 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
510 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
511 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
512
ca06321d
RM
5132014-07-01 Roland McGrath <roland@hack.frob.com>
514
515 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
516 * nptl/pthread_mutex_lock.c: Likewise.
517 * nptl/pthread_mutex_timedlock.c: Likewise.
518 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
519
a1ac3184
RH
5202014-07-01 Richard henderson <rth@redhat.com>
521
631021e0
RH
522 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
523 (__isnan, __isnanl): Remove.
524 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
525
a1ac3184
RH
526 * sysdeps/alpha/fpu/libm-test-ulps: Update.
527
0c1d731f
SL
5282014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
529
530 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
531
76985d3e
SP
5322014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
533
534 * resolv/nss_dns/dns-host.c (getanswer_r)
535 [MULTI_PTRS_ARE_ALIASES]: Remove code.
536
b0cb3096
JM
5372014-07-01 Joseph Myers <joseph@codesourcery.com>
538
539 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
540 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
541 undefine.
542 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
543 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
544
4d76cb39
RM
5452014-07-01 Roland McGrath <roland@hack.frob.com>
546
547 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
548 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
549
550 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
551 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
552
553 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
554 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
555 ... here.
556 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
557 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
558
559 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
560 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
561 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
562 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
563
564 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
565 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
566 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
567 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
568 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
569 Moved ...
570 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
571 ... here.
572 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
573 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
574 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
575 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
576 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
577 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
578 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
579 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
580 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
581 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
582 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
583 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
584 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
585 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
586 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
587 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
588 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
589 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
590 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
591 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
592 ... here.
593 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
594 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
595 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
596 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
597 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
598 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
599 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
600 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
601
0cdcad17
DH
6022014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
603
604 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
605 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
606 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
607 Add sysdep.
608
9b71d0e3
AZ
6092014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
610
611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
612
665390c2
JM
6132014-06-30 Joseph Myers <joseph@codesourcery.com>
614
ae05a9d7
JM
615 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
616 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
617
a7672a2f
JM
618 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
619
665390c2
JM
620 * sysdeps/arm/libm-test-ulps: Regenerated.
621
d7a05d07
MR
6222014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
623 Roland McGrath <roland@hack.frob.com>
624
625 * test-skeleton.c (signal_handler): Kill the whole process group
626 before killing the child individually.
627 (main): Report any failure on `setpgid'.
628
46f1d8a6
RM
6292014-06-30 Roland McGrath <roland@hack.frob.com>
630
631 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
632 from _TLS_H to _ARM_NPTL_TLS_H.
633 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
634 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
635
9c37ec0b
JM
6362014-06-30 Joseph Myers <joseph@codesourcery.com>
637
ce9c5b3e
JM
638 [BZ #16539]
639 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
640 (__expm1l): Return argument unchanged when small but not
641 subnormal.
642
3a6e9887
JM
643 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
644 include macro name.
645 (_FP_UNPACK_RAW_1_P): Likewise.
646 (_FP_PACK_RAW_1): Likewise.
647 (_FP_PACK_RAW_1_P): Likewise.
648 (_FP_MUL_MEAT_1_wide): Likewise.
649 (_FP_MUL_MEAT_DW_1_hard): Likewise.
650 (_FP_MUL_MEAT_1_hard): Likewise.
651 (_FP_DIV_MEAT_1_imm): Likewise.
652 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
653 (_FP_DIV_MEAT_1_udiv): Likewise.
654 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
655 (_FP_UNPACK_RAW_2): Likewise.
656 (_FP_UNPACK_RAW_2_P): Likewise.
657 (_FP_PACK_RAW_2): Likewise.
658 (_FP_PACK_RAW_2_P): Likewise.
659 (_FP_MUL_MEAT_DW_2_wide): Likewise.
660 (_FP_MUL_MEAT_2_wide): Likewise.
661 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
662 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
663 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
664 (_FP_MUL_MEAT_2_gmp): Likewise.
665 (_FP_DIV_MEAT_2_udiv): Likewise.
666 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
667 (_FP_FRAC_SRL_4): Likewise.
668 (_FP_FRAC_SRST_4): Likewise.
669 (_FP_FRAC_SRS_4): Likewise.
670 (_FP_UNPACK_RAW_4): Likewise.
671 (_FP_UNPACK_RAW_4_P): Likewise.
672 (_FP_PACK_RAW_4): Likewise.
673 (_FP_PACK_RAW_4_P): Likewise.
674 (_FP_MUL_MEAT_DW_4_wide): Likewise.
675 (_FP_MUL_MEAT_4_wide): Likewise.
676 (_FP_MUL_MEAT_4_gmp): Likewise.
677 (umul_ppppmnnn): Likewise.
678 (_FP_DIV_MEAT_4_udiv): Likewise.
679 (__FP_FRAC_ADD_4): Likewise.
680 (__FP_FRAC_SUB_3): Likewise.
681 (__FP_FRAC_SUB_4): Likewise.
682 (__FP_FRAC_DEC_3): Likewise.
683 (__FP_FRAC_DEC_4): Likewise.
684 (__FP_FRAC_ADDI_4): Likewise.
685 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
686 (_FP_FRAC_SRL_8): Likewise.
687 (_FP_FRAC_SRS_8): Likewise.
688
9c37ec0b
JM
689 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
690 include macro name.
691 (FP_UNPACK_RAW_EP): Likewise.
692 (FP_PACK_RAW_E): Likewise.
693 (FP_PACK_RAW_EP): Likewise.
694 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
695 (_FP_ISSIGNAN): Likewise.
696 (_FP_ADD_INTERNAL): Likewise.
697 (_FP_FMA): Likewise.
698 (_FP_CMP): Likewise.
699 (_FP_SQRT): Likewise.
700 (_FP_TO_INT): Likewise.
701 (_FP_FROM_INT): Likewise.
702 (FP_EXTEND): Likewise.
703 (_FP_DIV_MEAT_N_loop): Likewise.
704
2125f674
MR
7052014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
706
707 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
708 throughout.
709
edea4028
JM
7102014-06-29 Joseph Myers <joseph@codesourcery.com>
711
712 [BZ #17097]
713 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
714 result with correct sign in case of exponents that produce
715 overflow except for X very close to 1.
716
dd0ba018
PE
7172014-06-28 Paul Eggert <eggert@cs.ucla.edu>
718
719 mktime: merge #if/#ifdef usage from glibc
720 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
721 as that works with both Glibc's and Gnulib's style.
722 See thread starting at Siddhesh Poyarekar's bug report at:
723 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
724
64df73c2
SP
7252014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
726
727 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
728 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
729 * sysdeps/tile/tilegx/memmove.c: Remove file.
730
f1eafb41
JM
7312014-06-27 Joseph Myers <joseph@codesourcery.com>
732
733 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
734 abi-name definition.
735 * scripts/soversions.awk: Do not handle or generate ABI lines.
736 * shlib-versions: Remove ABI entries.
737 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
738 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
739
58eb0862
RM
7402014-06-27 Roland McGrath <roland@hack.frob.com>
741
37caf178
RM
742 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
743 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
744 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
746 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
748 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
749 Moved ...
750 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
751 ... here.
752 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
754 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
756 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
758 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
760 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
762 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
764 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
765 Moved ...
766 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
767 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
769 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
770 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
771 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
772 Moved ...
773 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
774 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
775 Moved ...
776 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
777 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
778 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
779 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
780 Moved ...
781 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
782 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
783 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
784 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
785 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
786 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
787 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
788 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
789 Moved ...
790 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
791 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
793 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
794 Moved ...
795 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
796 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
797 Moved ...
798 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
799 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
801 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
802 Moved ...
803 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
804 ... here.
805 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
806 Identical file removed.
807 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
808 Moved ...
809 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
810 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
811 Identical file removed.
812 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
813 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
814 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
815 Moved ...
816 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
817 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
818 Identical file removed.
819 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
820 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
821 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
822 Identical file removed.
823 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
824 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
825 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
826 Identical file removed.
827 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
828 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
829 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
830 Identical file removed.
831 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
832 Moved ...
833 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
834 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
835 Identical file removed.
836 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
837 Moved ...
838 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
839 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
840 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
841 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
842 Identical file removed.
843 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
844 Moved ...
845 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
846 ... here.
847 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
848 Identical file removed.
849 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
850 Moved ...
851 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
852 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
853 Identical file removed.
854 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
855 Moved ...
856 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
857 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
858 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
859 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
860 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
861 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
862 Moved ...
863 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
864 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
865 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
866
58eb0862
RM
867 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
868 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
869 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
870 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
871 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
872
6f12d062
AS
8732014-06-27 Arjun Shankar <arjun.is@lostca.se>
874
875 [BZ #17092]
876 * nscd/nscd.c (monitor_child): Return exit status of child
877 instead of return value from wait syscall.
878
be254932
JM
8792014-06-27 Joseph Myers <joseph@codesourcery.com>
880
cb403c34
JM
881 * configure.ac (libc_commonpagesize): Remove variable.
882 (libc_relro_required): Likewise.
883 (libc_cv_z_relro): Remove configure test.
884 * configure: Regenerated.
885 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
886 variable.
887 (libc_relro_required): Likewise.
888 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
889 (libc_relro_required): Likewise.
890 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
891 (libc_relro_required): Likewise.
892 * sysdeps/arm/preconfigure: Regenerated.
893 * sysdeps/ia64/preconfigure: Remove file.
894 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
895 variable.
896 (libc_relro_required): Likewise.
897
be254932
JM
898 [BZ #16561]
899 [BZ #16562]
900 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
901 (__ieee754_yn): Set FE_TONEAREST mode internally and then
902 recompute overflowing results in original rounding mode.
903 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
904 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
905 recompute overflowing results in original rounding mode.
906 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
907 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
908 recompute overflowing results in original rounding mode.
909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
910 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
911 recompute overflowing results in original rounding mode.
912 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
913 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
914 recompute overflowing results in original rounding mode.
915 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
916 (libc_feholdsetround_ctx): New macro.
917 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
918 * sysdeps/i386/fpu/libm-test-ulps: Update.
919 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
920
b351d85a
JM
9212014-06-26 Joseph Myers <joseph@codesourcery.com>
922
923 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
924 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
925 corresponding .cpsetup call.
926
3cb4de47
RM
9272014-06-26 Roland McGrath <roland@hack.frob.com>
928
929 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
930 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
931 * sysdeps/arm/Makefile [$(subdir) = csu]
932 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
933 (static-only-routines): Add aeabi_read_tp here.
934 (shared-only-routines): Add libc-aeabi_read_tp here.
935 (CFLAGS-libc-start.c): Add -fexceptions here.
936 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
937 (sysdep_routines, static-only-routines, shared-only-routines):
938 Don't add to these here.
939 (CFLAGS-libc-start.c): Likewise.
940
941 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
942 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
943 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
944 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
945 * sysdeps/arm/Makefile [$(subdir) = rt]
946 (librt-sysdep_routines, librt-shared-only-routines):
947 Append rt-aeabi_unwind_cpp_pr1 here.
948 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
949 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
950 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
951 (libpthread-sysdep_routines, libpthread-shared-only-routines):
952 Append nptl-aeabi_unwind_cpp_pr1 here.
953 (tests): Filter out tst-cleanupx4 here.
954 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
955 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
956 Don't do those here.
957
354426bb
JM
9582014-06-26 Joseph Myers <joseph@codesourcery.com>
959
960 * scripts/list-sources.sh: Do not handle ports specially.
961
28b0a8c9
RM
9622014-06-26 Roland McGrath <roland@hack.frob.com>
963
a3dd035d
RM
964 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
965 * sysdeps/arm/feupdateenv.c: Likewise.
966
28b0a8c9
RM
967 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
968
e66a8203
JM
9692014-06-26 Joseph Myers <joseph@codesourcery.com>
970
971 * manual/texinfo.tex: Update to version 2014-05-05.10 with
972 trailing whitespace removed.
973 * scripts/config.guess: Update to version 2014-03-23.
974 * scripts/config.sub: Update to version 2014-05-01
975 * scripts/install-sh: Update to version 2013-12-25.23.
976 * scripts/move-if-change: Update from gnulib.
977
74171115
SP
9782014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
979
b97c9ce5
SP
980 * debug/memmove_chk.c: Remove pagecopy.h include.
981
4000f892
SP
9822014-06-26 Paul Eggert <eggert@cs.ucla.edu>
983
74171115
SP
984 * time/mktime.c (leapyear): Remove inline keyword. The code is now
985 identical to gnulib mktime.
986
a8779c28
JM
9872014-06-26 Joseph Myers <joseph@codesourcery.com>
988
e64708de
JM
989 * configure.ac: Do not test for machine being rs6000. Do not test
990 for powerpc*-*soft.
991 * configure: Regenerated.
992
a8779c28
JM
993 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
994 test.
995 * configure: Regenerated.
996 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
997 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
998 Remove configure test.
999 * sysdeps/arm/configure: Regenerated.
1000 * sysdeps/nptl/configure.ac: Do not check
1001 libc_cv_asm_cfi_directives.
1002 * sysdeps/nptl/configure: Regenerated.
1003 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1004 * sysdeps/x86_64/nptl/configure: Remove generated file.
1005 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1006 unconditional.
1007 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1008
2aac0a86
SP
10092014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1010
059bf913
SP
1011 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1012 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1013 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1014 it is defined.
1015
4cf5b6d0
SP
1016 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1017 instead of whether it is defined.
1018 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1019 * sysdeps/hppa/dl-machine.h: Likewise.
1020 * sysdeps/ia64/dl-machine.h: Likewise.
1021 * sysdeps/m68k/dl-machine.h: Likewise.
1022 * sysdeps/microblaze/dl-machine.h: Likewise.
1023 * sysdeps/mips/dl-machine.: Likewise.
1024 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1025 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1026 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1027 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1028 * sysdeps/sh/dl-machine.h: Likewise.
1029 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1030 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1031 * sysdeps/tile/dl-machine.h: Likewise.
1032 * sysdeps/x86_64/dl-machine.h: Likewise.
1033
2aac0a86
SP
1034 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1035 code.
1036 (verify_persistent_db): Likewise.
1037
6ad2df0b
RM
10382014-06-26 Roland McGrath <roland@hack.frob.com>
1039
d8a483f3
RM
1040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1041 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1043 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1045 Moved ...
1046 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1047 ... here.
1048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1049 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1051 Identical file removed.
1052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1053 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1055 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1057 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1059 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1061 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1063 Moved ...
1064 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1066 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1068 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1070 Moved ...
1071 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1073 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1075 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1077 Identical file removed.
1078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1079 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1081 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1083 Moved ...
1084 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1085 ... here.
1086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1087 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1091 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1093 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1095 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1097 Moved ...
1098 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1100 Moved ...
1101 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1103 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1105 Moved ...
1106 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1108 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1109
52ae23b4
RM
1110 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1111 folded into ...
1112 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1113 * sysdeps/unix/sysv/linux/s390/Versions
1114 (libpthread: GLIBC_2.19): New version set.
1115 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1116 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1117 (librt: GLIBC_2.3.3): New version set.
1118 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1119 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1120 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1122 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1124 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1126 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1128 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1129 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1130 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1131 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1132 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1133 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1134 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1135 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1136 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1137 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1138 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1139 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1140 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1141 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1142 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1143 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1144 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1145 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1146 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1147 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1148 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1149 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1151 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1153 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1154 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1155 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1156 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1157 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1158 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1159 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1160 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1161 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1162 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1163
39507e4a
RM
1164 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1165 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1166 (__libc_vfork): Define the function under this name.
1167 [!NOT_IN_libc] (__vfork): Make this an alias.
1168 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1169 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1170 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1171 (__libc_vfork): Define the function under this name.
1172 [!NOT_IN_libc] (__vfork): Make this an alias.
1173 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1174 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1175 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1177 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1178 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1179
e549ee56
RM
1180 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1181 code that was previously under [RESET_PID].
1182 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1183 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1184 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1185
6ad2df0b
RM
1186 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1187 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1188 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1189 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1190 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1191 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1192 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1193 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1194 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1195 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1196 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1197 Moved ...
1198 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1200 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1201 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1202 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1203 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1204 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1206 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1208 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1209 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1210 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1212 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1214 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1216 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1217 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1218 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1220 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1221 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1222 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1223 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1224 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1225 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1226 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1227
7c1c1d8e
RM
12282014-06-25 Roland McGrath <roland@hack.frob.com>
1229
1230 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1231 that was previously under [RESET_PID].
1232 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1233
3e239be6
JM
12342014-06-25 Joseph Myers <joseph@codesourcery.com>
1235
74385da5
JM
1236 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1237 not undefine and redefine.
1238 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1239 [O_CLOEXEC]: Make code unconditional.
1240 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1241 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1242 <kernel-features.h>.
1243 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1244 conditional variable definition.
1245 (shm_open) [O_CLOEXEC]: Make code unconditional.
1246 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1247 code.
1248
c2570a0b
JM
1249 * configure.ac (USE_REGPARMS): Don't define here.
1250 * configure: Regenerated.
1251 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1252 * sysdeps/i386/configure: Regenerated.
1253
11b076bb
JM
1254 * nptl/createthread.c: Don't include kernel-features.h.
1255 * nptl/pthread_cancel.c: Likewise.
1256 * nptl/pthread_condattr_setclock.c: Likewise.
1257 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1258 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1259 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1260 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1261 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1262 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1263 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1264 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1265 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1266 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1267 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1268 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1269 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1270 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1271 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1272 * nscd/gai.c: Likewise.
1273 * nss/nss_db/db-open.c: Likewise.
1274 * sysdeps/generic/ldsodefs.h: Likewise.
1275 * sysdeps/sh/nptl/tls.h: Likewise.
1276 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1277 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1278 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1279 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1280 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1281 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1282 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1283 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1284 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1285 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1286 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1287 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1288 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1289 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1290 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1291 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1292 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1293 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1294 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1295 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1296 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1297 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1298 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1299 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1300 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1301 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1302 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1303 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1304 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1305 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1306 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1307 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1308 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1309 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1310 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1311 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1312 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1313 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1314 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1315 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1316 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1317 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1318 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1319 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1320 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1321 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1322 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1323 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1324 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1325 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1326 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1327 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1328 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1329 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1330 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1331 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1332 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1333 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1356 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1357 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1358 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1359 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1360 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1361 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1362 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1363 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1364 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1365 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1366 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1367 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1368 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1369 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1370 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1371 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1372 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1373 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1374 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1375 * sysdeps/unix/sysv/linux/system.c: Likewise.
1376 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1377 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1378 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1379 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1380 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1381 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1382 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1383
92072d57
JM
1384 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1385 * configure: Regenerated.
1386 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1387
3e239be6
JM
1388 * configure.ac (base_machine): Do not set specially for particular
1389 machines here.
1390 * configure: Regenerated.
1391 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1392 settings from configure.ac.
1393 * sysdeps/i386/preconfigure: New file.
1394 * sysdeps/s390/preconfigure: Likewise.
1395 * sysdeps/sh/preconfigure: Likewise.
1396 * sysdeps/sparc/preconfigure: Likewise.
1397
06d50baa
RM
13982014-06-25 Roland McGrath <roland@hack.frob.com>
1399
74836003
RM
1400 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1401 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1402 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1403 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1404 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1405 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1406 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1407 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1408 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1409 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1410 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1411 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1412 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1413 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1414 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1415 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1416 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1417 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1418 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1419
1420 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1421 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1422 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1423 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1424 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1425 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1426 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1427 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1428 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1429 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1430 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1431 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1432 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1433 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1434 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1435 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1436 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1437 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1438 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1439 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1440 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1441 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1442 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1443 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1444 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1445 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1446 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1447 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1448 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1449 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1450 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1451 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1452 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1453 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1454 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1455 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1456 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1457 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1458
06d50baa
RM
1459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1460 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1462 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1464 Moved ...
1465 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1466 ... here.
1467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1468 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1470 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1472 Moved ...
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1479 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1481 Moved ...
1482 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1484 Moved ...
1485 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1487 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1489 Moved ...
1490 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1492 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1494 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1496 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1500 Moved ...
1501 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1502 ... here.
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1504 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1506 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1508 Moved ...
1509 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1511 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1515 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1517 Moved ...
1518 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1520 Moved ...
1521 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1523 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1525 Moved ...
1526 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1528 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1530 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1531
a4ccbc9b
JM
15322014-06-25 Joseph Myers <joseph@codesourcery.com>
1533
0828edbf
JM
1534 * timezone/checktab.awk: Update from tzcode 2014e.
1535 * timezone/private.h: Likewise.
1536 * timezone/tzfile.h: Likewise.
1537 * timezone/zdump.c: Likewise.
1538 * timezone/zic.c: Likewise.
1539
a4ccbc9b
JM
1540 * sysdeps/unix/sysv/linux/kernel-features.h
1541 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1542 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1543 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1544 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1545 Remove conditional code.
1546
9aea0cb8
WN
15472014-06-25 Will Newton <will.newton@linaro.org>
1548
1549 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1550 (_dl_arm_cap_flags): Add HWCAP2 values.
1551 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1552 (_DL_HWCAP_COUNT): Increase to 37.
1553 (_DL_HWCAP_LAST): New define.
1554 (_DL_HWCAP2_LAST): New define.
1555 (_dl_procinfo): Add support for printing
1556 AT_HWCAP2 entries.
1557 (_dl_string_hwcap): Use _dl_hwcap_string.
1558
6eaa65ce
AZ
15592014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1560
1561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1562
0f5b7185
JM
15632014-06-25 Joseph Myers <joseph@codesourcery.com>
1564
cfd2ea50
JM
1565 * README: Do not mention ports directory.
1566
cecf2ed4
JM
1567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1568 Remove macro.
1569 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1570 <kernel-features.h>.
1571 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1572 conditional variable definition.
1573 (__futimes): Update comment.
1574 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1575 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1576
a638de82
JM
1577 [BZ #16560]
1578 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1579 arguments close to 0.
1580 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1581 Likewise.
1582 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1583 Likewise.
1584 * math/auto-libm-test-in: Add more tests of exp10.
1585 * math/auto-libm-test-out: Regenerated.
1586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1587
0f5b7185
JM
1588 * sysdeps/unix/sysv/linux/kernel-features.h
1589 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1590 * sysdeps/unix/sysv/linux/readv.c: Do not include
1591 <kernel-features.h>.
1592 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1593 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1594 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1595 unconditional.
1596 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1597 conditional code.
1598 * sysdeps/unix/sysv/linux/writev.c: Do not include
1599 <kernel-features.h>.
1600 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1601 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1602 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1603 unconditional.
1604 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1605 conditional code.
1606
c7aec4be
WN
16072014-06-25 Will Newton <will.newton@linaro.org>
1608
1609 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1610 comment changes throughout the file. Remove checks
1611 for HAVE_*_H definitions that are not required.
1612 (__gen_tempname): Call abort if an unknown kind value is
1613 passed.
1614
c5241f95
AS
16152014-06-25 Andreas Schwab <schwab@suse.de>
1616
1617 [BZ #17086]
1618 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1619 scalbln, scalblnf, scalblnl in libc.
1620
911422da
SP
16212014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1622
1623 [BZ #17086]
1624 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1625 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1626 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1627
0d749bbe
RM
16282014-06-24 Roland McGrath <roland@hack.frob.com>
1629
1630 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1631 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1632 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1633 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1634 Update #include.
1635 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1636 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1637 Update #include.
1638 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1639 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1640 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1641 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1642 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1643 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1644 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1645 * sysdeps/x86/bits/semaphore.h: ... here.
1646 * sysdeps/x86/nptl/elide.h: Moved ...
1647 * sysdeps/x86/elide.h: ... here.
1648 * sysdeps/x86_64/nptl/Implies: File removed.
1649 * sysdeps/i386/nptl/Implies: File removed.
1650
0ea5d373
JM
16512014-06-24 Joseph Myers <joseph@codesourcery.com>
1652
4060283d
JM
1653 [BZ #16539]
1654 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1655 return the argument for normal arguments with exponent below -64.
1656 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1657 Likewise.
1658 * math/auto-libm-test-in: Add another test of expm1.
1659 * math/auto-libm-test-out: Regenerated.
1660
e7dd3c8c
JM
1661 [BZ #16287]
1662 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1663 calling __erfcl for arguments at least 16.
1664 * math/auto-libm-test-in: Add more tests of erf.
1665 * math/auto-libm-test-out: Regenerated.
1666
0ea5d373
JM
1667 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1668 individual architectures.
1669 * sysdeps/unix/sysv/linux/configure: Regenerated.
1670 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1671 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1672 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1673 (ldd_rewrite_script): Define variable.
1674 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1676 file.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1678 generated file.
1679 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1680 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1681 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1682 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1683 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1684 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1685 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1686 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1687
2307e126
SP
16882014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1689
1690 [BZ #17084]
1691 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1692 Rename member __data.d to __data.__elision_data.
1693
c0a4ed77
W
16942014-06-24 Wilco <wdijkstr@arm.com>
1695
1696 * NEWS: Add 16918 to fixed bug list.
1697
b8c00573
W
16982014-06-24 Wilco <wdijkstr@arm.com>
1699
1700 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1701
b5570d92
W
17022014-06-24 Wilco <wdijkstr@arm.com>
1703
1704 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1705 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1706 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1707 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1708 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1709 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1710 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1711 Use _FPU_MASK_RM.
1712
947bdca2
W
17132014-06-24 Wilco <wdijkstr@arm.com>
1714
1715 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1716
00f669ed
W
17172014-06-24 Wilco <wdijkstr@arm.com>
1718
1719 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1720 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1721 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1722 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1723
db59bad3
W
17242014-06-24 Wilco <wdijkstr@arm.com>
1725
1726 [BZ #16918]
1727 * sysdeps/arm/feupdateenv.c (feupdateenv):
1728 Rewrite to reduce FPSCR accesses and fix return value.
1729
001f7b77
W
17302014-06-24 Wilco <wdijkstr@arm.com>
1731
1732 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1733 Optimize to avoid unnecessary FPSCR writes.
1734 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1735 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1736 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1737 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1738
4841e6a6
W
17392014-06-24 Wilco <wdijkstr@arm.com>
1740
1741 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1742 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1743 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1744 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1745 Call libc_fetestexcept_vfp.
1746 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1747 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1748 __SOFTFP__ ifdef so that they can be built for softfp.
1749
0813022c
SP
17502014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1751
08e5862f
SP
1752 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1753 argument type signed char.
1754
0813022c
SP
1755 * Makerules (check-abi): Dump diff of symlist if the test
1756 fails.
1757
3fc7236a
RM
17582014-06-23 Roland McGrath <roland@hack.frob.com>
1759
aba8ef95
RM
1760 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1761 using abort.
1762
3fc7236a
RM
1763 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1764 Remove unused variable ST.
1765
4da6db51
JM
17662014-06-23 Joseph Myers <joseph@codesourcery.com>
1767
4648909d
JM
1768 [BZ #16354]
1769 [BZ #17061]
1770 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1771 small arguments before calling __expm1.
1772 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1773 small arguments before calling __expm1f.
1774 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1775 small arguments before calling __expm1l.
1776 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1777 Likewise.
1778 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1779 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1780 spurious underflow for some cosh tests.
1781 * math/auto-libm-test-out: Regenerated.
1782 * sysdeps/i386/fpu/libm-test-ulps: Update.
1783
46a3d3c7
JM
1784 [BZ #17050]
1785 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1786 (__ieee754_y1): Set errno if return value overflows.
1787 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1788 (__ieee754_y1f): Set errno if return value overflows.
1789 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1790 (__ieee754_y1l): Set errno if return value overflows.
1791 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1792 (__ieee754_y1l): Set errno if return value overflows.
1793 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1794 * math/auto-libm-test-out: Regenerated.
1795
863893ec
JM
1796 * math/gen-auto-libm-tests.c: Document use of
1797 ignore-zero-inf-sign.
1798 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1799 (input_flags): Add ignore-zero-inf-sign.
1800 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1801 * math/gen-libm-test.pl (generate_testfile): Handle
1802 ignore-zero-inf-sign.
1803 * math/auto-libm-test-in: Mark some cpow tests with
1804 ignore-zero-inf-sign and some with xfail-rounding.
1805 * math/auto-libm-test-out: Regenerated.
1806 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1807 * sysdeps/i386/fpu/libm-test-ulps: Update.
1808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1809
4da6db51
JM
1810 [BZ #16315]
1811 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1812 overflowing or underflowing operations take place with sign of
1813 result.
1814 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1815 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1816 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1817 (__ieee754_pow): Recompute overflowing and underflowing results in
1818 original rounding mode.
1819 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1820 (__powl_helper): Allow negative argument X and scale negated value
1821 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1822 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1823 overflowing or underflowing operations take place with sign of
1824 result.
1825 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1826 Include <math.h>.
1827 * math/auto-libm-test-in: Add more tests of pow.
1828 * math/auto-libm-test-out: Regenerated.
1829 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1830 (pow_tonearest_test_data): Remove.
1831 (pow_test_tonearest): Likewise.
1832 (pow_towardzero_test_data): Likewise.
1833 (pow_test_towardzero): Likewise.
1834 (pow_downward_test_data): Likewise.
1835 (pow_test_downward): Likewise.
1836 (pow_upward_test_data): Likewise.
1837 (pow_test_upward): Likewise.
1838 (main): Don't call removed functions.
1839 * sysdeps/i386/fpu/libm-test-ulps: Update.
1840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1841
5686b236
RM
18422014-06-23 Roland McGrath <roland@hack.frob.com>
1843
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1845 Moved ...
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1848 Moved ...
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1851 Moved ...
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1854 Moved ...
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1857 File removed.
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1859 File removed.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1861 File removed.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1863 File removed.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1865 File removed.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1867 File removed.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1869 File removed.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1871 File removed.
1872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1873 File removed.
1874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1875 File removed.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1877 File removed.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1879 File removed.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1881 Moved ...
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1884 Moved ...
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1886 ... here.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1888 Moved ...
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1891 Moved ...
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1894 Moved ...
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1897 Moved ...
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1900 Moved ...
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1903 Moved ...
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1906 Moved ...
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1910 ... here.
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1912 Moved ...
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1915 Moved ...
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1917 ... here.
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1919 Moved ...
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1921 ... here.
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1923 Moved ...
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1925 ... here.
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1927 Moved ...
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1930 Moved ...
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1935 Moved ...
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1937 ... here.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1939 Moved ...
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1941 ... here.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1943 Moved ...
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1946 Moved ...
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1949 Moved ...
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1952 Moved ...
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1955 Moved ...
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1957 ... here.
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1959 Moved ...
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1962 Moved ...
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1965 Moved ...
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1968 Moved ...
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1973 Moved ...
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1976 Moved ...
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1979 Moved ...
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1981 ... here.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1983 Moved ...
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1985 ... here.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1987 Moved ...
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1989 ... here.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1991 Moved ...
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1994 Moved ...
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1997 Moved ...
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2000 Moved ...
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2002 ... here.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2004 Moved ...
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2006 ... here.
2007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2008 Moved ...
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2010 ... here.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2012 Moved ...
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2015 Moved ...
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2017
e6d90d67
WD
20182014-06-23 Will Newton <will.newton@linaro.org>
2019 Wilco <wdijkstr@arm.com>
2020
2021 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2022 implementation. Include get-rounding-mode.h.
2023 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2024 [!libc_feholdsetround_noex_ctx]: Define
2025 libc_feholdsetround_noex_ctx.
2026 [!libc_feholdsetround_noexf_ctx]: Define
2027 libc_feholdsetround_noexf_ctx.
2028 [!libc_feholdsetround_noexl_ctx]: Define
2029 libc_feholdsetround_noexl_ctx.
2030 (libc_feholdsetround_ctx): New function.
2031 (libc_feresetround_ctx): New function.
2032 (libc_feholdsetround_noex_ctx): New function.
2033 (libc_feresetround_noex_ctx): New function.
2034
d42df555
RM
20352014-06-23 Roland McGrath <roland@hack.frob.com>
2036
88a46474
RM
2037 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2038 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2039 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2040 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2041 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2042 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2043
15bed472
RM
2044 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2045 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2046 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2047 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2048 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2049 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2050 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2051 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2052 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2053 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2055 Moved ...
2056 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2057 ... here.
2058 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2059 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2063 Moved ...
2064 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2066 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2067 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2068 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2069 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2070 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2071 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2072 Moved ...
2073 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2074 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2075 Moved ...
2076 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2078 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2079 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2080 Moved ...
2081 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2083 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2084 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2085 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2086 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2087 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2088 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2089 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2091 Moved ...
2092 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2093 ... here.
2094 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2095 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2097 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2099 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2100 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2101 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2102 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2103 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2105 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2107 Moved ...
2108 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2109 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2110 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2112 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2113 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2114 Moved ...
2115 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2116 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2117 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2118 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2119 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2120
d42df555
RM
2121 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2122 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2123 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2124 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2125 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2126 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2127 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2128 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2129 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2130 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2131 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2132 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2134 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2135 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2136 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2137 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2138 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2139 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2140 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2141 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2142 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2143 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2144 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2145 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2146 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2147 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2148 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2149
76e5216e
JM
21502014-06-23 Joseph Myers <joseph@codesourcery.com>
2151
2152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2153 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2154 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2155 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2156 (IPV6_PMTUDISC_INTERFACE): Likewise.
2157 (IPV6_PMTUDISC_OMIT): Likewise.
2158
7a81cbcc
AS
21592014-06-23 Andreas Schwab <schwab@suse.de>
2160
2161 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2162 Remove unused errout label.
2163
db224009
AZ
21642014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2165
2166 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2167 macro: hardware supports Vector Crypto instructions.
2168
f393b4aa
WN
21692014-06-23 Will Newton <will.newton@linaro.org>
2170
cc7d0447
WN
2171 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2172 rather than __builtin_expect.
2173
d6d06225
WN
2174 * elf/dl-lookup.c (undefined_msg): Remove variable.
2175 (_dl_lookup_symbol_x): Replace undefined_msg with string
2176 literal.
2177
f393b4aa
WN
2178 * elf/dl-lookup.c (do_lookup_unique): New function.
2179 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2180 to a separate function.
2181
ac60763e
AS
21822014-06-23 Andreas Schwab <schwab@suse.de>
2183
2184 [BZ #17079]
2185 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2186 before reading the next line.
2187
c5c13355
WN
21882014-06-23 Will Newton <will.newton@linaro.org>
2189
2190 * test-skeleton.c (signal_handler): Use printf and %m
2191 rather than perror. Use printf rather than fprintf to
2192 stderr. Use puts rather than fputs to stderr.
2193 (main): Likewise.
2194
bd3675f9
LC
21952014-06-22 Ludovic Courtès <ludo@gnu.org>
2196
2197 * nscd/nscd.c (thread_info_t): Remove typedef.
2198 (thread_info): Remove variable.
2199
d03efb2f
AM
22002014-06-21 Allan McRae <allan@archlinux.org>
2201
2202 * NEWS: Mention CVE-2014-4043.
2203
bc4a86fa
RM
22042014-06-20 Roland McGrath <roland@hack.frob.com>
2205
dc9a54f8
RM
2206 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2207 * nptl/smp.h: ... here.
2208
bd7022c4
RM
2209 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2210
26ffd5e6
RM
2211 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2212 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2213 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2214 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2215
93a6d082
RM
2216 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2217 * nptl/stack-aliasing.h: New file.
2218 * sysdeps/i386/i686/stack-aliasing.h: New file.
2219 * sysdeps/i386/i686/nptl/Makefile: File removed.
2220 * sysdeps/x86_64/stack-aliasing.h: New file.
2221 * sysdeps/x86_64/nptl/Makefile
2222 (CFLAGS-pthread_create.c): Variable removed.
2223
bc4a86fa
RM
2224 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2225 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2226 old file.
2227 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2228 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2229 old file.
2230
2272ffc1
JM
22312014-06-21 Joseph Myers <joseph@codesourcery.com>
2232
2233 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2234 (__ASSUME_SIGFRAME_V2): Remove macro.
2235 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2236 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2237 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2238 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2239 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2240 Declare as function. Remove conditional macro definitions.
2241 (__default_rt_sa_restorer): Likewise.
2242 (__default_sa_restorer_v1): Remove declaration.
2243 (__default_sa_restorer_v2): Likewise.
2244 (__default_rt_sa_restorer_v1): Likewise.
2245 (__default_rt_sa_restorer_v2): Likewise.
2246 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2247 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2248 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2249
4b88139b
RM
22502014-06-20 Roland McGrath <roland@hack.frob.com>
2251
2252 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2253 (libpthread-routines): Add sysdep.
2254 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2255 * sysdeps/unix/sysv/linux/sparc/Versions
2256 (libpthread: GLIBC_2.3.3): New version set.
2257 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2258 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2259 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2260 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2261 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2262 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2263 Moved ...
2264 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2265 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2266 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2267 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2268 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2269 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2270 * sysdeps/sparc/nptl/sem_init.c: ... here.
2271 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2272 * sysdeps/sparc/nptl/sem_post.c: ... here.
2273 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2274 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2275 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2276 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2277 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2278 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2279 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2280 (libpthread-routines): Add cpu_relax.
2281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2282 File removed.
2283 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2284 (librt: GLIBC_2.3.3): New version set.
2285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2286 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2287 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2288 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2291 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2293 Moved ...
2294 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2296 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2298 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2300 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2302 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2303 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2304 Moved ...
2305 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2306 Update #include.
2307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2308 Moved ...
2309 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2310 Update #include.
2311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2312 Moved ...
2313 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2314 Update #include.
2315 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2316 Moved ...
2317 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2318 Update #include.
2319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2320 Moved ...
2321 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2322 Update #include.
2323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2324 Moved ...
2325 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2326 Update #include.
2327 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2328 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2334 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2336 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2337 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2338 Moved ...
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2341 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2343 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2344
d7109027
JM
23452014-06-20 Joseph Myers <joseph@codesourcery.com>
2346
9bc6103d
JM
2347 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2348 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2349 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2350 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2351 * nscd/nscd.c: Likewise.
2352 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2353 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2354 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2355 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2356
d7109027
JM
2357 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2358 <kernel-features.h>.
2359 (init_mq_netlink): Remove conditional have_sock_cloexec
2360 definitions. Remove code conditional on have_sock_cloexec < 0.
2361 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2362 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2363 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2364 <kernel-features.h>.
2365 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2366 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2367
d92d8f8a
L
23682014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2371 Add tests for memset_chk and memset.
2372
2373 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2374 with AVX2_Usable.
2375
4e6d2347
MR
23762014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2377
257ce712
MR
2378 [BZ #16046]
2379 * elf/tst-dl-iter-static.c: New file.
2380 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2381
4e6d2347
MR
2382 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2383 error.
2384
a2a76afe
JM
23852014-06-20 Joseph Myers <joseph@codesourcery.com>
2386
7fd00f99
JM
2387 * sysdeps/unix/sysv/linux/kernel-features.h
2388 (__ASSUME_F_GETOWN_EX): Remove macro.
2389 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2390 <kernel-features.h>.
2391 (miss_F_GETOWN_EX): Remove variable or macro.
2392 (do_fcntl): Do not check miss_F_GETOWN_EX.
2393 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2394
4a103975
JM
2395 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2396 Remove macro.
2397 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2398 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2399 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2400
a2a76afe
JM
2401 * sysdeps/unix/sysv/linux/kernel-features.h
2402 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2403 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2404 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2405 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2406
90e5dd48
MR
24072014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2408
2409 [BZ #17075]
2410 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2411 Fix calculation of the symbol's value.
2412 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2413 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2414 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2415 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2416 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2417 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2418 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2419 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2420 (modules-names): Add `tst-armtlsdescmod',
2421 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2422 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2423 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2424 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2425 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2426 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2427 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2428 ($(objpfx)tst-armtlsdescloc): New dependency.
2429 ($(objpfx)tst-armtlsdescextnow): Likewise.
2430 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2431 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2432 TLS scheme support.
2433 * sysdeps/arm/configure: Regenerate.
2434
809fdf0d
JM
24352014-06-20 Joseph Myers <joseph@codesourcery.com>
2436
2437 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2438 (__atfct_seterrno_2): Likewise.
2439 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2440 <kernel-features.h>.
2441 (__ASSUME_ATFCTS): Do not undefine and redefine.
2442 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2443 (__have_atfcts): Remove conditional definition.
2444 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2445 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2446 unreachable if [__ASSUME_ATFCTS].
2447 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2448 not undefine and redefine.
2449 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2450 <kernel-features.h>.
2451 (faccessat) [__NR_faccessat]: Make code unconditional.
2452 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2453 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2454 <kernel-features.h>.
2455 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2456 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2457 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2458 <kernel-features.h>.
2459 (fchownat) [__NR_fchownat]: Make code unconditional.
2460 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2461 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2462 <kernel-features.h>.
2463 (futimesat) [__NR_futimesat]: Make code unconditional.
2464 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2465 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2466 <kernel-features.h>.
2467 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2468 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2469 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2470 <kernel-features.h>.
2471 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2472 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2473 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2474 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2475 <kernel-features.h>.
2476 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2477 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2478 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2479 <kernel-features.h>.
2480 (linkat) [__NR_linkat]: Make code unconditional.
2481 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2482 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2483 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2484 <kernel-features.h>.
2485 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2486 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2487 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2488 <kernel-features.h>.
2489 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2490 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2491 * sysdeps/unix/sysv/linux/openat.c: Do not include
2492 <kernel-features.h>.
2493 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2494 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2495 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2496 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2497 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2498 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2499 <kernel-features.h>.
2500 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2501 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2502 result of INLINE_SYSCALL directly, not via int variable.
2503 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2504 <kernel-features.h>.
2505 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2506 (renameat) [__NR_renameat]: Make code unconditional.
2507 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2508 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2509 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2510 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2512 (__ASSUME_ATFCTS): Do not undefine and redefine.
2513 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2514 <kernel-features.h>.
2515 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2516 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2517 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2518 <kernel-features.h>.
2519 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2520 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2521 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2522 (__ASSUME_ATFCTS): Do not undefine and redefine.
2523 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2524 <kernel-features.h>.
2525 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2526 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2527 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2528 <kernel-features.h>.
2529 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2530 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2531
224c6c51
L
25322014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2535
aa6ec754
AS
25362014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2537
2538 [BZ #17069]
2539 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2540 constructed tree before returning error.
2541 * posix/bug-regexp36.c: Expand test case.
2542
d8c2869d
SL
25432014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2544
3ef6b850
SL
2545 [BZ #6803]
2546 * math/libm-test.inc (scalbln_test_date):
2547 Add errno expectations.
2548 * math/w_scalblnf.c: New File.
2549 Add wrapper which checks for setting errno to ERANGE.
2550 Add weak_alias for corresponding scalbln function.
2551 * math/w_scalbln.c: Likewise.
2552 * math/w_scalblnl.c: Likewise.
2553 * math/Makefile (libm-calls): Add w_scalbln.
2554 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2555 Remove weak_alias for corresponding scalbln function.
2556 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2557 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2558 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2559 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2560 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2561 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2562 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2563 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2564 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2565 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2566 Remove long_double_symbol for scalblnl function in libm, libc.
2567 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2568 Add wrapper which checks for setting errno to ERANGE.
2569 Add long_double_symbol for scalblnl function in libm, libc.
2570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2571 Remove long_double_symbol for scalblnl in libm.
2572 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2573 Add wrapper which checks for setting errno to ERANGE.
2574 Add long_double_symbol for scalblnl function in libm.
2575 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2576 Do not use wrapper because of own implementation.
2577
c8daec5c
L
25782014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2579
2580 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2581 3 bytes for __pad1 for x32.
2582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2583
5c74e47c
LM
25842014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2585 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2588 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2589 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2590 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2591 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2592
4d43ef1e
AS
25932014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2594
2595 [BZ #17069]
2596 * posix/regcomp.c (parse_expression): Deallocate partially
2597 constructed tree before returning error.
2598 * posix/Makefile.c (tests): Add bug-regex36.
2599 (generated): Add bug-regex36.mtrace.
2600 (tests-special): Add $(objpfx)bug-regex36-mem.out
2601 (bug-regex36-ENV): New variable.
2602 ($(objpfx)bug-regex36-mem.out): New rule.
2603 * posix/bug-regex36.c: New file.
2604
51a7380b
WN
26052014-06-19 Will Newton <will.newton@linaro.org>
2606
2607 * malloc/malloc.c (systrim): If extra is zero then return
2608 early.
2609
91b84fe5
SP
26102014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2611
2612 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2613
f940b965
RE
26142014-06-19 Richard Earnshaw <rearnsha@arm.com>
2615
2616 * sysdeps/aarch64/strchr.S: New file.
2617
4ba7a00f
JM
26182014-06-18 Joseph Myers <joseph@codesourcery.com>
2619
2620 [BZ #17022]
2621 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2622 from arguments -2 or below.
2623 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2624 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2625
b3a9f56b
AS
26262014-06-18 Andreas Schwab <schwab@suse.de>
2627
2628 [BZ #17062]
2629 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2630 of a bracket expr not to run off the end of the string.
2631 * posix/Makefile (tests): Add tst-fnmatch3.
2632 * posix/tst-fnmatch3.c: New file.
2633
85d89278
JM
26342014-06-18 Joseph Myers <joseph@codesourcery.com>
2635
2636 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2637 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2638 [$(cross-compiling) = no]: Likewise.
2639 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2640 [$(cross-compiling) = no]: Likewise.
2641
754c5a08
RS
26422014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2643
2644 [BZ #17031]
2645 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2646 double, adjusted for any remainder from the high double.
2647 * math/libm-test.inc (nearbyint): Add tests.
2648 (rint): Likewise.
2649
556f529d
AZ
26502014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2651
2652 * nptl/sysdeps/powerpc/Makefile: Moved ...
2653 * sysdeps/powerpc/nptl/Makefile: ... here.
2654 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2655 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2656 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2657 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2658 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2659 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2660 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2661 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2662 * nptl/sysdeps/powerpc/tls.h: Moved ...
2663 * sysdeps/powerpc/nptl/tls.h: ... here.
2664
91c03c53
JM
26652014-06-16 Joseph Myers <joseph@codesourcery.com>
2666
2667 [BZ #16681]
2668 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2669 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2670 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2671 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2672 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2673 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2674 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2675 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2676 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2677
a76e63c5
AS
26782014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2679
2680 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2681
f2f6d82f
AS
26822014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2683
ea8a15f6
AS
2684 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2685 defined operator.
2686
f2f6d82f
AS
2687 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2688 $TIMEOUTFACTOR.
2689
a7291117
FW
26902014-06-16 Florian Weimer <fweimer@redhat.com>
2691
2692 [BZ #17058]
2693 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2694 non-executed part of the test.
2695
3d7c00e3
AS
26962014-06-16 Andreas Schwab <schwab@suse.de>
2697
2698 * string/bits/string2.h (strdup, strndup): Update feature guard.
2699
6957fb31
DM
27002014-06-14 David S. Miller <davem@davemloft.net>
2701
2702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2703
11b9e55b
AS
27042014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2705
1d2a0492
AS
2706 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2707 that was previously under [RESET_PID].
2708 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2709
11b9e55b
AS
2710 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2711 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2712 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2713 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2714 (__libc_vfork): New strong alias.
2715 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2716
0f6901d0
AK
27172014-06-14 Andi Kleen <ak@linux.intel.com>
2718
2719 * sysdeps/generic/elide.h: New file.
2720
38bbbb9f
SL
27212014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2722
2723 * Makefile (installed-headers): Adjust path of pthread.h header.
2724
45193bb8
RM
27252014-06-13 Roland McGrath <roland@hack.frob.com>
2726
9a25fd1e
RM
2727 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2728 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2729 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2730 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2731
4004f7e4
RM
2732 * nptl/sysdeps/s390/Makefile: Moved ...
2733 * sysdeps/s390/nptl/Makefile: ... here.
2734 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2735 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2736 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2737 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2738 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2739 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2740 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2741 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2742 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2743 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2744 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2745 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2746 * nptl/sysdeps/s390/tls.h: Moved ...
2747 * sysdeps/s390/nptl/tls.h: ... here.
2748
45193bb8
RM
2749 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2750 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2751
f6fdf533
DM
27522014-06-13 David S. Miller <davem@davemloft.net>
2753
2754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2756 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2757 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2760 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2761 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2762 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2763 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2764 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2765 Remove RESET_PID cpp guards.
2766 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2767 Remove RESET_PID cpp guards.
2768 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2769
f5d71e14
AS
27702014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2771
2772 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2773 __sp to uintptr_t.
2774
b7aa8caa
AK
27752014-06-13 Andi Kleen <ak@linux.intel.com>
2776
4b266200
AZ
2777 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2778 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2779 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2780 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2781 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2782 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2783 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2784 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2785 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2786 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2787 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2788 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2789 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2790 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2791 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2792 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2793 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2794 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2795 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2796 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2797
2798 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2799 (pthread_rwlock_rdlock): Add elision.
2800 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2801 (pthread_rwlock_wrlock): Add elision.
2802 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2803 (pthread_rwlock_trywrlock): Add elision.
2804 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2805 (pthread_rwlock_tryrdlock): Add elision.
2806 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2807 (pthread_rwlock_tryrdlock): Add elision unlock.
2808 * nptl/sysdeps/pthread/pthread.h:
2809 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2810 (PTHREAD_RWLOCK_INITIALIZER,
2811 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2812 Handle new elision field.
2813 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2814 * sysdeps/arm/nptl/bits/pthreadtypes.h
2815 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2816 * sysdeps/sh/nptl/bits/pthreadtypes.h
2817 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2818 * sysdeps/tile/nptl/bits/pthreadtypes.h
2819 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2820 * sysdeps/a/nptl/bits/pthreadtypes.h
2821 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2822 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2823 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2824 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2825 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2826 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2827 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2828 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2829 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2830 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2831 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2832 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2833 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2834 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2835 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2836 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2837 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2838 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2839 (elision_init): Set try_xbegin to zero when no RTM.
2840 * sysdeps/x86/nptl/bits/pthreadtypes.h
2841 (pthread_rwlock_t): Change __pad1 to __rwelision.
2842 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2843
a832bdd3
AK
28442014-06-13 Andi Kleen <ak@linux.intel.com>
2845
2846 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2847 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2848 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2849 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2850
995a46bb
MI
28512014-06-13 Meador Inge <meadori@codesourcery.com>
2852
2853 [BZ #16996]
03ed7738 2854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2855 that the cached result has been set before returning it.
2856
45262aee
RM
28572014-06-12 Roland McGrath <roland@hack.frob.com>
2858
febf6cc5
RM
2859 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2860 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2861 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2862 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2863 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2864 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2865
e2682246
RM
2866 * nptl/sysdeps/sparc/Makefile: Moved ...
2867 * sysdeps/sparc/nptl/Makefile: ... here.
2868 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2869 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2870 * nptl/sysdeps/sparc/tls.h: Moved ...
2871 * sysdeps/sparc/nptl/tls.h: ... here.
2872 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2873 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2874 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2875 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2876 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2877 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2878 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2879 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2880 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2881 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2882 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2883 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2884 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2885 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2886 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2887 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2888 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2889 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2890 Update #include.
2891 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2892 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2893 Update #include.
2894 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2895 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2896 Update #include.
2897 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2898 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2899 Update #include.
2900
b0725f43
RM
2901 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2902
b14368b8
RM
2903 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2904 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2905
c5620eb3
RM
2906 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2907 (struct list_links): Type removed.
2908 (struct thread_node, struct timer_node): Replace struct list_links
2909 with struct list_head.
2910 (list_unlink_ip): Likewise.
2911 * sysdeps/pthread/timer_routines.c
2912 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2913 (list_append, list_insbefore): Likewise.
2914 (list_init): Function removed.
2915 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2916 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2917 * sysdeps/pthread/Makefile: ... here, new file.
2918
2919 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2920 * sysdeps/nptl/Implies: ... here.
2921 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2922 * nptl/sysdeps/pthread/list.h: Moved ...
2923 * include/list.h: ... here.
2924 * nptl/sysdeps/pthread/createthread.c: Moved ...
2925 * nptl/createthread.c: ... here.
2926 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2927 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2928 * nptl/pt-longjmp.c: ... here.
2929 * nptl/sysdeps/pthread/Makefile: Moved ...
2930 * sysdeps/nptl/Makefile: ... here.
2931 * nptl/sysdeps/pthread/Subdirs: Moved ...
2932 * sysdeps/nptl/Subdirs: ... here.
2933 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2934 * sysdeps/nptl/aio_misc.h: ... here.
2935 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2936 * sysdeps/nptl/bits/libc-lock.h: ... here.
2937 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2938 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2939 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2940 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2941 * nptl/sysdeps/pthread/configure: Moved ...
2942 * sysdeps/nptl/configure: ... here.
2943 * nptl/sysdeps/pthread/configure.ac: Moved ...
2944 * sysdeps/nptl/configure.ac: ... here.
2945 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2946 * sysdeps/nptl/gai_misc.h: ... here.
2947 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2948 * sysdeps/nptl/librt-cancellation.c: ... here.
2949 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2950 * sysdeps/nptl/malloc-machine.h: ... here.
2951 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2952 * sysdeps/nptl/pthread-functions.h: ... here.
2953 * nptl/sysdeps/pthread/pthread.h: Moved ...
2954 * sysdeps/nptl/pthread.h: ... here.
2955 * nptl/sysdeps/pthread/setxid.h: Moved ...
2956 * sysdeps/nptl/setxid.h: ... here.
2957 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2958 * sysdeps/nptl/sigfillset.c: ... here.
2959 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2960 * sysdeps/nptl/tcb-offsets.h: ... here.
2961 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2962 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2963 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2964 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2965 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2966 * sysdeps/pthread/allocalim.h: ... here.
2967 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2968 * sysdeps/pthread/bits/sigthread.h: ... here.
2969 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2970 * sysdeps/pthread/flockfile.c: ... here.
2971 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2972 * sysdeps/pthread/ftrylockfile.c: ... here.
2973 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2974 * sysdeps/pthread/funlockfile.c: ... here.
2975 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2976 * sysdeps/pthread/posix-timer.h: ... here.
2977 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2978 * sysdeps/pthread/timer_create.c: ... here.
2979 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2980 * sysdeps/pthread/timer_delete.c: ... here.
2981 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2982 * sysdeps/pthread/timer_getoverr.c: ... here.
2983 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2984 * sysdeps/pthread/timer_gettime.c: ... here.
2985 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2986 * sysdeps/pthread/timer_routines.c: ... here.
2987 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2988 * sysdeps/pthread/timer_settime.c: ... here.
2989 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2990 * sysdeps/pthread/tst-timer.c: ... here.
2991 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2992 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2993
e876b090
RM
2994 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2995 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2996
f6b07b3d
RM
2997 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2998 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2999 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3000 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3001 Update #include target.
3002 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3003 * sysdeps/i386/i686/nptl/Makefile: ... here.
3004 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3005 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3006 Update #include target.
3007 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3008 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3009 * nptl/sysdeps/i386/Makefile: Moved ...
3010 * sysdeps/i386/nptl/Makefile: ... here.
3011 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3012 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3013 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3014 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3015 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3016 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3017 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3018 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3019 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3020 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3021 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3022 * nptl/sysdeps/i386/tls.h: Moved ...
3023 * sysdeps/i386/nptl/tls.h: ... here.
3024
45262aee
RM
3025 * sysdeps/sh/Makefile [$(subdir) = csu]
3026 (gen-as-const-headers): Add tcb-offsets.sym.
3027 * nptl/sysdeps/sh/Makefile: File removed.
3028 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3029 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3030 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3031 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3032 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3033 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3034 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3035 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3036 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3037 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3038 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3039 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3040 * nptl/sysdeps/sh/tls.h: Moved ...
3041 * sysdeps/sh/nptl/tls.h: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3043 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3045 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3047 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3048 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3049 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3050 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3051 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3053 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3055 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3056 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3057 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3058 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3059 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3060 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3061 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3062 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3063 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3064 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3065 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3066 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3067 Moved ...
3068 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3069 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3070 Moved ...
3071 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3072 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3073 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3074 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3075 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3077 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3078 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3079 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3080 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3081 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3082 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3083 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3084 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3085 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3086 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3087 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3088 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3089 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3090
35a5e3e3
SL
30912014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3092
3093 * posix/spawn_faction_addopen.c: Include string.h.
3094
14642b85
RM
30952014-06-11 Roland McGrath <roland@hack.frob.com>
3096
3097 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3098 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3099 * nptl/sysdeps/x86_64/Makefile: Moved ...
3100 * sysdeps/x86_64/nptl/Makefile: ... here.
3101 * nptl/sysdeps/x86_64/configure: Moved ...
3102 * sysdeps/x86_64/nptl/configure: ... here.
3103 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3104 * sysdeps/x86_64/nptl/configure.ac: ... here.
3105 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3106 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3107 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3108 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3109 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3110 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3111 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3112 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3113 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3114 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3115 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3116 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3117 * nptl/sysdeps/x86_64/tls.h: Moved ...
3118 * sysdeps/x86_64/nptl/tls.h: ... here.
3119 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3120 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3121 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3122 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3123
3124 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3125
31c44fea
AZ
31262014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127
3128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3129
e81a4f9a
JM
31302014-06-11 Joseph Myers <joseph@codesourcery.com>
3131
3132 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3133 type.
3134 [POSIX] (off_t): Likewise.
3135 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3136 [POSIX] (S_ISBLK): Require macro.
3137 [POSIX] (S_ISCHR): Likewise.
3138 [POSIX] (S_ISDIR): Likewise.
3139 [POSIX] (S_ISFIFO): Likewise.
3140 [POSIX] (S_ISREG): Likewise.
3141 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3142 optional-macro.
3143 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3144 type.
3145 [POSIX] (time_t): Likewise.
3146 [POSIX] (timer_t): Likewise.
3147
89e435f3
FW
31482014-06-11 Florian Weimer <fweimer@redhat.com>
3149
3150 [BZ #17048]
3151 * posix/spawn_int.h (struct __spawn_action): Make the path string
3152 non-const to support deallocation.
3153 * posix/spawn_faction_addopen.c
3154 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3155 * posix/spawn_faction_destroy.c
3156 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3157 path in all spawn_do_open actions.
3158 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3159 posix_spawn_file_actions_addopen.
3160
c3a2ebe1
CM
31612014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3162
3163 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3164 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3165 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3166 conditional code always true.
3167 (__libc_vfork): New alias.
3168
9503784a
RM
31692014-06-11 Roland McGrath <roland@hack.frob.com>
3170
c9cab3d2
RM
3171 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3172 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3173
d3996c79
RM
3174 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3175
ba5ec611
RM
3176 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3177 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3178
f12b4814
RM
3179 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3180 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3181
9503784a
RM
3182 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3183 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3184
e23d3d26
VR
31852014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3186
3187 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3188 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3189 multiarch strcmp for PPC64.
3190 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3191 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3193 multiarch optimizations.
3194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3195 (__libc_ifunc_impl_list): Likewise.
3196
42b1161e
SP
31972014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3198
3199 * benchtests/scripts/validate_benchout.py: New script.
3200 * benchtests/Makefile (bench-func): Call it.
3201 * benchtests/scripts/benchout.schema.json: New file.
3202
2d0fc4dc
CM
32032014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3204
4a594c34
AZ
3205 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3206 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3207 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3208 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3209 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3210 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3211 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3212 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3213 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3214 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3215 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3216 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3217 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3218 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3219 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3220 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3222 Moved ...
4a594c34 3223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3224 ... here.
4a594c34 3225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3226 Moved ...
4a594c34
AZ
3227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3229 Moved ...
4a594c34 3230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3231 ... here.
4a594c34 3232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3233 Moved ...
4a594c34 3234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3235 ... here.
4a594c34 3236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3237 Moved ...
4a594c34
AZ
3238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3240 Moved ...
4a594c34 3241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3242 ... here.
4a594c34 3243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3244 Moved ...
4a594c34 3245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3246 ... here.
4a594c34 3247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3248 Moved ...
4a594c34
AZ
3249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3251 Moved ...
4a594c34 3252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3253 ... here.
4a594c34 3254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3255 Moved ...
4a594c34 3256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3257 ... here.
4a594c34 3258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3259 Moved ...
4a594c34 3260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3261 ... here.
4a594c34 3262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3263 Moved ...
4a594c34
AZ
3264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3266 Moved ...
4a594c34 3267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3268 ... here.
4a594c34 3269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3270 Moved ...
4a594c34 3271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3272 ... here.
4a594c34 3273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3274 Moved ...
4a594c34 3275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3276 ... here.
4a594c34 3277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3278 Moved ...
4a594c34
AZ
3279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3281 Moved ...
4a594c34 3282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3283 ... here.
4a594c34 3284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3285 Moved ...
4a594c34 3286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3287 ... here.
4a594c34 3288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3289 Moved ...
4a594c34
AZ
3290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 3292 Moved ...
4a594c34 3293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 3294 ... here.
4a594c34 3295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 3296 Moved ...
4a594c34
AZ
3297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 3299 Moved ...
4a594c34
AZ
3300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 3302 Moved ...
4a594c34 3303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 3304 ... here.
4a594c34 3305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 3306 Moved ...
4a594c34 3307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 3308 ... here.
4a594c34 3309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 3310 Moved ...
4a594c34 3311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 3312 ... here.
4a594c34 3313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 3314 Moved ...
4a594c34
AZ
3315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 3317 Moved ...
4a594c34 3318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 3319 ... here.
4a594c34 3320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 3321 Moved ...
4a594c34 3322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 3323 ... here.
4a594c34
AZ
3324 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3325 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3326 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3327 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3328 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 3329 Moved ...
4a594c34 3330 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 3331 ... here.
4a594c34
AZ
3332 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3333 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3334 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3335 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3336 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3337 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3338 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3339 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3340 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3341 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3342 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3343 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3344 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 3345 Moved ...
4a594c34
AZ
3346 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3347 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 3348 Moved ...
4a594c34
AZ
3349 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3350 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3351 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3352 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 3353 Moved ...
4a594c34
AZ
3354 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3355 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3356 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3357 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3358 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3359 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3360 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 3361
0570cfed
W
33622014-06-10 Wilco <wdijkstr@arm.com>
3363
3364 * math/test-fenv-return.c: New file.
3365 * math/Makefile: Add new test test-fenv-return.
3366
f8ba1b56
JM
33672014-06-10 Joseph Myers <joseph@codesourcery.com>
3368
3369 [BZ #17042]
3370 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3371 when x - 1 is zero.
3372 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3373 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3374 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3375 0.0L for an argument of 1.0L.
3376 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3377 Likewise.
3378 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3379 value when x - 1 is zero.
3380 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3381 * sysdeps/i386/fpu/libm-test-ulps: Update.
3382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3383
2c3520d9
BO
33842014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3385
3386 [BZ #15119]
3387 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3388
acaa4d24
RM
33892014-06-09 Roland McGrath <roland@hack.frob.com>
3390
3391 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3392 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3393
962b744d
RM
33942014-06-09 Roland McGrath <roland@hack.frob.com>
3395
d752f0cc
RM
3396 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3397 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3398
34eda6d1
RM
3399 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3400 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3401
50f0a637
RM
3402 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3403 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3404
08f41f04
RM
3405 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3406 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3407
962b744d
RM
3408 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3409 if not already defined.
3410 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3411 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3412 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3413 (TLS_INIT_TP): Use it.
3414 (TLS_DEFINE_INIT_TP): New macro.
3415 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3416
09f19b05
JM
34172014-06-09 Joseph Myers <joseph@codesourcery.com>
3418
3419 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3420 constant.
3421 [POSIX] (IXANY): Likewise.
3422 [POSIX] (OLCUC): Likewise.
3423 [POSIX || POSIX2008] (CBAUD): Do not allow.
3424 [POSIX || POSIX2008] (DEFECHO): Likewise.
3425 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3426 [POSIX || POSIX2008] (ECHOKE): Likewise.
3427 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3428 [POSIX || POSIX2008] (EXTA): Likewise.
3429 [POSIX || POSIX2008] (EXTB): Likewise.
3430 [POSIX || POSIX2008] (FLUSHO): Likewise.
3431 [POSIX || POSIX2008] (LOBLK): Likewise.
3432 [POSIX || POSIX2008] (PENDIN): Likewise.
3433 [POSIX || POSIX2008] (SWTCH): Likewise.
3434 [POSIX || POSIX2008] (VDISCARD): Likewise.
3435 [POSIX || POSIX2008] (VDSUSP): Likewise.
3436 [POSIX || POSIX2008] (VLNEXT): Likewise.
3437 [POSIX || POSIX2008] (VREPRINT): Likewise.
3438 [POSIX || POSIX2008] (VSTATUS): Likewise.
3439 [POSIX || POSIX2008] (VWERASE): Likewise.
3440 (B*): Change to B[0123456789]*.
3441 * conform/data/time.h-data [POSIX || UNIX98]
3442 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3443 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3444 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3445 [POSIX] (tm_*): Do not allow.
3446
686554bf
JM
34472014-06-07 Joseph Myers <joseph@codesourcery.com>
3448
3449 * Makefile (install): Don't set LANGUAGE.
3450 * Makefile.in (install): Likewise.
3451 * assert/Makefile (test-assert-ENV): Remove variable.
3452 (test-assert-perr-ENV): Likewise.
3453 * elf/Makefile (neededtest4-ENV): Likewise.
3454 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3455 [$(cross-compiling) = no]: Don't set LANGUAGE.
3456 * io/ftwtest-sh (LANG): Remove variable.
3457 * libio/Makefile (tst-widetext-ENV): Likewise.
3458 * manual/install.texi (Running make install): Don't refer to
3459 environment settings for make install.
3460 * INSTALL: Regenerated.
3461 * nptl/tst-tls6.sh: Don't set LANG.
3462 * posix/globtest.sh (LANG): Remove variable.
3463 * string/Makefile (tester-ENV): Likewise.
3464 (inl-tester-ENV): Likewise.
3465 (noinl-tester-ENV): Likewise.
3466 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3467 [$(cross-compiling) = no]: Don't set LANGUAGE.
3468 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3469 without explicit environment settings.
3470
68e6b6b1
RM
34712014-06-06 Roland McGrath <roland@hack.frob.com>
3472
3473 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3474 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3475 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3476 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3477
4d3ae034
CM
34782014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3479
3480 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3481 other files in the crypt directory.
3482 * crypt/crypt.c: Remove duplicate includes.
3483 * crypt/crypt-entry.c: Likewise.
3484 * crypt/crypt_util.c: Likewise.
3485
8540f6d2
JM
34862014-06-06 Joseph Myers <joseph@codesourcery.com>
3487
3488 * Makeconfig (run-program-env): New variable.
3489 (run-program-prefix-before-env): Likewise.
3490 (run-program-prefix-after-env): Likewise.
3491 (run-program-prefix): Define in terms of new variables.
3492 (built-program-cmd-before-env): New variable.
3493 (built-program-cmd-after-env): Likewise.
3494 (built-program-cmd): Define in terms of new variables.
3495 (test-program-prefix-before-env): New variable.
3496 (test-program-prefix-after-env): Likewise.
3497 (test-program-prefix): Define in terms of new variables.
3498 (test-program-cmd-before-env): New variable.
3499 (test-program-cmd-after-env): Likewise.
3500 (test-program-cmd): Define in terms of new variables.
3501 * Rules (make-test-out): Use $(run-program-env).
3502 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3503 (help): Do not mention environment variables. Mention
3504 --timeoutfactor option.
3505 (timeoutfactor): New variable.
3506 (blacklist_exports): Remove function.
3507 (exports): Remove variable.
3508 (command): Do not include ${exports}.
3509 * manual/install.texi (Configuring and compiling): Do not mention
3510 test wrappers preserving environment variables. Mention that last
3511 assignment to a variable must take precedence.
3512 * INSTALL: Regenerated.
3513 * benchtests/Makefile (run-bench): Use $(run-program-env).
3514 * catgets/Makefile ($(objpfx)test1.cat): Use
3515 $(built-program-cmd-before-env), $(run-program-env) and
3516 $(built-program-cmd-after-env).
3517 ($(objpfx)test2.cat): Do not specify environment variables
3518 explicitly.
3519 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3520 $(run-program-env) and $(built-program-cmd-after-env).
3521 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3522 $(run-program-env) and $(test-program-cmd-after-env).
3523 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3524 explicitly.
3525 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3526 run_program_env and test_program_cmd_after_env arguments.
3527 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3528 * elf/tst-pathopt.sh: Use run_program_env argument.
3529 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3530 $(test-wrapper-env) and $(run-program-env).
3531 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3532 run_program_env arguments.
3533 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3534 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3535 $(test-program-prefix-before-env), $(run-program-env) and
3536 $(test-program-prefix-after-env).
3537 ($(objpfx)tst-gettext2.out): Likewise.
3538 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3539 run_program_env and test_program_prefix_after_env arguments.
3540 * intl/tst-gettext2.sh: Likewise.
3541 * intl/tst-gettext4.sh: Do not set environment variables
3542 explicitly.
3543 * intl/tst-gettext6.sh: Likewise.
3544 * intl/tst-translit.sh: Likewise.
3545 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3546 $(test-program-prefix-before-env), $(run-program-env) and
3547 $(test-program-prefix-after-env).
3548 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3549 run_program_env and test_program_prefix_after_env arguments.
3550 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3551 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3552 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3553 explicitly with each use of ${test_wrapper_env}.
3554 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3555 $(test-program-prefix-before-env), $(run-program-env) and
3556 $(test-program-prefix-after-env).
3557 * posix/tst-getconf.sh: Do not set environment variables
3558 explicitly.
3559 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3560 run_program_env and test_program_prefix_after_env arguments.
3561 * stdio-common/tst-printf.sh: Do not set environment variables
3562 explicitly.
3563 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3564 $(test-program-prefix-before-env), $(run-program-env) and
3565 $(test-program-prefix-after-env).
3566 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3567 run_program_env and test_program_prefix_after_env arguments.
3568 Split $test calls into $test_pre and $test.
3569 * timezone/Makefile (build-testdata): Use
3570 $(built-program-cmd-before-env), $(run-program-env) and
3571 $(built-program-cmd-after-env).
3572
ed36bfa1
AZ
35732014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3574
3575 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3576 strlen for non SHARED builds.
3577
fc75bf46
SP
35782014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3579
3580 * nptl/allocatestack.c (check_list): Inlined function...
3581 (__reclaim_stacks): ... here.
3582
d89b3d80
OB
35832014-06-05 Ondřej Bílka <neleai@seznam.cz>
3584
3585 [BZ #15698]
3586 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3587 memory overrun.
3588
2bf18041
JM
35892014-06-05 Joseph Myers <joseph@codesourcery.com>
3590
3591 * Rules (make-test-out): Include
3592 LOCPATH=$(common-objpfx)localedata in default environment.
3593 * debug/Makefile (tst-chk1-ENV): Remove variable.
3594 (tst-chk2-ENV): Likewise.
3595 (tst-chk3-ENV): Likewise.
3596 (tst-chk4-ENV): Likewise.
3597 (tst-chk5-ENV): Likewise.
3598 (tst-chk6-ENV): Likewise.
3599 (tst-lfschk1-ENV): Likewise.
3600 (tst-lfschk2-ENV): Likewise.
3601 (tst-lfschk3-ENV): Likewise.
3602 (tst-lfschk4-ENV): Likewise.
3603 (tst-lfschk5-ENV): Likewise.
3604 (tst-lfschk6-ENV): Likewise.
3605 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3606 (tst-iconv7-ENV): Likewise.
3607 * intl/Makefile (LOCPATH-ENV): Likewise.
3608 (tst-codeset-ENV): Likewise.
3609 (tst-gettext3-ENV): Likewise.
3610 (tst-gettext5-ENV): Likewise.
3611 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3612 (tst-fopenloc-ENV): Likewise.
3613 (tst-fgetws-ENV): Remove variable.
3614 (tst-ungetwc1-ENV): Likewise.
3615 (tst-ungetwc2-ENV): Likewise.
3616 (bug-ungetwc2-ENV): Likewise.
3617 (tst-swscanf-ENV): Likewise.
3618 (bug-ftell-ENV): Likewise.
3619 (tst-fgetwc-ENV): Likewise.
3620 (tst-fseek-ENV): Likewise.
3621 (tst-ftell-partial-wide-ENV): Likewise.
3622 (tst-ftell-active-handler-ENV): Likewise.
3623 (tst-ftell-append-ENV): Likewise.
3624 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3625 (tst-regexloc-ENV): Likewise.
3626 (bug-regex1-ENV): Likewise.
3627 (tst-regex-ENV): Likewise.
3628 (tst-regex2-ENV): Likewise.
3629 (bug-regex5-ENV): Likewise.
3630 (bug-regex6-ENV): Likewise.
3631 (bug-regex17-ENV): Likewise.
3632 (bug-regex18-ENV): Likewise.
3633 (bug-regex19-ENV): Likewise.
3634 (bug-regex20-ENV): Likewise.
3635 (bug-regex22-ENV): Likewise.
3636 (bug-regex23-ENV): Likewise.
3637 (bug-regex25-ENV): Likewise.
3638 (bug-regex26-ENV): Likewise.
3639 (bug-regex30-ENV): Likewise.
3640 (bug-regex32-ENV): Likewise.
3641 (bug-regex33-ENV): Likewise.
3642 (bug-regex34-ENV): Likewise.
3643 (bug-regex35-ENV): Likewise.
3644 (tst-rxspencer-ENV): Likewise.
3645 (tst-rxspencer-no-utf8-ENV): Likewise.
3646 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3647 (tst-sscanf-ENV): Likewise.
3648 (tst-swprintf-ENV): Likewise.
3649 (tst-swscanf-ENV): Likewise.
3650 (test-vfprintf-ENV): Likewise.
3651 (scanf13-ENV): Likewise.
3652 (bug14-ENV): Likewise.
3653 (tst-grouping-ENV): Likewise.
3654 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3655 (tst-strtod3-ENV): Likewise.
3656 (tst-strtod4-ENV): Likewise.
3657 (tst-strtod5-ENV): Likewise.
3658 (testmb2-ENV): Likewise./
3659 * string/Makefile (tst-strxfrm-ENV): Likewise.
3660 (tst-strxfrm2-ENV): Likewise.
3661 (bug-strcoll1-ENV): Likewise.
3662 (test-strcasecmp-ENV): Likewise.
3663 (test-strncasecmp-ENV): Likewise.
3664 * time/Makefile (tst-strptime-ENV): Likewise.
3665 (tst-ftime_l-ENV): Likewise.
3666 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3667 (tst-mbrtowc-ENV): Likewise.
3668 (tst-wcrtomb-ENV): Likewise.
3669 (tst-mbrtowc2-ENV): Likewise.
3670 (tst-c16c32-1-ENV): Likewise.
3671 (tst-mbsnrtowcs-ENV): Likewise.
3672
cd1fb604
OB
36732014-06-05 Ondřej Bílka <neleai@seznam.cz>
3674
3675 * manual/resource.texi (How to get information about the memory
3676 subsystem?): Fix typo.
3677 Reported by Peon de la Parra Ivan <peon@keba.com>
3678
b42eca7d
GY
36792014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3680
3681 [BZ #16882]
3682 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3683 (pthread_spin_lock): Branch out of spin loop to proper location.
3684 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3685 (pthread_spin_lock): Likewise.
3686
902b71f9
DM
3687 * nptl/tst-spin4.c: New test.
3688 * nptl/Makefile (tests): Add tst-spin4.
3689
f9d2d032
AS
36902014-06-03 Andreas Schwab <schwab@suse.de>
3691
3692 [BZ #15946]
3693 * resolv/res_send.c (send_dg): Reload file descriptor after
3694 calling reopen.
3695
cf7bfd28
SL
36962014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3697
3698 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3699
111cc714
RH
37002014-06-03 Richard Henderson <rth@redhat.com>
3701
89b4bd6b
RH
3702 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3703 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3704 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3705 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3706 in the SAVE_PID block.
3707 (__libc_vfork): New alias.
71840409 3708 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3709
111cc714
RH
3710 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3711 child in registers, not on the stack. Remove RESET_PID conditionals.
3712 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3713
ccc39911
MS
37142014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3715
3716 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3717
693096cc
W
37182014-06-03 Wilco <wdijkstr@arm.com>
3719
3720 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3721 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3722 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3723 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3724 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3725 Likewise.
3726
0b4366bc
W
37272014-06-03 Wilco <wdijkstr@arm.com>
3728
3729 * sysdeps/aarch64/fpu/math_private.h
3730 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3731 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3732 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3733 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3734 Fix declarations.
3735
8747cd03
KS
37362014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3737
3738 * crypt/crypt-private.h: Include ufc-crypt.h.
3739 (__b64_from_24bit): Declare extern.
3740 * crypt/crypt_util.c(__b64_from_24bit): New function.
3741 (b64t): New static const variable.
3742 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3743 (b64t): Remove variable.
3744 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3745 * crypt/sha256-crypt.c: Include crypt-private.h.
3746 (b64t): Remove variable.
3747 (__sha256_crypt_r): Remove b64_from_24bit and replace
3748 with __b64_from_24bit.
3749 * crypt/sha512-crypt.c: Likewise.
3750
d936d379
RM
37512014-06-02 Roland McGrath <roland@hack.frob.com>
3752
3753 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3754 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3755 Label the code __libc_vfork rather than __vfork.
3756 [!NOT_IN_libc] (vfork): Define as weak alias.
3757 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3758 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3759 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3760
9fa76613
SP
37612014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3762
3763 * malloc/malloc.c (malloc_info): Fix format specifier for
3764 n_mmaps.
3765
a88dadbe
W
37662014-06-02 Wilco <wdijkstr@arm.com>
3767
3768 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3769 FPCR write.
3770
c95b3011
W
37712014-06-02 Wilco <wdijkstr@arm.com>
3772
3773 [BZ #17009]
3774 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3775 Rewrite to reduce FPCR/FPSR accesses.
3776
6b4d7a90
DM
37772014-06-01 David S. Miller <davem@davemloft.net>
3778
3779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3780
30f3d07c
DM
37812014-05-31 David S. Miller <davem@davemloft.net>
3782
3783 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3784 to occur in round to nearest mode when |x| >= 2.0
3785
74f31c18
RH
37862014-05-30 Richard Henderson <rth@twiddle.net>
3787
f0712b54
RH
3788 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3789 (PSEUDO_RET_NOERRNO): Remove.
3790 (ret): Don't redefine.
3791 (ret_NOERRNO): Define in terms of ret.
3792 (ret_ERRVAL): Likewise.
3793
74f31c18
RH
3794 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3795 use of PSEUDO_RET; perform the error check directly.
3796
30477995
MM
37972014-05-30 Marko Myllynen <myllynen@redhat.com>
3798
3799 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3800 with __int128_t.
3801
62a58816
SP
38022014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3803
3804 * malloc/malloc (malloc_info): Fix formatting.
3805
4d653a59
SP
38062014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3807 Roland McGrath <roland@hack.frob.com>
3808
3809 * malloc/malloc (malloc_info): Also print mmapped statistics.
3810
5190c17f
RM
38112014-05-30 Roland McGrath <roland@hack.frob.com>
3812
3813 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3814 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3815
987c0269
OB
38162014-05-30 Ondřej Bílka <neleai@seznam.cz>
3817
3818 * malloc/malloc.c (malloc_info): Inline mi_arena.
3819
af4e8ef9
RH
38202014-05-29 Richard Henderson <rth@twiddle.net>
3821
1670e207
RH
3822 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3823 Remove comma before expanding ASM_ARGS_##nr.
3824 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3825 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3826 of ASM_ARGS_##nr.
3827 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3828 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3829 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3830 (ASM_ARGS_1): Add leading comma.
3831
11a28aee
RH
3832 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3833 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3834 to __errno_location.
3835 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3836 Remove the expected plt for __errno_location.
3837
a17e5ffb 3838 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3839 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3840 call to __read_tp.
3841
b5be4597
RH
3842 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3843 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3844 it and break it down.
3845 (DOCARGS_0, DOCARGS_1): Do nothing.
3846 (DOCARGS_2): Update to store into the new stack frame.
3847 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3848 (UNDOCARGS_1): Update to restore from the new stack frame.
3849 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3850 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3851
645d44ab
RH
3852 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3853 (SINGLE_THREAD_P): New parameter for result regno.
3854 (PSEUDO): Update to match; use cbz instead of beq.
3855
a8b4f04a
RH
3856 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3857 Use ENTRY to define the _nocancel entry point. Share the syscall
3858 and syscall error check paths with the cancel path.
3859 (PSEUDO_END): New.
3860
af4e8ef9
RH
3861 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3862 whitespace; tabs before and after asm mnemonics.
3863
26b0d2e1
EW
38642014-05-29 Eric Wong <normalperson@yhbt.net>
3865
3866 [BZ #15132]
3867 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3868 Call fstat64 or stat64 internally, depending on arguments passed.
3869 Replace stat buffer argument with file descriptor argument.
3870 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3871 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3872 Pass fd to __internal_statvfs instead of calling fstat64.
3873 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3874 Pass fd to __internal_statvfs64 instead of calling fstat64.
3875 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3876 Pass -1 to __internal_statvfs instead of calling stat64.
3877 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3878 Pass -1 to __internal_statvfs64 instead of calling stat64.
3879
1efe2bd9
RM
38802014-05-28 Roland McGrath <roland@hack.frob.com>
3881
0d3b7a19
RM
3882 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3883 that was previously under [RESET_PID].
3884 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3885
1efe2bd9
RM
3886 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3887 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3888
a6bea3ca
RM
38892014-05-27 Roland McGrath <roland@hack.frob.com>
3890
30b6629e
RM
3891 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3892
a6bea3ca
RM
3893 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3894 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3895
3dfb9a5c
OB
38962014-05-27 Ondřej Bílka <neleai@seznam.cz>
3897
3898 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3899
774f9285
AS
39002014-05-27 Andreas Schwab <schwab@suse.de>
3901
3902 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3903 TLS_INIT_TP macro.
3904 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3905 * elf/rtld.c (init_tls, dl_main): Likewise.
3906 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3907 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3908 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3909 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3910 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3911 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3912 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3913 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3914 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3915 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3916 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3917 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3918 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3919 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3920 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3921 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3922 * sysdeps/generic/tls.h: Update description.
3923
36ffe739
WN
39242014-05-27 Will Newton <will.newton@linaro.org>
3925
3926 [BZ #16990]
3927 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3928 and restore r2 rather than just restoring.
3929
2482ae43
SP
39302014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3931
3932 [BZ #16724]
3933 * libio/tst-ftell-append.c: New test case.
3934 * libio/Makefile (tests): Add test case.
3935 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3936 append mode.
3937 * libio/wfileops.c (do_ftell_wide): Likewise.
3938
3d1024e8
AZ
39392014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3940
bab90016
AZ
3941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3942
c7a8d667
AZ
3943 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3944 ...
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3947 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3948 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3949 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3950 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3952 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3954 Moved ...
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3957 Moved ...
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3959 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3960 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3961 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3962 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3963 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3964 ...
3965 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3966 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3967 Moved ...
3968 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3969 here.
3970 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3971 ...
3972 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3974 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3975
daee7851
AZ
3976 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3977 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3978 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3979 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3980
50a40819
AZ
3981 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3982 merge into ...
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3984 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3985 ...
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3988 ...
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3990 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3991 Moved ...
3992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3993 here.
3994 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3995 Moved ...
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3998 Moved ...
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4000
8464c2a1
AZ
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4002 conditional [RESET_PID].
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4004 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4005 removed.
4006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4007 removed.
4008
3d1024e8
AZ
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4010 <tcb-offsets.h>.
4011 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4012 (__libc_vfork): New strong alias.
4013 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4014 removed.
4015 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4016 Removed.
4017
4018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4019 <tcb-offsets.h>.
4020 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4021 (__libc_vfork): New strong alias.
4022 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4023 removed.
4024 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4025 removed.
4026
fdfd175d
CD
40272014-05-26 Carlos O'Donell <carlos@redhat.com>
4028
4029 * malloc/malloc.c (mi_arena): New function.
4030 (malloc_info): Remove nested function mi_arena. Call non-nosted
4031 function mi_arena.
4032
d298c416
AZ
40332014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4034
4035 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4036 by insrwi.
4037 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4038 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4039 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4040 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4041 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4042 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4043 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4044
b60ea6ff
AS
40452014-05-26 Andreas Schwab <schwab@suse.de>
4046
4047 [BZ #16984]
4048 * locale/programs/repertoire.c (repertoire_read): Add slash
4049 between I18NPATH element and file name.
4050 * locale/programs/locfile.c (locfile_read): Likewise.
4051
67365926
SL
40522014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4053
4054 * nptl/pthread_mutexattr_settype.c
4055 (__pthread_mutexattr_settype):
4056 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4057
f8bdf1f0
SL
40582014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4059
4060 * nptl/tst-mutex5 (do_test):
4061 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4062
15eaf6ff
SP
40632014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4064
4065 * benchtests/README: Document 'init' directive.
4066 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4067 BENCH_INIT.
4068 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4069 (parse_file): Recognize 'init' directive.
4070
75f11331
KM
40712014-05-26 Kyle McMartin <kyle@redhat.com>
4072
4073 [BZ #16796]
4074 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4075 alignment of struct pthread.
4076
c3ec475c
SP
40772014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4078
4079 [BZ #16878]
4080 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4081 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4082 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4083 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4084
82aab97c
RH
40852014-05-25 Richard Henderson <rth@twiddle.net>
4086
aa2f176d
RH
4087 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4088 (SINGLE_THREAD_P_PIC): Remove.
4089 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4090 (SINGLE_THREAD_P_PIC): Remove.
4091
ca3cfa40
RH
4092 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4093 branch to syscall error ...
4094 (PSEUDO): ... here.
4095 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4096 from __local_syscall_error to .Lsyscall_error.
4097 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4098 (SYSCALL_ERROR): Update label name.
4099
6e6c2d01
RH
4100 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4101 Do not use DOARGS/UNDOARGS.
4102 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4103 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4104 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4105 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4106 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4107
c69abcee
RH
4108 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4109 block comment.
4110
82aab97c
RH
4111 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4112 define if !NOT_IN_libc.
4113 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4114 define with non-default symbol versions.
4115
8820e3ac
RH
41162014-05-23 Richard Henderson <rth@twiddle.net>
4117
900e445f
RH
4118 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4119 (vfork, __vfork): Define via compat_symbol.
4120
8820e3ac
RH
4121 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4122 [!HAVE_IFUNC] (vfork_compat): Remove.
4123 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4124
e59252a5
JM
41252014-05-23 Joseph Myers <joseph@codesourcery.com>
4126
4127 [BZ #16978]
4128 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4129 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4130 variable.
4131
132c7f5f
RH
41322014-05-23 Richard Henderson <rth@twiddle.net>
4133
bc89e962
RH
4134 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4135 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4136 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4137 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4138
4139 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4140 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4141 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4142 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4143 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4144 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4145 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4146 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4147 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4148 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4149 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4150 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4151 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4152 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4153 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4154 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4155 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4156 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4158 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4159 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4160 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4161 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4162 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4163 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4164 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4165 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4166 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4167 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4168 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4169 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4170 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4171 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4172 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4173 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4174 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4175 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4176 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4177 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4178 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4179 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4180 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4181 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4182 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4183 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4184 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4185 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4186 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4187 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4188 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4189 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4190 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4191 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4192 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4193 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4194 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4195
e2fa4bc2
RH
4196 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4197 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4198 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4199 before exiting on error.
4200 (__libc_vfork): New strong alias.
4201 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4202 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4203
279b24e2
RH
4204 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4205 that was previously under [RESET_PID].
4206 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4207
132c7f5f
RH
4208 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4209
b72592e7
JM
42102014-05-23 Joseph Myers <joseph@codesourcery.com>
4211
4212 [BZ #16977]
4213 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4214 value when x - 1 is zero.
4215 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4216 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4217 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4218 0.0L for an argument of 1.0L.
4219 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4220 Likewise.
4221 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4222 value when x - 1 is zero.
4223 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4224 * sysdeps/i386/fpu/libm-test-ulps: Update.
4225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4226
2302d679
RV
42272014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4228
4229 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4230 alphasort and versionsort.
4231
32999d63
AZ
42322014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4233
4234 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4235 macro.
4236 [copysignf]: Likewise.
4237
019324d0
SP
42382014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4239
4240 * crypt/md5-crypt.c: Fix formatting.
4241
34fff5c2
KS
42422014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4243
4244 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4245 (b64_from_24bit): New function.
4246
3d2badac
AZ
42472014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4248
4249 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4250 libc_hidden_builtin_def to ifunc.
4251 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4252 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4253
f7bb179f 42542014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4255
4256 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4257 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4258
4134b50d
JM
42592014-05-21 Joseph Myers <joseph@codesourcery.com>
4260
bb7d0337
JM
4261 * nscd/Depend (linuxthreads): Remove.
4262 (nptl): Add.
4263 * resolv/Depend (linuxthreads): Remove.
4264 * rt/Depend (linuxthreads): Remove.
4265
4134b50d
JM
4266 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4267 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4268 $(common-objpfx)elf/.
4269 (link-libc-before-gnulib): Likewise.
4270 (elfobjdir): Remove variable.
4271 * Makefile (install): Use $(elf-objpfx) instead of
4272 $(common-objpfx)elf/.
4273 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4274 $(elfobjdir)/.
4275 (link-libc-deps): Likewise.
4276 ($(common-objpfx)libc.so): Likewise.
4277 ($(common-objpfx)linkobj/libc.so): Likewise.
4278 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4279 instead of $(common-objpfx)elf/.
4280 (symbolic-link-list): Likewise.
4281 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4282 [$(cross-compiling) = no]: Likewise.
4283 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4284 $(elfobjdir)/.
4285 (static-gnulib-arch): Likewise.
4286 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4287 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4288 $(common-objpfx)elf/.
4289
3612eb8f
RH
42902014-05-21 Richard Henderson <rth@redhat.com>
4291
a6b3657b
RH
4292 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4293 (SINGLE_THREAD_P): Use the correct width load. Fold
4294 into the ldr offset.
4295
3612eb8f
RH
4296 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4297 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4298
175cef41
JM
42992014-05-20 Joseph Myers <joseph@codesourcery.com>
4300
4301 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4302 (libgcc_s_resume): Use __attribute_used__.
4303 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4304 Likewise.
4305
e13bccd3
AZ
43062014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4307
4308 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4309 optimization when used with float constants.
4310
7c112a38
AZ
4311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4312
ae75a883
AJ
43132014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4314
4315 [BZ #16915]
4316 * locale/nl_langinfo_l.c: Make direct reference to every
4317 _nl_current_CATEGORY symbol.
4318 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4319 (tests-static): Add tst-langinfo-static.
4320 (tests-special): Add tst-langinfo-static.out.
4321 ($(objpfx)tst-langinfo.out): Redirect output.
4322 ($(objpfx)tst-langinfo-static.out): New.
4323 * localedata/tst-langinfo.sh: Send output to stdout.
4324 * localedata/tst-langinfo-static.c: New file.
4325
4406c41c
AJ
4326 [BZ #16965]
4327 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4328 when the shift amount is modulo the limb size.
4329
4c0a1e63
RH
43302014-05-20 Richard Henderson <rth@redhat.com>
4331
de9d8f20
RH
4332 [BZ #16967]
4333 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4334 Change type of sa_flags from unsigned int to int.
4335
4c0a1e63
RH
4336 [BZ #16966]
4337 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
4338
4339 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4340
a60339aa
WN
43412014-05-20 Will Newton <will.newton@linaro.org>
4342
4343 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4344 Test the return value of the system call in the nocancel case.
4345
7d05a816
YR
43462014-05-20 Will Newton <will.newton@linaro.org>
4347 Yvan Roux <yvan.roux@linaro.org>
4348
4349 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4350 #include of asm/ptrace.h.
4351 (PTRACE_GET_THREAD_AREA): Remove #undef.
4352 (PTRACE_GETHBPREGS): Likewise.
4353 (PTRACE_SETHBPREGS): Likewise.
4354 (struct user_regs_struct): New structure.
4355 (struct user_fpsimd_struct): New structure.
4356 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4357 #include of asm/ptrace.h and second #include of sys/user.h.
4358 (PTRACE_GET_THREAD_AREA): Remove #undef.
4359 (PTRACE_GETHBPREGS): Likewise.
4360 (PTRACE_SETHBPREGS): Likewise.
4361 (ELF_NGREG): Use new struct user_regs_struct.
4362 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4363
af121e37
AZ
43642014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4365
4366 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4367 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4368
834caf06
JM
43692014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4370
4371 [BZ #16958]
4372 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4373 membar to avoid block loads/stores to overlap previous stores.
4374
e184a918
RH
43752014-05-17 Richard Henderson <rth@redhat.com>
4376
4377 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4378 Create the __##syscall_name##_nocancel entry point.
4379 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4380 Remove; let the sysdep-cancel.h code create it.
4381
f56c7a6a
DM
43822014-05-17 David S. Miller <davem@davemloft.net>
4383
4384 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4385 Protect with __USE_GNU.
4386 (TIOCSET_TEMPT): Likewise.
4387 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4388 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4389 these are already provided in bits/ioctl-types.h
4390
f75616b2
RM
43912014-05-16 Roland McGrath <roland@hack.frob.com>
4392
3edeca86
RM
4393 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4394 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4395
f75616b2
RM
4396 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4397 Use wait4 regardless of [__NR_waitpid].
4398
deb0f7f6
MR
43992014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4400
4401 PR libgcc/60166
4402 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4403 (_FP_NANSIGN_Q): Set the quiet bit.
4404
79520f4b
JM
44052014-05-16 Joseph Myers <joseph@codesourcery.com>
4406
4407 * benchtests/Makefile
4408 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4409 not $(common-objpfx)math/libm.so.
4410 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4411 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4412 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4413 $(common-objpfx)dlfcn/libdl.so.
4414 ($(objpfx)tst-audit8): Depend on $(libm), not
4415 $(common-objpfx)math/libm.so.
4416 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4417 not $(common-objpfx)dlfcn/libdl.so.
4418 * math/Makefile
4419 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4420 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4421 [$(build-shared) = yes].
4422 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4423 $(common-objpfx)nptl/libpthread.so.
4424 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4425 $(common-objpfx)math/libm.so$(libm.so-version) or
4426 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4427 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4428 $(common-objpfx)dlfcn/libdl.so.
4429 * setjmp/Makefile (link-libm): Remove variable.
4430 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4431 * stdio-common/Makefile (link-libm): Remove variable.
4432 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4433 * stdlib/Makefile (link-libm): Remove variable.
4434 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4435 ($(objpfx)tst-strtod-round): Likewise.
4436 ($(objpfx)tst-tininess): Likewise.
4437 ($(objpfx)tst-strtod-underflow): Likewise.
4438 ($(objpfx)tst-strtod6): Likewise.
4439 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4440 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4441 $(common-objpfx)dlfcn/libdl.so.
4442
026b0fe4
AZ
44432014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444
4445 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4446 BSD terminal modes definitions.
4447
def4bcb2
RM
44482014-05-16 Roland McGrath <roland@hack.frob.com>
4449
fe39b021
RM
4450 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4451 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4452
1d1fc46e 4453 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4454 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4455 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4456 Don't do #include_next.
4457 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4458 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4459 Don't do #include_next.
4460 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4461 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4462 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4463 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4464
c72399fb
AM
44652014-05-16 Allan McRae <allan@archlinux.org>
4466
d51d659d
AM
4467 * po/sv.po: Update Swedish translation from translation project.
4468
c72399fb
AM
4469 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4470 in sed expression.
4471
d0583c40
AJ
44722014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4473
4474 [BZ #16917]
4475 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4476 errno if the TIOCGPTN ioctl fails with an error different than
4477 EINVAL.
4478 * login/tst-ptsname.c: New file.
4479 * login/Makefile (tests): Add tst-ptsname.
4480
d16e6ec7
AJ
4481 [BZ #16943]
4482 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4483 and prlimit64.
4484
cf26a0cb
SP
44852014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4486
4487 [BZ #16849]
4488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4489 herrno to return EAI_AGAIN.
4490
5675da1e
RM
44912014-05-14 Roland McGrath <roland@hack.frob.com>
4492
a5d87b3d
RM
4493 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4494 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4495 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4500 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4502 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4505 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4506 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4508 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4510 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4512 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4514 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4516 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4518 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4520 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4522 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4524 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4526 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4528 Moved ...
4529 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4531 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4533 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4537 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4539 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4541 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4543 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4545 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4547 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4549 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4551 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4553 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4555 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4557 Moved ...
4558 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4560 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4562 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4564 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4566 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4568 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4570 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4572 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4574 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4576 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4578 Moved ...
4579 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4581 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4582
039890a6
RM
4583 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4584 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4585 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4586 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4587 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4588 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4589 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4590 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4591 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4592 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4593 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4594 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4595 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4596 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4597 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4598 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4599 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4600 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4601 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4602 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4603 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4604 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4605 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4606 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4607 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4608 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4609 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4610 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4611 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4612 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4613 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4614
65c89320
RM
4615 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4616 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4617
348f8e8c
RM
4618 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4619 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4620 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4621 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4622 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4623 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4624 Moved ...
4625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4626 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4627 Moved ...
4628 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4629 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4630 Moved ...
4631 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4632 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4633 Moved ...
4634 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4635 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4636 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4637 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4638 Moved ...
4639 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4640 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4641 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4642 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4643 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4644 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4645 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4646 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4647 Moved ...
4648 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4649 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4650 Moved ...
4651 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4652 ... here.
4653 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4654 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4655 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4656 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4657 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4658 Moved ...
4659 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4660 ... here.
4661 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4662 Moved ...
4663 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4664 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4665 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4666 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4667 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4668 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4669 Moved ...
4670 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4671 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4672 Moved ...
4673 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4674 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4675 Moved ...
4676 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4678 Moved ...
4679 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4680 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4681 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4682 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4683 Moved ...
4684 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4686 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4687 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4688 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4689 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4690 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4691 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4692 Moved ...
4693 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4694 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4695 Moved ...
4696 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4697 ... here.
4698 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4699 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4700 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4701 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4702 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4703 Moved ...
4704 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4705 ... here.
4706 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4707 Moved ...
4708 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4709 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4710 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4712 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4714 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4715 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4716 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4717 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4718 Moved ...
4719 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4721 Moved ...
4722 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4724 Moved ...
4725 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4727 Moved ...
4728 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4729 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4730 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4731 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4732 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4734 Moved ...
4735 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4737 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4739 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4740 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4741 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4742 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4743 Moved ...
4744 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4745 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4746 Moved ...
4747 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4748 ... here.
4749 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4750 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4751 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4752 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4753 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4754 Moved ...
4755 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4756 ... here.
4757 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4758 Moved ...
4759 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4761 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4762 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4763 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4764 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4765 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4766 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4767 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4768 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4769 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4770
5085af05
RM
4771 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4772 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4773
708f0813
RM
4774 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4775 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4776
c96067bc
RM
4777 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4778 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4779 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4780 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4781 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4782 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4783 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4784 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4785 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4786 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4787 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4788 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4789 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4790 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4791 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4792 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4793 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4794 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4795 Moved ...
4796 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4797 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4798 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4800 Moved ...
4801 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4802 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4803 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4805 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4807 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4808 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4809 Moved ...
4810 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4811 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4812 Moved ...
4813 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4814 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4815 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4817 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4819 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4820 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4821 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4822 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4823 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4825 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4827 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4829 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4830
ec136444
RM
4831 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4832 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4833 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4834 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4835 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4836
2fbdf533
RM
4837 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4838 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4840 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4841 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4842 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4843 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4844 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4845 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4846 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4847
4c68138b
RM
4848 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4850
4eaae765
RM
4851 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4852 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4853 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4854 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4855 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4856 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4857 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4858 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4859 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4860 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4861 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4862 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4863 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4864 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4865 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4866 Update #include.
4867 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4868 Likewise.
4869 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4870 Likewise.
4871 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4872 Likewise.
4873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4874 Likewise.
4875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4876 Likewise.
4877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4878 Likewise.
4879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4880 Likewise.
4881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4882 Likewise.
4883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4884 Likewise.
4ef6befa
RM
4885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4886 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4888 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4890 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4891 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4892 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4893 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4894 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4895 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4896 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4897 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4898 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4899 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4900
941d7dfd
RM
4901 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4902 that was previously under [RESET_PID].
4903 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4904 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4905 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4906
1b731c35
RM
4907 * sysdeps/i386/nptl/Implies: New file.
4908 * sysdeps/x86_64/nptl/Implies: New file.
4909 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4910 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4912 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4913
e2787137
RM
4914 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4915 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4916 (__libc_vfork): New strong alias.
4917 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4918 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4919
4920 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4921 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4922 (__libc_vfork): New strong alias.
4923 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4924 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4925
5675da1e
RM
4926 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4927 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4928 (__libc_vfork): New strong alias.
4929 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4930 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4931 * nptl/pt-vfork.c: New file.
4932 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4933 (libpthread: GLIBC_2.20): New version set (empty).
4934
4f02e2b8
WN
49352014-05-14 Will Newton <will.newton@linaro.org>
4936
4937 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4938 rather than #if.
4939
0bf061d3
JM
49402014-05-14 Joseph Myers <joseph@codesourcery.com>
4941
1a84c3d6
JM
4942 [BZ #16564]
4943 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4944 arguments with exponent 65 or above.
4945 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4946 arguments 0x1p113L or above.
4947 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4948 to arguments 0x1p107L or above.
4949 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4950 positive arguments with exponent 65 or above.
4951 * math/auto-libm-test-in: Add more tests of log1p.
4952 * math/auto-libm-test-out: Regenerated.
4953
01dbacd2
JM
4954 [BZ #16928]
4955 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4956 non-finite arguments is +0.
4957 * math/s_cacosf.c (__cacosf): Likewise.
4958 * math/s_cacosl.c (__cacosl): Likewise.
4959 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4960 * sysdeps/i386/fpu/libm-test-ulps: Update.
4961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4962
913d03c8
JM
4963 [BZ #16927]
4964 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4965 value.
4966 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4967 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4968 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4969 for explicit high bit of mantissa when testing for argument equal
4970 to 1.
4971 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4972 * sysdeps/i386/fpu/libm-test-ulps: Update.
4973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4974
0bf061d3
JM
4975 [BZ #16516]
4976 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4977 (__erf): Scale by 16 instead of 8 in potentially underflowing
4978 case. Ensure exception if result actually underflows.
4979 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4980 (__erff): Scale by 16 instead of 8 in potentially underflowing
4981 case. Ensure exception if result actually underflows.
4982 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4983 (efx8): Remove variable.
4984 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4985 case. Ensure exception if result actually underflows.
4986 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4987 (efx8): Remove variable.
4988 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4989 case. Ensure exception if result actually underflows.
4990 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4991 (efx8): Remove variable.
4992 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4993 case. Ensure exception if result actually underflows.
4994 * math/auto-libm-test-in: Add more tests of erf.
4995 * math/auto-libm-test-out: Regenerated.
4996
73ba67cb
AS
49972014-05-14 Andreas Schwab <schwab@suse.de>
4998
3d8c8bff
AS
4999 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5000 Remove code conditionalized on USE___THREAD.
5001
73ba67cb
AS
5002 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5003 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5004 not definedness.
5005
5c521ecd
JM
50062014-05-14 Joseph Myers <joseph@codesourcery.com>
5007
5e7698c6
JM
5008 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5009 Define unconditionally.
5010 (__ASSUME_O_CLOEXEC): Likewise.
5011 (__ASSUME_SOCK_CLOEXEC): Likewise.
5012 (__ASSUME_IN_NONBLOCK): Likewise.
5013 (__ASSUME_PIPE2): Likewise.
5014 (__ASSUME_EVENTFD2): Likewise.
5015 (__ASSUME_SIGNALFD4): Likewise.
5016 (__ASSUME_DUP3): Likewise.
5017 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5018 (__ASSUME_DUP3): Do not define.
5019 (__ASSUME_EVENTFD2): Likewise.
5020 (__ASSUME_IN_NONBLOCK): Likewise.
5021 (__ASSUME_O_CLOEXEC): Likewise.
5022 (__ASSUME_PIPE2): Likewise.
5023 (__ASSUME_SIGNALFD4): Likewise.
5024 (__ASSUME_SOCK_CLOEXEC): Likewise.
5025 (__ASSUME_UTIMES): Undefine.
5026 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5027 (__ASSUME_UTIMES): Do not define.
5028 (__ASSUME_O_CLOEXEC): Likewise.
5029 (__ASSUME_SOCK_CLOEXEC): Likewise.
5030 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5031 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5032 0x020621].
5033 (__ASSUME_PIPE2): Likewise.
5034 (__ASSUME_EVENTFD2): Likewise.
5035 (__ASSUME_SIGNALFD4): Likewise.
5036 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5037 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5038 Do not define.
5039 (__ASSUME_EVENTFD2): Likewise.
5040 (__ASSUME_SIGNALFD4): Likewise.
5041 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5042 (__ASSUME_32BITUIDS): Likewise.
5043 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5044 (__ASSUME_IPC64): Likewise.
5045 (__ASSUME_ST_INO_64_BIT): Likewise.
5046 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5047 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5048 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5049 (__ASSUME_UTIMES): Do not define.
5050 (__ASSUME_PSELECT): Likewise.
5051 (__ASSUME_PPOLL): Likewise.
5052 (__ASSUME_O_CLOEXEC): Likewise.
5053 (__ASSUME_SOCK_CLOEXEC): Likewise.
5054 (__ASSUME_IN_NONBLOCK): Likewise.
5055 (__ASSUME_PIPE2): Likewise.
5056 (__ASSUME_EVENTFD2): Likewise.
5057 (__ASSUME_SIGNALFD4): Likewise.
5058 (__ASSUME_DUP3): Likewise.
5059 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5060 (__ASSUME_UTIMES): Likewise.
5061 (__ASSUME_O_CLOEXEC): Likewise.
5062 (__ASSUME_SOCK_CLOEXEC): Likewise.
5063 (__ASSUME_IN_NONBLOCK): Likewise.
5064 (__ASSUME_PIPE2): Likewise.
5065 (__ASSUME_EVENTFD2): Likewise.
5066 (__ASSUME_SIGNALFD4): Likewise.
5067 (__ASSUME_DUP3): Likewise.
5068 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5069 (__ASSUME_UTIMES): Likewise.
5070 (__ASSUME_O_CLOEXEC): Likewise.
5071 (__ASSUME_SOCK_CLOEXEC): Likewise.
5072 (__ASSUME_IN_NONBLOCK): Likewise.
5073 (__ASSUME_PIPE2): Likewise.
5074 (__ASSUME_EVENTFD2): Likewise.
5075 (__ASSUME_SIGNALFD4): Likewise.
5076 (__ASSUME_DUP3): Likewise.
5077 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5078 Likewise.
5079 (__ASSUME_UTIMES): Likewise.
5080 (__ASSUME_EVENTFD2): Likewise.
5081 (__ASSUME_SIGNALFD4): Likewise.
5082 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5083 (__ASSUME_O_CLOEXEC): Likewise.
5084 (__ASSUME_SOCK_CLOEXEC): Likewise.
5085 (__ASSUME_IN_NONBLOCK): Likewise.
5086 (__ASSUME_PIPE2): Likewise.
5087 (__ASSUME_EVENTFD2): Likewise.
5088 (__ASSUME_SIGNALFD4): Likewise.
5089 (__ASSUME_DUP3): Likewise.
5090 (__ASSUME_UTIMES): Undefine.
5091
5c521ecd
JM
5092 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5093 feclearexcept. Remove symbol versioning code.
5094 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5095 symbol versioning code.
5096 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5097 symbol versioning code.
5098 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5099 feupdateenv. Remove symbol versioning code.
5100 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5101 fegetexceptflag. Remove symbol versioning code.
5102 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5103 fesetexceptflag. Remove symbol versioning code.
5104 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5105 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5106 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5107 (__posix_fadvise64_l32): Remove prototype.
5108 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5109 code.
5110
5da9dfad
RM
51112014-05-13 Roland McGrath <roland@hack.frob.com>
5112
5113 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5114 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5115 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5116 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5117
893b4f37
SK
51182014-05-13 Sami Kerola <kerolasa@iki.fi>
5119
5120 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5121 current working directory
5122
e0db6517
RM
51232014-05-13 Roland McGrath <roland@hack.frob.com>
5124
58aa195d
RM
5125 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5126 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5127 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5128 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5129 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5130 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5131 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5132 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5133 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5134 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5135 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5136 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5137 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5138 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5139 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5140 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5141 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5142 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5143 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5144 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5145 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5146 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5147 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5148 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5149 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5150 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5151 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5152 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5153 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5154 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5155 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5156 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5157 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5158 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5159 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5160 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5161 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5162 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5163 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5164 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5165 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5166 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5167
8c6d01f0
RM
5168 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5169 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5170
5171 * sysdeps/unix/sysv/linux/arm/Makefile
5172 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5173 Add rt-aeabi_unwind_cpp_pr1.
5174 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5175 Add nptl-aeabi_unwind_cpp_pr1.
5176 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5177 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5178 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5179 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5180 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5181 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5182
5183 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5184 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5185 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5186 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5187
bba6da4e
RM
5188 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5189 Deconditionalize the code that was previously under [RESET_PID].
5190 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5191
e0db6517
RM
5192 * sysdeps/generic/exit-thread.h: New file.
5193 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5194 * include/unistd.h (__exit_thread): Remove declaration.
5195 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5196 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5197 * csu/libc-start.c: Include <exit-thread.h>.
5198 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5199 * nptl/pthread_create.c: Include <exit-thread.h>.
5200 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5201 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5202 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5203 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5204 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5205 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5206 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5207 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5208 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5209 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5210 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5211 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5212 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5213 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5214 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5215 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5216 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5217
01eb16fd
AS
52182014-05-13 Andreas Schwab <schwab@suse.de>
5219
5220 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5221
637461d9
JM
52222014-05-12 Joseph Myers <joseph@codesourcery.com>
5223
5224 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5225 (__ASSUME_UTIMES): Do not condition on kernel version.
5226 (__ASSUME_PSELECT): Define unconditionally.
5227 (__ASSUME_PPOLL): Likewise.
5228 (__ASSUME_ATFCTS): Likewise.
5229 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5230 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5231 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5232 (__ASSUME_UTIMENSAT): Define unconditionally.
5233 (__ASSUME_PRIVATE_FUTEX): Likewise.
5234 (__ASSUME_FALLOCATE): Likewise.
5235 (__ASSUME_O_CLOEXEC): Likewise.
5236 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5237 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5238 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5239 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5240 (__ASSUME_IN_NONBLOCK): Likewise.
5241 (__ASSUME_PIPE2): Likewise.
5242 (__ASSUME_EVENTFD2): Likewise.
5243 (__ASSUME_SIGNALFD4): Likewise.
5244 (__ASSUME_DUP3): Likewise.
5245 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5246 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5247 (__ASSUME_AT_RANDOM): Likewise.
5248 (__ASSUME_PREADV): Likewise.
5249 (__ASSUME_PWRITEV): Likewise.
5250 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5251 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5252 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5253 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5254 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5255 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5256 (__ASSUME_O_CLOEXEC): Define unconditionally.
5257 (__ASSUME_PSELECT): Do not undefine conditionally.
5258 (__ASSUME_PPOLL): Likewise.
5259 (__ASSUME_ATFCTS): Likewise.
5260 (__ASSUME_SET_ROBUST_LIST): Likewise.
5261 (__ASSUME_UTIMENSAT): Likewise.
5262 (__ASSUME_FDATASYNC): Define unconditionally.
5263 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5264 (__ASSUME_SIGFRAME_V2): Likewise.
5265 )__ASSUME_EVENTFD2): Likewise.
5266 (__ASSUME_SIGNALFD4): Likewise.
5267 (__ASSUME_PSELECT): Do not undefine conditionally.
5268 (__ASSUME_PPOLL): Likewise.
5269 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5270 (__ASSUME_PSELECT): Define unconditionally.
5271 (__ASSUME_PPOLL): Likewise.
5272 (__ASSUME_O_CLOEXEC): Likewise.
5273 (__ASSUME_SOCK_CLOEXEC): Likewise.
5274 (__ASSUME_IN_NONBLOCK): Likewise.
5275 (__ASSUME_PIPE2): Likewise.
5276 (__ASSUME_EVENTFD2): Likewise.
5277 (__ASSUME_SIGNALFD4): Likewise.
5278 (__ASSUME_DUP3): Likewise.
5279 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5280 (__ASSUME_O_CLOEXEC): Likewise.
5281 (__ASSUME_SOCK_CLOEXEC): Likewise.
5282 (__ASSUME_IN_NONBLOCK): Likewise.
5283 (__ASSUME_PIPE2): Likewise.
5284 (__ASSUME_EVENTFD2): Likewise.
5285 (__ASSUME_SIGNALFD4): Likewise.
5286 (__ASSUME_DUP3): Likewise.
5287 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5288 (__ASSUME_EVENTFD2): Likewise.
5289 (__ASSUME_SIGNALFD4): Likewise.
5290 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5291
315eb1d8
AS
52922014-05-12 Andreas Schwab <schwab@suse.de>
5293
5294 [BZ #16932]
5295 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5296 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5297 than maximum RPC packet size.
5298 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5299 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5300 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5301 (_nss_nis_getservbyport_r): Likewise.
5302
91df99f7
WN
53032014-05-12 Will Newton <will.newton@linaro.org>
5304
5305 * malloc/Makefile (tests): Add tst-mallopt.
5306 * malloc/tst-mallopt.c: New file.
5307
0a982a29
RM
53082014-05-09 Roland McGrath <roland@hack.frob.com>
5309
5310 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5311 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5312
0ded08a5
AZ
53132014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5314
5315 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5316 (tst-tlsmod6.so): Likewise.
5317
55d4d550
RM
53182014-05-09 Roland McGrath <roland@hack.frob.com>
5319
5320 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5321
77d08aca
JM
53222014-05-09 Joseph Myers <joseph@codesourcery.com>
5323
5324 [BZ #16064]
5325 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5326 and <dl-procinfo.h>.
5327 (__fegetenv): Save SSE state in envp->__eip if supported.
5328 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5329 envp->__eip if supported.
5330 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5331 and <dl-procinfo.h>.
5332 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5333 __data_offset and __data_selector in environment to 0. Set SSE
5334 state if supported.
5335 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5336 test-fenv-sse.
5337 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5338 -mfpmath=sse.
5339 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5340
28162f4d
WN
53412014-05-09 Will Newton <will.newton@linaro.org>
5342
5343 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5344 and libc_relro_required for ARM.
5345 * sysdeps/arm/preconfigure: Regenerate.
5346
5a414ff7
DV
53472014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5348 Stefan Liebler <stli@linux.vnet.ibm.com>
5349
5350 * config.make.in (enable-lock-elision): New Makefile variable.
5351 * configure.ac: Likewise.
5352 * configure: Regenerate.
5353 * sysdeps/s390/configure.ac:
5354 Add check for gcc transactions support.
5355 * sysdeps/s390/configure: Regenerate.
5356 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5357 Build elision files if enabled.
5358 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5359 Add lock elision support for s390.
5360 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5361 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5362 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5363 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5364 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5365 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5366 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5367 Likewise.
5368 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5369 Likewise.
5370 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5371 Likewise.
5372 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5373 Likewise.
5374 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5375 (__lll_timedlock_elision, __lll_lock_elision)
5376 (__lll_unlock_elision, __lll_trylock_elision)
5377 (lll_timedlock_elision, lll_lock_elision)
5378 (lll_unlock_elision, lll_trylock_elision): Add.
5379 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5380 (pthread_mutex_t): Add lock elision support for s390.
5381
1a2f40e5
W
53822014-05-14 Wilco <wdijkstr@arm.com>
5383
5384 * sysdeps/arm/fclrexcpt.c: Cleanup.
5385 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5386 * sysdeps/arm/feenablxcpt.c: Cleanup.
5387 * sysdeps/arm/fegetenv.c: Cleanup.
5388 * sysdeps/arm/fegetexcept.c: Cleanup.
5389 * sysdeps/arm/fegetround.c: Cleanup.
5390 * sysdeps/arm/feholdexcpt.c: Cleanup.
5391 * sysdeps/arm/fesetenv.c: Cleanup.
5392 * sysdeps/arm/fesetround.c: Cleanup.
5393 * sysdeps/arm/feupdateenv.c: Cleanup.
5394 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5395 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5396 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5397 * sysdeps/arm/ftestexcept.c: Cleanup.
5398 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5399 * sysdeps/arm/setfpucw.c: Cleanup.
5400
f63c86fe
WN
54012014-05-09 Will Newton <will.newton@linaro.org>
5402
5403 * sysdeps/arm/armv7/strcmp.S: New file.
5404 * NEWS: Mention addition of ARMv7 optimized strcmp.
5405
7a1a51b5
RM
54062014-05-08 Roland McGrath <roland@hack.frob.com>
5407
95afbbe5
RM
5408 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5409 look for %.ac rather than %.in.
5410
5411 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5412 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5413 * sysdeps/mach/hurd/configure: Regenerated.
5414 * sysdeps/unix/sysv/linux/configure: Regenerated.
5415
7a1a51b5
RM
5416 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5417
5057ad3b
SE
54182014-05-07 Steve Ellcey <sellcey@mips.com>
5419
5420 [BZ# 16922]
5421 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5422 (LONG_SUB): Ditto.
5423 (PTR_SUB): Ditto.
5424
8dc97517
AS
54252014-05-07 Andreas Schwab <schwab@suse.de>
5426
5427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5428 when skipping over non-matching result from nscd.
5429
ce0c5b8f
OB
54302014-05-07 Ondřej Bílka <neleai@seznam.cz>
5431
5432 [BZ #16876]
5433 * nptl/sockperf.c (client): Check socket return value.
8dc97517 5434
a1189263
OB
5435 [BZ #16877]
5436 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5437 nscd security class.
ce0c5b8f 5438
0f58d252
RM
54392014-05-06 Roland McGrath <roland@hack.frob.com>
5440
5441 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5442 * sysdeps/arm/unwind.h: ... here.
5443
83df9ad0
AJ
54442014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5445
ce0c5b8f
OB
5446 [BZ# 16916]
5447 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5448 Define.
83df9ad0 5449
f360f94a
VR
54502014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5451
5452 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5453 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5454 multiarch strncpy for PPC64.
5455 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5456 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5458 multiarch optimizations.
5459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5460 (__libc_ifunc_impl_list): Likewise.
5461 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5462 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5463 multiarch stpncpy for PPC64.
5464 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5465 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5466
978a41c3
AS
54672014-05-06 Andreas Schwab <schwab@suse.de>
5468
5469 [BZ #16912]
5470 * gmon/mcount.c (_MCOUNT_DECL): Use
5471 atomic_compare_and_exchange_bool_acq instead of
5472 catomic_compare_and_exchange_bool_acq.
5473
eb1ed03d
RM
54742014-05-05 Roland McGrath <roland@hack.frob.com>
5475
fe658845
RM
5476 * elf/Makefile (others, install-bin): Remove pldd.
5477 (pldd-modules): Variable removed.
5478 ($(objpfx)pldd): Target removed.
5479 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5480 (others, install-bin): Append pldd here.
5481 ($(objpfx)pldd): New target.
5482
eb1ed03d
RM
5483 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5484 to 0, so the first #if test emitted later doesn't see it undefined.
5485 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5486 * sysdeps/gnu/errlist.c: Regenerated.
5487
19c4bec0
AZ
54882014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489
5490 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5491 [libc_hidden_builtin_def]: Define to empty value.
5492 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5493 [libc_hidden_builtin_def]: Likewise.
5494 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5495 [libc_hidden_builtin_def]: Likewise.
5496 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5497 [libc_hidden_builtin_def]: Likewise.
5498 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5499 __redirect_memcpy and define ifunc as default hidden symbol.
5500 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5501 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5502
7776e669
AC
55032014-05-04 Adam Conrad <adconrad@0c3.net>
5504
5505 * locale/iso-4217.def: Reintroduce XDR currency.
5506
d69aeb12
AM
55072014-05-04 Allan McRae <allan@archlinux.org>
5508
5509 * po/eo.po: Update Esperanto translation from translation project.
5510
8f1df5cf
CD
55112014-05-02 Carlos O'Donell <carlos@redhat.com>
5512
5513 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5514 and FEATURE_INDEX_MAX to 1.
5515 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5516
13e402e7
SE
55172014-05-01 Steve Ellcey <sellcey@mips.com>
5518
5519 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5520 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5521 * iconvdata/big5.c (ONE_DIRECTION): Define.
5522 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5523 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5524 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5525 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5526 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5527 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5528 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5529 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5530 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5531 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5532 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5533 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5534 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5535 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5536 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5537 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5538 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5539 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5540 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5541 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5542 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5543 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5544 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5545 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5546 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5547 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5548 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5549 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5550 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5551 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5552 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5553 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5554 * iconvdata/johab.c (ONE_DIRECTION): Define.
5555 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5556 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5557 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5558 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5559 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5560 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5561 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5562 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5563 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5564 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5565
c727f032
RM
55662014-05-01 Roland McGrath <roland@hack.frob.com>
5567
8f2f08d0
RM
5568 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5569 (_IO_JUMPS_OFFSET): Define to 0.
5570
c727f032
RM
5571 * nptl/sysdeps/pthread/bits/libc-lock.h
5572 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5573 (__libc_lock_define_initialized_recursive): Always define using
5574 initializer. Modern compilers treat uninitialized (implicit zero) and
5575 explicit zero initializers the same (i.e. put the datum in bss).
5576
a849e800
AS
55772014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5578
5579 * nscd/nscd-client.h: Include <string.h>.
5580
5331255b
DM
55812014-05-01 David S. Miller <davem@davemloft.net>
5582
5583 [BZ #16885]
5584 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5585 multiple zero bytes exist at the end of a string.
5586 Reported by Aurelien Jarno <aurelien@aurel32.net>
5587
5588 * string/test-strcmp.c (check): Add explicit test for situations where
5589 there are multiple zero bytes after the first.
5590
4fdfe821
AS
55912014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5592
5593 [BZ #16890]
5594 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5595 when compiling wprintf.
5596 * stdio-common/tstdiomisc.c (t3): New function.
5597 (main): Call it.
5598
0cdddc25
SE
55992014-05-01 Steve Ellcey <sellcey@mips.com>
5600
5601 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5602 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5603 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5604 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5605
6426d77e
SE
56062014-05-01 Steve Ellcey <sellcey@mips.com>
5607
5608 * stdlib/longlong.h: Updated from GCC.
5609
6d96f5e4
WN
56102014-05-01 Will Newton <will.newton@linaro.org>
5611 Bernard Ogden <bernie.ogden@linaro.org>
5612
7470db0c
WN
5613 * NEWS: Update fixed bug list.
5614
6d96f5e4
WN
5615 [BZ #15119]
5616 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5617
211d653c
DM
56182014-04-30 David S. Miller <davem@davemloft.net>
5619
4fa262fa
DM
5620 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5621 (libc_feholdexcept_setround_sparc_ctx): New function.
5622 (libc_fesetenv_sparc_ctx): Likewise.
5623 (libc_feupdateenv_sparc_ctx): Likewise.
5624 (libc_feholdsetround_sparc_ctx): Likewise.
5625 (libc_feholdexcept_setround_ctx): Define.
5626 (libc_feholdexcept_setroundf_ctx): Likewise.
5627 (libc_feholdexcept_setroundl_ctx): Likewise.
5628 (libc_fesetenv_ctx): Likewise.
5629 (libc_fesetenvf_ctx): Likewise.
5630 (libc_fesetenvl_ctx): Likewise.
5631 (libc_feupdateenv_ctx): Likewise.
5632 (libc_feupdateenvf_ctx): Likewise.
5633 (libc_feupdateenvl_ctx): Likewise.
5634 (libc_feresetround_ctx): Likewise.
5635 (libc_feresetroundf_ctx): Likewise.
5636 (libc_feresetroundl_ctx): Likewise.
5637 (libc_feholdsetround_ctx): Likewise.
5638 (libc_feholdsetroundf_ctx): Likewise.
5639 (libc_feholdsetroundl_ctx): Likewise.
5640
1d3d93ef
DM
5641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5642 with __USE_GNU instead of XOPEN cpp guards.
5643
8aa583c3
DM
5644 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5645 0.
5646
211d653c
DM
5647 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5648 with XOPEN cpp guards.
5649
60c8f1f6
JB
56502014-04-30 Julian Brown <julian@codesourcery.com>
5651
5652 [BZ #16888]
5653 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5654 handling.
5655
9a461d46
JM
56562014-04-30 Joseph Myers <joseph@codesourcery.com>
5657
d0f5b3f8
JM
5658 [BZ #9894]
5659 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5660 Change to 2.6.32.
5661 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5662 * sysdeps/unix/sysv/linux/configure: Regenerated.
5663 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5664 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5665 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5666 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5667 * README: Update reference to required Linux kernel version.
5668 * manual/install.texi (Linux): Update reference to required Linux
5669 kernel headers version.
5670 * INSTALL: Regenerated.
5671
9a461d46
JM
5672 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5673 header inclusion.
5674 [POSIX] (limits.h): Likewise.
5675 [POSIX] (math.h): Likewise.
5676 [POSIX] (sys/wait.h): Likewise.
5677 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5678 function.
5679 [POSIX] (stddef.h): Do not allow header inclusion.
5680
1775babf
AZ
56812014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5682
57f41c40 5683 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5684
8f630cca
YY
56852014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5686
5687 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5688 Return immediately after lll_futex_wake.
5689
1cdeb237
SP
56902014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5691
bc8f194c
SP
5692 [BZ #16791]
5693 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5694 structure.
5695 (datahead_init_pos): Call datahead_init_common early.
5696 (datahead_init_neg): Likewise.
5697
1cdeb237
SP
5698 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5699 datahead_init_neg): New functions.
5700 * nscd/aicache.c (addhstaiX): Use them.
5701 * nscd/grpcache.c (cache_addgr): Likewise.
5702 * nscd/hstcache.c (cache_addhst): Likewise.
5703 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5704 * nscd/netgroupcache.c (do_notfound): Likewise.
5705 (addgetnetgrentX): Likewise.
5706 (addinnetgrX): Likewise.
5707 * nscd/pwdcache.c (cache_addpw): Likewise.
5708 * nscd/servicescache.c (cache_addserv): Likewise.
5709
16b293a7
SP
57102014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5711 Atsushi Onoe <atsushi@onoe.org>
5712
5713 [BZ #14308]
5714 [BZ #12994]
5715 [BZ #13651]
5716 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5717 one response is valid.
5718 * resolv/res_send.c (send_dg): Check for validity of other
5719 response if the current response is a referral.
5720
a28a9b94
SE
57212014-04-29 Steve Ellcey <sellcey@mips.com>
5722
5723 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5724
2ca180e9
SL
57252014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5726
5727 [BZ #16823]
5728 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5729 Always divide by positive zero when computing -Inf result.
5730 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5731 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5732
18f2945a
AZ
57332014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5734
5735 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5736 FPSCR if value do not change.
5737 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5738 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5739 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5740 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5741 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5742 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5743 function.
5744
5abebba4
CD
57452014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5746
5747 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5748 * sysdeps/unix/sysv/linux/hppa: Move directory from
5749 ports/systeps/unix/sysv/linux/hppa.
5750 * README: Update listing for hppa-*-linux-gnu.
5751
f7ed60c2
OB
57522014-04-28 Ondřej Bílka <neleai@seznam.cz>
5753
fff763a5
OB
5754 [BZ #16754]
5755 * manual/stdio.texi (Hook functions): Fix types of stream hook
5756 functions.
f7ed60c2
OB
5757 [BZ #16854]
5758 * socket/sys/socket.h: Fix typo in comment.
5759
df639d73
WD
57602014-04-28 Wilco <wdijkstr@arm.com>
5761
f7ed60c2 5762 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5763 * sysdeps/arm/math_private.h: New file.
5764 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5765
48332d82
L
57662014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5767
5768 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5769 with __int128_t.
5770 (La_x86_64_retval): Likewise.
5771
e5e0d9a4
IB
57722014-04-24 Ian Bolton <ian.bolton@arm.com>
5773
5774 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5775 fpsr if value didn't change.
5776 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5777 to fpcr if value didn't change.
5778 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5779 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5780 fpsr or fpcr if value didn't change.
5781 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5782 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5783 fpcr if value didn't change.
5784 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5785 to fpsr if value didn't change.
5786
bacc75f7
SP
57872014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5788
5789 * nptl/tst-sem3.c: Use test-skeleton.c
5790 (main): Rename to do_test. Use return instead of
5791 exit.
5792 * nptl/tst-sem4.c: Use test-skeleton.c
5793 (main): Rename to do_test.
5794
a059d359
DM
57952014-04-22 David S. Miller <davem@davemloft.net>
5796
5797 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5798 (struct sigaction): New struct member __glibc_reserved0, change
5799 type of sa_flags to int.
5800
ea6c92f3
YZ
58012014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5802
5803 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5804 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5805
766c4a36
SP
58062014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5807
5808 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5809 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5810
140cc7ab
VK
58112014-04-22 Will Newton <will.newton@linaro.org>
5812 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5813
5814 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5815 (__longjmp): Add longjmp and longjmp_target SystemTap
5816 probes.
5817 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5818 (__sigsetjmp): Add setjmp SystemTap probe.
5819
c54e5cf7
CD
58202014-04-17 Carlos O'Donell <carlos@redhat.com>
5821
5822 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5823 match manual order.
5824
75ffb047
AZ
58252014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5826
5827 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5828
2cd925f7
AZ
5829 * sysdeps/powerpc/fpu/fenv_private.h
5830 (libc_feholdexcept_setroundl_ctx): Define to
5831 libc_feholdexcept_setround_ppc_ctx.
5832 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5833 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5834 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5835 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5836
39e6cd8d
IB
58372014-04-17 Ian Bolton <ian.bolton@arm.com>
5838
5839 * sysdeps/aarch64/math-tests.h: New file.
5840
f9281df9
SY
58412014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5842
5843 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5844 New.
5845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5846 Check and set bit_AVX2_Usable.
5847 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5848 macro.
5849 (bit_AVX2): Likewise.
5850 (index_AVX2_Usable): Likewise.
5851 (CPUID_AVX2): Likewise.
5852 (HAS_AVX2): Likewise.
5853
37d35007
WN
58542014-04-17 Will Newton <will.newton@linaro.org>
5855
7c677662
WN
5856 * manual/setjmp.texi (System V contexts): Add note that
5857 calling setcontext on a context created by a call to a
5858 signal handler is undefined. Update text to note that
5859 setcontext from a signal handler is possible but not
5860 recommended.
5861
37d35007 5862 [BZ #16629]
e04a4e9d
WN
5863 * stdlib/tst-setcontext.c: Include signal.h.
5864 (main): Check that the signal stack before and
5865 after swapcontext is the same.
5866
37d35007
WN
5867 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5868 Re-implement to restore registers in user code and avoid
5869 rt_sigreturn system call.
5870
423a7160
W
58712014-04-17 Wilco <wdijkstr@arm.com>
5872
5873 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5874 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5875 * math/test-fenv.c: Skip exception trap tests on targets which only
5876 support non-stop mode.
5877
bc93ab29
IB
58782014-04-17 Ian Bolton <ian.bolton@arm.com>
5879 Wilco Dijkstra <wilco.dijkstra@arm.com>
5880
5881 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5882 (libc_feholdsetround_aarch64_ctx)
5883 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5884 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5885 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5886 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5887 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5888 (libc_feresetround_noexl_ctx): Define.
5889
95fc5fa3
RH
58902014-04-16 Richard Henderson <rth@redhat.com>
5891
ddb04724
RH
5892 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5893
d77c0899
RH
5894 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5895 unwind tables.
5896
a3df56fc
RH
5897 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5898 const from the non-libc, non-ldso copy.
5899
95fc5fa3
RH
5900 * sysdeps/alpha/libm-test-ulps: Regenerate.
5901
7e0b6763
IB
59022014-04-16 Ian Bolton <ian.bolton@arm.com>
5903 Wilco Dijkstra <wilco.dijkstra@arm.com>
5904
5905 * sysdeps/aarch64/fpu/math_private.h: New file.
5906
a9ea2e0c
MS
59072014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5908
5909 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5910
ea8ba7cd
IZ
59112014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5912
5913 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5914 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5915 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5916 Intel MPX bound registers before _dl_profile_fixup.
5917 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5918 registers after _dl_profile_fixup. Save and restore bound
5919 registers bnd0/bnd1 when calling _dl_call_pltexit.
5920 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5921 (LR_BND_OFFSET): Likewise.
5922 (LRV_BND0_OFFSET): Likewise.
5923 (LRV_BND1_OFFSET): Likewise.
5924
9f2a4fbc
ST
59252014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5926
5927 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5928 to...
5929 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5930 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5931 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5932 fields.
9f2a4fbc 5933
fd15a59b
ST
59342014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5935
5936 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5937
f19dfa0a
SL
59382014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5939
5940 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5941
4fa8bc3b
SL
59422014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5943
5944 [BZ #14770]
5945 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5946 * sysdeps/s390/configure: Regenerate.
5947
8ea587db
SL
5948 [BZ #16824]
5949 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5950 Set round-to-nearest internally to reduce error accumulation.
5951
aa5f0ff1
AM
59522014-04-16 Alan Modra <amodra@gmail.com>
5953
5954 [BZ #16740]
5955 [BZ #16619]
5956 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5957 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5958 * NEWS: Update fixed bug list.
aa5f0ff1 5959
bb9c256f
SP
59602014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5961
5962 * benchtests/Makefile: Depend on libraries in build directory.
5963 (bench-math): Separate out math tests.
5964 (bench-pthread): Separate out pthread tests.
5965 (bench): Include math and pthread tests.
5966
f737dfd0
CD
59672014-04-14 Carlos O'Donell <carlos@redhat.com>
5968
5969 [BZ #16831]
5970 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5971 _dl_debug_initialize.
5972
0699f766
CD
5973 * configure.ac: Remove SELinux header check.
5974 * configure: Regenerate.
5975 * nscd/selinux.c (perms): Array of const char* to permission names.
5976 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5977 default policy. Call string_to_security_class and string_to_av_perm to
5978 translate strings. Enforce default policy and call avs_has_perm with
5979 results of translated strings.
5980
809bd45f
DM
59812014-04-13 David S. Miller <davem@davemloft.net>
5982
5983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5984
89e691f2
AM
59852014-04-12 Allan McRae <allan@archlinux.org>
5986
5987 [BZ #16838]
5988 * manual/string.texi (Collation Functions): Fix qsort argument
5989 order in example.
5990 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5991
9c9daaeb
CM
59922014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5993
5994 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5995 Make the test a no-op if there are no exceptions defined.
5996
95561fb9
PP
59972014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5998
fe8d072c 5999 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6000 enable-hardcoded-path-in-tests
6001
970c602a
WN
60022014-04-11 Will Newton <will.newton@linaro.org>
6003
6004 * benchtests/Makefile (extra-objs): Add json-lib.o.
6005 (bench-func): Tidy up JSON output.
6006 * benchtests/bench-skeleton.c: Include json-lib.h.
6007 (main): Use JSON library functions to do output of
6008 benchmark results.
6009 * benchtests/bench-timing-type.c (main): Output the
6010 timing type simply, leaving formatting to the user.
6011 * benchtests/json-lib.c: New file.
6012 * benchtests/json-lib.h: Likewise.
6013
36875b06
TR
60142014-04-11 Torvald Riegel <triegel@redhat.com>
6015
6016 [BZ #15215]
6017 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6018 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6019 memory barriers. Add comments.
6020 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6021 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6022 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6023 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6024 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6025 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6026
579db35a
SL
60272014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6028
6029 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6030 * sysdeps/s390/s390-64/configure.ac: ... this ...
6031 * sysdeps/s390/configure.ac: ... to here.
6032 * sysdeps/s390/s390-32/configure: Delete file.
6033 * sysdeps/s390/s390-64/configure: Delete file.
6034 * sysdeps/s390/configure: Regenerate.
6035
c12e9f37
JAPH
60362014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6037
6038 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6039
439bda32
WN
60402014-04-11 Will Newton <will.newton@linaro.org>
6041
6042 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6043 to zero if it is not defined elsewhere. (mtrim): Test
6044 the value of MALLOC_DEBUG with #if rather than #ifdef.
6045
6a5d6ea1
TR
60462014-04-10 Torvald Riegel <triegel@redhat.com>
6047
6048 * benchtests/pthread_once-inputs: New file.
6049 * benchtests/pthread_once-source.c: New file.
6050 * benchtests/README: Update documentation.
6051
a4c75cfd
IZ
60522014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6053 H.J. Lu <hongjiu.lu@intel.com>
6054
6055 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6056 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6057 * sysdeps/x86_64/configure: Regenerated.
6058 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6059 macro.
6060 (REGISTER_SAVE_RAX): Likewise.
6061 (REGISTER_SAVE_RCX): Likewise.
6062 (REGISTER_SAVE_RDX): Likewise.
6063 (REGISTER_SAVE_RSI): Likewise.
6064 (REGISTER_SAVE_RDI): Likewise.
6065 (REGISTER_SAVE_R8): Likewise.
6066 (REGISTER_SAVE_R9): Likewise.
6067 (REGISTER_SAVE_BND0): Likewise.
6068 (REGISTER_SAVE_BND1): Likewise.
6069 (REGISTER_SAVE_BND2): Likewise.
6070 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6071 bound registers when calling _dl_fixup.
6072
27822ce6
AZ
60732014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6074
6075 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6076 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6077 of its definition.
27822ce6
AZ
6078 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6079 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6080 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6081 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6082 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6083 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6084 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6085
a88ddc90
PTB
60862014-04-09 Peter Brett <peter@peter-b.co.uk>
6087
6088 [BZ #15514]
6089 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6090 pathconf(_PC_NAME_MAX).
6091
01f8eac2
AZ
60922014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6093
6094 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6095 Remove macro usage.
6096 (__PTHREAD_SPINS): Move definition to ...
6097 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6098 (__PTHREAD_SPINS): ... here.
6099 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6100 (__PTHREAD_SPIN): Likewise.
6101 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6102 (__PTHREAD_SPIN): Likewise.
6103 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6104 (__PTHREAD_SPIN): Likewise.
6105 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6106 (__PTHREAD_SPIN): Likewise.
6107 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6108 (__PTHREAD_SPIN): Likewise.
6109 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6110 (__PTHREAD_SPIN): Likewise.
6111 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6112 (__PTHREAD_SPIN): Likewise.
6113 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6114 (__PTHREAD_SPIN): Likewise.
6115 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6116 (__PTHREAD_SPIN): Likewise.
6117 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6118 (__PTHREAD_SPIN): Likewise.
6119 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6120 (__PTHREAD_SPIN): Likewise.
6121 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6122 (__PTHREAD_SPIN): Likewise.
6123
de21c33c
AZ
6124 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6125 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6126 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6127 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6128 imply folder.
6129 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6130 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6131 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6132 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6133 correct imply path.
6134 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6135 strlen symbol for non multi-arch builds.
6136 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6137 missing hidden_def and weak_alias.
6138
862c472e
CD
61392014-04-08 Carlos O'Donell <carlos@redhat.com>
6140
6141 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6142
8667f90e
WN
61432014-04-07 Will Newton <will.newton@linaro.org>
6144
6145 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6146 and contents. [!_LIBC] Remove #ifndef and contents.
6147 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6148 * string/memccpy.c (__memccpy): Use ANSI prototype.
6149 * string/memfrob.c (memfrob): Likewise.
6150 * string/strcoll.c (STRCOLL): Likewise.
6151 * string/strlen.c (strlen): Likewise.
6152 * string/strtok.c (STRTOK): Likewise.
6153 * string/strcat.c: Remove unused #include of memcopy.h.
6154 (strcat): Use ANSI prototype.
6155 * string/strchr.c: Remove unused #include of memcopy.h.
6156 (strchr): Use ANSI prototype.
6157 * string/strcmp.c: Remove unused #include of memcopy.h.
6158 (strcmp): Use ANSI prototype.
6159 * string/strcpy.c: Remove unused #include of memcopy.h.
6160 (strcpy): Use ANSI prototype.
6161
7ffa9423
AZ
61622014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6163
6164 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6165 * config.make.in (config-extra-cppflags): Set it from
6166 libc_extra_cppflags.
6167 * configure.ac (libc_extra_cflags): Make it accumulate over
6168 configure fragments.
6169 (libc_extra_cppflags): New flag.
6170 * configure. Regenerate.
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6172 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6173 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6175
8bd70862
AZ
6176 [BZ #16815]
6177 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6178 result for FE_DOWNWARD rounding mode.
6179 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6180 Likewise.
6181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6182
d42f3448
CM
61832014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6184
6185 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6186 in function argument name.
6187
1c21d115
DS
61882014-04-03 David Svoboda <svoboda@cert.org>
6189
6190 [BZ #5666]
6191 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6192 explicitly.
6193
fcccd512
RM
61942014-04-03 Roland McGrath <roland@hack.frob.com>
6195
6196 * elf/dl-unmap-segments.h: New file.
6197 * sysdeps/generic/ldsodefs.h
6198 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6199 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6200 * elf/dl-fptr.c: Likewise.
6201 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6202 * sysdeps/aarch64/tlsdesc.c: Likewise.
6203 * sysdeps/arm/tlsdesc.c: Likewise.
6204 * sysdeps/i386/tlsdesc.c: Likewise.
6205 * sysdeps/tile/dl-runtime.c: Likewise.
6206 * sysdeps/x86_64/tlsdesc.c: Likewise.
6207 * elf/dl-load.h: New file.
6208 * elf/dl-load.c: Include it.
6209 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6210 Macros moved to dl-load.h.
6211 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6212 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6213 Use _dl_unmap_segments in place of __munmap.
6214 Break out segment-mapping loop into ...
6215 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6216
f6488e2b
WN
62172014-04-03 Will Newton <will.newton@linaro.org>
6218
6219 * elf/dl-lookup.c (do_lookup_x): Remove comment
6220 referring to nested function and move variable
6221 declarations down to before first use.
6222
6f05bafe
JM
62232014-04-02 Joseph Myers <joseph@codesourcery.com>
6224
a84e78c8
JM
6225 [BZ #16799]
6226 [BZ #16800]
6227 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6228 with 0 numerator.
6229 * math/s_catanf.c (__catanf): Likewise.
6230 * math/s_catanh.c (__catanh): Likewise.
6231 * math/s_catanhf.c (__catanhf): Likewise.
6232 * math/s_catanhl.c (__catanhl): Likewise.
6233 * math/s_catanl.c (__catanl): Likewise.
6234 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6235 by positive zero when computing -Inf result.
6236 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6237 (catanh_test): Likewise.
6238 * sysdeps/i386/fpu/libm-test-ulps: Update.
6239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6240
6f05bafe
JM
6241 [BZ #16789]
6242 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6243 instead of using underflowing value in computing result.
6244 * math/s_clog10.c (__clog10): Likewise.
6245 * math/s_clog10f.c (__clog10f): Likewise.
6246 * math/s_clog10l.c (__clog10l): Likewise.
6247 * math/s_clogf.c (__clogf): Likewise.
6248 * math/s_clogl.c (__clogl): Likewise.
6249 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6250 (clog10_test): Likewise.
6251 * sysdeps/i386/fpu/libm-test-ulps: Update.
6252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6253
b0abbc21
AM
62542014-04-02 Alan Modra <amodra@gmail.com>
6255
6256 [BZ #16739]
6257 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6258 output when value is near a power of two. Use int64_t for lx and
6259 remove casts. Use decimal rather than hex exponent constants.
6260 Don't use long double multiplication when double will suffice.
6261 * math/libm-test.inc (nextafter_test_data): Add tests.
6262 * NEWS: Add 16739 and 16786 to bug list.
6263
af6b1797
AM
6264 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6265
483818d7
AM
6266 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6267
f6c55796
WN
62682014-04-01 Will Newton <will.newton@linaro.org>
6269
6270 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6271 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6272
13f7fe35
FW
62732014-04-01 Florian Weimer <fweimer@redhat.com>
6274
6275 [BZ #13347]
6276 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6277 * nptl/tst-setuid2.c: New file.
6278 * nptl/Makefile (xtests): Add tst-setuid2.
6279
c859b32e
AM
62802014-04-01 Alan Modra <amodra@gmail.com>
6281
6282 [BZ #16786]
6283 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6284
54fa2475
JM
62852014-03-31 Joseph Myers <joseph@codesourcery.com>
6286
8795b4a4
JM
6287 [BZ #6803]
6288 [BZ #6804]
6289 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6290 set errno as appropriate.
6291 * math/w_scalbf.c (__scalbf): Likewise.
6292 * math/w_scalbl.c (__scalbl): Likewise.
6293 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6294 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6295 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6296 Add more NaN tests.
6297
54fa2475
JM
6298 [BZ #16349]
6299 * math/w_atan2.c: Include <errno.h>.
6300 (__atan2): Set errno for result underflowing to zero.
6301 * math/w_atan2f.c: Include <errno.h>.
6302 (__atan2f): Set errno for result underflowing to zero.
6303 * math/w_atan2l.c: Include <errno.h>.
6304 (__atan2l): Set errno for result underflowing to zero.
6305 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6306 tests.
6307 * math/auto-libm-test-out: Regenerated.
6308
757d9dd5
AZ
63092014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310
6311 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6312 Encode instruction correctly in little endian.
6313 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6314 Likewise.
6315 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6316 Likewise.
6317 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6318 Likewise.
6319 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6320 Likewise.
6321
d7a68734
JM
63222014-03-31 Joseph Myers <joseph@codesourcery.com>
6323
47c5adeb
JM
6324 [BZ #9894]
6325 * sysdeps/unix/sysv/linux/kernel-features.h
6326 [__sparc__ && !__arch64__ && !__sparc_v9__]
6327 (__ASSUME_SET_ROBUST_LIST): Do not define.
6328 [__sparc__ && !__arch64__ && !__sparc_v9__]
6329 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6330 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6331 Likewise.
6332 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6333 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6334 (__ASSUME_REQUEUE_PI): Likewise.
6335 (__ASSUME_SET_ROBUST_LIST): Likewise.
6336 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6337 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6338 Undefine.
6339 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6340 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6341 Likewise.
6342 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6343 Likewise.
6344 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6345 Likewise.
6346 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6347 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6348 Undefine.
6349 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6350 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6351 Likewise.
6352
d7a68734
JM
6353 [BZ #16648]
6354 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6355 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6356 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6357
c760f5c2
WN
63582014-03-31 Will Newton <will.newton@linaro.org>
6359
6360 * benchtests/Makefile (bench): Add ffs and ffsll to list
6361 of tests.
6362 * benchtests/ffs-inputs: New file.
6363 * benchtests/ffsll-inputs: Likewise.
6364
ea6029b1
JM
63652014-03-29 Joseph Myers <joseph@codesourcery.com>
6366
6367 [BZ #16770]
6368 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6369 too large before casting to int.
6370 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6371 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6372 * math/libm-test.inc (scalb_test_data): Add more tests.
6373
cf806aff
SP
63742014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6375
56737508
SP
6376 * benchtests/Makefile (DETAILED_OPT): New make option.
6377 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6378 set.
6379 * benchtests/bench-skeleton.c: Include stdbool.h.
6380 (main): Store and print timings per input.
6381 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6382 member to each argument value.
6383 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6384 (_print_arg_data): Initialize per-input timing to 0.
6385
cb5e4aad
SP
6386 * benchtests/Makefile (timing-type): New binary.
6387 (bench-clean): Also remove bench-timing-type.
6388 (bench): New target for timing-type.
6389 (bench-func): Print output in JSON format.
6390 * benchtests/bench-skeleton.c (main): Print output in JSON
6391 format.
6392 * benchtests/bench-timing-type.c: New file.
6393 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6394 (TIMING_PRINT_STATS): Remove.
6395 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6396 name separately.
6397
cf806aff
SP
6398 * benchtests/bench-modf.c: Remove.
6399 * benchtests/modf-inputs: New inputs file.
6400
289e0779
JM
64012014-03-28 Joseph Myers <joseph@codesourcery.com>
6402
6403 [BZ #16362]
6404 * math/s_clog10.c (M_PI_LOG10E): New macro.
6405 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6406 imaginary parts are 0.
6407 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6408 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6409 imaginary parts are 0.
6410 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6411 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6412 imaginary parts are 0.
6413 * math/libm-test.inc (clog10_test_data): Update expected results
6414 for when real and imaginary parts are 0.
6415
277ae3f1
PP
64162014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6417
6418 * elf/dl-load.c: Finish conversion of __builtin_expect into
6419 __glibc_{un}likely.
6420
03a7091f
JM
64212014-03-27 Joseph Myers <joseph@codesourcery.com>
6422
6423 [BZ #16348]
6424 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6425 1+x for argument with exponent below -67.
6426 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6427 Likewise.
6428 * math/auto-libm-test-in: Add more tests of exp.
6429 * math/auto-libm-test-out: Regenerated.
6430
ea7d8b95
SP
64312014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6432
dd3022d7
SP
6433 [BZ #16759]
6434 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6435 (nscd_getnetgrent): Use it.
6436
ea7d8b95
SP
6437 [BZ #16760]
6438 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6439 of stpcpy.
6440
df5b85da
AK
64412014-03-27 Andi Kleen <ak@linux.intel.com>
6442
57f41c40
AS
6443 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6444 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6445 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6446 (lll_robust_unlock): Remove out of line section. Use cfi
6447 intrinsics.
df5b85da 6448 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
6449 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6450 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6451 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6452 (lll_robust_unlock): Remove out of line section. Use cfi
6453 intrinsics.
df5b85da
AK
6454 (LLL_STUB_UNWIND_INFO*): Remove.
6455
fbd6b5a4
SP
64562014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6457
6458 [BZ #16758]
6459 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6460 blank values.
6461
1b26b855
PP
64622014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6463
6464 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6465
9be36fb8
JM
64662014-03-26 Joseph Myers <joseph@codesourcery.com>
6467
6468 [BZ #16198]
6469 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6470 fnstenv.
6471 * math/test-fenv-preserve.c: New file.
6472 * math/Makefile (tests): Add test-fenv-preserve.
6473
60a2f3c1
WN
64742014-03-26 Will Newton <will.newton@linaro.org>
6475
6476 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6477
a5e5f1e2
RM
64782014-03-25 Roland McGrath <roland@hack.frob.com>
6479
6480 * scripts/versionlist.awk: Partition the version sets and emit all
6481 GLIBC_* (sorted) before all others (sorted).
6482
00f4012a
JM
64832014-03-25 Joseph Myers <joseph@codesourcery.com>
6484
6485 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6486 GLIBC_2.2.5 version.
6487
7bc5a741
AZ
64882014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6489
6490 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6491 calls.
6492
7578473b
AZ
6493 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6494 previous change.
6495
f3f1dab3
AZ
6496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6497
6da36183
AS
64982014-03-25 Andreas Schwab <schwab@suse.de>
6499
6500 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6501 label to be used after in6ailist is initialized.
6502
f3f1dab3 65032014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6504
7578473b 6505 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6506 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6507
046651c1
JM
65082014-03-25 Joseph Myers <joseph@codesourcery.com>
6509
6510 [BZ #16357]
6511 [BZ #16599]
6512 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6513 min_plus_half.
6514 (fp_formats): Update initializers.
6515 (init_fp_formats): Initialize new field.
6516 (output_for_one_input_case): Allow underflow for results up to
6517 min_plus_half.
6518 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6519 * math/auto-libm-test-in: Don't mark some underflows from asin and
6520 atanh as spurious.
6521 * math/auto-libm-test-out: Regenerated.
6522 * sysdeps/i386/fpu/libm-test-ulps: Update.
6523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6524
003e49ed
AS
65252014-03-25 Andreas Schwab <schwab@suse.de>
6526
6527 * libio/Makefile (tst-ftell-partial-wide-ENV)
6528 (tst-ftell-active-handler-ENV): Define.
6529
de031874
SL
65302014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6531
6532 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6533
55a81e3b
PP
65342014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6535
6536 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6537
f3426898
JM
65382014-03-24 Joseph Myers <joseph@codesourcery.com>
6539
6540 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6541 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6542 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6543
a42faf59
PP
65442014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6545
6546 [BZ #16634]
a42faf59 6547 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6548 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6549 (open_path): Change from boolean 'secure' to complete flag 'mode'
6550 (_dl_map_object): Adjust.
a42faf59
PP
6551 * elf/Makefile (tests): Add tst-dlopen-aout.
6552 * elf/tst-dlopen-aout.c: New test.
6553
50936127
SL
65542014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6555
6556 [BZ #16714]
6557 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6558 (struct stat): Rename member pad0 to __glibc_reserved0.
6559
26011b5c
SL
6560 [BZ #16712]
6561 * sysdeps/s390/s390-32/bits/wordsize.h
6562 (__WORDSIZE32_SIZE_ULONG): New define.
6563 * sysdeps/s390/s390-64/bits/wordsize.h
6564 (__WORDSIZE32_SIZE_ULONG): Likewise.
6565 * sysdeps/generic/stdint.h (SIZE_MAX):
6566 Define as UL if __WORDSIZE32_SIZE_ULONG.
6567
a2d86bf1
SL
6568 [BZ #16713]
6569 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6570 (__glibc_reserved0): New variable.
6571 (sa_flags): Change type to int.
6572
78b6eebc
SL
6573 * posix/Makefile (before-compile): Use += before-compile instead
6574 of a :=.
6575
f1399b5a
SL
6576 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6577 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6578
a071766e
AS
65792014-03-20 Andreas Schwab <schwab@suse.de>
6580
6581 [BZ #16743]
6582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6583 non-matching result from nscd.
6584
27c673b8
SP
65852014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6586
6587 * scripts/bench.py: Moved to ...
6588 * benchtests/scripts/bench.py: ... here.
6589 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6590
44152e4b
AS
65912014-03-24 Andreas Schwab <schwab@suse.de>
6592
6593 [BZ #16002]
6594 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6595 alloca_account and account alloca use for struct in6ailist.
6596
b376a11a
JM
65972014-03-24 Joseph Myers <joseph@codesourcery.com>
6598
6599 [BZ #16284]
6600 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6601 rounding mode to recompute results that overflow to infinity or
6602 underflow to zero.
6603 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6604 bug 16284.
6605 * math/auto-libm-test-out: Regenerated.
6606 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6607 (ccosh_test): Likewise.
6608 (csin_test_data): Use plus_oflow.
6609 (csin_test): Use ALL_RM_TEST.
6610 (csinh_test_data): Use plus_oflow.
6611 (csinh_test): Use ALL_RM_TEST.
6612 * sysdeps/i386/fpu/libm-test-ulps: Update.
6613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6614
f7be7376
JM
66152014-03-21 Joseph Myers <joseph@codesourcery.com>
6616
1ca2d03e
JM
6617 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6618 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6619 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6620
f7be7376
JM
6621 [BZ #16731]
6622 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6623 when x - 1 is zero.
6624 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6625 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6626 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6627 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6628 argument is 1.
6629 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6630 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6631 zero.
6632 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6633 * sysdeps/i386/fpu/libm-test-ulps: Update.
6634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6635
fdf4534d
SP
66362014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6637
df26ea53
SP
6638 * scripts/bench.pl: Remove file.
6639 * scripts/bench.py: New benchmark script.
6640 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6641 * benchtests/README: Mention python dependency.
6642 * scripts/pylintrc: New file.
6643 * scripts/pylint: New file.
6644
fdf4534d
SP
6645 * bits/mathdef.h: Use #ifdef instead of #if.
6646 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6647 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6648 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6649 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6650 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6651 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6652
6f23d093
AZ
66532014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6654 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6655
6656 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6658 and strpbrk-ppc64 objects.
6659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6660 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6661 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6662 multiarch strpbrk for POWER7.
6663 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6664 multiarch strpbrk for PPC64.
6665 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6666 ifunc selector.
6667 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6668 strpbrk for POWER7.
6669
8c92dfff
JM
66702014-03-20 Joseph Myers <joseph@codesourcery.com>
6671
6672 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6673 (atan_test): Likewise.
6674 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6675 (atanh_test): Use ALL_RM_TEST.
6676 (atan2_test_data): Likewise.
6677 (cabs_test): Likewise.
6678 (cacosh_test): Likewise.
6679 (carg_test): Likewise.
6680 (casin_test): Likewise.
6681 (casinh_test): Likewise.
6682 (cbrt_test): Likewise.
6683 (csqrt_test): Likewise.
6684 (erf_test): Likewise.
6685 (erfc_test): Likewise.
6686 (pow10_test): Likewise.
6687 (exp2_test): Likewise.
6688 (hypot_test): Likewise.
6689 (j0_test): Likewise.
6690 (j1_test): Likewise.
6691 (lgamma_test): Likewise.
6692 (gamma_test): Likewise.
6693 (sincos_test): Likewise.
6694 (tanh_test): Likewise.
6695 (y0_test): Likewise.
6696 (y1_test): Likewise.
6697 * sysdeps/i386/fpu/libm-test-ulps: Update.
6698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6699
6eaf95cb
AZ
67002014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6701
a387428c
SP
6702 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6704 and strcspn-ppc64 objects.
6705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6706 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6707 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6708 multiarch strcspn for POWER7.
6709 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6710 multiarch strcspn for PPC64.
6711 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6712 ifunc selector.
6713 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6714 strcspn for POWER7.
6715
ae3a5dff
JM
67162014-03-20 Joseph Myers <joseph@codesourcery.com>
6717
6718 * math/gen-libm-test.pl (generate_testfile): Expect only function
6719 name as argument to AUTO_TESTS_* and pass results for all rounding
6720 modes to parse_args.
6721 (parse_auto_input): Separate inputs of automatic tests from
6722 outputs before storing in %auto_tests.
6723 * math/libm-test.inc (acos_test_data): Update call to
6724 AUTO_TESTS_f_f.
6725 (acos_test): Use ALL_RM_TEST.
6726 (acos_tonearest_test_data): Remove.
6727 (acos_test_tonearest): Likewise.
6728 (acos_towardzero_test_data): Likewise.
6729 (acos_test_towardzero): Likewise.
6730 (acos_downward_test_data): Likewise.
6731 (acos_test_downward): Likewise.
6732 (acos_upward_test_data): Likewise.
6733 (acos_test_upward): Likewise.
6734 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6735 (asin_test_data): Likewise.
6736 (asin_test): Use ALL_RM_TEST.
6737 (asin_tonearest_test_data): Remove.
6738 (asin_test_tonearest): Likewise.
6739 (asin_towardzero_test_data): Likewise.
6740 (asin_test_towardzero): Likewise.
6741 (asin_downward_test_data): Likewise.
6742 (asin_test_downward): Likewise.
6743 (asin_upward_test_data): Likewise.
6744 (asin_test_upward): Likewise.
6745 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6746 (atan_test_data): Likewise.
6747 (atanh_test_data): Likewise.
6748 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6749 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6750 (carg_test_data): Likewise.
6751 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6752 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6753 (ccosh_test_data): Likewise.
6754 (cexp_test_data): Likewise.
6755 (clog_test_data): Likewise.
6756 (clog10_test_data): Likewise.
6757 (cos_test_data): Update call to AUTO_TESTS_f_f.
6758 (cos_test): Use ALL_RM_TEST.
6759 (cos_tonearest_test_data): Remove.
6760 (cos_test_tonearest): Likewise.
6761 (cos_towardzero_test_data): Likewise.
6762 (cos_test_towardzero): Likewise.
6763 (cos_downward_test_data): Likewise.
6764 (cos_test_downward): Likewise.
6765 (cos_upward_test_data): Likewise.
6766 (cos_test_upward): Likewise.
6767 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6768 (cosh_test): Use ALL_RM_TEST.
6769 (cosh_tonearest_test_data): Remove.
6770 (cosh_test_tonearest): Likewise.
6771 (cosh_towardzero_test_data): Likewise.
6772 (cosh_test_towardzero): Likewise.
6773 (cosh_downward_test_data): Likewise.
6774 (cosh_test_downward): Likewise.
6775 (cosh_upward_test_data): Likewise.
6776 (cosh_test_upward): Likewise.
6777 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6778 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6779 (ctan_test_data): Likewise.
6780 (ctan_test): Use ALL_RM_TEST.
6781 (ctan_tonearest_test_data): Remove.
6782 (ctan_test_tonearest): Likewise.
6783 (ctan_towardzero_test_data): Likewise.
6784 (ctan_test_towardzero): Likewise.
6785 (ctan_downward_test_data): Likewise.
6786 (ctan_test_downward): Likewise.
6787 (ctan_upward_test_data): Likewise.
6788 (ctan_test_upward): Likewise.
6789 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6790 (ctanh_test): Use ALL_RM_TEST.
6791 (ctanh_tonearest_test_data): Remove.
6792 (ctanh_test_tonearest): Likewise.
6793 (ctanh_towardzero_test_data): Likewise.
6794 (ctanh_test_towardzero): Likewise.
6795 (ctanh_downward_test_data): Likewise.
6796 (ctanh_test_downward): Likewise.
6797 (ctanh_upward_test_data): Likewise.
6798 (ctanh_test_upward): Likewise.
6799 (erf_test_data): Update call to AUTO_TESTS_f_f.
6800 (erfc_test_data): Likewise.
6801 (exp_test_data): Likewise.
6802 (exp_test): Use ALL_RM_TEST.
6803 (exp_tonearest_test_data): Remove.
6804 (exp_test_tonearest): Likewise.
6805 (exp_towardzero_test_data): Likewise.
6806 (exp_test_towardzero): Likewise.
6807 (exp_downward_test_data): Likewise.
6808 (exp_test_downward): Likewise.
6809 (exp_upward_test_data): Likewise.
6810 (exp_test_upward): Likewise.
6811 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6812 (exp10_test): Use ALL_RM_TEST.
6813 (exp10_tonearest_test_data): Remove.
6814 (exp10_test_tonearest): Likewise.
6815 (exp10_towardzero_test_data): Likewise.
6816 (exp10_test_towardzero): Likewise.
6817 (exp10_downward_test_data): Likewise.
6818 (exp10_test_downward): Likewise.
6819 (exp10_upward_test_data): Likewise.
6820 (exp10_test_upward): Likewise.
6821 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6822 (expm1_test_data): Likewise.
6823 (expm1_test): Use ALL_RM_TEST.
6824 (expm1_tonearest_test_data): Remove.
6825 (expm1_test_tonearest): Likewise.
6826 (expm1_towardzero_test_data): Likewise.
6827 (expm1_test_towardzero): Likewise.
6828 (expm1_downward_test_data): Likewise.
6829 (expm1_test_downward): Likewise.
6830 (expm1_upward_test_data): Likewise.
6831 (expm1_test_upward): Likewise.
6832 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6833 (fma_test): Use ALL_RM_TEST.
6834 (fma_towardzero_test_data): Remove.
6835 (fma_test_towardzero): Likewise.
6836 (fma_downward_test_data): Likewise.
6837 (fma_test_downward): Likewise.
6838 (fma_upward_test_data): Likewise.
6839 (fma_test_upward): Likewise.
6840 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6841 (j0_test_data): Update call to AUTO_TESTS_f_f.
6842 (j1_test_data): Likewise.
6843 (jn_test_data): Update call to AUTO_TESTS_if_f.
6844 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6845 (log_test_data): Update call to AUTO_TESTS_f_f.
6846 (log10_test_data): Likewise.
6847 (log1p_test_data): Likewise.
6848 (log2_test_data): Likewise.
6849 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6850 (pow_tonearest_test_data): Likewise.
6851 (sin_test_data): Update call to AUTO_TESTS_f_f.
6852 (sin_test): Use ALL_RM_TEST.
6853 (sin_tonearest_test_data): Remove.
6854 (sin_test_tonearest): Likewise.
6855 (sin_towardzero_test_data): Likewise.
6856 (sin_test_towardzero): Likewise.
6857 (sin_downward_test_data): Likewise.
6858 (sin_test_downward): Likewise.
6859 (sin_upward_test_data): Likewise.
6860 (sin_test_upward): Likewise.
6861 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6862 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6863 (sinh_test): Use ALL_RM_TEST.
6864 (sinh_tonearest_test_data): Remove.
6865 (sinh_test_tonearest): Likewise.
6866 (sinh_towardzero_test_data): Likewise.
6867 (sinh_test_towardzero): Likewise.
6868 (sinh_downward_test_data): Likewise.
6869 (sinh_test_downward): Likewise.
6870 (sinh_upward_test_data): Likewise.
6871 (sinh_test_upward): Likewise.
6872 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6873 (sqrt_test): Use ALL_RM_TEST.
6874 (sqrt_tonearest_test_data): Remove.
6875 (sqrt_test_tonearest): Likewise.
6876 (sqrt_towardzero_test_data): Likewise.
6877 (sqrt_test_towardzero): Likewise.
6878 (sqrt_downward_test_data): Likewise.
6879 (sqrt_test_downward): Likewise.
6880 (sqrt_upward_test_data): Likewise.
6881 (sqrt_test_upward): Likewise.
6882 (tan_test_data): Update call to AUTO_TESTS_f_f.
6883 (tan_test): Use ALL_RM_TEST.
6884 (tan_tonearest_test_data): Remove.
6885 (tan_test_tonearest): Likewise.
6886 (tan_towardzero_test_data): Likewise.
6887 (tan_test_towardzero): Likewise.
6888 (tan_downward_test_data): Likewise.
6889 (tan_test_downward): Likewise.
6890 (tan_upward_test_data): Likewise.
6891 (tan_test_upward): Likewise.
6892 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6893 (tgamma_test_data): Likewise.
6894 (y0_test_data): Likewise.
6895 (y1_test_data): Likewise.
6896 (yn_test_data): Update call to AUTO_TESTS_if_f.
6897 (main): Do not call removed functions.
6898
d71aeee8
JM
68992014-03-19 Joseph Myers <joseph@codesourcery.com>
6900
6901 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6902 (ldexp_test_data): Remove.
6903 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6904 scalbn_test_data.
6905 (scalb_test): Use ALL_RM_TEST.
6906
baaf1ded
AS
69072014-03-19 Andreas Schwab <schwab@suse.de>
6908
6909 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6910
b1115e91
JM
69112014-03-19 Joseph Myers <joseph@codesourcery.com>
6912
6913 [BZ #16649]
6914 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6915 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6916 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6917 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6918 (__ASSUME_PREADV): Undefine.
6919 (__ASSUME_PWRITEV): Likewise.
6920
0283ecca
RM
69212014-03-18 Roland McGrath <roland@hack.frob.com>
6922
7d375303
RM
6923 * bits/mman-linux.h: Add comment about non-Linux use.
6924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6925 bits/mman-linux.h resting place.
6926
0283ecca
RM
6927 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6928 * bits/mman-linux.h: ... here.
6929
aebe1003
AZ
69302014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6931
6932 * conform/conformtest.pl: Add standard definition when calling C
6933 preprocessor on data files.
6934 (checknamespace): Remove unused variable.
6935
b29b6bb8
JM
69362014-03-18 Joseph Myers <joseph@codesourcery.com>
6937
6938 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6939 minus_oflow, plus_uflow and minus_uflow in expected results.
6940 * math/libm-test.inc (scalbn_test_data): Add more tests of
6941 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6942 minus_uflow.
6943 (scalbn_test): Use ALL_RM_TEST.
6944 (scalbln_test_data): Add more tests of negative arguments. Use
6945 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6946 (scalbln_test): Use ALL_RM_TEST.
6947
c8f8fa15
RM
69482014-03-18 Roland McGrath <roland@hack.frob.com>
6949
6950 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6951
fede7a5f
WN
69522014-03-18 Will Newton <will.newton@linaro.org>
6953
6954 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6955 inaccurate comment.
6956
80cf0a58
JM
69572014-03-18 Joseph Myers <joseph@codesourcery.com>
6958
6959 * Makerules [!subdir] (check-abi): Exit with error status if a
6960 test failed.
6961
b3620862
JM
69622014-03-17 Joseph Myers <joseph@codesourcery.com>
6963
6964 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6965 for rint. Include results for all rounding modes.
6966 (nearbyint_test): Use ALL_RM_TEST.
6967 (rint_test_data): Include all tests used for nearbyint.
6968
788bba36
WN
69692014-03-17 Will Newton <will.newton@linaro.org>
6970
04ec140a
WN
6971 * nptl/sysdeps/pthread/pthread.h: Revert previous
6972 change.
6973
7579d8d5
WN
6974 * sysdeps/generic/ldsodefs.h: Revert previous
6975 change.
6976
c15cf13a
WN
6977 * libio/genops.c: Revert previous change.
6978 * libio/libioP.h: Likewise.
6979 * stdio-common/vfprintf.c: Likewise.
6980
d0ac1324
WN
6981 * sysdeps/generic/math_private.h: Revert previous
6982 change.
6983
9290130a
WN
6984 * sysdeps/generic/math_private.h: Check whether
6985 HAVE_RM_CTX is defined with #ifdef rather
6986 than #if.
6987
afb466fc
WN
6988 * argp/argp-fmtstream.h: Check whether
6989 __STRICT_ANSI__ is defined with #ifdef rather
6990 than #if.
6991 * argp/argp.h: Likewise.
6992
f7efd7c3
WN
6993 * libio/genops.c: Check whether
6994 _IO_JUMPS_OFFSET is defined with #ifdef rather
6995 than #if.
6996 * libio/libioP.h: Likewise.
6997 * stdio-common/vfprintf.c: Likewise.
6998
53f1bed3
WN
6999 * sysdeps/generic/ldsodefs.h: Check whether
7000 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7001 than #if.
7002
788bba36
WN
7003 * nptl/sysdeps/pthread/pthread.h: Check
7004 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7005 its value.
7006
fcd89ebe
SP
70072014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7008
ae42bbc5
SP
7009 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7010 setting O_APPEND.
7011 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7012 test case.
7013
ea33158c
SP
7014 [BZ #16680]
7015 * libio/fileops.c (_IO_file_open): Seek to end of file but
7016 don't cache the offset.
7017 (get_file_offset): Remove function.
7018 (do_ftell): Use cached offset when available.
7019 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7020 don't cache the offset.
7021 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7022 case.
7023 (do_one_test): Call it.
7024 (do_ftell_test): Fix up expected old offset for a+ mode.
7025 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7026 available.
7027
b1dbb426
SP
7028 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7029 up test status with function return status.
7030 (do_write_test): Likewise.
7031 (do_append_test): Likewise.
7032
fcd89ebe
SP
7033 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7034 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7035 Remove.
7036
9962a2d3
JM
70372014-03-17 Joseph Myers <joseph@codesourcery.com>
7038
7039 * math/gen-libm-test.pl (parse_args): Handle results specified for
7040 each rounding mode separately.
7041 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7042 tests and results from lrint_tonearest_test_data,
7043 lrint_towardzero_test_data, lrint_downward_test_data and
7044 lrint_upward_test_data.
7045 (lrint_test): Use ALL_RM_TEST.
7046 (lrint_tonearest_test_data): Remove.
7047 (lrint_test_tonearest): Likewise.
7048 (lrint_towardzero_test_data): Likewise.
7049 (lrint_test_towardzero): Likewise.
7050 (lrint_downward_test_data): Likewise.
7051 (lrint_test_downward): Likewise.
7052 (lrint_upward_test_data): Likewise.
7053 (lrint_test_upward): Likewise.
7054 (llrint_test_data): Merge in per-rounding-mode tests and results
7055 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7056 llrint_downward_test_data and llrint_upward_test_data.
7057 (llrint_test): Use ALL_RM_TEST.
7058 (llrint_tonearest_test_data): Remove.
7059 (llrint_test_tonearest): Likewise.
7060 (llrint_towardzero_test_data): Likewise.
7061 (llrint_test_towardzero): Likewise.
7062 (llrint_downward_test_data): Likewise.
7063 (llrint_test_downward): Likewise.
7064 (llrint_upward_test_data): Likewise.
7065 (llrint_test_upward): Likewise.
7066 (rint_test_data): Merge in per-rounding-mode tests and results
7067 from rint_tonearest_test_data, rint_towardzero_test_data,
7068 rint_downward_test_data and rint_upward_test_data. Add
7069 per-rounding-mode results for tests not in those arrays.
7070 (rint_test): Use ALL_RM_TEST.
7071 (rint_tonearest_test_data): Remove.
7072 (rint_test_tonearest): Likewise.
7073 (rint_towardzero_test_data): Likewise.
7074 (rint_test_towardzero): Likewise.
7075 (rint_downward_test_data): Likewise.
7076 (rint_test_downward): Likewise.
7077 (rint_upward_test_data): Likewise.
7078 (rint_test_upward): Likewise.
7079 (main): Don't call removed functions.
7080
5006148e
RM
70812014-03-14 Roland McGrath <roland@hack.frob.com>
7082
7083 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7084 "Compiled on ..." crapola. It is anti-useful.
7085
d6fe5e58
JM
70862014-03-14 Joseph Myers <joseph@codesourcery.com>
7087
7088 * scripts/evaluate-test.sh: Handle fourth argument to determine
7089 whether test run should stop on failure.
7090 * Makeconfig (stop-on-test-failure): New variable.
7091 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7092 $(stop-on-test-failure).
7093 * Makefile (tests): Give a summary of results from testing and
7094 exit with failure status if they include an ERROR or FAIL.
7095 (xtests): Likewise.
7096 * manual/install.texi (Configuring and compiling): Mention
7097 stop-on-test-failure=y.
7098 * INSTALL: Regenerated.
7099
498a2233
RM
71002014-03-14 Roland McGrath <roland@hack.frob.com>
7101
22dbc19d
RM
7102 * scripts/versionlist.awk: New file.
7103 * Makerules [$(build-shared) = yes]
7104 (postclean-generated): Add Versions.def, not Versions.def.v and
7105 Versions.def.v.i.
7106 ($(common-objpfx)Versions.def.v.i): Target removed.
7107 ($(common-objpfx)Versions.def): New target.
7108 ($(common-objpfx)Versions.all): Depend on that rather that
7109 $(common-objpfx)Versions.def.v.
7110 * Versions.def: File removed.
7111
498a2233
RM
7112 * Makeconfig (+gccwarn): Add -Wundef.
7113 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7114 a dl-sysdep.h breaking its contract.
7115 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7116 * include/stackinfo.h: New file.
7117 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7118 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7119 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7120 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7121 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7122 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7123 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7124 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7125 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7126 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7127 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7128 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7129 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7130 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7131 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7132
c7de5025
AZ
71332014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7134
7135 [BZ #16707]
7136 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7137 implementation.
7138 * math/libm-test.inc (round_test_data): Add more tests.
7139
98fb27a3
AZ
7140 [BZ #16706]
7141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7142 implementation.
7143 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7144
374f7f61
AZ
7145 [BZ #16701]
7146 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7147 implementation.
7148 * math/libm-test.inc (ceil_test_data): Add more tests.
7149
4655c291
AZ
7150 * math/libm-test.inc (trunc_test_data): Add more tests related to
7151 BZ#16414.
7152
d7329d4b
RM
71532014-03-14 Roland McGrath <roland@hack.frob.com>
7154
7155 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7156 with #if rather than #ifdef.
7157 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7158
aa4de9ce
L
71592014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7160
7161 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7162 first. Disable AVX-512 GCC support if assembler doesn't support
7163 it.
7164 * sysdeps/x86_64/configure: Regenerated.
7165
2e03fae7
CD
71662014-03-13 Carlos O'Donell <carlos@redhat.com>
7167
7168 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7169 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7170 (__old_pthread_attr_setstack): Likewise.
7171 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7172 [!_STACK_GROWS_DOWN]: Likewise.
7173
43ca83ec
MF
71742014-03-13 Mike Frysinger <vapier@gentoo.org>
7175
7176 * config.make.in (have-bash2): Delete.
7177 * configure.ac (libc_cv_have_bash2): Delete.
7178 * configure: Regenerate.
7179 * elf/Makefile (common-ldd-rewrite): Rename to ...
7180 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7181 (sh-ldd-rewrite): Delete.
7182 (bash-ldd-rewrite): Delete.
7183 (have-bash2): Delete checks.
57f41c40
AS
7184 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7185 ldd-rewrite.
c66e48b4
MF
7186
7187 * config.make.in (have-ksh): Delete.
7188 (KSH): Delete.
7189 * configure.ac (libc_cv_have_ksh): Delete.
7190 * configure: Regenerate.
7191
b93834ef
MF
7192 * elf/Makefile: Delete $(have-ksh) check.
7193 ($(objpfx)sotruss): Change KSH to BASH.
7194 * elf/sotruss.ksh: Rename to ...
7195 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7196 function style to match POSIX. Drop ksh vim mode setting.
7197
f3a4632a
MF
7198 * manual/time.texi (Specifying the Time Zone with TZ): Change
7199 Tuesday to Thursday.
7200
5896c8bd
MF
7201 * debug/tst-longjmp_chk2.c: Update header comment.
7202 (stackoverflow_handler): Add comment. Call assert on pass value.
7203
2d63a517
IZ
72042014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7205
7206 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7207 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7208 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7209 (La_x86_64_vector): Add zmm.
7210 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7211 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7212 ($(objpfx)tst-audit10): New target.
7213 ($(objpfx)tst-audit10.out): Likewise.
7214 (tst-audit10-ENV): New.
7215 (AVX512-CFLAGS): Likewise.
7216 (CFLAGS-tst-audit10.c): Likewise.
7217 (CFLAGS-tst-auditmod10a.c): Likewise.
7218 (CFLAGS-tst-auditmod10b.c): Likewise.
7219 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7220 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7221 * sysdeps/x86_64/configure: Regenerated.
7222 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7223 AVX-512 zmm register support.
7224 (_dl_x86_64_save_sse): Likewise.
7225 (_dl_x86_64_restore_sse): Likewise.
7226 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7227 size vector registers.
7228 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7229 (ZMM_SIZE): Likewise.
7230 * sysdeps/x86_64/tst-audit10.c: New file.
7231 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7232 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7233
44c4e5d5
RM
72342014-03-13 Roland McGrath <roland@hack.frob.com>
7235
7236 * configure.ac (HAVE_EHDR_START): New check.
7237 * configure: Regenerated.
7238 * config.h.in (HAVE_EHDR_START): New #undef.
7239 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7240 assuming the lowest-addressed segment maps the start of the file.
7241
acd6e389
JM
72422014-03-13 Joseph Myers <joseph@codesourcery.com>
7243
7244 * INSTALL: Regenerated.
7245
6f918f36
WN
72462014-03-13 Will Newton <will.newton@linaro.org>
7247
7248 * manual/setjmp.texi (System V contexts): Improve
7249 clarity and grammar of documentation.
7250
798212a0
PP
72512014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7252
7253 [BZ #16381]
798212a0 7254 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7255 (tests-pie): Add tst-pie2.
798212a0
PP
7256 * elf/tst-pie2.c: New file.
7257 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7258 for ET_EXEC.
7259 * elf/rtld.c (map_doit): Load executable as lt_executable.
7260 (dl_main): Likewise.
7261
abe6d90c
JM
72622014-03-12 Joseph Myers <joseph@codesourcery.com>
7263
7264 [BZ #16642]
7265 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7266 (__ASSUME_PSELECT): Undefine.
7267
dd3946c6
AZ
72682014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7269
7270 [BZ #16689]
7271 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7272 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7273 static build.
7274 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7275 selector for static builds.
7276
c44496df
SP
72772014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7278
7279 [BZ #16695]
7280 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7281 key in the buffer.
7282
27c7220a
AZ
72832014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7284
57f41c40
AS
7285 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7286 IFUNC selector for static builds.
27c7220a 7287
600fa361
JM
72882014-03-11 Joseph Myers <joseph@codesourcery.com>
7289
76c96cf7
JM
7290 * sysdeps/mips/math_private.h [__mips_hard_float]
7291 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7292 libc_feresetround_mips_ctx.
7293 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7294 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7295 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7296
600fa361
JM
7297 [BZ #16677]
7298 * math/s_nextafter.c (__nextafter): Do not return value from
7299 overflowing computation.
7300 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7301 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7302 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7303 Likewise.
7304 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7305 Likewise.
7306 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7307 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7308
d7706c32
RM
73092014-03-11 Roland McGrath <roland@hack.frob.com>
7310
7311 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7312 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7313 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7314 the new mov targetting sp.
7315
4facea47
AZ
73162014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7317
7318 [BZ #16683]
7319 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7320 Define it for static builds as well.
7321 (NO_BZERO_IMPL): Likewise.
7322
e65caf1f
VR
73232014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7324
7325 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7326 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7327 multiarch strspn for PPC64.
7328 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7329 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7331 (__libc_ifunc_impl_list): Likewise.
7332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7333 multiarch optimizations
7334 * string/strspn.c (strspn): Using macro to redefine symbol name.
7335
ba9cc071
AZ
73362014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7337 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7338
7339 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7340 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7341 multiarch strncat for PPC64.
7342 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7343 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7345 (__libc_ifunc_impl_list): Likewise.
7346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7347 multiarch optimizations
7348
8b4ff974
SP
73492014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7350
7351 [BZ #16639]
7352 * nscd/nscd.service: Make service type forking.
7353
54b46a4b
AZ
73542014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7355
7356 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7357 sign in non default rounding modes.
7358 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7359
e9996ef7
JM
73602014-03-08 Joseph Myers <joseph@codesourcery.com>
7361
7362 * math/libm-test.inc (ALL_RM_TEST): New macro.
7363 (ceil_test): Use ALL_RM_TEST.
7364 (cimag_test): Likewise.
7365 (conj_test): Likewise.
7366 (copysign_test): Likewise.
7367 (cproj_test): Likewise.
7368 (creal_test): Likewise.
7369 (fabs_test): Likewise.
7370 (floor_test): Likewise.
7371 (fmax_test): Likewise.
7372 (fmin_test): Likewise.
7373 (fmod_test): Likewise.
7374 (fpclassify_test): Likewise.
7375 (frexp_test): Likewise.
7376 (ilogb_test): Likewise.
7377 (isfinite_test): Likewise.
7378 (finite_test): Likewise.
7379 (isgreater_test): Likewise.
7380 (isgreaterequal_test): Likewise.
7381 (isinf_test): Likewise.
7382 (isless_test): Likewise.
7383 (islessequal_test): Likewise.
7384 (islessgreater_test): Likewise.
7385 (isnan_test): Likewise.
7386 (isnormal_test): Likewise.
7387 (issignaling_test): Likewise.
7388 (isunordered_test): Likewise.
7389 (logb_test): Likewise.
7390 (logb_downward_test_data): Remove.
7391 (logb_test_downward): Likewise.
7392 (lround_test): Use ALL_RM_TEST.
7393 (llround_test): Likewise.
7394 (modf_test): Likewise.
7395 (nexttoward_test): Likewise.
7396 (remainder_test): Likewise.
7397 (drem_test): Likewise.
7398 (remainder_tonearest_test_data): Likewise.
7399 (remainder_test_tonearest): Likewise.
7400 (drem_test_tonearest): Likewise.
7401 (remainder_towardzero_test_data): Likewise.
7402 (remainder_test_towardzero): Likewise.
7403 (drem_test_towardzero): Likewise.
7404 (remainder_downward_test_data): Likewise.
7405 (remainder_test_downward): Likewise.
7406 (drem_test_downward): Likewise.
7407 (remainder_upward_test_data): Likewise.
7408 (remainder_test_upward): Likewise.
7409 (drem_test_upward): Likewise.
7410 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7411 (round_test): Use ALL_RM_TEST.
7412 (signbit_test): Likewise.
7413 (trunc_test): Likewise.
7414 (significand_test): Likewise.
7415 (main): Don't call removed functions.
7416
bc61d27c
JM
74172014-03-07 Joseph Myers <joseph@codesourcery.com>
7418
5c780849
JM
7419 [BZ #16674]
7420 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7421 || __USE_XOPEN2K8].
7422 (ILL_ILLOPN): Likewise.
7423 (ILL_ILLADR): Likewise.
7424 (ILL_ILLTRP): Likewise.
7425 (ILL_PRVOPC): Likewise.
7426 (ILL_PRVREG): Likewise.
7427 (ILL_COPROC): Likewise.
7428 (ILL_BADSTK): Likewise.
7429 (FPE_INTDIV): Likewise.
7430 (FPE_INTOVF): Likewise.
7431 (FPE_FLTDIV): Likewise.
7432 (FPE_FLTOVF): Likewise.
7433 (FPE_FLTUND): Likewise.
7434 (FPE_FLTRES): Likewise.
7435 (FPE_FLTINV): Likewise.
7436 (FPE_FLTSUB): Likewise.
7437 (SEGV_MAPERR): Likewise.
7438 (SEGV_ACCERR): Likewise.
7439 (BUS_ADRALN): Likewise.
7440 (BUS_ADRERR): Likewise.
7441 (BUS_OBJERR): Likewise.
7442 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7443 (TRAP_TRACE): Likewise.
7444 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7445 __USE_XOPEN2K8].
7446 (CLD_KILLED): Likewise.
7447 (CLD_DUMPED): Likewise.
7448 (CLD_TRAPPED): Likewise.
7449 (CLD_STOPPED): Likewise.
7450 (CLD_CONTINUED): Likewise.
7451 (POLL_IN): Likewise.
7452 (POLL_OUT): Likewise.
7453 (POLL_MSG): Likewise.
7454 (POLL_ERR): Likewise.
7455 (POLL_PRI): Likewise.
7456 (POLL_HUP): Likewise.
7457 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7458 Likewise.
7459 (ILL_ILLOPN): Likewise.
7460 (ILL_ILLADR): Likewise.
7461 (ILL_ILLTRP): Likewise.
7462 (ILL_PRVOPC): Likewise.
7463 (ILL_PRVREG): Likewise.
7464 (ILL_COPROC): Likewise.
7465 (ILL_BADSTK): Likewise.
7466 (FPE_INTDIV): Likewise.
7467 (FPE_INTOVF): Likewise.
7468 (FPE_FLTDIV): Likewise.
7469 (FPE_FLTOVF): Likewise.
7470 (FPE_FLTUND): Likewise.
7471 (FPE_FLTRES): Likewise.
7472 (FPE_FLTINV): Likewise.
7473 (FPE_FLTSUB): Likewise.
7474 (SEGV_MAPERR): Likewise.
7475 (SEGV_ACCERR): Likewise.
7476 (BUS_ADRALN): Likewise.
7477 (BUS_ADRERR): Likewise.
7478 (BUS_OBJERR): Likewise.
7479 (BUS_MCEERR_AR): Likewise.
7480 (BUS_MCEERR_AO): Likewise.
7481 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7482 (TRAP_TRACE): Likewise.
7483 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7484 __USE_XOPEN2K8].
7485 (CLD_KILLED): Likewise.
7486 (CLD_DUMPED): Likewise.
7487 (CLD_TRAPPED): Likewise.
7488 (CLD_STOPPED): Likewise.
7489 (CLD_CONTINUED): Likewise.
7490 (POLL_IN): Likewise.
7491 (POLL_OUT): Likewise.
7492 (POLL_MSG): Likewise.
7493 (POLL_ERR): Likewise.
7494 (POLL_PRI): Likewise.
7495 (POLL_HUP): Likewise.
7496 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7497 (ILL_ILLOPN): Likewise.
7498 (ILL_ILLADR): Likewise.
7499 (ILL_ILLTRP): Likewise.
7500 (ILL_PRVOPC): Likewise.
7501 (ILL_PRVREG): Likewise.
7502 (ILL_COPROC): Likewise.
7503 (ILL_BADSTK): Likewise.
7504 (FPE_INTDIV): Likewise.
7505 (FPE_INTOVF): Likewise.
7506 (FPE_FLTDIV): Likewise.
7507 (FPE_FLTOVF): Likewise.
7508 (FPE_FLTUND): Likewise.
7509 (FPE_FLTRES): Likewise.
7510 (FPE_FLTINV): Likewise.
7511 (FPE_FLTSUB): Likewise.
7512 (SEGV_MAPERR): Likewise.
7513 (SEGV_ACCERR): Likewise.
7514 (BUS_ADRALN): Likewise.
7515 (BUS_ADRERR): Likewise.
7516 (BUS_OBJERR): Likewise.
7517 (BUS_MCEERR_AR): Likewise.
7518 (BUS_MCEERR_AO): Likewise.
7519 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7520 (TRAP_TRACE): Likewise.
7521 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7522 __USE_XOPEN2K8].
7523 (CLD_KILLED): Likewise.
7524 (CLD_DUMPED): Likewise.
7525 (CLD_TRAPPED): Likewise.
7526 (CLD_STOPPED): Likewise.
7527 (CLD_CONTINUED): Likewise.
7528 (POLL_IN): Likewise.
7529 (POLL_OUT): Likewise.
7530 (POLL_MSG): Likewise.
7531 (POLL_ERR): Likewise.
7532 (POLL_PRI): Likewise.
7533 (POLL_HUP): Likewise.
7534 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7535 Likewise.
7536 (ILL_ILLOPN): Likewise.
7537 (ILL_ILLADR): Likewise.
7538 (ILL_ILLTRP): Likewise.
7539 (ILL_PRVOPC): Likewise.
7540 (ILL_PRVREG): Likewise.
7541 (ILL_COPROC): Likewise.
7542 (ILL_BADSTK): Likewise.
7543 (ILL_BADIADDR): Likewise.
7544 (ILL_BREAK): Likewise.
7545 (FPE_INTDIV): Likewise.
7546 (FPE_INTOVF): Likewise.
7547 (FPE_FLTDIV): Likewise.
7548 (FPE_FLTOVF): Likewise.
7549 (FPE_FLTUND): Likewise.
7550 (FPE_FLTRES): Likewise.
7551 (FPE_FLTINV): Likewise.
7552 (FPE_FLTSUB): Likewise.
7553 (FPE_DECOVF): Likewise.
7554 (FPE_DECDIV): Likewise.
7555 (FPE_DECERR): Likewise.
7556 (FPE_INVASC): Likewise.
7557 (FPE_INVDEC): Likewise.
7558 (SEGV_MAPERR): Likewise.
7559 (SEGV_ACCERR): Likewise.
7560 (SEGV_PSTKOVF): Likewise.
7561 (BUS_ADRALN): Likewise.
7562 (BUS_ADRERR): Likewise.
7563 (BUS_OBJERR): Likewise.
7564 (BUS_MCEERR_AR): Likewise.
7565 (BUS_MCEERR_AO): Likewise.
7566 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7567 (TRAP_TRACE): Likewise.
7568 (TRAP_BRANCH): Likewise.
7569 (TRAP_HWBKPT): Likewise.
7570 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7571 __USE_XOPEN2K8].
7572 (CLD_KILLED): Likewise.
7573 (CLD_DUMPED): Likewise.
7574 (CLD_TRAPPED): Likewise.
7575 (CLD_STOPPED): Likewise.
7576 (CLD_CONTINUED): Likewise.
7577 (POLL_IN): Likewise.
7578 (POLL_OUT): Likewise.
7579 (POLL_MSG): Likewise.
7580 (POLL_ERR): Likewise.
7581 (POLL_PRI): Likewise.
7582 (POLL_HUP): Likewise.
7583 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7584 (ILL_ILLOPN): Likewise.
7585 (ILL_ILLADR): Likewise.
7586 (ILL_ILLTRP): Likewise.
7587 (ILL_PRVOPC): Likewise.
7588 (ILL_PRVREG): Likewise.
7589 (ILL_COPROC): Likewise.
7590 (ILL_BADSTK): Likewise.
7591 (FPE_INTDIV): Likewise.
7592 (FPE_INTOVF): Likewise.
7593 (FPE_FLTDIV): Likewise.
7594 (FPE_FLTOVF): Likewise.
7595 (FPE_FLTUND): Likewise.
7596 (FPE_FLTRES): Likewise.
7597 (FPE_FLTINV): Likewise.
7598 (FPE_FLTSUB): Likewise.
7599 (SEGV_MAPERR): Likewise.
7600 (SEGV_ACCERR): Likewise.
7601 (BUS_ADRALN): Likewise.
7602 (BUS_ADRERR): Likewise.
7603 (BUS_OBJERR): Likewise.
7604 (BUS_MCEERR_AR): Likewise.
7605 (BUS_MCEERR_AO): Likewise.
7606 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7607 (TRAP_TRACE): Likewise.
7608 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7609 __USE_XOPEN2K8].
7610 (CLD_KILLED): Likewise.
7611 (CLD_DUMPED): Likewise.
7612 (CLD_TRAPPED): Likewise.
7613 (CLD_STOPPED): Likewise.
7614 (CLD_CONTINUED): Likewise.
7615 (POLL_IN): Likewise.
7616 (POLL_OUT): Likewise.
7617 (POLL_MSG): Likewise.
7618 (POLL_ERR): Likewise.
7619 (POLL_PRI): Likewise.
7620 (POLL_HUP): Likewise.
7621 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7622 (ILL_ILLOPN): Likewise.
7623 (ILL_ILLADR): Likewise.
7624 (ILL_ILLTRP): Likewise.
7625 (ILL_PRVOPC): Likewise.
7626 (ILL_PRVREG): Likewise.
7627 (ILL_COPROC): Likewise.
7628 (ILL_BADSTK): Likewise.
7629 (FPE_INTDIV): Likewise.
7630 (FPE_INTOVF): Likewise.
7631 (FPE_FLTDIV): Likewise.
7632 (FPE_FLTOVF): Likewise.
7633 (FPE_FLTUND): Likewise.
7634 (FPE_FLTRES): Likewise.
7635 (FPE_FLTINV): Likewise.
7636 (FPE_FLTSUB): Likewise.
7637 (SEGV_MAPERR): Likewise.
7638 (SEGV_ACCERR): Likewise.
7639 (BUS_ADRALN): Likewise.
7640 (BUS_ADRERR): Likewise.
7641 (BUS_OBJERR): Likewise.
7642 (BUS_MCEERR_AR): Likewise.
7643 (BUS_MCEERR_AO): Likewise.
7644 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7645 (TRAP_TRACE): Likewise.
7646 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7647 __USE_XOPEN2K8].
7648 (CLD_KILLED): Likewise.
7649 (CLD_DUMPED): Likewise.
7650 (CLD_TRAPPED): Likewise.
7651 (CLD_STOPPED): Likewise.
7652 (CLD_CONTINUED): Likewise.
7653 (POLL_IN): Likewise.
7654 (POLL_OUT): Likewise.
7655 (POLL_MSG): Likewise.
7656 (POLL_ERR): Likewise.
7657 (POLL_PRI): Likewise.
7658 (POLL_HUP): Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7660 (ILL_ILLOPN): Likewise.
7661 (ILL_ILLADR): Likewise.
7662 (ILL_ILLTRP): Likewise.
7663 (ILL_PRVOPC): Likewise.
7664 (ILL_PRVREG): Likewise.
7665 (ILL_COPROC): Likewise.
7666 (ILL_BADSTK): Likewise.
7667 (FPE_INTDIV): Likewise.
7668 (FPE_INTOVF): Likewise.
7669 (FPE_FLTDIV): Likewise.
7670 (FPE_FLTOVF): Likewise.
7671 (FPE_FLTUND): Likewise.
7672 (FPE_FLTRES): Likewise.
7673 (FPE_FLTINV): Likewise.
7674 (FPE_FLTSUB): Likewise.
7675 (SEGV_MAPERR): Likewise.
7676 (SEGV_ACCERR): Likewise.
7677 (BUS_ADRALN): Likewise.
7678 (BUS_ADRERR): Likewise.
7679 (BUS_OBJERR): Likewise.
7680 (BUS_MCEERR_AR): Likewise.
7681 (BUS_MCEERR_AO): Likewise.
7682 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7683 (TRAP_TRACE): Likewise.
7684 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7685 __USE_XOPEN2K8].
7686 (CLD_KILLED): Likewise.
7687 (CLD_DUMPED): Likewise.
7688 (CLD_TRAPPED): Likewise.
7689 (CLD_STOPPED): Likewise.
7690 (CLD_CONTINUED): Likewise.
7691 (POLL_IN): Likewise.
7692 (POLL_OUT): Likewise.
7693 (POLL_MSG): Likewise.
7694 (POLL_ERR): Likewise.
7695 (POLL_PRI): Likewise.
7696 (POLL_HUP): Likewise.
7697 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7698 (ILL_ILLOPN): Likewise.
7699 (ILL_ILLADR): Likewise.
7700 (ILL_ILLTRP): Likewise.
7701 (ILL_PRVOPC): Likewise.
7702 (ILL_PRVREG): Likewise.
7703 (ILL_COPROC): Likewise.
7704 (ILL_BADSTK): Likewise.
7705 (ILL_DBLFLT): Likewise.
7706 (ILL_HARDWALL): Likewise.
7707 (FPE_INTDIV): Likewise.
7708 (FPE_INTOVF): Likewise.
7709 (FPE_FLTDIV): Likewise.
7710 (FPE_FLTOVF): Likewise.
7711 (FPE_FLTUND): Likewise.
7712 (FPE_FLTRES): Likewise.
7713 (FPE_FLTINV): Likewise.
7714 (FPE_FLTSUB): Likewise.
7715 (SEGV_MAPERR): Likewise.
7716 (SEGV_ACCERR): Likewise.
7717 (BUS_ADRALN): Likewise.
7718 (BUS_ADRERR): Likewise.
7719 (BUS_OBJERR): Likewise.
7720 (BUS_MCEERR_AR): Likewise.
7721 (BUS_MCEERR_AO): Likewise.
7722 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7723 (TRAP_TRACE): Likewise.
7724 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7725 __USE_XOPEN2K8].
7726 (CLD_KILLED): Likewise.
7727 (CLD_DUMPED): Likewise.
7728 (CLD_TRAPPED): Likewise.
7729 (CLD_STOPPED): Likewise.
7730 (CLD_CONTINUED): Likewise.
7731 (POLL_IN): Likewise.
7732 (POLL_OUT): Likewise.
7733 (POLL_MSG): Likewise.
7734 (POLL_ERR): Likewise.
7735 (POLL_PRI): Likewise.
7736 (POLL_HUP): Likewise.
7737 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7738 (ILL_ILLOPN): Likewise.
7739 (ILL_ILLADR): Likewise.
7740 (ILL_ILLTRP): Likewise.
7741 (ILL_PRVOPC): Likewise.
7742 (ILL_PRVREG): Likewise.
7743 (ILL_COPROC): Likewise.
7744 (ILL_BADSTK): Likewise.
7745 (FPE_INTDIV): Likewise.
7746 (FPE_INTOVF): Likewise.
7747 (FPE_FLTDIV): Likewise.
7748 (FPE_FLTOVF): Likewise.
7749 (FPE_FLTUND): Likewise.
7750 (FPE_FLTRES): Likewise.
7751 (FPE_FLTINV): Likewise.
7752 (FPE_FLTSUB): Likewise.
7753 (SEGV_MAPERR): Likewise.
7754 (SEGV_ACCERR): Likewise.
7755 (BUS_ADRALN): Likewise.
7756 (BUS_ADRERR): Likewise.
7757 (BUS_OBJERR): Likewise.
7758 (BUS_MCEERR_AR): Likewise.
7759 (BUS_MCEERR_AO): Likewise.
7760 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7761 (TRAP_TRACE): Likewise.
7762 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7763 __USE_XOPEN2K8].
7764 (CLD_KILLED): Likewise.
7765 (CLD_DUMPED): Likewise.
7766 (CLD_TRAPPED): Likewise.
7767 (CLD_STOPPED): Likewise.
7768 (CLD_CONTINUED): Likewise.
7769 (POLL_IN): Likewise.
7770 (POLL_OUT): Likewise.
7771 (POLL_MSG): Likewise.
7772 (POLL_ERR): Likewise.
7773 (POLL_PRI): Likewise.
7774 (POLL_HUP): Likewise.
7775 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7776 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7777
bc61d27c
JM
7778 [BZ #16670]
7779 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7780 before #include of <time.h>.
7781 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7782 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7783 (test-xfail-UNIX98/sched.h/conform): Likewise.
7784
302949e2
MS
77852014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7786
7787 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7788 error absence of trapping exception support.
7789 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7790
a00f522a
JM
77912014-03-07 Joseph Myers <joseph@codesourcery.com>
7792
6f99f280
JM
7793 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7794 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7795 * timezone/Makefile (testdata): Move definition above include of
7796 Rules.
7797 (test-zones): New variable.
7798 (tests-special): Add zone files.
7799 (build-testdata): Use $(evaluate-test).
7800
0b20a9e8
JM
7801 * elf/Makefile (tests-special): Rename tests to end with .out.
7802 ($(objpfx)noload-mem): Likewise.
7803 ($(objpfx)tst-leaks1-mem): Likewise.
7804 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7805 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7806 $(objpfx)test-iconvconfig.out.
7807 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7808 set -e inside subshell and redirect output to file.
7809 * iconvdata/Makefile (generated): Rename tests to end with .out.
7810 Correct type.
7811 (tests-special): Rename tests to end with .out.
7812 ($(objpfx)mtrace-tst-loading): Likewise.
7813 * intl/Makefile (generated): Likewise.
7814 (tests-special): Likewise.
7815 ($(objpfx)mtrace-tst-gettext): Likewise.
7816 * misc/Makefile (generated): Likewise.
7817 (tests-special): Likewise.
7818 ($(objpfx)tst-error1-mem): Likewise.
7819 * nptl/Makefile (tests-special): Likewise.
7820 ($(objpfx)tst-stack3-mem): Likewise.
7821 (generated): Likewise.
7822 * posix/Makefile (generated): Likewise.
7823 (tests-special): Likewise.
7824 (xtests-special): Likewise.
7825 ($(objpfx)tst-fnmatch-mem): Likewise.
7826 ($(objpfx)bug-regex2-mem): Likewise.
7827 ($(objpfx)bug-regex14-mem): Likewise.
7828 ($(objpfx)bug-regex21-mem): Likewise.
7829 ($(objpfx)bug-regex31-mem): Likewise.
7830 ($(objpfx)tst-vfork3-mem): Likewise.
7831 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7832 ($(objpfx)tst-pcre-mem): Likewise.
7833 ($(objpfx)tst-boost-mem): Likewise.
7834 ($(objpfx)bug-ga2-mem): Likewise.
7835 ($(objpfx)bug-glob2-mem): Likewise.
7836 * resolv/Makefile (generate): Likewise.
7837 (tests-special): Likewise.
7838 (xtests-special): Likewise.
7839 (generated): Likewise.
7840 ($(objpfx)mtrace-tst-leaks): Likewise.
7841 ($(objpfx)mtrace-tst-leaks2): Likewise.
7842
265d52ab
JM
7843 * scripts/merge-test-results.sh: New file.
7844 * Makefile (tests-special-notdir): New variable.
7845 (tests): Run merge-test-results.sh.
7846 (xtests): Likewise.
7847 * Rules (tests-special-notdir): New variable.
7848 (xtests-special-notdir): Likewise.
7849 (tests): Run merge-test-results.sh
7850 (xtests): Likewise.
7851
54ee292d
JM
7852 * Makeconfig (test-xfail-name): New variable.
7853 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7854 compute variable name for expected failures.
7855 * conform/Makefile (conformtest-headers-data): New variable.
7856 (conformtest-standards): Likewise.
7857 (conformtest-headers-ISO): Likewise.
7858 (conformtest-headers-ISO99): Likewise.
7859 (conformtest-headers-ISO11): Likewise.
7860 (conformtest-headers-POSIX): Likewise.
7861 (conformtest-headers-XPG3): Likewise.
7862 (conformtest-headers-XPG4): Likewise.
7863 (conformtest-headers-UNIX98): Likewise.
7864 (conformtest-headers-XOPEN2K): Likewise.
7865 (conformtest-headers-POSIX2008): Likewise.
7866 (conformtest-headers-XOPEN2K8): Likewise.
7867 (conformtest-header-list-base): Likewise.
7868 (conformtest-header-list-tests): Likewise.
7869 (conformtest-header-base): Likewise.
7870 (conformtest-header-tests): Likewise.
7871 (tests-special): Add $(conformtest-header-list-tests). If
7872 [$(fast-check) && !$(cross-compiling)], add
7873 $(conformtest-header-tests) instead of
7874 $(objpfx)run-conformtest.out.
7875 (generated): Add $(conformtest-header-list-base). If
7876 [$(fast-check) && !$(cross-compiling)], add
7877 $(conformtest-header-base). Remove previous setting.
7878 ($(conformtest-header-list-tests)): New target.
7879 (test-xfail-run-conformtest): Remove variable.
7880 ($(objpfx)run-conformtest.out): Remove target.
7881 (test-xfail-ISO11/complex.h/conform): New variable.
7882 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7883 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7884 (test-xfail-XPG3/varargs.h/conform): Likewise.
7885 (test-xfail-XPG4/varargs.h/conform): Likewise.
7886 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7887 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7888 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7889 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7890 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7891 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7892 (test-xfail-XPG3/ftw.h/conform): Likewise.
7893 (test-xfail-XPG3/grp.h/conform): Likewise.
7894 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7895 (test-xfail-XPG3/limits.h/conform): Likewise.
7896 (test-xfail-XPG3/pwd.h/conform): Likewise.
7897 (test-xfail-XPG3/search.h/conform): Likewise.
7898 (test-xfail-XPG3/signal.h/conform): Likewise.
7899 (test-xfail-XPG3/stdio.h/conform): Likewise.
7900 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7901 (test-xfail-XPG3/string.h/conform): Likewise.
7902 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7903 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7904 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7905 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7906 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7907 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7908 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7909 (test-xfail-XPG3/termios.h/conform): Likewise.
7910 (test-xfail-XPG3/time.h/conform): Likewise.
7911 (test-xfail-XPG3/unistd.h/conform): Likewise.
7912 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7913 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7914 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7915 (test-xfail-XPG4/netdb.h/conform): Likewise.
7916 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7917 (test-xfail-XPG4/signal.h/conform): Likewise.
7918 (test-xfail-XPG4/stdio.h/conform): Likewise.
7919 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7920 (test-xfail-XPG4/stropts.h/conform): Likewise.
7921 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7922 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7923 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7924 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7925 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7926 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7927 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7928 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7929 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7930 (test-xfail-XPG4/termios.h/conform): Likewise.
7931 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7932 (test-xfail-XPG4/unistd.h/conform): Likewise.
7933 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7934 (test-xfail-POSIX/sched.h/conform): Likewise.
7935 (test-xfail-POSIX/signal.h/conform): Likewise.
7936 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7937 (test-xfail-POSIX/tar.h/conform): Likewise.
7938 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7939 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7940 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7941 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7942 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7943 (test-xfail-UNIX98/sched.h/conform): Likewise.
7944 (test-xfail-UNIX98/signal.h/conform): Likewise.
7945 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7946 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7947 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7948 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7949 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7950 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7951 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7952 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7953 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7954 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7955 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7956 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7957 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7958 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7959 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7960 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7961 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7962 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7963 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7964 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7965 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7966 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7967 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7968 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7969 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7970 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7971 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7972 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7973 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7974 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7975 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7976 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7977 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7978 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7979 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7980 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7981 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7982 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7983 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7984 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7985 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7986 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7987 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7988 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7989 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7990 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7991 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7992 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7993 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7994 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7995 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7996 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7997 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7998 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7999 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8000 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8001 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8002 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8003 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8004 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8005 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8006 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8007 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8008 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8009 (conformtest-cc-flags): Likewise.
8010 ($(conformtest-header-tests): New target.
8011 * conform/check-header-lists.sh: New file.
8012 * conform/run-conformtest.sh: Remove.
8013
a00f522a
JM
8014 * conform/conformtest.pl: Allow ' and \ in values given for
8015 constants.
8016 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8017 inclusion.
8018 [POSIX] (sys/types.h): Likewise.
8019 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8020 inclusion.
8021 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8022 inclusion.
8023 * conform/data/signal.h-data (SIGIO): Remove expectation.
8024 [XPG3] (SIGBUS): Do not expect.
8025 [POSIX || XPG3] (SIGPOLL): Likewise.
8026 [POSIX || XPG3] (SIGPROF): Likewise.
8027 [POSIX || XPG3] (SIGSYS): Likewise.
8028 [XPG3] (SIGTRAP): Likewise.
8029 [POSIX || XPG3] (SIGURG): Likewise.
8030 [POSIX || XPG3] (SIGVTALRM): Likewise.
8031 [POSIX || XPG3] (SIGXCPU): Likewise.
8032 [POSIX || XPG3] (SIGXFSZ): Likewise.
8033 [POSIX] (SA_SIGINFO): Expect.
8034 [XPG3] (siginfo_t): Do not expect type or contents.
8035 [POSIX] (si_pid): Do not expect element.
8036 [POSIX] (si_uid): Likewise.
8037 [POSIX] (si_addr): Likewise.
8038 [POSIX] (si_status): Likewise.
8039 [POSIX] (si_band): Likewise.
8040 [XPG4] (si_value): Likewise.
8041 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8042 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8043 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8044 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8045 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8046 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8047 [POSIX || XPG3] (ILL_COPROC): Likewise.
8048 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8049 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8050 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8051 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8052 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8053 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8054 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8055 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8056 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8057 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8058 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8059 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8060 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8061 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8062 [POSIX || XPG3] (CLD_EXITED): Likewise.
8063 [POSIX || XPG3] (CLD_KILLED): Likewise.
8064 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8065 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8066 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8067 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8068 [POSIX || XPG3] (POLL_IN): Likewise.
8069 [POSIX || XPG3] (POLL_OUT): Likewise.
8070 [POSIX || XPG3] (POLL_MSG): Likewise.
8071 [POSIX || XPG3] (POLL_ERR): Likewise.
8072 [POSIX || XPG3] (POLL_PRI): Likewise.
8073 [POSIX || XPG3] (POLL_HUP): Likewise.
8074 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8075 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8076 (SIG*): Do not allow.
8077 [XPG3] (si_*): Likewise.
8078 [XPG3] (SI_*): Likewise.
8079 [XPG3 || XPG4] (sigev_*): Likewise.
8080 [XPG3 || XPG4] (SIGEV_*): Likewise.
8081 [XPG3 || XPG4] (sival_*): Likewise.
8082 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8083 [POSIX || XPG3] (BUS_*): Likewise.
8084 [POSIX || XPG3] (CLD_*): Likewise.
8085 [POSIX || XPG3] (FPE_*): Likewise.
8086 [POSIX || XPG3] (ILL_*): Likewise.
8087 [POSIX || XPG3] (POLL_*): Likewise.
8088 [POSIX || XPG3] (SEGV_*): Likewise.
8089 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8090 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8091 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8092 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8093 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8094 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8095 Specify type and value.
8096 (TVERSLEN): Likewise.
8097 (REGTYPE): Likewise.
8098 (AREGTYPE): Likewise.
8099 (LNKTYPE): Likewise.
8100 (SYMTYPE): Likewise.
8101 (CHRTYPE): Likewise.
8102 (BLKTYPE): Likewise.
8103 (DIRTYPE): Likewise.
8104 (FIFOTYPE): Likewise.
8105 (CONTTYPE): Likewise.
8106 (TSUID): Likewise.
8107 (TSGID): Likewise.
8108 (TSVTX): Likewise.
8109 (TUREAD): Likewise.
8110 (TUWRITE): Likewise.
8111 (TUEXEC): Likewise.
8112 (TGREAD): Likewise.
8113 (TGWRITE): Likewise.
8114 (TGEXEC): Likewise.
8115 (TOREAD): Likewise.
8116 (TOWRITE): Likewise.
8117 (TOEXEC): Likewise.
8118 [POSIX] (TSVTX): Expect constant.
8119
aa97dee1
JM
81202014-03-06 Joseph Myers <joseph@codesourcery.com>
8121
f214606a
JM
8122 * Makefile (tests): Change dependencies to ....
8123 (tests-special): ... additions to this variable.
8124 (tests): Depend on $(tests-special).
8125 * Makerules (check-abi-list): New variable.
8126 (check-abi): Depend on $(check-abi-list).
8127 [$(subdir) = elf] (tests-special): Add
8128 $(objpfx)check-abi-libc.out.
8129 [$(build-shared) = yes && subdir] (tests-special): Add
8130 $(check-abi-list).
8131 [$(build-shared) = yes && subdir] (tests): Do not depend on
8132 check-abi.
8133 * Rules (tests): Depend on $(tests-special).
8134 (xtests): Depend on $(xtests-special).
8135 * catgets/Makefile (tests): Change dependencies to ....
8136 (tests-special): ... additions to this variable.
8137 * conform/Makefile (tests): Change dependencies to ....
8138 (tests-special): ... additions to this variable.
8139 * elf/Makefile (tests): Change dependencies to ....
8140 (tests-special): ... additions to this variable.
8141 * grp/Makefile (tests): Change dependencies to ....
8142 (tests-special): ... additions to this variable.
8143 * iconv/Makefile (xtests): Change dependencies to ....
8144 (xtests-special): ... additions to this variable.
8145 * iconvdata/Makefile (tests): Change dependencies to ....
8146 (tests-special): ... additions to this variable.
8147 * intl/Makefile (tests): Change dependencies to ....
8148 (tests-special): ... additions to this variable. Also add
8149 $(objpfx)tst-gettext.out.
8150 * io/Makefile (tests): Change dependencies to ....
8151 (tests-special): ... additions to this variable.
8152 * libio/Makefile (tests): Change dependencies to ....
8153 (tests-special): ... additions to this variable.
8154 * malloc/Makefile (tests): Change dependencies to ....
8155 (tests-special): ... additions to this variable.
8156 * misc/Makefile (tests): Change dependencies to ....
8157 (tests-special): ... additions to this variable.
8158 * nptl/Makefile (tests): Change dependencies to ....
8159 (tests-special): ... additions to this variable.
8160 * nptl_db/Makefile (tests): Change dependencies to ....
8161 (tests-special): ... additions to this variable.
8162 * posix/Makefile (tests): Change dependencies to ....
8163 (tests-special): ... additions to this variable.
8164 (xtests): Change dependencies to ....
8165 (xtests-special): ... additions to this variable.
8166 * resolv/Makefile (tests): Change dependencies to ....
8167 (tests-special): ... additions to this variable.
8168 (xtests): Change dependencies to ....
8169 (xtests-special): ... additions to this variable.
8170 * stdio-common/Makefile (tests): Change dependencies to ....
8171 (tests-special): ... additions to this variable.
8172 (do-tst-unbputc): Remove target.
8173 (do-tst-printf): Likewise.
8174 * stdlib/Makefile (tests): Change dependencies to ....
8175 (tests-special): ... additions to this variable.
8176 * string/Makefile (tests): Change dependencies to ....
8177 (tests-special): ... additions to this variable.
8178 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8179 (tests-special): ... additions to this variable.
8180
81700b53
JM
8181 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8182 whole file.
8183 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8184 whole file.
8185 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8186 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8187
2ea18461
JM
8188 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8189 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8190 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8191 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8192 * conform/data/libgen.h-data [XPG3]: Likewise.
8193 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8194 * conform/data/ndbm.h-data [XPG3]: Likewise.
8195 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8196 * conform/data/netdb.h-data [XPG3]: Likewise.
8197 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8198 * conform/data/poll.h-data [XPG3]: Likewise.
8199 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8200 * conform/data/strings.h-data [XPG3]: Likewise.
8201 * conform/data/stropts.h-data [XPG3]: Likewise.
8202 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8203 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8204 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8205 Likewise.
8206 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8207 * conform/data/sys/time.h-data [XPG3]: Likewise.
8208 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8209 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8210 * conform/data/sys/un.h-data [XPG3]: Likewise.
8211 * conform/data/syslog.h-data [XPG3]: Likewise.
8212 * conform/data/ucontext.h-data [XPG3]: Likewise.
8213 * conform/data/utmpx.h-data [XPG3]: Likewise.
8214 * conform/data/varargs.h-data [UNIX98]: Enable file.
8215
355bc986
JM
8216 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8217
215db402
JM
8218 * math/libm-test.inc (struct test_f_f_data): Move expected results
8219 into structure for each rounding mode.
8220 (struct test_ff_f_data): Likewise.
8221 (struct test_ff_f_data_nexttoward): Likewise.
8222 (struct test_fi_f_data): Likewise.
8223 (struct test_fl_f_data): Likewise.
8224 (struct test_if_f_data): Likewise.
8225 (struct test_fff_f_data): Likewise.
8226 (struct test_c_f_data): Likewise.
8227 (struct test_f_f1_data): Likewise.
8228 (struct test_fF_f1_data): Likewise.
8229 (struct test_ffI_f1_data): Likewise.
8230 (struct test_c_c_data): Likewise.
8231 (struct test_cc_c_data): Likewise.
8232 (struct test_f_i_data): Likewise.
8233 (struct test_ff_i_data): Likewise.
8234 (struct test_f_l_data): Likewise.
8235 (struct test_f_L_data): Likewise.
8236 (struct test_fFF_11_data): Likewise.
8237 (RM_): New macro.
8238 (RM_FE_DOWNWARD): Likewise.
8239 (RM_FE_TONEAREST): Likewise.
8240 (RM_FE_TOWARDZERO): Likewise.
8241 (RM_FE_UPWARD): Likewise.
8242 (RUN_TEST_LOOP_f_f): Update references to expected results.
8243 (RUN_TEST_LOOP_2_f): Likewise.
8244 (RUN_TEST_LOOP_fff_f): Likewise.
8245 (RUN_TEST_LOOP_c_f): Likewise.
8246 (RUN_TEST_LOOP_f_f1): Likewise.
8247 (RUN_TEST_LOOP_fF_f1): Likewise.
8248 (RUN_TEST_LOOP_fI_f1): Likewise.
8249 (RUN_TEST_LOOP_ffI_f1): Likewise.
8250 (RUN_TEST_LOOP_c_c): Likewise.
8251 (RUN_TEST_LOOP_cc_c): Likewise.
8252 (RUN_TEST_LOOP_f_i): Likewise.
8253 (RUN_TEST_LOOP_f_i_tg): Likewise.
8254 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8255 (RUN_TEST_LOOP_f_b): Likewise.
8256 (RUN_TEST_LOOP_f_b_tg): Likewise.
8257 (RUN_TEST_LOOP_f_l): Likewise.
8258 (RUN_TEST_LOOP_f_L): Likewise.
8259 (RUN_TEST_LOOP_fFF_11): Likewise.
8260 * math/gen-libm-test.pl (parse_args): Output four copies of
8261 expected results for each test.
8262
67737b8f
JM
8263 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8264 (__ASSUME_UTIMES): Remove.
8265 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8266 (__ASSUME_UTIMES): Likewise.
8267
aa97dee1
JM
8268 * math/gen-auto-libm-tests.c: Update comment on output format.
8269 (output_for_one_input_case): Generate before-rounding and
8270 after-rounding information as conditions on output flags not
8271 floating-point format.
8272 * math/auto-libm-test-out: Regenerated.
8273 * math/gen-libm-test.pl (cond_value): New function.
8274 (or_cond_value): Use cond_value.
8275 (generate_testfile): Handle conditional exceptions.
8276
e6b6a857
JM
82772014-03-05 Joseph Myers <joseph@codesourcery.com>
8278
2f0a0f44
JM
8279 * math/libm-test.inc (max_valid_error): New variable.
8280 (init_max_error): Take new argument specifying whether function
8281 results are exactly determined. Set max_valid_error and bound
8282 other variables for errors based on this argument.
8283 (set_max_error): Do not record results above max_valid_error.
8284 (check_float_internal): Only accept errors of up to 0.5ulps if
8285 also at most max_valid_error.
8286 (START): Take new argument EXACT and pass it to init_max_error.
8287 (acos_test): Update call to START.
8288 (acos_test_tonearest): Likewise.
8289 (acos_test_towardzero): Likewise.
8290 (acos_test_downward): Likewise.
8291 (acos_test_upward): Likewise.
8292 (acosh_test): Likewise.
8293 (asin_test): Likewise.
8294 (asin_test_tonearest): Likewise.
8295 (asin_test_towardzero): Likewise.
8296 (asin_test_downward): Likewise.
8297 (asin_test_upward): Likewise.
8298 (asinh_test): Likewise.
8299 (atan_test): Likewise.
8300 (atanh_test): Likewise.
8301 (atan2_test): Likewise.
8302 (cabs_test): Likewise.
8303 (cacos_test): Likewise.
8304 (cacosh_test): Likewise.
8305 (carg_test): Likewise.
8306 (casin_test): Likewise.
8307 (casinh_test): Likewise.
8308 (catan_test): Likewise.
8309 (catanh_test): Likewise.
8310 (cbrt_test): Likewise.
8311 (ccos_test): Likewise.
8312 (ccosh_test): Likewise.
8313 (ceil_test): Likewise.
8314 (cexp_test): Likewise.
8315 (cimag_test): Likewise.
8316 (clog_test): Likewise.
8317 (clog10_test): Likewise.
8318 (conj_test): Likewise.
8319 (copysign_test): Likewise.
8320 (cos_test): Likewise.
8321 (cos_test_tonearest): Likewise.
8322 (cos_test_towardzero): Likewise.
8323 (cos_test_downward): Likewise.
8324 (cos_test_upward): Likewise.
8325 (cosh_test): Likewise.
8326 (cosh_test_tonearest): Likewise.
8327 (cosh_test_towardzero): Likewise.
8328 (cosh_test_downward): Likewise.
8329 (cosh_test_upward): Likewise.
8330 (cpow_test): Likewise.
8331 (cproj_test): Likewise.
8332 (creal_test): Likewise.
8333 (csin_test): Likewise.
8334 (csinh_test): Likewise.
8335 (csqrt_test): Likewise.
8336 (ctan_test): Likewise.
8337 (ctan_test_tonearest): Likewise.
8338 (ctan_test_towardzero): Likewise.
8339 (ctan_test_downward): Likewise.
8340 (ctan_test_upward): Likewise.
8341 (ctanh_test): Likewise.
8342 (ctanh_test_tonearest): Likewise.
8343 (ctanh_test_towardzero): Likewise.
8344 (ctanh_test_downward): Likewise.
8345 (ctanh_test_upward): Likewise.
8346 (erf_test): Likewise.
8347 (erfc_test): Likewise.
8348 (exp_test): Likewise.
8349 (exp_test_tonearest): Likewise.
8350 (exp_test_towardzero): Likewise.
8351 (exp_test_downward): Likewise.
8352 (exp_test_upward): Likewise.
8353 (exp10_test): Likewise.
8354 (exp10_test_tonearest): Likewise.
8355 (exp10_test_towardzero): Likewise.
8356 (exp10_test_downward): Likewise.
8357 (exp10_test_upward): Likewise.
8358 (pow10_test): Likewise.
8359 (exp2_test): Likewise.
8360 (expm1_test): Likewise.
8361 (expm1_test_tonearest): Likewise.
8362 (expm1_test_towardzero): Likewise.
8363 (expm1_test_downward): Likewise.
8364 (expm1_test_upward): Likewise.
8365 (fabs_test): Likewise.
8366 (fdim_test): Likewise.
8367 (floor_test): Likewise.
8368 (fma_test): Likewise.
8369 (fma_test_towardzero): Likewise.
8370 (fma_test_downward): Likewise.
8371 (fma_test_upward): Likewise.
8372 (fmax_test): Likewise.
8373 (fmin_test): Likewise.
8374 (fmod_test): Likewise.
8375 (fpclassify_test): Likewise.
8376 (frexp_test): Likewise.
8377 (hypot_test): Likewise.
8378 (ilogb_test): Likewise.
8379 (isfinite_test): Likewise.
8380 (finite_test): Likewise.
8381 (isgreater_test): Likewise.
8382 (isgreaterequal_test): Likewise.
8383 (isinf_test): Likewise.
8384 (isless_test): Likewise.
8385 (islessequal_test): Likewise.
8386 (islessgreater_test): Likewise.
8387 (isnan_test): Likewise.
8388 (isnormal_test): Likewise.
8389 (issignaling_test): Likewise.
8390 (isunordered_test): Likewise.
8391 (j0_test): Likewise.
8392 (j1_test): Likewise.
8393 (jn_test): Likewise.
8394 (ldexp_test): Likewise.
8395 (lgamma_test): Likewise.
8396 (gamma_test): Likewise.
8397 (lrint_test): Likewise.
8398 (lrint_test_tonearest): Likewise.
8399 (lrint_test_towardzero): Likewise.
8400 (lrint_test_downward): Likewise.
8401 (lrint_test_upward): Likewise.
8402 (llrint_test): Likewise.
8403 (llrint_test_tonearest): Likewise.
8404 (llrint_test_towardzero): Likewise.
8405 (llrint_test_downward): Likewise.
8406 (llrint_test_upward): Likewise.
8407 (log_test): Likewise.
8408 (log10_test): Likewise.
8409 (log1p_test): Likewise.
8410 (log2_test): Likewise.
8411 (logb_test): Likewise.
8412 (logb_test_downward): Likewise.
8413 (lround_test): Likewise.
8414 (llround_test): Likewise.
8415 (modf_test): Likewise.
8416 (nearbyint_test): Likewise.
8417 (nextafter_test): Likewise.
8418 (nexttoward_test): Likewise.
8419 (pow_test): Likewise.
8420 (pow_test_tonearest): Likewise.
8421 (pow_test_towardzero): Likewise.
8422 (pow_test_downward): Likewise.
8423 (pow_test_upward): Likewise.
8424 (remainder_test): Likewise.
8425 (drem_test): Likewise.
8426 (remainder_test_tonearest): Likewise.
8427 (drem_test_tonearest): Likewise.
8428 (remainder_test_towardzero): Likewise.
8429 (drem_test_towardzero): Likewise.
8430 (remainder_test_downward): Likewise.
8431 (drem_test_downward): Likewise.
8432 (remainder_test_upward): Likewise.
8433 (drem_test_upward): Likewise.
8434 (remquo_test): Likewise.
8435 (rint_test): Likewise.
8436 (rint_test_tonearest): Likewise.
8437 (rint_test_towardzero): Likewise.
8438 (rint_test_downward): Likewise.
8439 (rint_test_upward): Likewise.
8440 (round_test): Likewise.
8441 (scalb_test): Likewise.
8442 (scalbn_test): Likewise.
8443 (scalbln_test): Likewise.
8444 (signbit_test): Likewise.
8445 (sin_test): Likewise.
8446 (sin_test_tonearest): Likewise.
8447 (sin_test_towardzero): Likewise.
8448 (sin_test_downward): Likewise.
8449 (sin_test_upward): Likewise.
8450 (sincos_test): Likewise.
8451 (sinh_test): Likewise.
8452 (sinh_test_tonearest): Likewise.
8453 (sinh_test_towardzero): Likewise.
8454 (sinh_test_downward): Likewise.
8455 (sinh_test_upward): Likewise.
8456 (sqrt_test): Likewise.
8457 (sqrt_test_tonearest): Likewise.
8458 (sqrt_test_towardzero): Likewise.
8459 (sqrt_test_downward): Likewise.
8460 (sqrt_test_upward): Likewise.
8461 (tan_test): Likewise.
8462 (tan_test_tonearest): Likewise.
8463 (tan_test_towardzero): Likewise.
8464 (tan_test_downward): Likewise.
8465 (tan_test_upward): Likewise.
8466 (tanh_test): Likewise.
8467 (tgamma_test): Likewise.
8468 (trunc_test): Likewise.
8469 (y0_test): Likewise.
8470 (y1_test): Likewise.
8471 (yn_test): Likewise.
8472 (significand_test): Likewise.
8473
e6b6a857
JM
8474 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8475 individual tests in comment.
8476 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8477 (prev_max_error): New variable.
8478 (prev_real_max_error): Likewise.
8479 (prev_imag_max_error): Likewise.
8480 (compare_ulp_data): Don't refer to test names in comment.
8481 (find_test_ulps): Remove function.
8482 (find_function_ulps): Likewise.
8483 (find_complex_function_ulps): Likewise.
8484 (init_max_error): Take function name as argument. Look up ulps
8485 for that function.
8486 (print_ulps): Remove function.
8487 (print_max_error): Use prev_max_error instead of calling
8488 find_function_ulps.
8489 (print_complex_max_error): Use prev_real_max_error and
8490 prev_imag_max_error instead of calling find_complex_function_ulps.
8491 (check_float_internal): Take max_ulp parameter instead of calling
8492 find_test_ulps. Don't call print_ulps.
8493 (check_float): Update call to check_float_internal.
8494 (check_complex): Update calls to check_float_internal.
8495 (START): Pass argument to init_max_error.
8496 * math/gen-libm-test.pl (%results): Don't include "kind"
8497 information.
8498 (parse_ulps): Don't handle ulps of individual tests.
8499 (print_ulps_file): Likewise.
8500 (output_ulps): Likewise.
8501 * math/README.libm-test: Update.
8502 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8503 individual tests.
8504 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8505 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8506 * sysdeps/arm/libm-test-ulps: Likewise.
8507 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8508 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8509 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8510 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8511 * sysdeps/microblaze/libm-test-ulps: Likewise.
8512 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8513 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8514 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8515 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8516 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8517 * sysdeps/sh/libm-test-ulps: Likewise.
8518 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8519 * sysdeps/tile/libm-test-ulps: Likewise.
8520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8521
45adef3c
JM
85222014-03-04 Joseph Myers <joseph@codesourcery.com>
8523
8524 * math/libm-test.inc (print_complex_max_error): Check separately
8525 whether real and imaginary errors are within allowed range and
8526 pass 0 to print_complex_function_ulps instead of value within
8527 allowed range.
8528
000232b9
SP
85292014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8530
d4b17258
SP
8531 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8532 formatting.
8533 (get_handles_fopen): Likewise.
8534 (do_write_test): Likewise.
8535
091eff71
SP
8536 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8537
fa3cd248
SP
8538 * libio/fileops.c (do_ftell): Use cached offset when
8539 available.
8540 * libio/iofwide.c (do_ftell_wide): Likewise.
8541 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8542 _IO_file_attach.
8543 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8544
000232b9
SP
8545 [BZ #16532]
8546 * libio/libioP.h (get_file_offset): New function.
8547 * libio/fileops.c (get_file_offset): Likewise.
8548 (do_ftell): Likewise.
8549 (_IO_new_file_seekoff): Split out ftell logic.
8550 * libio/wfileops.c (do_ftell_wide): Likewise.
8551 (_IO_wfile_seekoff): Split out ftell logic.
8552 * libio/tst-ftell-active-handler.c: New test case.
8553 * libio/Makefile (tests): Add it.
8554
116f4d1a
RM
85552014-03-03 Roland McGrath <roland@hack.frob.com>
8556
8557 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8558 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8559
532a6035
SP
85602014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8561
8562 [BZ #16639]
8563 * nscd/connections.c (nscd_init): Call do_exit.
8564 (start_threads): Call do_exit and notify_parent.
8565 (begin_drop_privileges): Call do_exit.
8566 (finish_drop_privileges): Likewise.
8567 * nscd/selinux.c (preserve_capabilities): Likewise.
8568 (install_real_capabilities): Likewise.
8569 (nscd_selinux_enabled): Likewise.
8570 (avc_create_thread): Likewise.
8571 (avc_alloc_lock): Likewise.
8572 (nscd_avc_init): Likewise.
8573 * nscd/nscd.c (parent_fd): New static variable.
8574 (main): Create a pipe between parent and child processes.
8575 Skip closing parent_fd.
8576 (monitor_child): New function.
8577 (do_exit): Likewise.
8578 (notify_parent): Likewise.
8579 * nscd/nscd.h (notify_parent): Likewise.
8580 (do_exit): Likewise.
8581
d6285c9f
CD
85822014-03-03 Carlos O'Donell <carlos@redhat.com>
8583
8584 * malloc/malloc.c (__libc_calloc): Revert last change.
8585
2b85d2a0
AZ
85862014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8587
8588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8589
c7debbdf
RS
85902014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8591
8592 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8594 implementation.
8595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8596 (__libc_ifunc_impl_list): Likewise.
8597 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8598 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8599 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8600 * string/strrchr.c: Define STRRCHR.
8601
235eed86
OB
86022014-02-28 Ondřej Bílka <neleai@seznam.cz>
8603
8604 * benchtest/bench-strtok.c (simple_strtok): Delete.
8605 (strtok_string): Use as benchmark.
8606 * string/strtok (STRTOK): New macro.
8607
8e25d1e7
CD
86082014-02-28 Carlos O'Donell <carlos@redhat.com>
8609
ef563f92
CD
8610 * manual/threads.texi: Add header and standard comments to all
8611 functions.
8612
8e25d1e7
CD
8613 * elf/dl-lookup.c (check_match): New function.
8614 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8615 (do_lookup_x): Remove nested function check_match. Use non-nested
8616 function check_match.
8617
ff71cc37
RM
86182014-02-28 Roland McGrath <roland@hack.frob.com>
8619
f08e9a26
RM
8620 * csu/Makefile (generated, before-compile): Use += rather than =.
8621 * catgets/Makefile (generated, generated-dirs): Likewise.
8622 * debug/Makefile (generated): Likewise.
8623 * dlfcn/Makefile (generated): Likewise.
8624 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8625 * iconvdata/Makefile (before-compile, generated): Likewise.
8626 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8627 * libio/Makefile (generated): Likewise.
8628 * malloc/Makefile (generated): Likewise.
8629 * manual/Makefile (generated, generated-dirs): Likewise.
8630 * misc/Makefile (generated): Likewise.
8631 * posix/Makefile (generated): Likewise.
8632 * resolv/Makefile (generated): Likewise.
8633 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8634 * timezone/Makefile (generated, generated-dirs): Likewise.
8635
ff71cc37
RM
8636 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8637
fe13a20c
AZ
86382014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8639
57f41c40
AS
8640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8641 power8 implementation.
8642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8643 file: POWER8 llround ifunc implementation.
8644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8645 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8646 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8647 POWER8 llround implementation.
8648
57f41c40
AS
8649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8650 power8 implementation.
8651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8652 file: POWER8 llrint ifunc implementation.
8653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8654 Add POWER8 implementation.
1ad8950a
AZ
8655 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8656 POWER8 llrint implementation.
8657
57f41c40
AS
8658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8659 power8 implementation.
8660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8661 file: POWER8 finite ifunc implementation.
8662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8663 Add POWER8 implementation.
cac626d6
AZ
8664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8665 Likewise.
8666 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8667 POWER8 finite implementation.
8668 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8669
57f41c40
AS
8670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8671 power8 implementation.
8672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8673 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8675 POWER8 implementation.
8676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8677 Likewise.
57f41c40
AS
8678 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8679 isinf implementation.
4393fc11
AZ
8680 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8681
57f41c40
AS
8682 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8683 (INIT_ARCH): Add hwcap2 initialization.
8684 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8685 power8 implementation.
8686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8687 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8689 POWER8 implementation.
8690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8691 Likewise.
57f41c40
AS
8692 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8693 isnan implementation.
487972ae
AZ
8694 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8695
7d92b787
JY
86962014-02-27 Joey Ye <joey.ye@arm.com>
8697
8698 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8699 (_FP_NANFRAC_Q): Set to zero.
8700
1cadc858
SP
87012014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8702
8703 [BZ #16623]
8704 * math/auto-libm-test-in: New test inputs.
8705 * math/auto-libm-test-out: Regenerate.
8706 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8707 and DA.
8708 (__cos): Likewise.
8709 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8710
f8c17e79
JM
87112014-02-27 Joseph Myers <joseph@codesourcery.com>
8712
8713 * scripts/evaluate-test.sh: Take new argument indicating whether
8714 failure is expected.
8715 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8716 indicating whether failure is expected.
8717 * conform/Makefile (test-xfail-run-conformtest): New variable.
8718 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8719 level.
8720 * posix/Makefile (test-xfail-annexc): New variable.
8721 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8722
a5f891ac
JM
87232014-02-26 Joseph Myers <joseph@codesourcery.com>
8724
8725 * argp/Makefile: Include Makeconfig immediately after defining
8726 subdir.
8727 * assert/Makefile: Likewise.
8728 * benchtests/Makefile: Likewise.
8729 * catgets/Makefile: Likewise.
8730 * conform/Makefile: Likewise.
8731 * crypt/Makefile: Likewise.
8732 * csu/Makefile: Likewise.
8733 (all): Remove target.
8734 * ctype/Makefile: Include Makeconfig immediately after defining
8735 subdir.
8736 * debug/Makefile: Likewise.
8737 * dirent/Makefile: Likewise.
8738 * dlfcn/Makefile: Likewise.
8739 * gmon/Makefile: Likewise.
8740 * gnulib/Makefile: Likewise.
8741 * grp/Makefile: Likewise.
8742 * gshadow/Makefile: Likewise.
8743 * hesiod/Makefile: Likewise.
8744 * hurd/Makefile: Likewise.
8745 (all): Remove target.
8746 * iconvdata/Makefile: Include Makeconfig immediately after
8747 defining subdir.
8748 * inet/Makefile: Likewise.
8749 * intl/Makefile: Likewise.
8750 * io/Makefile: Likewise.
8751 * libio/Makefile: Likewise.
8752 (all): Remove target.
8753 * locale/Makefile: Include Makeconfig immediately after defining
8754 subdir.
8755 * login/Makefile: Likewise.
8756 * mach/Makefile: Likewise.
8757 (all): Remove target.
8758 * malloc/Makefile: Include Makeconfig immediately after defining
8759 subdir.
8760 (all): Remove target.
8761 * manual/Makefile: Include Makeconfig immediately after defining
8762 subdir.
8763 * math/Makefile: Likewise.
8764 * misc/Makefile: Likewise.
8765 * nis/Makefile: Likewise.
8766 * nss/Makefile: Likewise.
8767 * po/Makefile: Likewise.
8768 (all): Remove target.
8769 * posix/Makefile: Include Makeconfig immediately after defining
8770 subdir.
8771 * pwd/Makefile: Likewise.
8772 * resolv/Makefile: Likewise.
8773 * resource/Makefile: Likewise.
8774 * rt/Makefile: Likewise.
8775 * setjmp/Makefile: Likewise.
8776 * shadow/Makefile: Likewise.
8777 * signal/Makefile: Likewise.
8778 * socket/Makefile: Likewise.
8779 * soft-fp/Makefile: Likewise.
8780 * stdio-common/Makefile: Likewise.
8781 * stdlib/Makefile: Likewise.
8782 * streams/Makefile: Likewise.
8783 * string/Makefile: Likewise.
8784 * sunrpc/Makefile: Likewise.
8785 (all): Remove target.
8786 * sysvipc/Makefile: Include Makeconfig immediately after defining
8787 subdir.
8788 * termios/Makefile: Likewise.
8789 * time/Makefile: Likewise.
8790 * timezone/Makefile: Likewise.
8791 (all): Remove target.
8792 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8793 subdir.
8794 * wctype/Makefile: Likewise.
8795
5b456e9d
SE
87962014-02-26 Steve Ellcey <sellcey@mips.com>
8797
8798 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8799 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8800 (libc_feholdexcept_setround_mips): Ditto.
8801 (libc_feholdsetround): New.
8802 (libc_feholdsetroundf): New.
8803 (libc_feholdsetroundl): New.
8804 (libc_feupdateenv_test_mips): New.
8805 (libc_feupdateenv_test): New.
8806 (libc_feupdateenv_testf): New.
8807 (libc_feupdateenv_testl): New.
8808 (libc_feresetround): New.
8809 (libc_feresetroundf): New.
8810 (libc_feresetroundl): New.
8811 (libc_fetestexcept_mips): New.
8812 (libc_fetestexcept): New.
8813 (libc_fetestexceptf): New.
8814 (libc_fetestexceptl): New.
8815 (HAVE_RM_CTX): New.
8816 (libc_feholdexcept_setround_mips_ctx): New.
8817 (libc_feholdexcept_setround_ctx): New.
8818 (libc_feholdexcept_setroundf_ctx): New.
8819 (libc_feholdexcept_setroundl_ctx): New.
8820 (libc_fesetenv_mips_ctx): New.
8821 (libc_fesetenv_ctx): New.
8822 (libc_fesetenv_ctxf): New.
8823 (libc_fesetenv_ctxl): New.
8824 (libc_feupdateenv_mips_ctx): New.
8825 (libc_feupdateenv_ctx): New.
8826 (libc_feupdateenvf_ctx): New.
8827 (libc_feupdateenvl_ctx): New.
8828 (libc_feholdsetround_mips_ctx): New.
8829 (libc_feholdsetround_ctx): New.
8830 (libc_feholdsetroundf_ctx): New.
8831 (libc_feholdsetroundl_ctx): New.
8832 (libc_feresetround_mips_ctx): New.
8833 (libc_feresetround_ctx): New.
8834 (libc_feresetroundf_ctx): New.
8835 (libc_feresetroundl_ctx): New.
8836
085d0e35
CD
88372014-02-26 Carlos O'Donell <carlos@redhat.com>
8838
f067bf1f
CD
8839 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8840
085d0e35
CD
8841 * manual/ipc.texi: New file.
8842 * manual/Makefile (chapters): Add ipc.
8843 * manual/job.texi: Add "Inter-Process Communication" to next.
8844 * manual/process.texi: Add "Inter-Process Communication" to prev.
8845
86e58c08
AZ
88462014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8847
8848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8849
4248f0da
OB
88502014-02-26 Ondřej Bílka <neleai@seznam.cz>
8851
8852 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8853
cf822e3c
OB
8854 * manual/arith.texi: Fix spaces after sentences.
8855 * manual/charset.texi: Likewise.
8856 * manual/errno.texi: Likewise.
8857 * manual/install.texi: Likewise.
8858 * manual/llio.texi: Likewise.
8859 * manual/locale.texi: Likewise.
8860 * manual/maint.texi: Likewise.
8861 * manual/math.texi: Likewise.
8862 * manual/memory.texi: Likewise.
8863 * manual/message.texi: Likewise.
8864 * manual/probes.texi: Likewise.
8865 * manual/resource.texi: Likewise.
8866 * manual/signal.texi: Likewise.
8867 * manual/socket.texi: Likewise.
8868 * manual/stdio.texi: Likewise.
8869 * manual/string.texi: Likewise.
8870 * manual/time.texi: Likewise.
8871 * manual/users.texi: Likewise.
8872
ade40b10
CD
88732014-02-25 Carlos O'Donell <carlos@redhat.com>
8874
8875 [BZ #16632]
8876 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8877 _DEFAULT_SOURCE is defined.
8878
d0503676
CD
88792014-02-25 Ulrich Drepper <drepper@gmail.com>
8880 Carlos O'Donell <carlos@redhat.com>
8881
8882 [BZ #16613]
8883 * elf/dl-tls.c (_dl_count_modids): New function.
8884 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8885 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8886 audit library and increment generation counter.
8887 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8888 * elf/tst-audit9.c: New file.
8889 * elf/tst-auditmod9a.c: New file.
8890 * elf/tst-auditmod9b.c: New file.
8891 * elf/Makefile: Add rules to build and run tst-audit9.
8892
4cbf380c
FW
88932014-02-25 Florian Weimer <fweimer@redhat.com>
8894
8895 [BZ #15347]
8896 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8897
80a56cc3
WN
88982014-02-25 Will Newton <will.newton@linaro.org>
8899
8900 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8901 (__longjmp): Restore sp and lr before restoring callee
8902 saved registers. Add longjmp and longjmp_target
8903 SystemTap probe point.
8904 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8905 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8906 Define to zero to match jmpbuf layout.
8907 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8908 (__sigsetjmp): Save sp and lr before saving callee
8909 saved registers. Add setjmp SystemTap probe point.
8910
3ea0f74e
SL
89112014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8912
8913 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8914
b04acb26
AS
89152014-02-24 Andreas Schwab <schwab@suse.de>
8916
8917 [BZ #15804]
8918 * elf/pldd.c (wait_for_ptrace_stop): New function.
8919 (main): Call it after attaching.
8920
098ad55c
RM
89212014-02-22 Roland McGrath <roland@hack.frob.com>
8922
d4ec6ae1
RM
8923 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8924 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8925 Versions files is now verboten.
8926 * hurd/Versions (libc: GLIBC_2.0):
8927 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8928 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8929 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8930 * mach/Versions: Likewise.
8931
098ad55c
RM
8932 * csu/Versions: Remove unused %include.
8933 * resolv/Versions: Likewise.
8934
acd7f096
JM
89352014-02-21 Joseph Myers <joseph@codesourcery.com>
8936
f0881698
JM
8937 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8938 ($(objpfx)check-local-headers.out): Likewise.
8939 ($(objpfx)begin-end-check.out): Likewise.
8940 * Makerules (check-abi-%.out): Likewise.
8941 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8942 ($(objpfx)test2.cat): Likewise.
8943 ($(objpfx)de/libc.cat): Likewise.
8944 ($(objpfx)test-gencat.out): Likewise.
8945 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8946 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8947 ($(objpfx)noload-mem): Likewise.
8948 ($(objpfx)tst-pathopt.out): Likewise.
8949 ($(objpfx)tst-rtld-load-self.out): Likewise.
8950 ($(objpfx)tst-array1-cmp.out): Likewise.
8951 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8952 ($(objpfx)tst-array2-cmp.out): Likewise.
8953 ($(objpfx)tst-array3-cmp.out): Likewise.
8954 ($(objpfx)tst-array4-cmp.out): Likewise.
8955 ($(objpfx)tst-array5-cmp.out): Likewise.
8956 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8957 ($(objpfx)check-textrel.out): Likewise.
8958 ($(objpfx)check-execstack.out): Likewise.
8959 ($(objpfx)check-localplt.out): Likewise.
8960 ($(objpfx)order2-cmp.out): Likewise.
8961 ($(objpfx)tst-leaks1-mem): Likewise.
8962 ($(objpfx)tst-leaks1-static-mem): Likewise.
8963 ($(objpfx)tst-initorder-cmp.out): Likewise.
8964 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8965 ($(objpfx)tst-unused-dep.out): Likewise.
8966 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8967 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8968 * iconv/Makefile (test-iconvconfig): Likewise.
8969 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8970 ($(objpfx)iconv-test.out): Likewise.
8971 ($(objpfx)tst-tables.out): Likewise.
8972 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8973 ($(objpfx)tst-gettext.out): Likewise.
8974 ($(objpfx)tst-translit.out): Likewise.
8975 ($(objpfx)tst-gettext2.out): Likewise.
8976 ($(objpfx)tst-gettext4.out): Likewise.
8977 ($(objpfx)tst-gettext6.out): Likewise.
8978 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8979 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8980 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8981 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8982 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8983 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8984 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8985 ($(objpfx)wordexp-tst.out): Likewise.
8986 ($(objpfx)annexc.out): Likewise.
8987 ($(objpfx)tst-fnmatch-mem): Likewise.
8988 ($(objpfx)bug-regex2-mem): Likewise.
8989 ($(objpfx)bug-regex14-mem): Likewise.
8990 ($(objpfx)bug-regex21-mem): Likewise.
8991 ($(objpfx)bug-regex31-mem): Likewise.
8992 ($(objpfx)tst-vfork3-mem): Likewise.
8993 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8994 ($(objpfx)tst-pcre-mem): Likewise.
8995 ($(objpfx)tst-boost-mem): Likewise.
8996 ($(objpfx)tst-getconf.out): Likewise.
8997 ($(objpfx)bug-ga2-mem): Likewise.
8998 ($(objpfx)bug-glob2-mem): Likewise.
8999 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9000 ($(objpfx)mtrace-tst-leaks2): Likewise.
9001 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9002 ($(objpfx)tst-printf.out): Likewise.
9003 ($(objpfx)tst-setvbuf1.out): Likewise.
9004 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9005 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9006 ($(objpfx)tst-fmtmsg.out): Likewise.
9007 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9008 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9009
acd7f096
JM
9010 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9011 * bits/sigaction.h [__USE_MISC]: Likewise.
9012 * bits/waitstatus.h: Update #endif comments.
9013 * ctype/ctype.h: Likewise.
9014 * dirent/dirent.h: Likewise.
9015 [__USE_MISC]: Remove redundant conditionals.
9016 * grp/grp.h: Update #endif comments.
9017 [__USE_GNU]: Remove redundant conditionals.
9018 [__USE_MISC]: Likewise.
9019 * inet/netinet/in.h [__USE_GNU]: Likewise.
9020 * io/sys/stat.h [__USE_MISC]: Likewise.
9021 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9022 * libio/bits/stdio.h: Update #endif comments.
9023 [__USE_MISC]: Remove redundant conditionals.
9024 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9025 * libio/stdio.h: Update #endif comments.
9026 [__USE_MISC]: Remove redundant conditionals.
9027 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9028 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9029 * math/math.h: Update #else and #endif comments.
9030 [__USE_MISC]: Remove redundant conditionals.
9031 * misc/sys/uio.h: Update #endif comments.
9032 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9033 * posix/glob.h [__USE_MISC]: Likewise.
9034 * posix/sys/types.h: Update #endif comments.
9035 [__USE_MISC]: Remove redundant conditionals.
9036 * posix/sys/wait.h: Update #endif comments.
9037 [__USE_MISC]: Remove redundant conditionals.
9038 * posix/unistd.h: Update #endif comments.
9039 [__USE_MISC]: Remove redundant conditionals.
9040 * pwd/pwd.h [__USE_GNU]: Likewise.
9041 [__USE_MISC]: Likewise.
9042 * resolv/netdb.h [__USE_GNU]: Likewise.
9043 * signal/signal.h: Update #endif comments.
9044 [__USE_MISC]: Remove redundant conditionals.
9045 * stdlib/stdlib.h: Update #else and #endif comments.
9046 [__USE_MISC]: Remove redundant conditionals.
9047 [__USE_GNU]: Likewise.
9048 * string/bits/string2.h [__USE_MISC]: Likewise.
9049 * string/string.h: Update #endif comments.
9050 [__USE_MISC]: Remove redundant conditionals.
9051 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9052 Likewise.
9053 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9054 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9055 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9056 Likewise.
9057 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9058 Likewise.
9059 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9060 comments.
9061 [__USE_MISC]: Remove redundant conditionals.
9062 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9063 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9064 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9065 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9066 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9067 Likewise.
9068 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9069 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9070 Likewise.
9071 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9072 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9073 Likewise.
9074 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9075 Likewise.
9076 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9077 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9078 Likewise.
9079 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9080 Likewise.
9081 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9082 * sysdeps/x86/bits/string.h: Update #endif comments.
9083 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9084 conditionals.
9085 * time/sys/time.h: Update #endif comments.
9086 * time/time.h: Likewise.
9087 [__USE_MISC]: Remove redundant conditionals.
9088
a5d82e4e
YG
90892014-02-21 Yury Gribov <y.gribov@samsung.com>
9090
9091 [BZ #16600]
9092 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9093
9a80491d
AS
90942014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9095
9096 * Versions.def (librt): Add GLIBC_2.17.
9097
105fa381
AC
90982014-02-21 Adam Conrad <adconrad@0c3.net>
9099
9100 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9101 synonym for _SYS_AUXV_H to allow direct inclusion.
9102 * sysdeps/sparc/bits/hwcap.h: Likewise.
9103 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9104 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9105 * sysdeps/sparc/sysdep.h: Likewise.
9106
b8cd1c4e
SP
91072014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9108
9109 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9110
bd939d23
RS
91112014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9112
9113 * benchtests/bench-strrchr.c: Print length instead of position.
9114
5d7b57ca
JM
91152014-02-20 Joseph Myers <joseph@codesourcery.com>
9116
bc688c10
JM
9117 [BZ #16611]
9118 * sysdeps/unix/sysv/linux/kernel-features.h
9119 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9120 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9121 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9122 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9123 Likewise.
9124 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9125 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9126 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9127 (__ASSUME_SENDMMSG): Define instead of using previous
9128 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9129 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9130 (__ASSUME_SENDMMSG_SYSCALL): Define.
9131 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9132 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9133 Likewise.
9134 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9135 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9136 Likewise.
9137 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9138 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9139 Likewise.
9140 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9141 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9142 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9143 [__ASSUME_SENDMMSG]: Change conditionals to
9144 [__ASSUME_SENDMMSG_SOCKETCALL].
9145 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9146 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9147 Define.
9148 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9149 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9150 Likewise.
9151 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9152 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9153 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9154 [!__ASSUME_SENDMMSG]: Change conditional to
9155 [!__ASSUME_SENDMMSG_SOCKETCALL].
9156 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9157 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9158 Define.
9159
0e31b18c
JM
9160 [BZ #16610]
9161 * sysdeps/unix/sysv/linux/kernel-features.h
9162 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9163 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9164 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9165 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9166 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9167 [__i386__ || __sparc__]
9168 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9169 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9170 (__ASSUME_RECVMMSG): Define instead of using previous
9171 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9172 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9173 (__ASSUME_RECVMMSG_SYSCALL): Define.
9174 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9175 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9176 Likewise.
9177 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9178 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9179 Likewise.
9180 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9181 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9182 Likewise.
9183 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9184 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9185 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9186 [__ASSUME_RECVMMSG]: Change condition to
9187 [__ASSUME_RECVMMSG_SOCKETCALL].
9188 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9189 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9190 Define.
9191 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9192 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9193 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9194 Likewise.
9195 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9196 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9197 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9198 [!__ASSUME_RECVMMSG]: Change condition to
9199 [!__ASSUME_RECVMMSG_SOCKETCALL].
9200 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9201 (__ASSUME_RECVMMSG_SYSCALL): Define.
9202
dd481ccf
JM
9203 [BZ #16609]
9204 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9205 __powerpc__ || __s390__ || __sh__ || __sparc__]
9206 (__ASSUME_SOCKETCALL): Define.
9207 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9208 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9209 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9210 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9211 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9212 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9213 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9214 (__ASSUME_ACCEPT4): Define instead of using previous
9215 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9216 __powerpc__ || __sparc__ || __s390__)] condition.
9217 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9218 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9219 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9220 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9221 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9222 [!__ASSUME_ACCEPT4]: Change condition to
9223 [!__ASSUME_ACCEPT4_SOCKETCALL].
9224 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9225 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9226 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9227 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9228 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9229 __ASSUME_ACCEPT4_SYSCALL.
9230 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9231 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9232 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9233 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9234 __ASSUME_ACCEPT4_SYSCALL.
9235 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9236 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9237 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9238 [__ASSUME_ACCEPT4]: Change condition to
9239 [__ASSUME_ACCEPT4_SOCKETCALL].
9240 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9241 (__ASSUME_SOCKETCALL): Define.
9242 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9243 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9244 (__ASSUME_SOCKETCALL): Define.
9245 (__ASSUME_ACCEPT4): Remove.
9246 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9247 Define.
9248 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9249 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9250 Likewise.
9251 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9252 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9253
5d7b57ca
JM
9254 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9255 macro.
9256 (HWCAP_ARM_LPAE): Likewise.
9257 (HWCAP_ARM_EVTSTRM): Likewise.
9258 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9259 Add vpfd32, lpae and evtstrm.
9260 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9261 Increase to 22.
9262
63689d61
JM
92632014-02-19 Joseph Myers <joseph@codesourcery.com>
9264
9265 * math/auto-libm-test-in: Add tests of clog10.
9266 * math/auto-libm-test-out: Regenerated.
9267 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9268 * sysdeps/i386/fpu/libm-test-ulps: Update.
9269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9270
ab09bf61
AS
92712014-02-18 Andreas Schwab <schwab@suse.de>
9272
9273 [BZ #16574]
9274 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9275 Store non-zero if the second buffer was newly allocated.
9276 (send_dg): Likewise.
9277 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9278 to send_vc and send_dg.
9279 (res_nsend): Pass NULL for ansp2_malloced.
9280 * resolv/res_query.c (__libc_res_nquery): Add parameter
9281 answerp2_malloced and pass it down to __libc_res_nsend.
9282 (res_nquery): Pass additional NULL to __libc_res_nquery.
9283 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9284 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9285 second answer buffer if answerp2_malloced was set.
9286 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9287 (__libc_res_nquerydomain): Add parameter
9288 answerp2_malloced and pass it down to __libc_res_nquery.
9289 (res_nquerydomain): Pass additional NULL to
9290 __libc_res_nquerydomain.
9291 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9292 additional NULL to __libc_res_nsend and __libc_res_nquery.
9293 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9294 additional NULL to __libc_res_nsearch.
9295 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9296 parameter of __libc_res_nsearch to check for separately allocated
9297 second buffer.
9298 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9299 __libc_res_nquery.
9300 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9301 additional NULL to __libc_res_nquery.
9302 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9303 __libc_res_nsearch.
9304 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9305 * include/resolv.h: Update prototypes of __libc_res_nquery,
9306 __libc_res_nsearch, __libc_res_nsend.
9307
a4fb7861
JM
93082014-02-18 Joseph Myers <joseph@codesourcery.com>
9309
c6af2d89
JM
9310 * math/auto-libm-test-in: Add tests of fma.
9311 * math/auto-libm-test-out: Regenerated.
9312 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9313 (fma_towardzero_test_data): Likewise.
9314 (fma_downward_test_data): Likewise.
9315 (fma_upward_test_data): Likewise.
9316 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9317 mpc_mode.
9318 (rounding_modes): Add values for new field.
9319 (func_calc_method): Add value mpfr_fff_f.
9320 (func_calc_desc): Add mpfr_fff_f union field.
9321 (test_function): Add field exact_args.
9322 (FUNC): Add macro argument EXACT_ARGS.
9323 (FUNC_mpfr_f_f): Update call to FUNC.
9324 (FUNC_mpfr_f_f): Likewise.
9325 (FUNC_mpfr_ff_f): Likewise.
9326 (FUNC_mpfr_if_f): Likewise.
9327 (FUNC_mpc_c_f): Likewise.
9328 (FUNC_mpc_c_c): Likewise.
9329 (test_functions): Add fma. Update calls to FUNC.
9330 (handle_input_arg): Add argument exact_args.
9331 (add_test): Update call to handle_input_arg.
9332 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9333 (output_for_one_input_case): Update call to calc_generic_results.
9334 Recalculate exact zero results in each rounding mode.
9335
a4fb7861
JM
9336 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9337 non-negative before setting low bit.
9338 * math/auto-libm-test-in: Mark one asin test possibly having
9339 spurious underflow.
9340 * math/auto-libm-test-out: Regenerated.
9341 * sysdeps/i386/fpu/libm-test-ulps: Update.
9342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9343
ef114eaf
DH
93442014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9345
2b7f4f2c
SP
9346 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9347 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9348 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
9349 * README: Add missing listing for microblaze*-*-linux-gnu.
9350
c70a4b1d
MF
93512014-02-16 Mike Frysinger <vapier@gentoo.org>
9352
9353 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9354 * sysdeps/unix/sysv/linux/ia64: Move directory from
9355 ports/sysdeps/unix/sysv/linux/ia64.
9356 * README: Update listing for ia64-*-linux-gnu.
9357
591aeaf7
TD
93582014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9359 Joseph Myers <joseph@codesourcery.com>
9360
9361 * Makeconfig (test-name): New variable.
9362 (evaluate-test): Likewise.
9363 * Makerules (do-test-clean): Remove .test-result files.
9364 (common-mostlyclean): Likewise.
9365 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9366 * scripts/evaluate-test.sh: New file.
9367
6e89caf1
JM
93682014-02-14 Joseph Myers <joseph@codesourcery.com>
9369
7f98f180
JM
9370 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9371 separate $(objpfx)tst-fopenloc-cmp.out and
9372 $(objpfx)tst-fopenloc-mem.out targets.
9373 (tests): Update dependencies.
9374 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9375 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9376 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9377 (tst-rxspencer-no-utf8-ARGS): New variable.
9378 (tst-rxspencer-no-utf8-ENV): Likewise.
9379 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9380 instead of $(objpfx)tst-rxspencer-mem.
9381 ($(objpfx)tst-rxspencer-mem): Change target to
9382 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9383 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9384 * posix/tst-rxspencer-no-utf8.c: New file.
9385
6e89caf1
JM
9386 * elf/Makefile ($(objpfx)order.out): Remove rule.
9387 [$(run-built-tests) = yes] (tests): Depend on
9388 $(objpfx)order-cmp.out.
9389 ($(objpfx)order-cmp.out): New rule.
9390 [$(run-built-tests) = yes] (tests): Depend on
9391 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9392 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9393 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9394 $(objpfx)tst-array5-static-cmp.out.
9395 ($(objpfx)tst-array1.out): Remove rule.
9396 ($(objpfx)tst-array1-cmp.out): New rule.
9397 ($(objpfx)tst-array1-static.out): Remove rule.
9398 ($(objpfx)tst-array1-static-cmp.out): New rule.
9399 ($(objpfx)tst-array2.out): Remove rule.
9400 ($(objpfx)tst-array2-cmp.out): New rule.
9401 ($(objpfx)tst-array3.out): Remove rule.
9402 ($(objpfx)tst-array3-cmp.out): New rule.
9403 ($(objpfx)tst-array4.out): Remove rule.
9404 ($(objpfx)tst-array4-cmp.out): New rule.
9405 ($(objpfx)tst-array5.out): Remove rule.
9406 ($(objpfx)tst-array5-cmp.out): New rule.
9407 ($(objpfx)tst-array5-static.out): Remove rule.
9408 ($(objpfx)tst-array5-static-cmp.out): New rule.
9409 [$(run-built-tests) = yes] (tests): Depend on
9410 $(objpfx)order2-cmp.out.
9411 ($(objpfx)order2.out): Remove rule.
9412 ($(objpfx)order2-cmp.out): New rule.
9413 ($(objpfx)tst-initorder.out): Remove rule.
9414 [$(run-built-tests) = yes] (tests): Depend on
9415 $(objpfx)tst-initorder-cmp.out.
9416 ($(objpfx)tst-initorder-cmp.out): New rule.
9417 ($(objpfx)tst-initorder2.out): Remove rule.
9418 [$(run-built-tests) = yes] (tests): Depend on
9419 $(objpfx)tst-initorder2-cmp.out.
9420 ($(objpfx)tst-initorder2-cmp.out): New rule.
9421 [$(run-built-tests) = yes] (tests): Depend on
9422 $(objpfx)tst-unused-dep-cmp.out.
9423 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9424 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9425 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9426 on $(objpfx)tst-setvbuf1-cmp.out.
9427 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9428 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9429 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9430 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9431 ($(objpfx)tst-svc.out): Remove rule.
9432 ($(objpfx)tst-svc-cmp.out): New rule.
9433
ed9a38e2
JM
94342014-02-13 Joseph Myers <joseph@codesourcery.com>
9435
9436 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9437 * ctype/ctype.h [__USE_MISC]: Likewise.
9438 * dirent/dirent.h [__USE_MISC]: Likewise.
9439 * grp/grp.h [__USE_MISC]: Likewise.
9440 * io/fcntl.h [__USE_MISC]: Likewise.
9441 * io/sys/stat.h [__USE_MISC]: Likewise.
9442 * libio/stdio.h [__USE_MISC]: Likewise.
9443 * posix/unistd.h [__USE_MISC]: Likewise.
9444 * pwd/pwd.h [__USE_MISC]: Likewise.
9445 * stdlib.h [__USE_MISC]: Likewise.
9446 * string/bits/string2.h [__USE_MISC]: Likewise.
9447 * string/string.h [__USE_MISC]: Likewise.
9448 * time/time.h [__USE_MISC]: Likewise.
9449
d6680619
AS
94502014-02-13 Andreas Schwab <schwab@suse.de>
9451
9452 [BZ #16574]
9453 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9454 second answer buffer if it was separately allocated.
9455
ace614b8
JM
94562014-02-12 Joseph Myers <joseph@codesourcery.com>
9457
743151ae
JM
9458 * sysdeps/mips/math-tests.h: Include <features.h>.
9459 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9460 (ROUNDING_TESTS_long_double): Do not define.
9461 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9462 (EXCEPTION_TESTS_long_double): Likewise.
9463 * sysdeps/mips/mips64/libm-test-ulps: Update.
9464
498afc54
JM
9465 * include/features.h (__USE_BSD): Remove macro definitions.
9466 (__USE_SVID): Likewise.
9467 (_BSD_SOURCE): Likewise.
9468 (_SVID_SOURCE): Likewise.
9469 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9470 from definition of _DEFAULT_SOURCE.
9471 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9472 [_DEFAULT_SOURCE].
9473 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9474 * bits/mman.h [__USE_BSD]: Likewise.
9475 * bits/termios.h [__USE_BSD]: Likewise.
9476 * bits/waitstatus.h [__USE_BSD]: Likewise.
9477 * ctype/ctype.h [__USE_SVID]: Likewise.
9478 * dirent/dirent.h [__USE_BSD]: Likewise.
9479 * grp/grp.h [__USE_SVID]: Likewise.
9480 [__USE_BSD]: Likewise.
9481 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9482 * io/fcntl.h [__USE_BSD]: Likewise.
9483 * io/ftw.h [__USE_BSD]: Likewise.
9484 * io/sys/stat.h [__USE_BSD]: Likewise.
9485 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9486 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9487 * libio/stdio.h [__USE_SVID]: Likewise.
9488 [__USE_BSD]: Likewise.
9489 * math/math.h [__USE_SVID]: Likewise.
9490 [__USE_BSD]: Likewise.
9491 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9492 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9493 * misc/search.h [__USE_SVID]: Likewise.
9494 * misc/sys/mman.h [__USE_BSD]: Likewise.
9495 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9496 * misc/sys/uio.h [__USE_BSD]: Likewise.
9497 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9498 * posix/glob.h [__USE_BSD]: Likewise.
9499 * posix/regex.h [__USE_BSD]: Likewise.
9500 * posix/sys/types.h [__USE_BSD]: Likewise.
9501 [__USE_SVID]: Likewise.
9502 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9503 * posix/sys/wait.h [__USE_BSD]: Likewise.
9504 [__USE_SVID]: Likewise.
9505 * posix/unistd.h [__USE_BSD]: Likewise.
9506 [__USE_SVID]: Likewise.
9507 * pwd/pwd.h [__USE_SVID]: Likewise.
9508 * resolv/netdb.h [__USE_BSD]: Likewise.
9509 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9510 * signal/signal.h [__USE_BSD]: Likewise.
9511 [__USE_SVID]: Likewise.
9512 * socket/sys/socket.h [__USE_BSD]: Likewise.
9513 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9514 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9515 [__USE_SVID]: Likewise.
9516 * string/bits/string2.h [__USE_BSD]: Likewise.
9517 [__USE_SVID]: Likewise.
9518 * string/bits/string3.h [__USE_BSD]: Likewise.
9519 * string/endian.h [__USE_BSD]: Likewise.
9520 * string/string.h [__USE_SVID]: Likewise.
9521 [__USE_BSD]: Likewise.
9522 * string/strings.h [__USE_BSD]: Likewise.
9523 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9524 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9525 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9526 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9527 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9528 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9529 Likewise.
9530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9531 Likewise.
9532 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9533 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9534 Likewise.
9535 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9536 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9537 Likewise.
9538 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9539 Likewise.
9540 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9541 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9542 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9543 Likewise.
9544 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9545 Likewise.
9546 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9547 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9548 * termios/termios.h [__USE_BSD]: Likewise.
9549 * time/sys/time.h [__USE_BSD]: Likewise.
9550 * time/time.h [__USE_BSD]: Likewise.
9551 [__USE_SVID]: Likewise.
9552
dd7b064c
JM
9553 * Makefile (subdir_targets): Remove subdir_lint.out.
9554
a2c4c199
JM
9555 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9556 (do-tst-printf): Likewise.
9557 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9558 $(objpfx)tst-printf.out.
9559
8756f740
JM
9560 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9561
1b6dd3f1
JM
9562 * Makerules (check-abi-%): Change target to
9563 $(objpfx)check-abi-%.out.
9564 (check-abi target): Update dependencies.
9565 (check-abi-pattern variable): Redirect output of diff to $@.
9566 (check-abi variable): Likewise.
9567 * elf/Makefile (check-abi): Update dependencies.
9568
ace614b8
JM
9569 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9570 unused.
9571 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9572 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9573 subnormal range.
9574 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9575 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9576 value has largest subnormal exponent.
9577 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9578 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9579 * sysdeps/aarch64/soft-fp/sfp-machine.h
9580 (_FP_TININESS_AFTER_ROUNDING): New macro.
9581 * sysdeps/alpha/soft-fp/sfp-machine.h
9582 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9583 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9584 Likewise.
9585 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9586 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9587 * sysdeps/mips/soft-fp/sfp-machine.h
9588 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9589 * sysdeps/powerpc/soft-fp/sfp-machine.h
9590 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9591 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9592 Likewise.
9593 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9594 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9595 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9596 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9597 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9598 Likewise.
9599
fbfdf9cb
DAS
96002014-02-12 Dylan Alex Simon <dylan@dylex.net>
9601
9602 [BZ #16545]
9603 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9604 model 1.
9605
68b7efaa
RH
96062014-02-12 Richard Henderson <rth@redhat.com>
9607
c70a4b1d 9608 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9609 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9610 * sysdeps/unix/sysv/linux/alpha: Move directory from
9611 ports/sysdeps/unix/sysv/linux/alpha.
9612 * README: Update listing for alpha-*-linux-gnu.
9613
cb4a2928
JM
96142014-02-11 Joseph Myers <joseph@codesourcery.com>
9615
c941736c
JM
9616 * include/features.h: Update comment documenting feature test
9617 macros.
9618 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9619 _DEFAULT_SOURCE.
9620 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9621 (_SVID_SOURCE): Likewise.
9622 (_DEFAULT_SOURCE): Update description of default features.
9623 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9624 with _GNU_SOURCE.
9625 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9626 (S_ISVTX): Likewise.
9627 * manual/math.texi (Mathematical Constants): Likewise.
9628 * manual/signal.texi (Interrupted Primitives): Likewise.
9629 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9630 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9631 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9632 Don't refer to _SVID_SOURCE in warning text.
9633
e8d8d7ec
JM
9634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9635
cb4a2928
JM
9636 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9637 already defined.
9638 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9639 * sysdeps/mips/dl-lookup.c: Remove.
9640 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9641
7e6424e3
AK
96422014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9643
9644 [BZ #16447]
9645 * math/auto-libm-test-in: Add testcase for expl.
9646 * math/auto-libm-test-out: Regenerate.
9647 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9648 calculation of unsafe.
9649 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9650
75eff3fe
MS
96512014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9652
9653 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9654 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9655 ports/sysdeps/unix/sysv/linux/aarch64.
9656 * README: Update listing for aarch64*-*-linux-gnu.
9657
d35f1e80
WN
96582014-02-11 Will Newton <will.newton@linaro.org>
9659
9660 * manual/probes.texi (Mathematical Function Probes): Use
9661 "triggered" instead of "hit".
9662
7b3436d4
WN
9663 * manual/probes.texi (Internal Probes): Add documentation
9664 of setjmp, longjmp and longjmp_target probes.
9665
b4f12ca3
WN
9666 * include/stap-probe.h: Add comment about probe argument
9667 format.
9668
c13a72b7
WN
9669 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9670 definition. (tr_where, tr_freehook, tr_mallochook,
9671 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9672
195b8165
DM
96732014-02-11 David S. Miller <davem@davemloft.net>
9674
9675 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9676 processing int_tests.
9677
2ad7600b
JM
96782014-02-10 Joseph Myers <joseph@codesourcery.com>
9679
9680 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9681 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9682 * sysdeps/unix/sysv/linux/mips: Move directory from
9683 ports/sysdeps/unix/sysv/linux/mips.
9684 * README: Update listing for mips-*-linux-gnu and
9685 mips64-*-linux-gnu.
9686
73588a72
AS
96872014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9688
9689 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9690 * sysdeps/unix/sysv/linux/m68k: Move directory from
9691 ports/sysdeps/unix/sysv/linux/m68k.
9692 * README: Update listing for m68k-*-linux-gnu.
9693
4372980f
CM
96942014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9695
9696 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9697 * sysdeps/unix/sysv/linux/generic: Move directory from
9698 ports/sysdeps/unix/sysv/linux/generic.
9699 * sysdeps/unix/sysv/linux/tile: Move directory from
9700 ports/sysdeps/unix/sysv/linux/tile.
9701 * README: Update listing for tile*-*-linux-gnu.
9702
a1ffb40e
OB
97032014-02-10 Ondřej Bílka <neleai@seznam.cz>
9704
57f41c40
AS
9705 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9706 __builtin_expect.
a1ffb40e
OB
9707 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9708 * catgets/open_catalog.c (__open_catalog): Likewise.
9709 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9710 * debug/confstr_chk.c: Likewise.
9711 * debug/fread_chk.c (__fread_chk): Likewise.
9712 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9713 * debug/getgroups_chk.c: Likewise.
9714 * debug/mbsnrtowcs_chk.c: Likewise.
9715 * debug/mbsrtowcs_chk.c: Likewise.
9716 * debug/mbstowcs_chk.c: Likewise.
9717 * debug/memcpy_chk.c: Likewise.
9718 * debug/memmove_chk.c: Likewise.
9719 * debug/mempcpy_chk.c: Likewise.
9720 * debug/memset_chk.c: Likewise.
9721 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9722 * debug/strcat_chk.c (__strcat_chk): Likewise.
9723 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9724 * debug/strncat_chk.c (__strncat_chk): Likewise.
9725 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9726 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9727 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9728 * debug/wcpncpy_chk.c: Likewise.
9729 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9730 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9731 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9732 * debug/wcsncpy_chk.c: Likewise.
9733 * debug/wcsnrtombs_chk.c: Likewise.
9734 * debug/wcsrtombs_chk.c: Likewise.
9735 * debug/wcstombs_chk.c: Likewise.
9736 * debug/wmemcpy_chk.c: Likewise.
9737 * debug/wmemmove_chk.c: Likewise.
9738 * debug/wmempcpy_chk.c: Likewise.
9739 * debug/wmemset_chk.c: Likewise.
9740 * dirent/scandirat.c (SCANDIRAT): Likewise.
9741 * dlfcn/dladdr1.c (dladdr1): Likewise.
9742 * dlfcn/dladdr.c (dladdr): Likewise.
9743 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9744 * dlfcn/dlerror.c (__dlerror): Likewise.
9745 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9746 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9747 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9748 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9749 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9750 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9751 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9752 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9753 Likewise.
9754 * elf/dl-conflict.c: Likewise.
9755 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9756 * elf/dl-dst.h: Likewise.
9757 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9758 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9759 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9760 * elf/dl-init.c (call_init, _dl_init): Likewise.
9761 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9762 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9763 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9764 Likewise.
a1ffb40e
OB
9765 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9766 Likewise.
9767 * elf/dl-minimal.c (__libc_memalign): Likewise.
9768 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9769 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9770 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9771 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9772 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9773 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9774 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9775 * elf/dl-writev.h (_dl_writev): Likewise.
9776 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9777 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9778 (dl_main): Likewise.
a1ffb40e
OB
9779 * elf/setup-vdso.h (setup_vdso): Likewise.
9780 * grp/compat-initgroups.c (compat_call): Likewise.
9781 * grp/fgetgrent.c (fgetgrent): Likewise.
9782 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9783 * grp/putgrent.c (putgrent): Likewise.
9784 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9785 Likewise.
9786 * hurd/hurdinit.c: Likewise.
9787 * iconvdata/8bit-gap.c (struct): Likewise.
9788 * iconvdata/ansi_x3.110.c : Likewise.
9789 * iconvdata/big5.c : Likewise.
9790 * iconvdata/big5hkscs.c : Likewise.
9791 * iconvdata/cp1255.c: Likewise.
9792 * iconvdata/cp1258.c : Likewise.
9793 * iconvdata/cp932.c : Likewise.
9794 * iconvdata/euc-cn.c: Likewise.
9795 * iconvdata/euc-jisx0213.c : Likewise.
9796 * iconvdata/euc-jp.c: Likewise.
9797 * iconvdata/euc-jp-ms.c : Likewise.
9798 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9799 * iconvdata/gb18030.c : Likewise.
9800 * iconvdata/gbbig5.c (const): Likewise.
9801 * iconvdata/gbgbk.c: Likewise.
9802 * iconvdata/gbk.c : Likewise.
9803 * iconvdata/ibm1364.c : Likewise.
9804 * iconvdata/ibm930.c : Likewise.
9805 * iconvdata/ibm932.c: Likewise.
9806 * iconvdata/ibm933.c : Likewise.
9807 * iconvdata/ibm935.c : Likewise.
9808 * iconvdata/ibm937.c : Likewise.
9809 * iconvdata/ibm939.c : Likewise.
9810 * iconvdata/ibm943.c: Likewise.
9811 * iconvdata/iso_11548-1.c: Likewise.
9812 * iconvdata/iso-2022-cn.c : Likewise.
9813 * iconvdata/iso-2022-cn-ext.c : Likewise.
9814 * iconvdata/iso-2022-jp-3.c: Likewise.
9815 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9816 * iconvdata/iso-2022-kr.c : Likewise.
9817 * iconvdata/iso646.c (gconv_end): Likewise.
9818 * iconvdata/iso_6937-2.c : Likewise.
9819 * iconvdata/iso_6937.c : Likewise.
9820 * iconvdata/iso8859-1.c: Likewise.
9821 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9822 * iconvdata/shift_jisx0213.c : Likewise.
9823 * iconvdata/sjis.c : Likewise.
9824 * iconvdata/t.61.c : Likewise.
9825 * iconvdata/tcvn5712-1.c : Likewise.
9826 * iconvdata/tscii.c: Likewise.
9827 * iconvdata/uhc.c : Likewise.
9828 * iconvdata/unicode.c (gconv_end): Likewise.
9829 * iconvdata/utf-16.c (gconv_end): Likewise.
9830 * iconvdata/utf-32.c (gconv_end): Likewise.
9831 * iconvdata/utf-7.c (base64): Likewise.
9832 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9833 * iconv/gconv_close.c (__gconv_close): Likewise.
9834 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9835 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9836 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9837 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9838 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9839 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9840 * iconv/iconv.c (iconv): Likewise.
9841 * iconv/iconv_close.c: Likewise.
9842 * iconv/loop.c (SINGLE): Likewise.
9843 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9844 * include/atomic.h: Likewise.
9845 * inet/inet6_option.c (option_alloc): Likewise.
9846 * intl/bindtextdom.c (set_binding_values): Likewise.
9847 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9848 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9849 * intl/localealias.c (read_alias_file): Likewise.
9850 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9851 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9852 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9853 * libio/fmemopen.c (fmemopen): Likewise.
9854 * libio/iofgets.c (_IO_fgets): Likewise.
9855 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9856 * libio/iofgetws.c (fgetws): Likewise.
9857 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9858 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9859 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9860 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9861 * locale/findlocale.c (_nl_find_locale): Likewise.
9862 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9863 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9864 Likewise.
9865 * locale/setlocale.c (setlocale): Likewise.
9866 * login/programs/pt_chown.c (main): Likewise.
9867 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9868 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9869 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9870 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9871 * math/e_exp2l.c: Likewise.
9872 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9873 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9874 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9875 * math/s_catan.c (__catan): Likewise.
9876 * math/s_catanf.c (__catanf): Likewise.
9877 * math/s_catanh.c (__catanh): Likewise.
9878 * math/s_catanhf.c (__catanhf): Likewise.
9879 * math/s_catanhl.c (__catanhl): Likewise.
9880 * math/s_catanl.c (__catanl): Likewise.
9881 * math/s_ccosh.c (__ccosh): Likewise.
9882 * math/s_ccoshf.c (__ccoshf): Likewise.
9883 * math/s_ccoshl.c (__ccoshl): Likewise.
9884 * math/s_cexp.c (__cexp): Likewise.
9885 * math/s_cexpf.c (__cexpf): Likewise.
9886 * math/s_cexpl.c (__cexpl): Likewise.
9887 * math/s_clog10.c (__clog10): Likewise.
9888 * math/s_clog10f.c (__clog10f): Likewise.
9889 * math/s_clog10l.c (__clog10l): Likewise.
9890 * math/s_clog.c (__clog): Likewise.
9891 * math/s_clogf.c (__clogf): Likewise.
9892 * math/s_clogl.c (__clogl): Likewise.
9893 * math/s_csin.c (__csin): Likewise.
9894 * math/s_csinf.c (__csinf): Likewise.
9895 * math/s_csinh.c (__csinh): Likewise.
9896 * math/s_csinhf.c (__csinhf): Likewise.
9897 * math/s_csinhl.c (__csinhl): Likewise.
9898 * math/s_csinl.c (__csinl): Likewise.
9899 * math/s_csqrt.c (__csqrt): Likewise.
9900 * math/s_csqrtf.c (__csqrtf): Likewise.
9901 * math/s_csqrtl.c (__csqrtl): Likewise.
9902 * math/s_ctan.c (__ctan): Likewise.
9903 * math/s_ctanf.c (__ctanf): Likewise.
9904 * math/s_ctanh.c (__ctanh): Likewise.
9905 * math/s_ctanhf.c (__ctanhf): Likewise.
9906 * math/s_ctanhl.c (__ctanhl): Likewise.
9907 * math/s_ctanl.c (__ctanl): Likewise.
9908 * math/w_pow.c: Likewise.
9909 * math/w_powf.c: Likewise.
9910 * math/w_powl.c: Likewise.
9911 * math/w_scalb.c (sysv_scalb): Likewise.
9912 * math/w_scalbf.c (sysv_scalbf): Likewise.
9913 * math/w_scalbl.c (sysv_scalbl): Likewise.
9914 * misc/error.c (error_tail): Likewise.
9915 * misc/pselect.c (__pselect): Likewise.
9916 * nis/nis_callback.c (__nis_create_callback): Likewise.
9917 * nis/nis_call.c (__nisfind_server): Likewise.
9918 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9919 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9920 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9921 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9922 * nis/nis_lookup.c (nis_lookup): Likewise.
9923 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
9924 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9925 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9926 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9927 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9928 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9929 * nis/nss_compat/compat-initgroups.c (add_group)
9930 (internal_getgrent_r): Likewise.
9931 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9932 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9933 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9934 (internal_getspnam_r): Likewise.
9935 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9936 (_nss_nis_getaliasbyname_r): Likewise.
9937 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9938 (_nss_nis_getntohost_r): Likewise.
9939 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9940 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9941 (_nss_nis_getgrgid_r): Likewise.
9942 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9943 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9944 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9945 (_nss_nis_gethostbyname4_r): Likewise.
9946 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9947 (initgroups_netid): Likewise.
a1ffb40e 9948 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9949 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9950 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9951 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9952 (_nss_nis_getprotobynumber_r): Likewise.
9953 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9954 (_nss_nis_getsecretkey): Likewise.
9955 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9956 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9957 (_nss_nis_getpwuid_r): Likewise.
9958 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9959 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9960 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9961 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9962 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9963 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9964 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9965 Likewise.
57f41c40
AS
9966 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9967 (_nss_nisplus_getntohost_r): Likewise.
9968 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9969 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9970 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9971 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9972 Likewise.
57f41c40
AS
9973 * nis/nss_nisplus/nisplus-initgroups.c
9974 (_nss_nisplus_initgroups_dyn): Likewise.
9975 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9976 (_nss_nisplus_getnetbyaddr_r): Likewise.
9977 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9978 (_nss_nisplus_getprotobynumber_r): Likewise.
9979 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9980 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9981 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9982 Likewise.
57f41c40
AS
9983 * nis/nss_nisplus/nisplus-service.c
9984 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9985 (_nss_nisplus_getservbyport_r): Likewise.
9986 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9987 (_nss_nisplus_getspnam_r): Likewise.
9988 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9989 Likewise.
a1ffb40e
OB
9990 * nscd/aicache.c (addhstaiX): Likewise.
9991 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9992 * nscd/connections.c (register_traced_file, send_ro_fd)
9993 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9994 (main_loop_epoll): Likewise.
a1ffb40e
OB
9995 * nscd/grpcache.c (addgrbyX): Likewise.
9996 * nscd/hstcache.c (addhstbyX): Likewise.
9997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9998 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9999 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10000 (addinnetgrX): Likewise.
10001 * nscd/nscd-client.h (__nscd_acquire_maplock)
10002 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10003 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10004 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10005 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10006 Likewise.
10007 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10008 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10009 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10010 (__nscd_get_map_ref): Likewise.
a1ffb40e 10011 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10012 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10013 Likewise.
a1ffb40e
OB
10014 * nscd/pwdcache.c (addpwbyX): Likewise.
10015 * nscd/selinux.c (preserve_capabilities): Likewise.
10016 * nscd/servicescache.c (addservbyX): Likewise.
10017 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10018 * posix/fnmatch.c (fnmatch): Likewise.
10019 * posix/getopt.c (_getopt_internal_r): Likewise.
10020 * posix/glob.c (glob, glob_in_dir): Likewise.
10021 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10022 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10023 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10024 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10025 * resolv/res_init.c: Likewise.
10026 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10027 * resolv/res_query.c (__libc_res_nquery): Likewise.
10028 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10029 Likewise.
10030 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10031 * stdio-common/perror.c (perror): Likewise.
10032 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10033 * stdio-common/tmpnam.c (tmpnam): Likewise.
10034 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10035 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10036 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10037 Likewise.
a1ffb40e
OB
10038 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10039 * stdlib/putenv.c (putenv): Likewise.
10040 * stdlib/setenv.c (__add_to_environ): Likewise.
10041 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10042 * stdlib/strtol_l.c (INTERNAL): Likewise.
10043 * string/memmem.c (memmem): Likewise.
10044 * string/strerror.c (strerror): Likewise.
10045 * string/strnlen.c (__strnlen): Likewise.
10046 * string/test-memmem.c (simple_memmem): Likewise.
10047 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10048 * sunrpc/pm_getport.c (__get_socket): Likewise.
10049 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10050 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10051 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10052 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10053 Likewise.
10054 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10055 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10056 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10057 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10058 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10059 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10060 Likewise.
10061 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10062 Likewise.
a1ffb40e
OB
10063 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10064 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10066 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10067 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10069 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10070 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10071 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10072 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10073 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10074 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10075 Likewise.
10076 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10077 Likewise.
10078 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10079 Likewise.
10080 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10082 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10083 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10084 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10085 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10086 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10087 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10089 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10090 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10092 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10093 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10095 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10096 Likewise.
a1ffb40e
OB
10097 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10098 Likewise.
10099 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10100 Likewise.
10101 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10102 Likewise.
10103 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10105 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10106 Likewise.
10107 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10108 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10109 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10110 * sysdeps/posix/sleep.c: Likewise.
10111 * sysdeps/posix/tempname.c: Likewise.
10112 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10113 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10114 Likewise.
57f41c40
AS
10115 * sysdeps/powerpc/powerpc32/dl-machine.h
10116 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10117 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10118 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10119 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10120 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10121 Likewise.
10122 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10123 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10124 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10125 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10126 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10127 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10128 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10129 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10130 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10131 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10132 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10133 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10134 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10135 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10136 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10137 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10138 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10139 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10140 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10141 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10142 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10143 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10145 Likewise.
10146 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10147 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10148 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10149 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10150 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10151 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10152 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10153 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10154 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10155 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10156 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10157 Likewise.
10158 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10159 (__posix_fallocate64_l64): Likewise.
10160 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10161 (posix_fallocate): Likewise.
57f41c40
AS
10162 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10163 Likewise.
a1ffb40e 10164 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10165 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10166 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10167 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10168 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10169 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10170 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10171 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10172 (__posix_fallocate64_l64): Likewise.
10173 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10174 Likewise.
10175 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10176 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10177 (__get_clockfreq): Likewise.
a1ffb40e
OB
10178 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10179 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10180 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10183 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10184 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10185 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10186 Likewise.
10187 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10188 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10189 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10190 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10191 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10192 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10193 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10194 Likewise.
10195 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10196 (posix_fallocate): Likewise.
10197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10198 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10199 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10200 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10201 (elf_machine_rela, elf_machine_rela_relative)
10202 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10203 * time/asctime.c (asctime_internal): Likewise.
10204 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10205 * time/tzset.c (__tzset_parse_tz): Likewise.
10206 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10207 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10208 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10209 * wcsmbs/wcsmbsload.h: Likewise.
10210
f3d338c9
OB
10211 [BZ #15894]
10212 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10213
57f41c40
AS
10214 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10215 (arena_get2): Remove THREAD_STATS conditionals.
10216 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10217 (__malloc_stats, int): Likewise.
bdfe308a 10218
d674667c
MF
102192014-02-08 Mike Frysinger <vapier@gentoo.org>
10220
10221 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10222 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10223
6349768c
MF
10224 * manual/setjmp.texi: Fix typos/grammar errors.
10225
0b7c7473
MF
10226 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10227 Only return early when n is <= 0. Delete unused return statement.
10228
ac8cc9e3
MF
10229 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10230 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10231 * debug/tst-longjmp_chk3.c: New file.
10232
c5bb8e23
MF
10233 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10234 (test_main): Replace code with set_fortify_handler call.
10235 * debug/test-strcpy_chk.c: Likewise.
10236 * debug/tst-chk1.c: Likewise.
10237 * debug/tst-longjmp_chk.c: Likewise.
10238 * test-skeleton.c: Include fcntl.h & paths.h
10239 (set_fortify_handler): Define.
10240
10444e42
MF
10241 * debug/tst-longjmp_chk.c: Add header comment and include
10242 ../test-skeleton.c.
10243 (do_test): Mark static.
10244 (TEST_FUNCTION): Define.
10245
1e805e8d
MF
10246 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10247 (IP_PMTUDISC_INTERFACE): Likewise.
10248 (IP_MULTICAST_IF): Likewise.
10249 (IP_MULTICAST_TTL): Likewise.
10250 (IP_MULTICAST_LOOP): Likewise.
10251 (IP_ADD_MEMBERSHIP): Likewise.
10252 (IP_DROP_MEMBERSHIP): Likewise.
10253 (IP_UNBLOCK_SOURCE): Likewise.
10254 (IP_BLOCK_SOURCE): Likewise.
10255 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10256 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10257 (IP_MSFILTER): Likewise.
10258 (MCAST_JOIN_GROUP): Likewise.
10259 (MCAST_BLOCK_SOURCE): Likewise.
10260 (MCAST_UNBLOCK_SOURCE): Likewise.
10261 (MCAST_LEAVE_GROUP): Likewise.
10262 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10263 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10264 (MCAST_MSFILTER): Likewise.
10265 (IP_MULTICAST_ALL): Likewise.
10266 (IP_UNICAST_IF): Likewise.
10267
73f79bb7
MF
10268 * timezone/Makefile: Delete $(have-ksh) check.
10269 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10270 * timezone/tzselect.ksh: Add +x mode bits.
10271
8da79b60
MF
10272 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10273 (ANON_INODE_FS_MAGIC): Likewise.
10274 (BDEVFS_MAGIC): Likewise.
10275 (BINFMTFS_MAGIC): Likewise.
10276 (BTRFS_TEST_MAGIC): Likewise.
10277 (CRAMFS_MAGIC_WEND): Likewise.
10278 (DEBUGFS_MAGIC): Likewise.
10279 (ECRYPTFS_SUPER_MAGIC): Likewise.
10280 (EXT3_SUPER_MAGIC): Likewise.
10281 (EXT4_SUPER_MAGIC): Likewise.
10282 (FUTEXFS_SUPER_MAGIC): Likewise.
10283 (HOSTFS_SUPER_MAGIC): Likewise.
10284 (HUGETLBFS_MAGIC): Likewise.
10285 (MINIX3_SUPER_MAGIC): Likewise.
10286 (MTD_INODE_FS_MAGIC): Likewise.
10287 (NILFS_SUPER_MAGIC): Likewise.
10288 (OPENPROM_SUPER_MAGIC): Likewise.
10289 (PIPEFS_MAGIC): Likewise.
10290 (PSTOREFS_MAGIC): Likewise.
10291 (QNX6_SUPER_MAGIC): Likewise.
10292 (RAMFS_MAGIC): Likewise.
10293 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10294 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10295 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10296 (SECURITYFS_MAGIC): Likewise.
10297 (SELINUX_MAGIC): Likewise.
10298 (SMACK_MAGIC): Likewise.
10299 (SOCKFS_MAGIC): Likewise.
10300 (SQUASHFS_MAGIC): Likewise.
10301 (STACK_END_MAGIC): Likewise.
10302 (TMPFS_MAGIC): Likewise.
10303 (USBDEVICE_SUPER_MAGIC): Likewise.
10304 (V9FS_MAGIC): Likewise.
10305 (XENFS_SUPER_MAGIC): Likewise.
10306 (CRAMFS_MAGIC): Fix typo in comment.
10307 (EXT2_SUPER_MAGIC): Update comment.
10308 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10309
464263cc
JM
103102014-02-08 Joseph Myers <joseph@codesourcery.com>
10311
c6bfe5c4
JM
10312 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10313 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10314 * sysdeps/unix/sysv/linux/arm: Move directory from
10315 ports/sysdeps/unix/sysv/linux/arm.
10316 * README: Update listing for arm-*-linux-gnueabi.
10317
464263cc
JM
10318 * README: Remove mention of am33.
10319
32749f6c
RM
103202014-02-07 Roland McGrath <roland@hack.frob.com>
10321
10322 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10323 than the comma operator, to avoid "rhs of comma has no effect"
10324 compiler warnings.
10325 (__sigfillset, __sigandset, __sigorset): Likewise.
10326 * include/signal.h (__sigemptyset): Likewise.
10327 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10328
d5b396c1
AM
103292014-02-07 Allan McRae <allan@archlinux.org>
10330
10331 * version.h (RELEASE): Set to "development".
10332 (VERSION): Set to "2.19.90"
10333 * NEWS: Add 2.20 section.
10334
3bfff2ed
CD
103352014-02-06 Carlos O'Donell <carlos@redhat.com>
10336
10337 [BZ #16529]
10338 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10339
ee7cc385
SP
103402014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10341
10342 * manual/contrib.texi: Update entry for Carlos O'Donell,
10343 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10344
f877c4f2
CD
103452014-02-05 Carlos O'Donell <carlos@rehdat.com>
10346
27e839f6
CD
10347 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10348
f877c4f2
CD
10349 * sysdeps/unix/sysv/linux/kernel-features.h
10350 [__LINUX_KERNEL_VERSION >= 0x020621]
10351 (__ASSUME_PROC_PID_TASK_COMM): Define.
10352
68159946
SP
103532014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10354
ba17cdbd
SP
10355 [BZ #16398]
10356 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10357 conversion when destination buffer does not have enough space.
10358 * libio/tst-ftell-partial-wide.c: New test case.
10359 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10360
68159946
SP
10361 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10362 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10363 Leonard and Allan McRae.
10364
2b528732
DM
103652014-02-04 David S. Miller <davem@davemloft.net>
10366
10367 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10368 32-bit.
10369
0ff82463
AZ
103702014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10371
57f41c40
AS
10372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10373 New file
c01603f7
AZ
10374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10375 New file
57f41c40
AS
10376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10377 New file.
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10379 New file.
c01603f7
AZ
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10381 New file.
57f41c40
AS
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10383 New file.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10385 New file.
c01603f7
AZ
10386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10387 New file.
10388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10389 New file.
10390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10391 New file.
10392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10393 New file.
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10395 New file.
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10397 New file.
10398
103992014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10400
0ff82463
AZ
10401 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10402 * shlib-versions: Likewise.
10403
1695c773
AZ
104042014-02-04 Roland McGrath <roland@hack.frob.com>
10405 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10406
10407 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10408 (abilist-pattern): New variable, set to %-le.abilist.
10409
10410 * Makerules (abilist-pattern): New variable.
10411 (vpath): Use $(abilist-pattern) in place of %.abilist.
10412 (check-abi-% pattern rule): Likewise.
10413 (check-abi, update-abi): Likewise.
10414
6c0ce4b4
EW
104152014-02-04 Eric Wong <normalperson@yhbt.net>
10416
10417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10418
481e3524
CD
104192014-02-03 Carlos O'Donell <carlos@redhat.com>
10420
10421 * manual/startup.texi: Add next, previous, and top entries for
10422 the `Program Arguments' and `Environment Variables' nodes.
10423
375592d3
AO
104242014-02-03 Alexandre Oliva <aoliva@redhat.com>
10425
10426 * manual/macros.texi: Add comments before MTASC-safety macros.
10427
f54838ba
AO
10428 * manual/users.texi: Document MTASC-safety properties.
10429
57f41c40
AS
10430 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10431 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
10432 @deftypefun, and add @safety note.
10433 * manual/signal.texi: Move comments that analyze the above
10434 functions to their home place.
10435
fd3daba4
AM
104362014-02-03 Allan McRae <allan@archlinux.org>
10437
10438 * po/sl.po: Update Slovenian translation from translation project.
10439
597636d7
AO
104402014-02-02 Alexandre Oliva <aoliva@redhat.com>
10441
10442 * manual/time.texi (timegm): Add missing blank after @c.
10443 Reported by Joseph Myers <joseph@codesourcery.com>.
10444
ee196e3c
AO
104452014-02-01 Alexandre Oliva <aoliva@redhat.com>
10446
10447 * manual/check-safety.sh: New.
10448 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10449
f8d529d5
AO
10450 * manual/terminal.texi: Document MTASC-safety properties.
10451
de55fdf4
AO
10452 * manual/filesys.texi: Document MTASC-safety properties.
10453
c3299c08
AO
10454 * manual/errno.texi: Document MTASC-safety properties.
10455
06e90b14
AO
10456 * manual/intro.texi: Document safety identifiers and
10457 conditionals.
10458
1acd4371
AO
10459 * manual/string.texi (wcstok): Fix prototype.
10460 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10461
23e5b8cb
AO
10462 * manual/time.texi: Document MTASC-safety properties.
10463
11087373
AO
10464 * manual/string.texi: Document MTASC-safety properties.
10465
5da2c93d
AO
10466 * manual/threads.texi: Document MTASC-safety properties.
10467
171e9210
AO
10468 * manual/stdio.texi: Document MTASC-safety properties.
10469
d9e02532
AO
10470 * manual/syslog.texi: Document MTASC-safety properties.
10471
6af8bab7
AO
10472 * manual/sysinfo.texi: Document MTASC-safety properties.
10473
663b02d7
AO
10474 * manual/startup.texi: Document MTASC-safety properties.
10475
973f180b
AO
10476 * manual/socket.texi: Document MTASC-safety properties.
10477
8f3c25c8
AO
10478 * manual/signal.texi: Document MTASC-safety properties.
10479
542210fb
AO
104802014-01-31 Alexandre Oliva <aoliva@redhat.com>
10481
10482 * manual/setjmp.texi: Document MTASC-safety properties.
10483
433c45a2
AO
10484 * manual/search.texi: Document MTASC-safety properties.
10485
c8ce789c
AO
10486 * manual/resource.texi: Document MTASC-safety properties.
10487
19f5d29c
AO
10488 * manual/process.texi: Document MTASC-safety properties.
10489
e2dfb7f4
AO
10490 * manual/platform.texi: Document MTASC-safety properties.
10491
8c1413f5
AO
10492 * manual/pipe.texi: Document MTASC-safety properties.
10493
03483ada
AO
10494 * manual/pattern.texi: Document MTASC-safety properties.
10495
29e7e2df
AO
10496 * manual/message.texi: Document MTASC-safety properties.
10497
9f529d7c
AO
10498 [BZ #12751]
10499 * manual/memory.texi: Document MTASC-safety properties.
10500
27aaa791
AO
10501 * manual/math.texi: Document MTASC-safety properties.
10502
f2d58726
AO
10503 * manual/locale.texi: Document MTASC-safety properties.
10504
2cc3615c
AO
10505 * manual/llio.texi: Document MTASC-safety properties.
10506
d9f0ec97
AO
10507 * manual/libdl.texi: New.
10508
e7c4409a
AO
10509 * manual/lang.texi: Document MTASC-safety properties.
10510
27bdc63c
AO
10511 * manual/job.texi: Document MTASC-safety properties.
10512
a7b90ea9
AO
10513 * manual/getopt.texi: Document MTASC-safety properties.
10514
c49130e3
AO
10515 * manual/ctype.texi: Document MTASC-safety properties.
10516
0d23a5c1
MR
105172014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10518
10519 [BZ #16046]
10520 * csu/libc-tls.c (static_map): Remove variable.
10521 (__libc_setup_tls): Use main executable's link map for TLS data.
10522 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10523 casing for LM_ID_BASE and GL(dl_nns).
10524 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10525 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10526 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10527 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10528 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10529 member.
10530 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10531 l_phnum members.
10532
0037bb60
AO
105332014-01-30 Alexandre Oliva <aoliva@redhat.com>
10534
10535 * manual/debug.texi: Document MTASC-safety properties.
10536
409e00bd
L
105372014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10538
10539 [BZ #16510]
10540 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10541 of __x86_64__ when disabling x87 inline functions.
10542
86e60666
AO
105432014-01-29 Alexandre Oliva <aoliva@redhat.com>
10544
10545 * manual/charset.texi: Document MTASC-safety properties.
10546
76167637
AO
10547 * manual/crypt.texi: Document MTASC-safety properties.
10548
e567f2a0
AO
10549 * manual/conf.texi: Document MTASC-safety properties.
10550
b719dafd
AO
10551 * manual/arith.texi: Document MTASC-safety properties.
10552
4a16c662
AO
10553 * manual/argp.texi: Document MTASC-safety properties.
10554
0a57b83e
AO
10555 * manual/macros.texi: Introduce macros to document multi
10556 thread, asynchronous signal and asynchronous cancellation
10557 safety properties.
10558 * manual/intro.texi: Introduce the properties themselves.
10559
feab2397
KK
105602014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10561
10562 * sysdeps/sh/sh4/Makefile: New file.
10563
1c0d11bc
AS
105642014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10565
10566 * math/gen-libm-test.pl ($srcdir): New variable.
10567 ($auto_input): Use it.
10568
af37a8a3
SP
105692014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10570
d7b00f98
SP
10571 [BZ #16506]
10572 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10573 access beyond array bounds when parsing netgroups file.
10574
af37a8a3
SP
10575 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10576 the old buffer before realloc.
10577
0c00f062
AM
105782014-01-27 Allan McRae <allan@archlinux.org>
10579
10580 * po/fr.po: Update French translation from translation project.
10581
7d69a1b0
KK
105822014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10583
10584 * sysdeps/sh/libm-test-ulps: Regenerate.
10585
6e697ff7
DM
105862014-01-24 David S. Miller <davem@davemloft.net>
10587
10588 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10589
9cadb35c
KK
105902014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10591
10592 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10593 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10594
5d41dadf
SP
105952013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10596
10597 [BZ #16474]
10598 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10599 string pointers after reallocation.
10600
0bad441c
KK
106012014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10602
10603 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10604 __SH4A__ instead of __SH_FPU_ANY__.
10605
7007c661
KK
106062014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10607
10608 * sysdeps/sh/fpu_control.h: New file.
10609 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10610 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10611 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10612 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10613 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10614 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10615 * sysdeps/sh/sys/ucontext.h: Remove.
10616 * sysdeps/sh/sys: Remove directory.
10617
0f0c35e4
AK
106182014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10619
10620 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10621 s390/sys/ucontext.h.
10622 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10623 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10624
4959e284
L
106252014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10626
10627 [BZ #15605]
10628 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10629
d98720e0
AZ
106302014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10631
10632 [BZ#16431]
10633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10634 Adjust the vDSO correctly for internal calls.
10635 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10636
91cbd0bc
AM
106372014-01-20 Allan McRae <allan@archlinux.org>
10638
10639 * po/ca.po: Update Catalan translation from translation project.
10640
7a02cfad
MF
106412014-01-16 Mike Frysinger <vapier@gentoo.org>
10642
10643 * sysdeps/s390/sotruss-lib.c: New file.
10644
736c304a
AZ
106452014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10646
10647 [BZ#16430]
6e077ee5 10648 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10649 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10650 local calls issues by not having a PLT stub required for IFUNC calls.
10651 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10652
94d0cea0
JM
106532014-01-16 Joseph Myers <joseph@codesourcery.com>
10654
10655 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10656 * math/test-fpucw-static.c: Likewise.
10657
980cb518
SP
106582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10659
10660 [BZ #16453]
10661 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10662
2393fc01
AZ
106632014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10664
10665 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10666 implementation for powerpc.
10667
d359bcc2
OB
106682014-01-15 Ondřej Bílka <neleai@seznam.cz>
10669
10670 [BZ #14782]
10671 * sysdeps/posix/system.c (__libc_system): Do not enable
10672 asynchronous cancellation.
10673
7beb48cb
AK
106742014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10675
10676 [BZ #16427]
10677 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10678 handling only for numbers special also in the IEEE case.
10679
c20d5bf5
AK
106802014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10681
10682 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10683
e83bd4ee
AM
106842014-01-11 Allan McRae <allan@archlinux.org>
10685
76d0ea69
AM
10686 * po/bg.po: Update Bulgarian translation from translation project.
10687
e83bd4ee
AM
10688 * po/de.po: Update German translation from translation project.
10689
bc2ba20a
RM
106902014-01-10 Roland McGrath <roland@hack.frob.com>
10691
10692 * sysdeps/generic/gcc-compat.h: New file.
10693
649ecea2
SP
106942014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10695
10696 * benchtests/asin-inputs: Correct slow inputs.
10697 * benchtests/acos-inputs: Likewise.
10698
1b19c006
AM
106992014-01-10 Allan McRae <allan@archlinux.org>
10700
a46dab08
AM
10701 * po:sv.po: Update Swedish translation from translation project.
10702
421df74a
AM
10703 * po/vi.po: Update Vietnamese translation from translation project.
10704
d61c51a7
AM
10705 * po/eo.po: Update Esperanto translation from translation project.
10706
0339a319
AM
10707 * po/cs.po: Update Czech translation from translation project.
10708
94ad3e99
AM
10709 * po/nl.po: Update Dutch translation from translation project.
10710
e349ca71
AM
10711 * po/pl.po: Update Polish translation from translation project.
10712
ddf930c1
AM
10713 * po/ru.po: Update Russian translation from translation project.
10714
1b19c006
AM
10715 * po/uk.po: Update Ukrainian translation from translation project.
10716
9f236c49
BM
107172014-01-08 Brooks Moses <bmoses@google.com>
10718
10719 * elf/dl-load.c: Fix comment typo.
10720
cd6701cf
CD
107212014-01-08 Carlos O'Donell <carlos@redhat.com>
10722
10723 * po/header.pot: Rename to...
10724 * po/pot.header: ... this.
10725 * po/Makefile: Use pot.header.
10726
66671c84
YK
107272014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10728 Maxim Kuvyrkov <maxim@kugelworks.com>
10729
10730 [BZ #16394]
cd6701cf
CD
10731 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10732 SRC and DEST against LEN.
66671c84 10733
38f34581
AZ
107342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10735
10736 [BZ #16414]
10737 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10738 implementation.
10739 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10740
107412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10742
10743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10744
4c327f2a
JM
107452014-01-08 Joseph Myers <joseph@codesourcery.com>
10746
10747 [BZ #16408]
10748 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10749 for large positive arguments.
10750
b821f414
JM
107512014-01-07 Joseph Myers <joseph@codesourcery.com>
10752
1f0f2067
JM
10753 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10754
a5a326f6
JM
10755 * math/auto-libm-test-in: Mark various tests with
10756 xfail-rounding:ldbl-128ibm.
10757 * math/auto-libm-test-out: Regenerated.
10758
b821f414
JM
10759 [BZ #16407]
10760 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10761 Increase overflow threshold.
10762
94c8a4bc
OB
107632014-01-07 Ondřej Bílka <neleai@seznam.cz>
10764
10765 [BZ #14286]
10766 * stdio-common/vfprintf.c: Check for integer overflow.
10767
87ded0c3
AK
107682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10769
10770 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10771 the first argument and return value of __tls_get_addr_internal.
10772
c5eebdd0
AK
107732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10774
10775 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10776 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10777
05d138ef
AK
107782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10779
10780 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10781 * sysdeps/s390/rtld-global-offsets.sym: New file.
10782 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10783 GLIBC_2.19 symbol.
10784 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10785 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10786 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10787 ... this.
10788 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10789 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10790 ... this.
10791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10792 Regenerate.
10793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10794 Regenerate.
10795 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10796 halfs of GPRs for high_gprs contexts.
10797 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10798 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10799 field.
10800 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10801 uc_flags field.
10802 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10803 64 bit versions:
10804 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10805 for high GPRs (uc_high_gprs) and for future extensions
10806 (__reserved).
10807 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10808 for future extensions (__reserved).
10809 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10810 64 bit versions:
10811 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10812 SC_HIGHGPRS offset definition.
10813 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10814 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10815
93a45ff1
AK
10816 * Versions.def: Add GLIBC_2.19 for libpthread.
10817 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10818 siglongjmp for libpthread with GLIBC_2.19 symver.
10819 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10820 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10821 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10822 * sysdeps/s390/__longjmp.c: New file.
10823 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10824 * sysdeps/s390/longjmp.c: New file.
10825 * sysdeps/s390/setjmp.S: New file.
10826 * sysdeps/s390/sigjmp.S: New file.
10827 * sysdeps/s390/v1-longjmp.c: New file.
10828 * sysdeps/s390/v1-setjmp.h: New file.
10829 * sysdeps/s390/v1-sigjmp.c: New file.
10830 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10831 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10832 GLIBC_2.19 version.
10833 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10834 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10835 versioned symbols for ____longjmp_chk.
10836 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10837 Likewise.
10838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10839 Regenerate.
10840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10841 Regenerate.
10842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10843 Regenerate.
10844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10845 Regenerate.
10846 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10847 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10848 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10849 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10850 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10851 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10852 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10853 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10854 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10855 * sysdeps/s390/rtld-__longjmp.c: New file.
10856 * sysdeps/s390/rtld-setjmp.S: New file.
10857
eb3fc44b
JM
108582014-01-06 Joseph Myers <joseph@codesourcery.com>
10859
10860 [BZ #16400]
10861 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10862 Return -__logl (x) for small positive arguments without evaluating
10863 a polynomial.
10864
9341dde4
MF
108652014-01-06 Mike Frysinger <vapier@gentoo.org>
10866
10867 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10868 Rename to ...
10869 (__ptrace_peeksiginfo_args): ... this.
10870 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10871 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10872 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10873
4cff0293
AM
108742014-01-06 Allan McRae <allan@archlinux.org>
10875
10876 * inet/netinet/in.h: Fix typo in comment.
10877
75595dcf
AJ
108782014-01-05 Andreas Jaeger <aj@suse.de>
10879
10880 * sysdeps/i386/fpu/libm-test-ulps: Update.
10881
79c1e109
AM
108822014-01-05 Allan McRae <allan@archlinux.org>
10883
dd804818
AM
10884 * po/libc.pot: Regenerated.
10885
79c1e109
AM
10886 * malloc/memusagestat.c: Fix gettext call formatting.
10887
0c813d1f
SK
108882014-01-04 Sami Kerola <kerolasa@iki.fi>
10889
10890 * nscd/nscd.c: Improve usage() output.
10891
20f4a8d9
MF
108922014-01-04 Mike Frysinger <vapier@gentoo.org>
10893
10894 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10895 * sysdeps/unix/sysv/linux/configure: Regenerated.
10896 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10897 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10898
22562bb2
JM
108992014-01-03 Joseph Myers <joseph@codesourcery.com>
10900
10901 [BZ #16390]
10902 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10903 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10904
d7ad2d9b
AZ
109052014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10906
10907 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10908 extra tokens at end of #undef directive.
10909 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10910 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10911 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10912
7dd009d8
JM
109132014-01-03 Joseph Myers <joseph@codesourcery.com>
10914
24db925a
JM
10915 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10916
7dd009d8
JM
10917 * math/auto-libm-test-in: Mark various tests with
10918 xfail-rounding:ldbl-128ibm.
10919 * math/auto-libm-test-out: Regenerated.
10920
396e3ecf
JM
109212014-01-02 Joseph Myers <joseph@codesourcery.com>
10922
819e5d50
JM
10923 [BZ #16386]
10924 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10925 numbers with subnormal high part when calculating exponent.
10926
90b6a1e5
JM
10927 [BZ #16385]
10928 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10929 fabs.
10930
396e3ecf
JM
10931 [BZ #16384]
10932 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10933 M_LN2l.
10934 (__ieee754_acoshl): Use __log1pl not __log1p.
10935
6c8dbf00
OB
109362013-01-02 Ondřej Bílka <neleai@seznam.cz>
10937
57f41c40
AS
10938 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10939 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10940 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10941 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10942 (reused_arena, arena_get2): Convert to GNU style.
10943 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10944 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10945 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10946 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10947 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10948 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10949 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10950 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10951 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10952 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10953 * malloc/malloc.h: Likewise.
57f41c40
AS
10954 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10955 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10956 * malloc/mcheck.h: Likewise.
57f41c40
AS
10957 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10958 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10959 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10960 * malloc/morecore.c (__default_morecore): Likewise.
10961 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10962 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10963 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10964 (print_and_abort): Likewise.
6c8dbf00
OB
10965 * malloc/obstack.h: Likewise.
10966 * malloc/set-freeres.c (__libc_freeres): Likewise.
10967 * malloc/tst-mallocstate.c (main): Likewise.
10968 * malloc/tst-mtrace.c (main): Likewise.
10969 * malloc/tst-realloc.c (do_test): Likewise.
10970
d4124212
SP
109712013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10972
9a3c6a6f
SP
10973 [BZ #16366]
10974 * nscd/netgroupcache.c (do_notfound): New function.
10975 (addgetnetgrentX): Use it.
10976
d4124212
SP
10977 [BZ # 16365]
10978 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10979 NSS_STATUS_NOTFOUND.
10980
97b9a009
JM
109812014-01-01 Joseph Myers <joseph@codesourcery.com>
10982
10983 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985
d4697bc9
AM
109862014-01-01 Allan McRae <allan@archlinux.org>
10987
ddb3687f
AM
10988 * scripts/update-copyrights: Update configure input file suffix.
10989
88726d48
AM
10990 * NEWS: Update copyright year.
10991 * catgets/gencat.c: Likewise.
10992 * csu/version.c: Likewise.
10993 * debug/catchsegv.sh: Likewise.
10994 * debug/pcprofiledump.c: Likewise.
10995 * debug/xtrace.sh: Likewise.
10996 * elf/ldconfig.c: Likewise.
10997 * elf/ldd.bash.in: Likewise.
10998 * elf/pldd.c: Likewise.
10999 * elf/sotruss.ksh: Likewise.
11000 * elf/sprof.c: Likewise.
11001 * iconv/iconv_prog.c: Likewise.
11002 * iconv/iconvconfig.c: Likewise.
11003 * locale/programs/locale.c: Likewise.
11004 * locale/programs/localedef.c: Likewise.
11005 * login/programs/pt_chown.c: Likewise.
11006 * malloc/memusage.sh: Likewise.
11007 * malloc/memusagestat.c: Likewise.
11008 * malloc/mtrace.pl: Likewise.
11009 * manual/libc.texinfo: Likewise.
11010 * nscd/nscd.c: Likewise.
11011 * nss/getent.c: Likewise.
11012 * nss/makedb.c: Likewise.
11013 * posix/getconf.c: Likewise.
11014 * scripts/test-installation.pl: Likewise.
11015
d4697bc9
AM
11016 * All files with FSF copyright notices: Update copyright dates
11017 using scripts/update-copyrights.
11018 * intl/plural.c: Regenerated.
11019 * locale/programs/charmap-kw.h: Likewise.
11020 * locale/programs/locfile-kw.h: Likewise.
11021
c8590f9d
MF
110222013-12-31 Mike Frysinger <vapier@gentoo.org>
11023
11024 * sysdeps/unix/sysv/linux/configure: Regenerated.
11025 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11026 the linux/fanotify.h header.
11027 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11028 HAVE_LINUX_FANOTIFY_H is defined.
11029
b19221b9
SP
110302013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11031
dd1d85e5
SP
11032 * benchtests/cos-inputs: New inputs.
11033 * benchtests/sin-inputs: Likewise.
11034
1acbb90f
SP
11035 * benchtests/atan-inputs: New inputs. Fix name of multiple
11036 precision fallback inputs.
11037
4c012ed3
SP
11038 * benchtests/atanh-inputs: New inputs.
11039 * benchtests/tanh-inputs: Likewise.
11040
eff98324
SP
11041 * benchtests/acosh-inputs: New inputs.
11042 * benchtests/asinh-inputs: Likewise.
11043
ce641152
SP
11044 * benchtests/cosh-inputs: New inputs.
11045 * benchtests/sinh-inputs: Likewise.
11046
b19221b9
SP
11047 * benchtests/acos-inputs: Add more inputs.
11048 * benchtests/asin-inputs: Likewise.
11049
030a4976 110502013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11051
030a4976 11052 [BZ #16375]
9dcc8f11
VS
11053 * manual/arith.texi: Fix spelling.
11054 * manual/charset.texi: Likewise.
11055 * manual/errno.texi: Likewise.
11056 * manual/filesys.texi: Likewise.
11057 * manual/lang.texi: Likewise.
11058 * manual/llio.texi: Likewise.
11059 * manual/locale.texi: Likewise.
11060 * manual/message.texi: Likewise.
11061 * manual/resource.texi: Likewise.
11062 * manual/search.texi: Likewise.
11063 * manual/setjmp.texi: Likewise.
11064 * manual/stdio.texi: Likewise.
11065 * manual/string.texi: Likewise.
11066 * manual/sysinfo.texi: Likewise.
11067 * manual/time.texi: Likewise.
11068
11520a57
CD
110692013-12-27 Carlos O'Donell <carlos@redhat.com>
11070
11071 * po/sl.po: New file.
11072
471103ae
MF
110732013-12-27 Mike Frysinger <vapier@gentoo.org>
11074
11075 * .gitignore: Add core/.gdbinit/.gdb_history.
11076
6c9642ed
AM
110772013-12-27 Allan McRae <allan@archlinux.org>
11078
11079 [BZ #16369]
11080 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11081 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11082
3f637079
BM
110832013-12-24 Brooks Moses <bmoses@google.com>
11084
11085 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11086 all compilers that claim C++98 compliance, not just GCC.
11087 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11088 Likewise.
11089
abc26e99
MK
110902013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11091
11092 * NEWS: Restore accidentally deleted bug-fix entries.
11093
362b47fe
MK
110942013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11095 Ondřej Bílka <neleai@seznam.cz>
11096
11097 [BZ #15073]
11098 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11099 have_lock.
362b47fe 11100
b9bcbbcb
OB
111012013-12-23 Ondřej Bílka <neleai@seznam.cz>
11102
11103 [BZ #12986]
11104 * manual/stdio.texi (String Input Conversions): Clarify that character
11105 classes are not supported.
11106
fb55fcd2
AZ
111072013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11108
11109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11110
ef7344f0
JM
111112013-12-22 Joseph Myers <joseph@codesourcery.com>
11112
4f40e4b3
JM
11113 [BZ #16337]
11114 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11115 Calculate results for small negative arguments directly rather
11116 than using reflection formula with special underflow handling.
11117
ef7344f0
JM
11118 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11119 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11120 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11121 (fchflags): Likewise.
11122 (revoke): Likewise.
11123 (setlogin): Likewise.
11124 (sigaltstack): Likewise.
11125 (wait4): Likewise.
11126 (sigblock): Remove.
11127 (sigsetmask): Likewise.
11128 (wait3): Likewise.
11129 (waitpid): Likewise.
11130 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11131 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11132 file.
11133 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11134 * sysdeps/unix/bsd/Makefile: ... here.
11135 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11136 * sysdeps/unix/bsd/Versions: ... here.
11137 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11138 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11139 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11140 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11141 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11142 * sysdeps/unix/bsd/sigblock.c: ... here.
11143 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11144 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11145 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11146 * sysdeps/unix/bsd/sigvec.c: ... here.
11147 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11148 * sysdeps/unix/bsd/tcdrain.c: ... here.
11149 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11150 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11151 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11152 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11153 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11154 * sysdeps/unix/bsd/wait.c: ... here.
11155 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11156 * sysdeps/unix/bsd/wait3.c: ... here.
11157 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11158 * sysdeps/unix/bsd/waitpid.c: ... here.
11159
5b0626b9
JM
111602013-12-21 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #16356]
11163 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11164 round-to-nearest for [!USE_AS_EXPM1L].
11165 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11166 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11167 more tests of exp and exp10. Expect some exp10 tests to miss
11168 exceptions or fail in directed rounding modes.
11169 * math/auto-libm-test-out: Regenerated.
11170 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11171 (exp10_test_tonearest): New function.
11172 (exp10_towardzero_test_data): New array.
11173 (exp10_test_towardzero): New function.
11174 (exp10_downward_test_data): New array.
11175 (exp10_test_downward): New function.
11176 (exp10_upward_test_data): New array.
11177 (exp10_test_upward): New function.
11178 (main): Call the new functions.
11179 * sysdeps/i386/fpu/libm-test-ulps: Update.
11180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11181
7fda5682
JM
111822013-12-20 Joseph Myers <joseph@codesourcery.com>
11183
31e3a405
JM
11184 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11185 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11186 * math/auto-libm-test-out: Regenerated.
11187 * math/libm-test.inc (acosh_test_data): Add more tests.
11188 (atanh_test_data): Likewise.
11189 (ceil_test_data): Likewise.
11190 (copysign_test_data): Likewise.
11191 * sysdeps/i386/fpu/libm-test-ulps: Update.
11192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11193
85bff96a
JM
11194 * timezone/checktab.awk: Update from tzcode 2013i.
11195 * timezone/private.h: Likewise.
11196 * timezone/scheck.c: Likewise.
11197 * timezone/tzfile.h: Likewise.
11198 * timezone/tzselect.ksh: Likewise.
11199 * timezone/zdump.c: Likewise.
11200 * timezone/zic.c: Likewise.
11201
b7867a3b
JM
11202 * math/auto-libm-test-in: Add tests of cpow.
11203 * math/auto-libm-test-out: Regenerated.
11204 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11205 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11206 mpc_cc_c.
11207 (func_calc_desc): Add mpc_cc_c union field.
11208 (test_functions): Add cpow.
11209 (special_fill_2pi): New function.
11210 (special_real_inputs): Add 2pi.
11211 (calc_generic_results): Handle mpc_cc_c.
11212 * sysdeps/i386/fpu/libm-test-ulps: Update.
11213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11214
7fda5682
JM
11215 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11216 csqrt, ctan and ctanh.
11217 * math/auto-libm-test-out: Regenerated.
11218 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11219 (TEST_COND_x86): Likewise.
11220 (ccos_test_data): Use AUTO_TESTS_c_c.
11221 (ccosh_test_data): Likewise.
11222 (cexp_test_data): Likewise.
11223 (clog_test_data): Likewise.
11224 (csqrt_test_data): Likewise.
11225 (ctan_test_data): Likewise.
11226 (ctan_tonearest_test_data): Likewise.
11227 (ctan_towardzero_test_data): Likewise.
11228 (ctan_downward_test_data): Likewise.
11229 (ctan_upward_test_data): Likewise.
11230 (ctanh_test_data): Likewise.
11231 (ctanh_tonearest_test_data): Likewise.
11232 (ctanh_towardzero_test_data): Likewise.
11233 (ctanh_downward_test_data): Likewise.
11234 (ctanh_upward_test_data): Likewise.
11235 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11236 mpc_c_c.
11237 (func_calc_desc): Add mpc_c_c union field.
11238 (FUNC_mpc_c_c): New macro.
11239 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11240 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11241 ctanh.
11242 (special_fill_min_subnorm_p120): New function.
11243 (special_real_inputs): Add min_subnorm_p120.
11244 (calc_generic_results): Handle mpc_c_c.
11245 * sysdeps/i386/fpu/libm-test-ulps: Update.
11246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11247
5ff8d60e
SP
112482013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11249
57f41c40
AS
11250 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11251 (do_sin_slow): New functions.
11252 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11253 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11254
84ba214c
SP
11255 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11256 Use M to change sign of result instead of X. Assume X is
11257 positive.
11258 (csloww1): Likewise.
11259 (__sin): Adjust.
11260 (__cos): Adjust.
11261
975195e4
SP
11262 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11263 arguments A and DA.
11264 (__sin): Adjust.
11265 (__cos): Likewise.
11266
5ff8d60e
SP
11267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11268 (__cos): Likewise.
11269 (sloww1): Don't adjust sign of DX.
11270 (csloww1): Likewise.
11271 (sloww2): Use X directly and don't adjust sign of DX.
11272 (csloww2): Likewise.
11273
eb983568
JM
112742013-12-19 Joseph Myers <joseph@codesourcery.com>
11275
64a17f1a
JM
11276 * math/auto-libm-test-in: Add tests of cabs and carg.
11277 * math/auto-libm-test-out: Regenerated.
11278 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11279 (carg_test_data): Likewise.
11280 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11281 mpc_c_f.
11282 (func_calc_desc): Add mpc_c_f union field.
11283 (test_functions): Add cabs and carg.
11284 (calc_generic_results): Handle mpc_c_f.
11285
eb983568
JM
11286 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11287 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11288 as a macro and a compat symbol.
11289 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11290 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11291 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11292 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11293 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11294 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11295 not use .hidden.
11296 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11297 Likewise.
11298 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11299 Likewise.
11300 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11301 Likewise.
11302 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11303 Likewise.
11304 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11305 Likewise.
11306 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11307 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11308 from GLIBC_2.3.2.
11309
6eeb678a
AZ
113102013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11311
11312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11313
6f6fc482
JM
113142013-12-19 Joseph Myers <joseph@codesourcery.com>
11315
21fea2e2
JM
11316 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11317 trailing whitespace removed.
11318 * scripts/config.guess: Update to version 2013-11-29.
11319 * scripts/config.sub: Update to version 2013-10-01.
11320
6f6fc482
JM
11321 * math/auto-libm-test-in: Add tests of sincos.
11322 * math/auto-libm-test-out: Regenerated.
11323 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11324 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11325 mpfr_f_11.
11326 (func_calc_desc): Add mpfr_f_11 union field.
11327 (test_functions): Add sincos.
11328 (calc_generic_results): Handle mpfr_f_11.
11329 * sysdeps/i386/fpu/libm-test-ulps: Update.
11330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11331
83f5c32d
AS
113322013-12-19 Andreas Schwab <schwab@suse.de>
11333
11334 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11335 CALL_MCOUNT.
11336 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11337 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11338 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11339
c688b419
JM
113402013-12-19 Joseph Myers <joseph@codesourcery.com>
11341
335ee092
JM
11342 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11343 * sysdeps/i386/fpu/libm-test-ulps: Update.
11344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11345
f88acd39
JM
11346 [BZ #16293]
11347 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11348 round-to-nearest mode when using frndint.
11349 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11350 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11351 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11352 Likewise.
11353 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11354 sinh test to fail.
11355 * math/auto-libm-test-out: Regenerated.
11356 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11357 (TEST_COND_x86): Likewise.
11358 (expm1_tonearest_test_data): New array.
11359 (expm1_test_tonearest): New function.
11360 (expm1_towardzero_test_data): New array.
11361 (expm1_test_towardzero): New function.
11362 (expm1_downward_test_data): New array.
11363 (expm1_test_downward): New function.
11364 (expm1_upward_test_data): New array.
11365 (expm1_test_upward): New function.
11366 (main): Run the new test functions.
11367 * sysdeps/i386/fpu/libm-test-ulps: Update.
11368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11369
c688b419
JM
11370 * include/features.h: Update comment documenting feature test
11371 macros. Mention _DEFAULT_SOURCE in comment.
11372 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11373 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11374 _BSD_SOURCE and _SVID_SOURCE.
11375 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11376 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11377 !_SVID_SOURCE]: Likewise.
11378 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11379 (__USE_POSIX_IMPLICITLY): Define.
11380 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11381 (_POSIX_SOURCE): Undefine and redefine.
11382 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11383 (_POSIX_C_SOURCE): Likewise.
11384 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11385 (Feature Test Macros): Update documentation of default features.
11386
9f6e964c
RS
113872013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11388
11389 * benchtests/Makefile: Add bench-strtok.
11390 * benchtests/bench-strtok.c: New file: strtok benchtest.
11391
ee0a148a
AM
113922013-12-19 Allan McRae <allan@archlinux.org>
11393
11394 * manual/install.texi: Suppress menu for plain text output.
11395 * INSTALL: Regenerated.
11396
b9ab448f
BM
113972013-12-18 Brooks Moses <bmoses@google.com>
11398
11399 [BZ #15846]
11400 * misc/getauxval.c: Include errno.h.
11401 (__getauxval): Set errno to ENOENT if the requested type is not
11402 found.
11403 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11404 don't declare with __attribute_const__.
11405 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11406 * manual/startup.texi: Document that getauxval sets errno.
11407
23776487
JM
114082013-12-18 Joseph Myers <joseph@codesourcery.com>
11409
f889953b
JM
11410 * math/auto-libm-test-in: Add tests of jn and yn.
11411 * math/auto-libm-test-out: Regenerated.
11412 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11413 (yn_test_data): Likewise.
11414 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11415 mpfr_if_f.
11416 (func_calc_desc): Add mpfr_if_f union field.
11417 (FUNC_mpfr_if_f): New macro.
11418 (test_functions): Add jn and yn.
11419 (calc_generic_results): Assert type of second input for
11420 mpfr_ff_f. Handle mpfr_if_f.
11421 (output_for_one_input_case): Disable all checking for arguments
11422 fitting floating-point types in case of an integer argument.
11423 * sysdeps/i386/fpu/libm-test-ulps: Update.
11424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11425
23776487
JM
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11427 Don't expect fegetround reference in libm.so.
11428
cb756c6d
MS
114292013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11430
11431 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11432 $(config-cflags-nofma).
11433
2dec468f
JM
114342013-12-18 Joseph Myers <joseph@codesourcery.com>
11435
5953eb3a
JM
11436 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11437 * math/auto-libm-test-out: Regenerated.
11438
2dec468f
JM
11439 [BZ #16338]
11440 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11441 to determine exponent and adjust argument to have exponent of -1.
11442 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11443 log2.
11444 * math/auto-libm-test-out: Regenerated.
11445 * sysdeps/i386/fpu/libm-test-ulps: Update.
11446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11447
4d84e6ad
OB
114482013-12-18 Ondřej Bílka <neleai@seznam.cz>
11449
11450 * manual/probes.texi: Remove cases when per-thread arenas are
11451 disabled.
11452
1818483b
AS
114532013-12-18 Andreas Schwab <schwab@suse.de>
11454
11455 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11456 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11457 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11458 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11459 * sysdeps/i386/i686/multiarch/Makefile: Update.
11460 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11461
25de95bf
JM
114622013-12-17 Joseph Myers <joseph@codesourcery.com>
11463
11464 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11465 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11466
674762d9
PE
114672013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11468
ed27ed83 11469 [BZ #15968]
0748546f
PE
11470 Support TZ transition times < 00:00:00.
11471 This is needed for version-3 tz-format files; it supports time
11472 stamps past 2037 for America/Godthab (the only entry in the tz
11473 database for which this change is relevant).
11474 * manual/time.texi (TZ Variable): Document transition times
11475 from -167:59:59 through -00:00:01.
11476 * time/tzset.c (tz_rule): Time of day is now signed.
11477 (__tzset_parse_tz): Parse negative time of day.
11478
4480e934
PE
11479 Document TZ transition times >= 25:00:00.
11480 * manual/time.texi (TZ Variable): Document transition times from
11481 25:00:00 through 167:59:59. These are already supported, and this
11482 support will help with version-3 tz-format files.
11483
69947401
PE
11484 * manual/time.texi (TZ Variable): Modernize North America example
11485 to reflect current (i.e., 2007-and-later) daylight saving rules.
11486
674762d9
PE
11487 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11488
7011c262
JM
114892013-12-17 Joseph Myers <joseph@codesourcery.com>
11490
2fc6557e
JM
11491 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11492 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11493 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11495 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11496 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11497 * sysdeps/unix/bsd/clock.c: Likewise.
11498 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11499 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11500 * sysdeps/unix/bsd/init-posix.c: Likewise.
11501 * sysdeps/unix/bsd/poll.c: Likewise.
11502 * sysdeps/unix/bsd/ptsname.c: Likewise.
11503 * sysdeps/unix/bsd/seekdir.c: Likewise.
11504 * sysdeps/unix/bsd/setegid.c: Likewise.
11505 * sysdeps/unix/bsd/seteuid.c: Likewise.
11506 * sysdeps/unix/bsd/setgid.c: Likewise.
11507 * sysdeps/unix/bsd/setrgid.c: Likewise.
11508 * sysdeps/unix/bsd/setruid.c: Likewise.
11509 * sysdeps/unix/bsd/setsid.c: Likewise.
11510 * sysdeps/unix/bsd/setuid.c: Likewise.
11511 * sysdeps/unix/bsd/sigaction.c: Likewise.
11512 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11513 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11514 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11515 * sysdeps/unix/bsd/telldir.c: Likewise.
11516 * sysdeps/unix/bsd/times.c: Likewise.
11517 * sysdeps/unix/bsd/usleep.c: Likewise.
11518
029c7b25
JM
11519 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11520 ($(objpfx)libbsd-compat.a): Remove rule.
11521
7011c262
JM
11522 * include/features.h (__FAVOR_BSD): Do not define.
11523 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11524 features conflicting with POSIX.
11525 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11526 (_BSD_SOURCE): Remove description of not being a subset of other
11527 feature test macros.
11528 * manual/job.texi (getpgrp): Do not document BSD version.
11529 (getpgid): Do not document by reference to BSD getpgrp.
11530 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11531 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11532 * signal/signal.h [__FAVOR_BSD]: Likewise.
11533 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11534 instead of making contents conditional on [__FAVOR_BSD].
11535 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11536
affb6f78
AZ
115372013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11538
11539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11540
c88769dd
JM
115412013-12-17 Joseph Myers <joseph@codesourcery.com>
11542
6432a540
JM
11543 [BZ #16314]
11544 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11545 values below 2**-450, not 2**-500.
11546 * math/auto-libm-test-in: Don't allow spurious underflow from
11547 hypot.
11548 * math/auto-libm-test-out: Regenerated.
11549
c88769dd
JM
11550 [BZ #16316]
11551 [BZ #16330]
11552 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11553 values of ha and hb and sort them after adjusting subnormal
11554 arguments.
11555 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11556 Likewise.
11557 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11558 values of ea and eb and sort them after adjusting subnormal
11559 arguments.
11560 * math/auto-libm-test-in: Do not expect some hypot tests of
11561 subnormals to fail. Add more hypot tests.
11562 * math/auto-libm-test-out: Regenerated.
11563
29618f6b
KK
115642013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11565
11566 [BZ #13304]
11567 * sysdeps/sh/s_fma.c: New file.
11568 * sysdeps/sh/s_fmaf.c: New file.
11569 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11570 version.
11571 * sysdeps/sh/Implies: Add sh/soft-fp.
11572
eacfdfbf
RM
115732013-12-16 Roland McGrath <roland@hack.frob.com>
11574
11575 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11576 level of indirection to members `objname', `errstring', `malloced'.
11577 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11578 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11579 it as the __longjmp argument (just pass 1 instead).
11580 (_dl_catch_error): Initialize C with argument pointers and address of
11581 volatile local ERRCODE rather than copying values out of C at return.
11582
ff362e5b
JM
115832013-12-16 Joseph Myers <joseph@codesourcery.com>
11584
11585 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11586 * math/auto-libm-test-out: Regenerated.
11587 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11588 (hypot_test_data): Likewise.
11589 (pow_test_data): Likewise.
11590 (pow_tonearest_test_data): Likewise.
11591 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11592 mpfr_ff_f.
11593 (func_calc_desc): Add mpfr_ff_f union field.
11594 (FUNC_mpfr_ff_f): New macro.
11595 (test_functions): Add atan2, hypot and pow.
11596 (special_fill_min): New function.
11597 (special_fill_minus_min): Likewise.
11598 (special_fill_min_subnorm): Likewise.
11599 (special_fill_minus_min_subnorm): Likewise.
11600 (special_real_inputs): Add min, -min, min_subnorm and
11601 -min_subnorm.
11602 (calc_generic_results): Handle mpfr_ff_f.
11603 * sysdeps/i386/fpu/libm-test-ulps: Update.
11604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11605
5764c27f
WN
116062013-12-16 Will Newton <will.newton@linaro.org>
11607
11608 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11609 (Aligned Memory Blocks): Add documentation for aligned_alloc
11610 and suggest it as an alternative to posix_memalign.
11611 (Hooks for Malloc): Document __memalign_hook is also called
11612 for aligned_alloc. (Summary of Malloc): Add summary for
11613 aligned alloc. Document __memalign_hook is also called
11614 for aligned_alloc.
11615
0a096e44
WN
116162013-12-16 Will Newton <will.newton@linaro.org>
11617
11618 * manual/memory.texi (Malloc Examples): Clarify default
11619 alignment documentation. Suggest posix_memalign rather
11620 than memalign or valloc.
11621 (Aligned Memory Blocks): Remove suggestion to use memalign
11622 or valloc. Remove obsolete comment about BSD.
11623 Document memalign errno values and mark the function obsolete.
11624 Document posix_memalign returned error codes. Mark valloc
11625 as obsolete. (Hooks for Malloc): __memalign_hook is also
11626 called for posix_memalign and valloc.
11627 (Summary of Malloc): Add posix_memalign to function summary.
11628 __memalign_hook is also called for posix_memalign and valloc.
11629
8d561986
SP
116302013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11631
11632 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11633 TAYLOR_SIN.
11634 (__sin): Adjust.
11635 (__cos): Likewise.
11636 (sloww): Use mynumber union. Expand ternary operator into
11637 if-else statements.
11638 (cslow): use mynumber union.
11639
73616a74
AM
116402013-12-16 Allan McRae <allan@archlinux.org>
11641
9e8ac24b
AM
11642 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11643 * configure: Regenerated.
11644
6f8e37eb
AM
11645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11646
8894bad3
AM
11647 [BZ #14120]
11648 * configure.ac: Added --enable-maintainer-mode. Check for
11649 autoconf when enabled.
11650 * configure: Regenerated.
11651
73616a74
AM
11652 * nscd/nscd.service: New file.
11653 * nscd/nscd.tmpfiles: New file.
11654
584b18eb
OB
116552013-12-14 Ondřej Bílka <neleai@seznam.cz>
11656
11657 [BZ #12100]
11658 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11659 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11660 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11661 (strstr): Add __strstr_sse2_unaligned ifunc.
11662 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11663 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11664 (strcasestr): Remove __strcasestr_sse42 ifunc.
11665 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11668
8a5c7897
KK
116692013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11670
11671 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11672 * sysdeps/sh/bits/fenv.h: ... here.
11673 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11674
fd712ef3
AZ
116752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11676
11677 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11678
42fcb46c
AZ
11679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11680 hypotf multiarch implementations.
11681 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11682 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11683 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11684 multiarch hypot for PPC64.
11685 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11686 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11687 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11688 multiarch hypotf for PPC64.
11689
83efded4
AZ
11690 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11691 modff multiarch implementations.
11692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11695 multiarch modf for PPC64.
11696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11699 multiarch modff for PPC64.
11700
43e246d2
AZ
11701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11702 and logl multiarch implementations.
11703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11706 multiarch logb for PPC64.
11707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11710 multiarch logb for PPC64.
11711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11714 multiarch logb for PPC64.
11715
8fdad123
AZ
11716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11717 isinff multiarch implementation.
11718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11719 file.
11720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11722 multiarch isinf for PPC64.
11723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11724 file.
11725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11726 multiarch isinff for PPC64.
11727
1481d706
AZ
11728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11729 finitef multiarch implementation.
11730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11731 file.
11732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11734 multiarch finite for PPC64.
11735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11736 file.
11737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11738 multiarch finitef for PPC64.
11739
5ccd5fc8
AZ
11740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11741 lrint multiarch implementation.
11742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11743 file.
11744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11746 multiarch llrint for PPC64.
11747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11748 multiarch lrint for PPC64.
11749
2568f3fa
AZ
11750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11751 copysignf multiarch implementation.
11752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11753 file.
11754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11755 file.
11756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11757 multiarch copysign for PPC64.
11758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11759 multiarch copysignf for PPC64.
11760
1cb341fd
AZ
11761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11762 multiarch implementation.
11763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11764 file.
11765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11766 file.
11767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11768 file.
11769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11770 file.
11771 multiarch llround for PPC64.
11772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11773 multiarch trunc for PPC64.
11774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11775 multiarch truncf for PPC64.
11776
59a3e194
AZ
11777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11778 multiarch implementation.
11779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11780 file.
11781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11782 file.
11783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11784 file.
11785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11786 file.
11787 multiarch llround for PPC64.
11788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11789 multiarch round for PPC64.
11790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11791 multiarch roundf for PPC64.
11792
357fd3b4
AZ
11793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11794 multiarch implementation.
11795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11796 file.
11797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11798 file.
11799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11800 file.
11801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11802 file.
11803 multiarch llround for PPC64.
11804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11805 multiarch floor for PPC64.
11806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11807 multiarch floorf for PPC64.
11808
96770f12
AZ
11809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11810 multiarch implementation.
11811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11812 file.
11813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11814 file.
11815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11816 file.
11817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11818 file.
11819 multiarch llround for PPC64.
11820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11821 multiarch ceil for PPC64.
11822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11823 multiarch ceilf for PPC64.
11824
c3627f6e
AZ
11825 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11826 multiarch implementation.
11827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11828 file.
11829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11830 file.
11831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11832 file.
11833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11834 multiarch llround for PPC64.
11835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11836 multiarch lround for PPC64.
11837
b2284ad7
AZ
11838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11839 multiarch implementation.
11840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11843 file.
11844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11847 multiarch isnan for PPC64.
11848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11849 multiarch isnanf for PPC64.
11850
69bbc63d
AZ
11851 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11852 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11853 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11854 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11855 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11857
c24517c9
AZ
11858 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11859 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11860 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11861 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11862
a52374e8
AZ
11863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11864 multiarch implementations.
11865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11866 (__libc_ifunc_impl_list): Likewise.
11867 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11868 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11869 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11870 multiarch stpcpy for PPC64.
11871
7f5ec113
AZ
11872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11873 multiarch implementations.
11874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11875 (__libc_ifunc_impl_list): Likewise.
11876 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11877 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11878 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11879 multiarch strcpy for PPC64.
11880
e28bcd42
AZ
11881 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11882 redefine function name.
11883 (_wordcopy_fwd_dest_aligned): Likewise.
11884 (_wordcopy_bwd_aligned): Likewise.
11885 (_wordcopy_bwd_dest_aligned): Likewise.
11886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11887 multiarch implementations.
11888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11889 (__libc_ifunc_impl_list): Likewise.
11890 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11891 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11892 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11893 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11894 multiarch wcscpy for PPC64.
11895
92cacfce
AZ
11896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11897 multiarch implementations.
11898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11899 (__libc_ifunc_impl_list): Likewise.
11900 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11901 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11902 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11903 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11904 multiarch wcscpy for PPC64.
11905
7b714620
AZ
11906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11907 multiarch implementations.
11908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11909 (__libc_ifunc_impl_list): Likewise.
11910 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11911 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11912 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11913 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11914 multiarch wcsrchr for PPC64.
11915
16fd2ae3
AZ
11916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11917 multiarch implementations.
11918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11919 (__libc_ifunc_impl_list): Likewise.
11920 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11921 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11922 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11923 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11924 multiarch wcschr for PPC64.
11925
9ee2969b
AZ
11926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11927 multiarch implementations.
11928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11929 (__libc_ifunc_impl_list): Likewise.
11930 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11931 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11932 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11933 multiarch strchrnul for PPC64.
11934
372dc060
AZ
11935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11936 implementations.
11937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11938 (__libc_ifunc_impl_list): Likewise.
11939 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11940 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11941 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11942 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11943 strchr for PPC64.
11944
24c2c3b9
AZ
11945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11946 implementations.
11947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11948 (__libc_ifunc_impl_list): Likewise.
11949 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11950 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11951 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11952 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11953 strncmp for PPC64.
11954
1c92d9a0
AZ
11955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11956 multiarch implementations.
11957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11958 (__libc_ifunc_impl_list): Likewise.
11959 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11960 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11961 strncasecmp for PPC64.
11962 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11963 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11964 multiarch strncasecmp_l for PPC64.
11965
17de3ee3
AZ
11966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11967 multiarch implementations.
11968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11969 (__libc_ifunc_impl_list): Likewise.
11970 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11971 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11972 multiarch strcasecmp for PPC64.
11973 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11974 file.
11975 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11976 multiarch strcasecmp_l for PPC64.
11977
62982bf9
AZ
11978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11979 implementations.
11980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11981 (__libc_ifunc_impl_list): Likewise.
11982 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11983 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11984 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11985 strnlen for PPC64.
11986
a65f4904
AZ
11987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11988 implementations.
11989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11990 (__libc_ifunc_impl_list): Likewise.
11991 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11992 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11993 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11994 strlen for PPC64.
11995
1fd005ad
AZ
11996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11997 implementations.
11998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11999 (__libc_ifunc_impl_list): Likewise.
12000 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12001 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12002 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12003 rawmemrchr for PPC64.
12004
cd05ba91
AZ
12005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12006 implementation.
12007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12008 (__libc_ifunc_impl_list): Likewise.
12009 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12010 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12011 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12012 memrchr for PPC64.
12013
870f8676
AZ
12014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12015 implementation.
12016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12017 (__libc_ifunc_impl_list): Likewise.
12018 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12019 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12020 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12021 memchr for PPC64.
12022
f00be62b
AZ
12023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12024 implementation.
12025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12026 (__libc_ifunc_impl_list): Likewise.
12027 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12028 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12029 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12030 mempcpy for PPC64.
12031
8a29a3d0
AZ
12032 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12033 avoid cretion of __bzero symbol.
12034 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12035 Likewise.
12036 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12037 Likewise.
12038 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12039 Likewise.
12040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12041 multiarch implementations.
12042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12043 (__libc_ifunc_impl_list): Likewise.
12044 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12045 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12046 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12047 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12048 bzero for PPC32.
12049 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12050 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12051 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12052 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12053 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12054 memset for PPC64.
12055 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12056
07253fcf
AZ
12057 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12059 implementations.
12060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12061 (__libc_ifunc_impl_list): Likewise.
12062 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12063 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12064 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12065 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12066 memcmp for PPC64.
12067
b5beafbc
AZ
12068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12069 multiarch for POWER/PPC64.
12070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12071 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12072 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12073 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12074 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12075 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12076 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12077 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12078 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12079 memcpy for PPC64.
12080
5e6a4d4b
AZ
12081 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12082 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12083 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12084 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12085 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12086 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12087 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12088 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12089 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12090 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12091 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12092 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12093 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12094 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12095 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12103
ddfab6dc
KK
121042013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12105
12106 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12107
19b5525e
SP
121082013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12109
12110 * benchtests/Makefile (bench): Add exp2 and log2.
12111 (LDLIBS-bench-exp2): Add -lm.
12112 (LDLIBS-bench-log2): Likewise.
12113 * benchtests/exp2-inputs: New inputs file.
12114 * benchtests/log2-inputs: New inputs file.
12115 * benchtests/log-inputs: Add new inputs.
12116 * benchtests/tan-inputs: Likewise.
12117
196f7f5d
SP
121182013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12119
7a74607f
SP
12120 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12121 definition...
57f41c40
AS
12122 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12123 (csloww2): ... from here.
7a74607f 12124
196f7f5d
SP
12125 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12126 instead of structures.
12127 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12128 (POLYNOMIAL): Likewise.
12129 (TAYLOR_SLOW): Likewise.
12130 (__sin): Likewise.
12131 (__cos): Likewise.
12132 (slow1): Likewise.
12133 (slow2): Likewise.
12134 (sloww): Likewise.
12135 (sloww1); Likewise.
12136 (sloww2): Likewise.
12137 (bsloww1): Likewise.
12138 (bsloww2): Likewise.
12139 (cslow2): Likewise.
12140 (csloww): Likewise.
12141 (csloww1): Likewise.
12142 (csloww2): Likewise.
12143
0dfa665c
OB
121442013-12-10 Ondřej Bílka <neleai@seznam.cz>
12145
12146 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12147 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12148 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12149 * malloc/hooks.c (realloc_check): Likewise.
12150
5782a80f
OB
12151 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12152 * malloc/arena.c: Remove PER_THREAD conditional.
12153 [!PER_THREAD]: Remove code.
12154 (ptmalloc_unlock_all2): Likewise.
12155 (ptmalloc_init): Likewise.
12156 (_int_new_arena): Likewise.
12157 (arena_get2): Likewise.
12158 * malloc/hooks.c (__malloc_get_state): Likewise.
12159 (__malloc_set_state): Likewise.
12160 * malloc/malloc.c: Likewise.
12161 (struct malloc_state): Likewise.
12162 (struct malloc_par): Likewise.
12163 (__libc_realloc): Likewise.
12164 (__libc_mallopt): Likewise.
12165
aeb95445
AZ
121662013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12167
12168 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12169
e8349efd
OB
121702013-12-09 Ondřej Bílka <neleai@seznam.cz>
12171
12172 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12173 macro to a function. Check for zero perturb_byte.
12174 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12175
f3eeb3fc 12176 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12177 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12178 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12179 force_reg by atomic_forced_read.
12180 * malloc/arena.c (ptmalloc_init): Likewise.
12181 * malloc/hooks.c (top_check): Likewise.
12182
be2f9009
AZ
121832013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12184
12185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12186
e7b914bd
MT
121872013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12188
12189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12190
9f0be4f8
JM
121912013-12-08 Joseph Myers <joseph@codesourcery.com>
12192
12193 * math/auto-libm-test-in: Add tests of lgamma.
12194 * math/auto-libm-test-out: Regenerated.
12195 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12196 (M_LOG_2_SQRT_PIl): Likewise.
12197 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12198 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12199 mpfr_f_f1.
12200 (func_calc_desc): Add mpfr_f_f1 union field.
12201 (ARGS1): New macro.
12202 (ARGS2): Likewise.
12203 (ARGS3): Likewise.
12204 (ARGS4): Likewise.
12205 (RET1): Likewise.
12206 (RET2): Likewise.
12207 (CALC): Likewise.
12208 (FUNC): Likewise.
12209 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12210 (test_functions): Add lgamma.
12211 (calc_generic_results): Handle mpfr_f_f1.
12212 * sysdeps/i386/fpu/libm-test-ulps: Update.
12213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12214
24eeafdb
AZ
122152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12216
12217 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12218 __mpn_add_n for PowerPC64/POWER7.
12219 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12220 __mpn_sub_n for PowerPC64/POWER7.
12221
4a2c0fd4
AZ
12222 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12223 __mpn_addmul_1 for PowerPC64.
12224 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12225 __mpn_submul_1 for PowerPC64.
12226 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12227 for PowerPC64.
12228 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12229 for PowerPC64.
12230
4b5b548c
FS
122312013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12232
12233 [BZ #15089]
12234 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12235
0a3ac0aa
AZ
122362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12237
12238 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12239
ccdc8438
AZ
12240 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12241 add multiarch folders.
12242 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12243 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12244 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12245 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12246 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12247 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12248 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12249 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12250 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12251 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12252 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12259
2e973d99
AZ
12260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12261 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12263 New file.
12264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12265 New file.
12266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12267 multiarch __ieee754_hypot for PowerPC32.
12268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12269 New file.
12270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12271 New file.
12272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12273 multiarch __ieee754_hypotf for PowerPC32.
12274
2d9470b2
AZ
12275 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12276 long_double_symbol only if __logbl is defined.
12277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12278 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12280 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12282 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12284 path for implementation.
12285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12286 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12288 logb, and logbl multiarch implementations for PowerPC32.
12289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12290 file.
12291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12292 file.
12293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12294 multiarch logb for PowerPC32.
12295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12296 file.
12297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12298 file.
12299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12300 multiarch logbf for PowerPC32.
12301 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12303 file.
12304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12305 multiarch logbl implementation for PowerPC32.
12306
5212ffce
AZ
12307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12308 and modff multiarch implementations.
12309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12310 New file.
12311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12312 New file.
12313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12314 multiarch modf for PowerPC32.
12315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12316 New file.
12317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12318 New file.
12319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12320 multiarch modff for PowerPC32.
12321
79dccf31
AZ
12322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12323 and lrintf multiarch implementations.
12324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12325 New file.
12326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12327 New file.
12328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12329 multiarch lrint for PowerPC32.
12330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12331 file: multiarch lrintf for PowerPC32.
12332
deb66480
AZ
12333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12334 and lroundf multiarch implementations.
12335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12336 New file.
12337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12338 New file.
12339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12340 New file.
12341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12342 multiarch lround for PowerPC32.
12343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12344 file: multiarch lroundf for PowerPC32.
12345
264b036b
AZ
12346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12347 copysign and copysignf multiarch implementations.
12348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12349 New file.
12350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12351 New file.
12352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12353 file: multiarch copysign for PowerPC32.
12354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12355 file: multiarch copysignf for PowerPC32.
12356
d47db6c9
AZ
12357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12358 and truncf multiarch implementations.
12359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12360 New file.
12361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12362 file.
12363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12364 multiarch trunc for PowerPC32.
12365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12366 New file.
12367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12368 New file.
12369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12370 multiarch truncf for PowerPC32.
12371
ddb60b5a
AZ
12372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12373 and roundf multiarch implementations.
12374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12375 New file.
12376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12377 file.
12378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12379 multiarch round for PowerPC32.
12380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12381 New file.
12382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12383 New file.
12384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12385 multiarch roundf for PowerPC32.
12386
bedcf49b
AZ
12387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12388 and floorf multiarch implementations.
12389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12390 New file.
12391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12392 file.
12393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12394 multiarch floor for PowerPC32.
12395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12396 New file.
12397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12398 New file.
12399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12400 multiarch floorf for PowerPC32.
12401
35ae5b40
AZ
12402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12403 and ceilf multiarch implementations.
12404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12405 New file.
12406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12407 file.
12408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12409 multiarch ceil for PowerPC32.
12410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12411 New file.
12412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12413 file.
12414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12415 multiarch ceilf for PowerPC32.
12416
ae1a4cd9
AZ
12417 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12418 is defined.
12419 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12420 FINITEF is defined.
12421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12422 and finitef multiarch implementations.
12423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12424 New file.
12425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12426 file.
12427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12428 multiarch finite for PowerPC32.
12429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12430 New file.
12431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12432 file: multiarch finitef for PowerPC32.
12433
64fffd65
AZ
12434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12435 and isinff multiarch implementations.
12436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12437 file.
12438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12439 file.
12440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12441 multiarch isinf for PowerPC32.
12442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12443 New file.
12444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12445 multiarch isinff for PowerPC32.
12446
8e4e7ba2
AZ
12447 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12448 alias when __isnan is defined.
12449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12450 and isnanf multiarch implementations.
12451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12452 file.
12453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12454 file.
12455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12456 file.
12457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12458 file.
12459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12460 multiarch isnan for PowerPC32.
12461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12462 New file.
12463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12464 New file.
12465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12466 multiarch isnanf for PowerPC32.
12467
ddba588e
AZ
12468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12469 and sqrtf multiarch implementations.
12470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12471 file.
12472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12473 file.
12474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12475 multiarch sqrt for PowerPC32.
12476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12477 file.
12478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12479 file.
12480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12481 multiarch sqrtf for PowerPC32.
12482
0f96a2f0
AZ
12483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12484 and llroundf multiarch implementations.
12485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12486 New file.
12487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12488 New file.
12489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12490 New file.
12491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12492 file: multiarch llround for PowerPC32.
12493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12494 file: multiarch llroundf for PowerPC32.
12495
c9b5d79e
AZ
12496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12497 multiarch PowerPC32 fpu implementations.
12498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12499 New file.
12500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12501 New file.
12502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12503 multiarch llrint for PowerPC32.
12504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12505 New file.
12506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12507 New file.
12508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12509 file.
12510
9cbb3aab
AZ
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12512
ea5a72f8
AZ
12513 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12514 file.
12515 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12516 file.
12517 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12518 file.
12519 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12520 multiarch wordcopy for PPC32.
12521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12522 wordcopy objects.
12523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12524 (__libc_ifunc_impl_list): Likewise.
12525 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12526 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12528 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12529 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12530 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12531
93be09e7
AZ
12532 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12534 file.
12535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12536 file.
12537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12538 file.
12539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12540 multiarch wcscpy for PPC32.
12541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12542 multiarch objects.
12543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12544 (__libc_ifunc_impl_list): Likewise.
12545 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12546 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12547 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12548 sysdeps/powerpc/power6/wcscpy.c.
12549
bb04e529
AZ
12550 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12551 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12552 file.
12553 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12554 file.
12555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12556 file.
12557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12558 multiarch wcsrchr for PPC32.
12559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12560 multiarch objects.
12561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12562 (__libc_ifunc_impl_list): Likewise.
12563 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12564 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12565 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12566 sysdeps/powerpc/power6/wcsrchr.c.
12567
05b5cd1c
AZ
12568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12569 file.
12570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12571 file.
12572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12573 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12574 multiarch wcschr for PPc32.
12575 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12576 multiarch objects.
12577 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12578 (__libc_ifunc_impl_list): Likewise.
12579 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12580 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12581 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12582 sysdeps/powerpc/power6/wcschr.c.
12583
ba964147
AZ
12584 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12585 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12586 file.
12587 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12588 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12589 file: multiarch strchr for PPC32.
12590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12591 multiarch objects.
12592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12593 (__libc_ifunc_impl_list): Likewise.
12594
31c81aaa
AZ
12595 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12596 name.
12597 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12598 file.
12599 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12600 file.
12601 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12602 multiarch strchrnul for PPC32.
12603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12604 multiarch objects.
12605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12606 (__libc_ifunc_impl_list): Likewise.
12607
0d0607d9
AZ
12608 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12609 file.
12610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12611 multiarch strncasecmp for PPC32.
12612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12613 file.
12614 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12615 multiarch strncasecmp_l for PPC32.
12616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12617 strncasecmp multiarch objects.
12618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12619 (__libc_ifunc_impl_list): Likewise.
12620
4dfd5c86
AZ
12621 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12622 file.
12623 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12624 multiarch strncasecmp for PPC32.
12625 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12626 New file.
12627 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12628 multiarch strcasecmp_l for PPC32.
12629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12630 multiarch objects.
12631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12632 (__libc_ifunc_impl_list): Likewise.
12633
a19e01a3
AZ
12634 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12635 file.
12636 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12637 file.
12638 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12639 multiarch strncmp for PPC32.
12640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12641 multiarch objects.
12642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12643 (__libc_ifunc_impl_list): Likewise.
12644
ae9cf7a2
AZ
12645 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12646 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12647 file.
12648 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12649 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12650 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12651 multiarch objects.
12652 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12653 (__libc_ifunc_impl_list): Likewise.
12654
3148bb7d
AZ
12655 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12656 file.
12657 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12658 file.
12659 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12660 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12661 multiarch objects.
12662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12663 (__libc_ifunc_impl_list): Likewise.
12664
7af8b946
AZ
12665 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12666 file.
12667 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12668 file.
12669 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12670 multiarch rawmemchr for PPC32.
12671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12672 multiarch objects.
12673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12674 (__libc_ifunc_impl_list): Likewise.
12675
03a6aa6a
AZ
12676 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12677 file.
12678 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12679 file.
12680 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12681 file: memrchr multiarch for PPC32.
12682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12683 multiarch objects.
12684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12685 (__libc_ifunc_impl_list): Likewise.
12686
1c62e6d9
AZ
12687 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12688 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12689 file.
12690 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12691 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12692 multiarch memchr for PPC32.
12693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12694 multiarch objects.
12695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12696 (__libc_ifunc_impl_list): Likewise.
12697
87da8bdb
AZ
12698 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12699 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12700 file.
12701 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12702 file.
12703 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12704 file: multiarch mempcpy for PPC32.
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12706 multiarch objects.
12707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12708 (__libc_ifunc_impl_list): Likewise.
12709
20ed4714
AZ
12710 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12711 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12712 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12713 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12714 multiarch bzero for PPC32.
12715 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12716 file.
12717 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12718 file.
12719 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12720 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12721 file: multiarch memset for PPC32.
12722 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12724 memset multiarch objects.
12725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12726 (__libc_ifunc_impl_list): Likewise.
12727
ab3e3a46
AZ
12728 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12729 file.
12730 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12731 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12732 memcmp for PPC32.
12733 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12735 multiarch objects.
12736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12737 (__libc_ifunc_impl_list): Likewise.
12738
930de6f0
AZ
12739 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12740 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12741 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12742 file.
12743 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12744 file.
12745 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12746 file.
12747 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12748 multiarch memcpy for PPC32.
12749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12750 multiarch objects.
12751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12752 (__libc_ifunc_impl_list): Likewise.
12753
4c628e00
AZ
12754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12755 support multiarch for POWER/PPC32.
12756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12757 Likewise.
12758 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12760 Implies file to make multiarch folder appers before the fpu and
12761 default folder for power4 configuration.
12762
f4479220
SP
127632013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12764
12765 * scripts/bench.pl: Append volatile keyword to type.
12766
8517800f
KK
127672013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12768
12769 * sysdeps/sh/sotruss-lib.c: New file.
12770 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12771
180138f1
AZ
127722013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12773
12774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12775
bbf37bdc
JM
127762013-12-05 Joseph Myers <joseph@codesourcery.com>
12777
e47cc4e0
JM
12778 [BZ #6810]
12779 * math/w_tgamma.c: Include <errno.h>.
12780 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12781 * math/w_tgammaf.c: Include <errno.h>.
12782 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12783 * math/w_tgammal.c: Include <errno.h>.
12784 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12785 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12786 underflow. Add more tgamma tests.
12787 * math/auto-libm-test-out: Regenerated.
12788 * sysdeps/i386/fpu/libm-test-ulps: Update.
12789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12790
bbf37bdc
JM
12791 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12792 sin, sinh, tan, tanh, tgamma, y0 and y1.
12793 * math/auto-libm-test-out: Regenerated.
12794 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12795 (TEST_COND_x86): Likewise.
12796 (M_E2l): Remove macro.
12797 (M_E3l): Likewise.
12798 (M_2_SQRT_PIl): Likewise.
12799 (M_SQRT_PIl): Likewise.
12800 (M_1_DIV_El): Likewise.
12801 (log_test_data): Use AUTO_TESTS_f_f.
12802 (log10_test_data): Likewise.
12803 (log1p_test_data): Likewise.
12804 (log2_test_data): Likewise.
12805 (sin_test_data): Likewise.
12806 (sin_tonearest_test_data): Likewise.
12807 (sin_towardzero_test_data): Likewise.
12808 (sin_downward_test_data): Likewise.
12809 (sin_upward_test_data): Likewise.
12810 (sinh_test_data): Likewise.
12811 (sinh_tonearest_test_data): Likewise.
12812 (sinh_towardzero_test_data): Likewise.
12813 (sinh_downward_test_data): Likewise.
12814 (sinh_upward_test_data): Likewise.
12815 (tan_test_data): Likewise.
12816 (tan_tonearest_test_data): Likewise.
12817 (tan_towardzero_test_data): Likewise.
12818 (tan_downward_test_data): Likewise.
12819 (tan_upward_test_data): Likewise.
12820 (tanh_test_data): Likewise.
12821 (tgamma_test_data): Likewise.
12822 (y0_test_data): Likewise.
12823 (y1_test_data): Likewise.
12824 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12825 (special_real_inputs): Add pi/4.
12826 * sysdeps/i386/fpu/libm-test-ulps: Update.
12827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12828
eb5ad6b9
AZ
128292013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12830
12831 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12832 "longjmp_target" static probes.
12833 (__longjmp): Rename to __longjmp_symbol.
12834 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12835 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12836 on which longjmp to generate.
12837 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12838 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12839 probe.
12840 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12841 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12842 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12843 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12844 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12845 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12847 __longjmp_symbol based on which __longjmp to generate.
12848 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12849 probe.
12850 (setjmp): Rename to setjmp_symbol.
12851 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12852 (_setjmp): Rename to _setjmp_symbol.
12853 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12854 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12855 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12856 which setjmp to generate.
12857 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12858 "longjmp_target" static probes.
12859
d136c6dc
SP
128602013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12861
9298ecba
SP
12862 * benchtests/README: Add note about output arguments.
12863 * benchtests/bench-sincos.c: Remove file.
12864 * benchtests/sincos-inputs: New file.
12865 * scripts/bench.pl: Identify output arguments and define
12866 static variables for them.
12867
232983e9
SP
12868 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12869
d136c6dc
SP
12870 [BZ #15941]
12871 * Makefile (INSTALL): Add install-plain.texi as the primary
12872 dependency.
12873 * manual/install-plain.texi: New file.
12874 * manual/install.texi: Include node directive only for
12875 non-plaintext output.
12876
699ff837
JM
128772013-12-04 Joseph Myers <joseph@codesourcery.com>
12878
ab07cea8
JM
12879 * stdlib/longlong.h: Update from GCC.
12880
699ff837
JM
12881 [BZ #6807]
12882 [BZ #15901]
12883 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12884 * math/w_j0f.c (y0f): Likewise.
12885 * math/w_j0l.c (__y0l): Likewise.
12886 * math/w_j1.c (y1): Likewise.
12887 * math/w_j1f.c (y1f): Likewise.
12888 * math/w_j1l.c (__y1l): Likewise
12889 * math/w_jn.c (yn): Likewise.
12890 * math/w_jnf.c (ynf): Likewise.
12891 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12892 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12893 value for Bessel function domain errors outside _SVID_ mode.
12894 Adjust sign of return value for yn (negative integer, 0).
12895 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12896 by zero in return for negative x and set sign appropriately for
12897 negative n.
12898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12899 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12900 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12901 expectations in error cases.
12902 (y1_test_data): Likewise.
12903 (yn_test_data): Likewise.
12904 * sysdeps/i386/fpu/libm-test-ulps: Update.
12905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12906
5b118558
UW
129072013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12908
12909 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12910 "64" to "64-v1". Add "64-v2".
12911 (abi-64-options): Rename to ...
12912 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12913 (abi-64-condition): Rename to ...
12914 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12915 (abi-64-ld-soname): Rename to ...
12916 (abi-64-v1-ld-soname): ... this.
12917 (abi-64-v2-options): Define.
12918 (abi-64-v2-condition): Likewise.
12919 (abi-64-v2-ld-soname): Likewise.
12920 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12921 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12925
61cd8fe4
UW
129262013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12927 Alan Modra <amodra@gmail.com>
12928
12929 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12930 New versions for use with the ELFv2 ABI.
12931 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12932 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12933 declaration.
12934 (struct La_ppc64v2_retval): Likewise.
12935 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12936 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12937 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12938 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12939 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12940 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12941 Do not save or restore CR.
12942 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12943 (_dl_profile_resolve): Do no save or restore CR. Support extended
12944 return values for ELFv2 ABI. Fix location of FPR return registers.
12945 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12946 updated values for _CALL_ELF == 2.
12947 (La_regs, La_retval, int_retval): Likewise.
12948
8b8a692c
UW
129492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12950
12951 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12952 (FRAME_MIN_SIZE_PARM): Likewise.
12953 (FRAME_BACKCHAIN): Likewise.
12954 (FRAME_CR_SAVE): Likewise.
12955 (FRAME_LR_SAVE): Likewise.
12956 (FRAME_TOC_SAVE): Likewise.
12957 (FRAME_PARM_SAVE): Likewise.
12958 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12959 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12960 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12961 (call_mcount_parm_offset): New macro.
12962 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12963 (PROF): Use symbolic stack frame offsets.
12964 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12965 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12966 Redefine in terms of FRAME_MIN_SIZE.
12967 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12968 (_dl_profile_resolve): Likewise. Update comment.
12969 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12970 symbols stack frame offsets.
12971 (__sigsetjmp): Likewise.
12972 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12973 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12974 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12975 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12976
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12978 (FRAME_BACKCHAIN): Remove.
12979 (FRAME_CR_SAVE): Likewise.
12980 (FRAME_LR_SAVE): Likewise.
12981 (FRAME_COMPILER_DW): Likewise.
12982 (FRAME_LINKER_DW): Likewise.
12983 (FRAME_TOC_SAVE): Likewise.
12984 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12985 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12986 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12987 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12989 (CHECK_SP): Use symbolic stack frame offsets.
12990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12991 zone" instead of caller's parameter save area for temp storage.
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12993 Likewise. Also, use symbolic stack frame offsets.
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12995 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12996 our own stack frame instead of the caller's.
12997 (__socket): Use symbolic stack frame offsets.
12998
122b66de
UW
129992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13000 Alan Modra <amodra@gmail.com>
13001
13002 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13003 Define.
57f41c40
AS
13004 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13005 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13006 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13007 New function.
13008 (elf_machine_fixup_plt): Call it.
13009 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13010 reloc arguments.
13011 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13012 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13013 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13014 r2 before calling target.
13015
696caf1d
UW
130162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13017 Alan Modra <amodra@gmail.com>
13018
13019 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13020 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13021 versions of macros to support ELFv2 ABI.
13022 (LOCALENTRY): New macro.
13023 (ENTRY, EALIGN): Use it.
13024 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13025 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13026 fall through into ENTRY entry point.
13027 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13028 Only define if _CALL_ELF != 2.
13029
13030 (elf_machine_matches_host): Verify ABI version matches.
13031 (RTLD_START): Use LOCALENTRY.
13032 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13033 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13034 (PLT_ENTRY_WORDS): New macro.
13035 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13036 (elf_machine_runtime_setup): Support ELFv2 ABI.
13037 (elf_machine_fixup_plt): Likewise.
13038 (elf_machine_plt_conflict): Likewise.
13039 (resolve_ifunc): Likewise.
13040 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13041 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13042 Likewise.
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13044 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13046 (makecontext): Support ELFv2 ABI.
13047 * elf/elf.h (EF_PPC64_ABI): Define.
13048
d31beafa
UW
130492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13050
57f41c40
AS
13051 * sysdeps/powerpc/powerpc64/sysdep.h
13052 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13053 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13054 (ENTRY) [ASSEMBLER]: ... but instead here ...
13055 (EALIGN) [ASSEMBLER]: ... and here.
13056 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13057 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13058 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13059 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13060 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13061 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13062 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13063 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13065 Use PPC64_LOAD_FUNCPTR.
13066
b525166b
UW
13067 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13068
7ec07d9a
AM
130692013-12-04 Alan Modra <amodra@gmail.com>
13070
13071 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13072 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13073 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13074 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13075
13076 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13077 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13078 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13079 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13080 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13081 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13082
5162e7dd
UW
130832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13084
13085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13086 (__makecontext): Fix incorrect CFI when backtracing out of
13087 context created via makecontext.
13088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13089 (__setcontext): Fix incorrect CFI during switch to new context.
13090 (__novec_setcontext): Likewise.
13091
19e3372b
OB
130922013-12-04 Ondřej Bílka <neleai@seznam.cz>
13093
13094 [BZ #4772]
13095 * time/strptime_l.c (__strptime_internal): Allow modifiers
13096 in strptime.
13097 * time/tst-strptime.c (day_tests): Add testcase.
13098
ecaf142d
SP
130992013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13100
13101 * scripts/bench.pl: Skip over blank lines.
13102
fbf964ae
PE
131032013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13104
13105 [BZ #926]
13106 * manual/time.texi (Calendar Time): Clarify what timezone functions
13107 use.
13108
fa60a674
AZ
131092013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13110
13111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13112
d674f0ef
OB
131132013-12-04 Ondřej Bílka <neleai@seznam.cz>
13114
13115 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13116 implementation.
13117 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13118 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13119 * debug/memset_chk.c (__memset_chk): Likewise.
13120 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13121 * debug/strncpy_chk.c: Likewise.
13122
17dea188
JM
131232013-12-03 Joseph Myers <joseph@codesourcery.com>
13124
749008ff
JM
13125 [BZ #15268]
13126 [BZ #15425]
13127 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13128 (__ieee754_exp): For possibly underflowing results, check size of
13129 result and force underflow exception if required.
13130 * math/auto-libm-test-in: Add more tests of exp.
13131 * math/auto-libm-test-out: Regenerated.
13132 * sysdeps/i386/fpu/libm-test-ulps: Update.
13133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13134
17dea188
JM
13135 [BZ #16283]
13136 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13137 * math/w_exp2f.c (__exp2f): Likewise.
13138 * math/w_exp2l.c (__exp2l): Likewise.
13139 * math/auto-libm-test-in: Do not allow missing errno on exp2
13140 underflow.
13141 * math/auto-libm-test-out: Regenerated.
13142
b20de2c3
OB
131432013-12-03 Ondřej Bílka <neleai@seznam.cz>
13144
13145 [BZ #16274]
13146 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13147 handle filename validation.
13148 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13149 (do_open): Delete.
13150
d8e2dbe3
JM
131512013-12-03 Joseph Myers <joseph@codesourcery.com>
13152
34e16df5
JM
13153 [BZ #6786]
13154 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13155 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13156 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13157 <float.h>.
13158 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13159 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13160 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13162 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13163 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13164 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13165 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13166 Add more erfc tests.
13167 * math/auto-libm-test-out: Regenerated.
13168 * sysdeps/i386/fpu/libm-test-ulps: Update.
13169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13170
d8e2dbe3
JM
13171 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13172 exp2, expm1, j0 and j1.
13173 * math/auto-libm-test-out: Regenerated.
13174 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13175 (erfc_test_data): Likewise.
13176 (exp_test_data): Likewise.
13177 (exp_tonearest_test_data): Likewise.
13178 (exp_towardzero_test_data): Likewise.
13179 (exp_downward_test_data): Likewise.
13180 (exp_upward_test_data): Likewise.
13181 (exp10_test_data): Likewise.
13182 (exp2_test_data): Likewise.
13183 (expm1_test_data): Likewise.
13184 (j0_test_data): Likewise.
13185 (j1_test_data): Likewise.
13186 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13187 (input_flag_type): Add flag_xfail_rounding.
13188 (input_flags): Add xfail-rounding.
13189 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13190 (output_for_one_input_case): Handle flag_xfail_rounding.
13191 * sysdeps/i386/fpu/libm-test-ulps: Update.
13192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13193
18d14251
AJ
131942013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13195
3d2e6075 13196 [BZ #16289]
18d14251
AJ
13197 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13198 division by 0.
13199
520d437b
SP
132002013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13201
13202 [BZ #16195]
13203 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13204 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13205 (STAP_PROBE0): New macro.
13206 (STAP_PROBE1): Likewise.
13207 (STAP_PROBE2): Likewise.
13208 (STAP_PROBE3): Likewise.
13209 (STAP_PROBE4): Likewise.
13210
416e0145
OB
132112013-12-02 Ondřej Bílka <neleai@seznam.cz>
13212
13213 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13214
9d17796a
SE
132152013-12-02 Steve Ellcey <sellcey@mips.com>
13216
13217 * benchtests/Makefile (bench): Add sqrt.
13218 (LDLIBS-bench-sqrt): New.
13219 * benchtests/sqrt-input: New.
13220
f524d6a8
PS
132212013-12-02 Pavel Simerda <psimerda@redhat.com>
13222
639a0ef8
PS
13223 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13224 (GAIH_EAI): Likewise.
13225 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13226 (gaih_inet): Likewise.
13227 (getaddrinfo): Don't use GAIH_EAI.
13228
f524d6a8
PS
13229 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13230 (struct gaih): Remove definition.
13231
df3aedaf
SP
132322013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13233
13234 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13235 Use HERRNOP directly.
13236
1ab19dec
AZ
132372013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13238
b42ad38d 13239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13240
176b0c79
JM
132412013-11-30 Joseph Myers <joseph@codesourcery.com>
13242
13243 * math/gen-auto-libm-tests.c (test_functions): Add more
13244 single-argument functions.
13245 (special_fill_pi_2): New function.
13246 (special_fill_minus_pi_2): Likewise.
13247 (special_fill_pi_6): Likewise.
13248 (special_fill_minus_pi_6): Likewise.
13249 (special_fill_pi_3): Likewise.
13250 (special_fill_2pi_3): Likewise.
13251 (special_fill_e): Likewise.
13252 (special_fill_1_e): Likewise.
13253 (special_fill_e_minus_1): Likewise.
13254 (special_real_inputs): Add more special inputs.
13255 (output_for_one_input_case): Do not require ERANGE on underflow to
13256 zero if round-to-nearest result does not underflow to zero, unless
13257 exact results required.
13258 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13259 atan, atanh, cbrt, cos and cosh.
13260 * math/auto-libm-test-out: Regenerated.
13261 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13262 (acos_tonearest_test_data): Likewise.
13263 (acos_towardzero_test_data): Likewise.
13264 (acos_downward_test_data): Likewise.
13265 (acos_upward_test_data): Likewise.
13266 (acosh_test_data): Likewise.
13267 (asin_test_data): Likewise.
13268 (asin_tonearest_test_data): Likewise.
13269 (asin_towardzero_test_data): Likewise.
13270 (asin_upward_test_data): Likewise.
13271 (asinh_test_data): Likewise.
13272 (atan_test_data): Likewise.
13273 (atanh_test_data): Likewise.
13274 (cbrt_test_data): Likewise.
13275 (cos_test_data): Likewise.
13276 (cos_tonearest_test_data): Likewise.
13277 (cos_towardzero_test_data): Likewise.
13278 (cos_downward_test_data): Likewise.
13279 (cos_upward_test_data): Likewise.
13280 (cosh_test_data): Likewise.
13281 (cosh_tonearest_test_data): Likewise.
13282 (cosh_towardzero_test_data): Likewise.
13283 (cosh_downward_test_data): Likewise.
13284 (cosh_upward_test_data): Likewise.
13285 * sysdeps/i386/fpu/libm-test-ulps: Update.
13286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13287
ffb536d0
JM
132882013-11-29 Joseph Myers <joseph@codesourcery.com>
13289
2a77a467
JM
13290 [BZ #6787]
13291 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13292 * math/w_exp10f.c (__exp10f): Likewise.
13293 * math/w_exp10l.c (__exp10l): Likewise.
13294 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13295 errno settings in existing tests.
13296
ea3bc4e8
JM
13297 [BZ #14032]
13298 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13299 precision control set to double precision.
13300 * sysdeps/i386/fpu/w_sqrt.c: New file.
13301 * math/auto-libm-test-in: Add more tests.
13302 * math/auto-libm-test-out: Update.
13303
0712c9d8
JM
13304 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13305 (sqrt_test_tonearest): New function.
13306 (sqrt_towardzero_test_data): New variable.
13307 (sqrt_test_towardzero): New function.
13308 (sqrt_downward_test_data): New variable.
13309 (sqrt_test_downward): New function.
13310 (sqrt_upward_test_data): New variable.
13311 (sqrt_test_upward): New function.
13312 (main): Call the new functions.
13313
ffb536d0
JM
13314 * math/gen-auto-libm-tests.c: New file.
13315 * math/auto-libm-test-in: Likewise.
13316 * math/auto-libm-test-out: New generated file.
13317 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13318 variables.
13319 (%beautify): Add generated representations of zero.
13320 (top level): Set $auto_input and call parse_auto_input.
13321 (beautify): Remove trailing "f" from hex float constants.
13322 (parse_args): Handle XFAIL_TEST.
13323 (convert_condition): New function.
13324 (or_value): Likewise.
13325 (or_cond_value): Likewise.
13326 (generate_testfile): Handle AUTO_TESTS_* lines.
13327 (parse_auto_input): New function.
13328 * math/libm-test.inc (XFAIL_TEST): New macro.
13329 (ERRNO_UNCHANGED): Update value.
13330 (ERRNO_EDOM): Likewise.
13331 (ERRNO_ERANGE): Likewise.
13332 (IGNORE_RESULT): Likewise.
13333 (TEST_COND_flt_32): New macro.
13334 (TEST_COND_dbl_64): Likewise.
13335 (TEST_COND_ldbl_96_intel): Likewise.
13336 (TEST_COND_ldbl_96_m68k): Likewise.
13337 (TEST_COND_ldbl_128): Likewise.
13338 (TEST_COND_ldbl_128ibm): Likewise.
13339 (TEST_COND_long32): Likewise.
13340 (TEST_COND_long64): Likewise.
13341 (TEST_COND_before_rounding): Likewise.
13342 (TEST_COND_after_rounding): Likewise.
13343 (enable_test): Handle XFAIL_TEST flag.
13344 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13345 with finite results.
13346 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13347 auto-libm-test-out.
13348
acd98a8e
AK
133492013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13350 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13351
13352 [BZ #16214]
13353 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13354 __tls_get_addr_internal instead of __tls_get_offset in order to
13355 avoid GOT pointer dependency. Make rtld export
13356 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13357 __tls_get_addr since we are a __tls_get_offset platform.
13358 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13359 GOT pointer being set up before.
13360 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13361
3c1c46a6
JM
133622013-11-28 Joseph Myers <joseph@codesourcery.com>
13363
7475aef5
JM
13364 * manual/math.texi (Errors in Math Functions): Document accuracy
13365 goals.
13366
8bca7cd8
JM
13367 [BZ #15004]
13368 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13369 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13372 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13374 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13379 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13384
91a1f3fe
JM
13385 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13386 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13387 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13388 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13389 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13390 Likewise.
13391 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13392 Likewise.
13393 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13394 Likewise.
13395 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13396 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13397 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13398 atomic-feupdateenv and flt-rounds.
13399 * sysdeps/powerpc/nofpu/Versions (libc): Add
13400 __atomic_feholdexcept, __atomic_feclearexcept,
13401 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13402 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13403 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13404 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13405 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13406 here.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13408 Update.
13409
c5df7609
JM
13410 * manual/arith.texi (FP Exceptions): Document that exceptions may
13411 not be raised when matherr is used.
13412 (Math Error Reporting): Document overflow in directed rounding
13413 modes. Document that errno may not be set when finite values are
13414 returned on overflow. Document intent to set errno on underflow
13415 only for underflow to zero.
13416
3c1c46a6
JM
13417 [BZ #16271]
13418 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13419 round-to-nearest then adjust result for other rounding modes.
13420 * include/fenv.h (fegetround): Use libm_hidden_proto.
13421 * math/fegetround.c (fegetround): Use libm_hidden_def.
13422 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13423 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13424 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13425 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13426 Likewise.
13427 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13428 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13429 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13430 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13431
5a4c6d53
SP
134322013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13433
13434 [BZ #16077]
13435 * nss/Versions (libnss_files): Add
13436 _nss_files_gethostbyname3_r.
13437 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13438 New function.
13439 (HOST_DB_LOOKUP): Remove macro.
13440 (_nss_files_gethostbyname_r): Implement function without the
13441 HOST_DB_LOOKUP macro.
13442 (_nss_files_gethostbyname2_r): Likewise.
13443
897b98ba
OB
134442013-11-28 Ondřej Bílka <neleai@seznam.cz>
13445
13446 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13447
6f476861
UB
134482013-11-26 Uros Bizjak <ubizjak@gmail.com>
13449
13450 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13451 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13452 warning.
13453
bd12ab55
AZ
134542013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13455
13456 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13457 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13458 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13459 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13460 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13461 __fe_nomask_env_priv and attribute_hidden.
13462 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13463 (libc_feupdateenv_test_ppc): Likewise.
13464 (libc_feresetround_ppc): Likewise.
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13466 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13467 compat_symbol macro.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13469 (__fe_nomask_env): Likewise.
13470 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13471
52bb6543
OB
134722013-11-26 Ondřej Bílka <neleai@seznam.cz>
13473
13474 * string/Makefile: Remove ifunc tests.
13475 * string/test-string.h: Define TEST_IFUNC.
13476 * string/test-bcopy-ifunc.c: Remove.
13477 * string/test-bzero-ifunc.c: Likewise.
13478 * string/test-memccpy-ifunc.c: Likewise.
13479 * string/test-memchr-ifunc.c: Likewise.
13480 * string/test-memcmp-ifunc.c: Likewise.
13481 * string/test-memcpy-ifunc.c: Likewise.
13482 * string/test-memmem-ifunc.c: Likewise.
13483 * string/test-memmove-ifunc.c: Likewise.
13484 * string/test-mempcpy-ifunc.c: Likewise.
13485 * string/test-memrchr-ifunc.c: Likewise.
13486 * string/test-memset-ifunc.c: Likewise.
13487 * string/test-rawmemchr-ifunc.c: Likewise.
13488 * string/test-stpcpy-ifunc.c: Likewise.
13489 * string/test-stpncpy-ifunc.c: Likewise.
13490 * string/test-strcasecmp-ifunc.c: Likewise.
13491 * string/test-strcasestr-ifunc.c: Likewise.
13492 * string/test-strcat-ifunc.c: Likewise.
13493 * string/test-strchr-ifunc.c: Likewise.
13494 * string/test-strchrnul-ifunc.c: Likewise.
13495 * string/test-strcmp-ifunc.c: Likewise.
13496 * string/test-strcpy-ifunc.c: Likewise.
13497 * string/test-strcspn-ifunc.c: Likewise.
13498 * string/test-strlen-ifunc.c: Likewise.
13499 * string/test-strncasecmp-ifunc.c: Likewise.
13500 * string/test-strncat-ifunc.c: Likewise.
13501 * string/test-strncmp-ifunc.c: Likewise.
13502 * string/test-strncpy-ifunc.c: Likewise.
13503 * string/test-strnlen-ifunc.c: Likewise.
13504 * string/test-strpbrk-ifunc.c: Likewise.
13505 * string/test-strrchr-ifunc.c: Likewise.
13506 * string/test-strspn-ifunc.c: Likewise.
13507 * string/test-strstr-ifunc.c: Likewise.
13508
ab260039 135092013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13510
13511 * benchtests/Makefile: Remove ifunc tests.
13512 * benchtests/bench-string.h: Define TEST_IFUNC.
13513 * benchtests/bench-bcopy-ifunc.c: Remove.
13514 * benchtests/bench-bzero-ifunc.c: Likewise.
13515 * benchtests/bench-memccpy-ifunc.c: Likewise.
13516 * benchtests/bench-memchr-ifunc.c: Likewise.
13517 * benchtests/bench-memcmp-ifunc.c: Likewise.
13518 * benchtests/bench-memcpy-ifunc.c: Likewise.
13519 * benchtests/bench-memmem-ifunc.c: Likewise.
13520 * benchtests/bench-memmove-ifunc.c: Likewise.
13521 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13522 * benchtests/bench-memrchr-ifunc.c: Likewise.
13523 * benchtests/bench-memset-ifunc.c: Likewise.
13524 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13525 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13526 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13527 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13528 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13529 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13530 * benchtests/bench-strcat-ifunc.c: Likewise.
13531 * benchtests/bench-strchr-ifunc.c: Likewise.
13532 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13533 * benchtests/bench-strcmp-ifunc.c: Likewise.
13534 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13535 * benchtests/bench-strcpy-ifunc.c: Likewise.
13536 * benchtests/bench-strcspn-ifunc.c: Likewise.
13537 * benchtests/bench-strlen-ifunc.c: Likewise.
13538 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13539 * benchtests/bench-strncat-ifunc.c: Likewise.
13540 * benchtests/bench-strncmp-ifunc.c: Likewise.
13541 * benchtests/bench-strncpy-ifunc.c: Likewise.
13542 * benchtests/bench-strnlen-ifunc.c: Likewise.
13543 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13544 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13545 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13546 * benchtests/bench-strspn-ifunc.c: Likewise.
13547 * benchtests/bench-strstr-ifunc.c: Likewise.
13548
135492013-11-26 Ondřej Bílka <neleai@seznam.cz>
13550
ab260039
OB
13551 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13552
d1d9eaf4 135532013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13554
d1d9eaf4
OB
13555 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13556 * rt/aio.h: Likewise.
13557 * sysdeps/gnu/bits/utmp.h: Likewise.
13558 * sysdeps/gnu/bits/utmpx.h: Likewise.
13559 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13560 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13561 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13562 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13563 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13564 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13565 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13566 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13567 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13568 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13569 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13570 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13571 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13573 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13574 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13575 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13576 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13577 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13578 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13579 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13580 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13581 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13582 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13583 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13585 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13586 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13587 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13588 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13589 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13590 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13591 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13592 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13593 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13594 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13595 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13596 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13597 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13598 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13599 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13600 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13601
a7624ed9
CD
136022013-11-25 Carlos O'Donell <carlos@redhat.com>
13603
13604 [BZ #16245]
13605 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13606 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13607
63cfe52b
JM
136082013-11-25 Joseph Myers <joseph@codesourcery.com>
13609
13610 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13611 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13612 Likewise.
13613
41e8926a
AZ
136142013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13615
13616 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13617 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13618 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13619 (__fesetround): Remove define.
13620 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13621 rounding and exceptions handling.
13622 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13623 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13624 (__fe_nomask_env): Likewise.
13625 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13626 __fegetround instead of fegetround.
13627 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13628 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13629
6851bd4d
RM
136302013-11-21 Roland McGrath <roland@hack.frob.com>
13631
070906ff
RM
13632 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13633 it's there.
13634
6851bd4d
RM
13635 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13636
84ae135d
MI
136372013-11-21 Meador Inge <meadori@codesourcery.com>
13638
13639 [BZ #11157]
13640 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13641 (encrypt_r): Likewise.
13642 * malloc/obstack.h (obstack_free): Likewise.
13643 * posix/unistd.h (encrypt): Likewise.
13644
daf75146
GM
136452013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13646
13647 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13648 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13649 DL_CALL_DT_FINI() that call the functions directly.
13650 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13651 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13652 * elf/dl-fini.c: Likewise.
13653
10ad46bc
OB
136542013-11-20 Ondřej Bílka <neleai@seznam.cz>
13655
13656 * malloc/hooks.c (memalign_check): Add alignment rounding.
13657 * malloc/malloc.c (_mid_memalign): New function.
13658 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13659 Implement by calling _mid_memalign.
13660 * manual/probes.texi (Memory Allocation Probes): Remove
13661 memory_valloc_retry and memory_pvalloc_retry.
13662
f3fd2628
SP
136632013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13664
4712799f
SP
13665 * locale/programs/locarchive.c (open_archive): Add const
13666 qualifier to ARCHIVEFNAME and copy default fname to
13667 DEFAULT_FNAME.
13668
0417b20f
SP
13669 [BZ #15601]
13670 * libio/tst-widetext.input: Rename Oriya to Odia.
13671 * locale/iso-639.def: Likewise.
13672
f3fd2628
SP
13673 * manual/probes.texi (Mathematical Function Probes): Add
13674 documentation for sin, cos, asin and acos probes.
13675 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13676 (__sin32): Add slowasin probe.
13677 (__cos32): Add slowacos probe.
13678 (__mpsin): Add slowsin probe.
13679 (__mpcos): Add slowcos probe.
13680
73c1ce4f
JM
136812013-11-19 Joseph Myers <joseph@codesourcery.com>
13682
13683 [BZ #15483]
13684 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13685 thread-local __sim_exceptions_thread and global
13686 __sim_exceptions_global.
13687 (__sim_disabled_exceptions): Change to thread-local
13688 __sim_disabled_exceptions_thread and global
13689 __sim_disabled_exceptions_global.
13690 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13691 and global __sim_round_mode_global.
13692 (__simulate_exceptions): Use thread-local floating-point state and
13693 set global state from it as needed.
13694 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13695 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13696 __sim_round_mode_thread.
13697 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13698 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13699 and global __sim_exceptions_global.
13700 (__sim_disabled_exceptions): Change to thread-local
13701 __sim_disabled_exceptions_thread and global
13702 __sim_disabled_exceptions_global.
13703 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13704 and global __sim_round_mode_global.
13705 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13706 (SIM_SET_GLOBAL): Likewise.
13707 * sysdeps/powerpc/soft-fp/sfp-machine.h
13708 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13709 __sim_round_mode_thread.
13710 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13711 __sim_disabled_exceptions_thread.
13712 (__sim_exceptions): Change to __sim_exceptions_thread.
13713 (__sim_disabled_exceptions): Change to
13714 __sim_disabled_exceptions_thread.
13715 (__sim_round_mode): Change to __sim_round_mode_thread.
13716 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13717 thread-local floating-point state and set global state from it as
13718 needed.
13719 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13720 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13721 (__sim_disabled_exceptions): Remove extern declaration.
13722 (feenableexcept): Use thread-local floating-point state and set
13723 global state from it as needed.
13724 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13725 extern declaration.
13726 (__sim_disabled_exceptions): Likewise.
13727 (__sim_round_mode): Likewise.
13728 (__fegetenv): Use thread-local floating-point state.
13729 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13730 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13731 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13732 floating-point state and set global state from it as needed.
13733 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13734 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13735 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13736 Likewise.
13737 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13738 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13739 Likewise.
13740 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13741 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13742 Use __sim_round_mode_thread.
13743 * math/test-fenv-tls.c: New file.
13744 * math/Makefile (tests): Add test-fenv-tls.
13745 ($(objpfx)test-fenv-tls): Depend on
13746 $(common-objpfx)nptl/libpthread.so.
13747
b5449b12
AS
137482013-11-19 Andreas Schwab <schwab@suse.de>
13749
13750 * locale/programs/locale.c (show_info): Decode wordarray elements.
13751 * locale/categories.def (LC_MONETARY): Add element for
13752 _NL_MONETARY_CRNCYSTR.
13753 * locale/C-monetary.c (conversion_rate): New variable.
13754 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13755 element.
13756
e186536b
CM
137572013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13758
13759 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13760 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13761
5c349950
PP
137622013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13763
13764 * elf/Makefile (tst-auxv): New test.
13765 * elf/tst-auxv.c: New
13766 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13767
699df45b
JM
137682013-11-18 Joseph Myers <joseph@codesourcery.com>
13769
13770 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13771 (hidden_proto): Caller changed.
13772 (hidden_tls_proto): New macro.
13773 (libc_hidden_tls_proto): Likewise.
13774 (rtld_hidden_tls_proto): Likewise.
13775 (libm_hidden_tls_proto): Likewise.
13776 (libresolv_hidden_tls_proto): Likewise.
13777 (librt_hidden_tls_proto): Likewise.
13778 (libdl_hidden_tls_proto): Likewise.
13779 (libnss_files_hidden_tls_proto): Likewise.
13780 (libnsl_hidden_tls_proto): Likewise.
13781 (libnss_nisplus_hidden_tls_proto): Likewise.
13782 (libutil_hidden_tls_proto): Likewise.
13783
b7589107
OB
137842013-11-18 Ondřej Bílka <neleai@seznam.cz>
13785
13786 [BZ #10253]
13787 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13788 (decompose_rpath): Defer expansion to fillin_rpath.
13789 (_dl_init_paths): Pass linkmap to fillin_rpath.
13790
250c23bd
RS
137912013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13792
13793 * benchtests/Makefile: Add strsep.
13794 * benchtests/bench-strsep.c: New file: strsep benchtest.
13795 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13796
a7931fcf
AS
137972013-11-18 Andreas Schwab <schwab@suse.de>
13798
13799 * locale/programs/locale.c (show_info) [case byte]: Check for
13800 '\377' instead of '\177'.
13801 * locale/C-monetary.c (not_available): Always use "\377".
13802 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13803 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13804 detect unavailable sign_posn locale elements.
13805 * locale/localeconv.c (__localeconv): For grouping and
13806 mon_grouping handle "\177" and "\377" like no grouping.
13807 (INT_ELEM): New macro. Use it to set all numeric members.
13808 * locale/programs/ld-monetary.c (monetary_read)
13809 <tok_mon_grouping>: Normalize single -1 to the empty string.
13810 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13811 Likewise.
13812
728dab0e
OB
138132013-11-07 Ondřej Bílka <neleai@seznam.cz>
13814
13815 [BZ #16055]
13816 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13817 when we match (nil).
13818 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13819
66294491
JM
138202013-11-16 Joseph Myers <joseph@codesourcery.com>
13821
ce665817
JM
13822 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13823 (NO_TEST_INLINE): Update value.
13824 (ERRNO_UNCHANGED): Likewise.
13825 (ERRNO_EDOM): Likewise.
13826 (ERRNO_ERANGE): Likewise.
13827 (IGNORE_RESULT): Likewise.
13828 (check_float_internal): Check signs of NaN results if
13829 TEST_NAN_SIGN used.
13830 (check_complex): Pass TEST_NAN_SIGN flag through to second
13831 check_float_internal call.
13832 (copysign_test_data): Add tests with quiet NaNs as second
13833 argument. Use TEST_NAN_SIGN.
13834 (fabs_test_data): Add test of negative quiet NaN argument. Use
13835 TEST_NAN_SIGN.
13836 (signbit_test_data): Add tests of quiet NaN argument.
13837 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13838
ee1466a9
JM
13839 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13840 $ignore_result.
13841 (parse_args): Handle function results specified as IGNORE.
13842 * math/libm-test.inc (IGNORE_RESULT): New macro.
13843 (check_float_internal): Do not check numerical result if flag
13844 IGNORE_RESULT set.
13845 (check_complex): Pass through IGNORE_RESULT to second
13846 check_float_internal call.
13847 (check_int): Do not check numerical result if flag IGNORE_RESULT
13848 set.
13849 (check_long): Likewise.
13850 (check_bool): Likewise.
13851 (check_longlong): Likewise.
13852 (lrint_test_data): Add tests of infinite and NaN arguments.
13853 (lrint_tonearest_test_data): Likewise.
13854 (lrint_towardzero_test_data): Likewise.
13855 (lrint_downward_test_data): Likewise.
13856 (lrint_upward_test_data): Likewise.
13857 (llrint_test_data): Likewise.
13858 (llrint_tonearest_test_data): Likewise.
13859 (llrint_towardzero_test_data): Likewise.
13860 (llrint_downward_test_data): Likewise.
13861 (llrint_upward_test_data): Likewise.
13862 (lround_test_data): Likewise.
13863 (llround_test_data): Likewise.
13864
14407b7e
JM
13865 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13866 (ERRNO_UNCHANGED): Update value.
13867 (ERRNO_EDOM): Likewise.
13868 (ERRNO_ERANGE): Likewise.
13869 (NO_TEST_INLINE_FLOAT): New macro.
13870 (NO_TEST_INLINE_DOUBLE): Likewise.
13871 (enable_test): New function.
13872 (RUN_TEST_f_f): Check enable_test before running test.
13873 (RUN_TEST_2_f): Likewise.
13874 (RUN_TEST_fff_f): Likewise.
13875 (RUN_TEST_c_f): Likewise.
13876 (RUN_TEST_f_f1): Likewise.
13877 (RUN_TEST_fF_f1): Likewise.
13878 (RUN_TEST_fI_f1): Likewise.
13879 (RUN_TEST_ffI_f1): Likewise.
13880 (RUN_TEST_c_c): Likewise.
13881 (RUN_TEST_cc_c): Likewise.
13882 (RUN_TEST_f_i): Likewise.
13883 (RUN_TEST_f_i_tg): Likewise.
13884 (RUN_TEST_ff_i_tg): Likewise.
13885 (RUN_TEST_f_b): Likewise.
13886 (RUN_TEST_f_b_tg): Likewise.
13887 (RUN_TEST_f_l): Likewise.
13888 (RUN_TEST_f_L): Likewise.
13889 (RUN_TEST_fFF_11): Likewise.
13890 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13891 conditionals.
13892 (cosh_test_data): Likewise.
13893 (exp_test_data): Likewise.
13894 (expm1_test_data): Likewise.
13895 (hypot_test_data): Likewise.
13896 (pow_test_data): Likewise.
13897 (sinh_test_data): Likewise.
13898 (tanh_test_data): Likewise.
13899 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13900 flags argument.
13901
ca07f197
JM
13902 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13903 tests with quiet NaN input and output.
13904 (acosh_test_data): Likewise.
13905 (asin_test_data): Likewise.
13906 (asinh_test_data): Likewise.
13907 (atan_test_data): Likewise.
13908 (atanh_test_data): Likewise.
13909 (atan2_test_data): Likewise.
13910 (cbrt_test_data): Likewise.
13911 (cos_test_data): Likewise.
13912 (cosh_test_data): Likewise.
13913 (erf_test_data): Likewise.
13914 (erfc_test_data): Likewise.
13915 (exp_test_data): Likewise.
13916 (exp10_test_data): Likewise.
13917 (exp2_test_data): Likewise.
13918 (expm1_test_data): Likewise.
13919 (hypot_test_data): Likewise.
13920 (j0_test_data): Likewise.
13921 (j1_test_data): Likewise.
13922 (jn_test_data): Likewise.
13923 (lgamma_test_data): Likewise.
13924 (log_test_data): Likewise.
13925 (log10_test_data): Likewise.
13926 (log1p_test_data): Likewise.
13927 (log2_test_data): Likewise.
13928 (pow_test_data): Likewise.
13929 (scalb_test_data): Likewise.
13930 (sin_test_data): Likewise.
13931 (sincos_test_data): Likewise.
13932 (sinh_test_data): Likewise.
13933 (tan_test_data): Likewise.
13934 (tanh_test_data): Likewise.
13935 (tgamma_test_data): Likewise.
13936 (y0_test_data): Likewise.
13937 (y1_test_data): Likewise.
13938 (yn_test_data): Likewise.
13939
66294491
JM
13940 [BZ #16167]
13941 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13942 argument being NaN and avoid computations with second argument in
13943 that case.
13944 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13945 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13946 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13947
1820b143
CL
139482013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13949
13950 * locale/iso-639.def: Add Chitwani Tharu (the).
13951
714bd261
AS
139522013-11-14 Andreas Schwab <schwab@suse.de>
13953
13954 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13955 word instead of empty string.
13956
7ab44563
AZ
139572013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13958
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13960 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13962 (__fe_nomask_env): Likewise.
13963
e8470ea2
SE
139642013-11-13 Steve Ellcey <sellcey@mips.com>
13965
13966 * benchtests/bench-timing.h: Include time.h.
13967
17c1d9f0
L
139682013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13969
13970 [BZ #15997]
13971 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13972 to 3.4.0 for x32.
13973 * sysdeps/unix/sysv/linux/configure: Regenerated.
13974
9310c284
JM
139752013-11-13 Joseph Myers <joseph@codesourcery.com>
13976
13977 [BZ #16151]
13978 * stdlib/strtod_l.c (round_and_return): Do not consider
13979 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13980 exponent one less than half the least subnormal exponent.
13981 * stdlib/test-strtod-round-data: Add more tests.
13982 * stdlib/tst-strtod-round.c (tests): Regenerated.
13983
7a2ad8cf
AZ
139842013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13985
13986 [BZ #14143]
13987 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13988 (__fe_mask_env): Likewise.
13989 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13990 libm_hidden_proto and add function prototype.
13991 (__fe_mask_env): Add function prototype.
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13993 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13995 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13997 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13998
50727aa7
MS
139992013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14000
b2f386c1 14001 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14002 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14003
a615be46
MS
140042013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14005
14006 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14007 of htab_find_slot().
14008
7ddace62
DM
140092013-11-11 David S. Miller <davem@davemloft.net>
14010
14011 [BZ #16150]
14012 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14013 symbol in the non-vis3 case in static builds.
14014 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14015 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14016 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14017 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14018
9182aa67
JK
140192013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14020
14021 [BZ #387]
14022 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14023 it is empty.
14024
450a2e2d
AZ
140252013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14026
b2f386c1
SP
14027 * benchtests/Makefile: Add bench-strtod.
14028 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14029
8ec3f656
AS
140302013-11-11 Andreas Schwab <schwab@suse.de>
14031
14032 [BZ #16153]
14033 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14034 terminating NUL in key length.
14035
76a9b998
AZ
140362013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14037
14038 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14039 Add artificial ODP entry for vDSO symbol for PPC64.
14040 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14041 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14042
e4368156
OB
140432013-11-07 Ondřej Bílka <neleai@seznam.cz>
14044
14045 [BZ #15374]
14046 * nss/getent.c (services_keys): Recognize services starting with digit.
14047
8d6bb57c
DM
140482013-11-06 David S. Miller <davem@davemloft.net>
14049
14050 [BZ #15985]
14051 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14052 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14053
e256c421
WN
140542013-11-06 Will Newton <will.newton@linaro.org>
14055
14056 * manual/memory.texi (Malloc Examples): Remove register
14057 keyword from examples.
14058
f6e12daa 140592013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14060
f6e12daa 14061 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14062
9d880655
AS
140632013-11-04 Joseph Myers <joseph@codesourcery.com>
14064
fd2f9486 14065 [BZ #6981]
9d880655
AS
14066 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14067 depending on [__GCC_IEC_559 > 0].
14068 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14069 depending on [__GCC_IEC_559_COMPLEX > 0].
14070
ae129d3c
CL
140712013-11-03 Chris Leonard <cjl@sugarlabs.org>
14072
14073 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14074 to iso-639.def.
14075
4a15c2a4 140762013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14077
14078 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14079
8b35e35d
OB
140802013-11-01 Ondřej Bílka <neleai@seznam.cz>
14081
14082 [BZ #16112]
14083 * malloc/malloc (malloc_info): Do not handle first bin as
14084 special case.
14085
1d70fd6c
CL
140862013-11-01 Chris Leonard <cjl@sugarlabs.org>
14087
14088 * locale/iso-639.def: Add Central Nahuatl (nhn).
14089
8c5c2600
BH
140902013-11-01 Bruno Haible <bruno@clisp.org>
14091
14092 [BZ #7003]
14093 * manual/math.texi (BSD Random): Specify range upper bound as
14094 in POSIX.
14095
da5579c2
CL
140962013-10-31 Chris Leonard <cjl@sugarlabs.org>
14097
14098 * locale/iso-639.def: Add Meadow Mari (mhr).
14099
5d30d853
OB
141002013-10-31 Ondřej Bílka <neleai@seznam.cz>
14101
14102 [BZ #14752], [BZ #15763]
14103 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14104 Validate name.
14105 * rt/tst_shm.c: Add test for escaping directory.
14106
a4966c61
AS
141072013-10-31 Andreas Schwab <schwab@suse.de>
14108
8a43e768 14109 [BZ #15917]
a4966c61
AS
14110 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14111 followed by 'x' as part of digit sequence.
14112 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14113
28d708c4
MAP
141142013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14115
14116 [BZ #16037]
14117 * configure.ac: allow GNU Make 4.0 and greater.
14118 * configure: Regenerated.
14119
a56ee40b
WN
141202013-10-30 Will Newton <will.newton@linaro.org>
14121
14122 [BZ #16038]
14123 * malloc/hooks.c (memalign_check): Limit alignment to the
14124 maximum representable power of two.
14125 * malloc/malloc.c (__libc_memalign): Likewise.
14126 * malloc/tst-memalign.c (do_test): Add test for very
14127 large alignment values.
14128 * malloc/tst-posix_memalign.c (do_test): Likewise.
14129
c6e4925d
OB
141302013-10-30 Ondřej Bílka <neleai@seznam.cz>
14131
14132 [BZ #11087]
14133 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14134 (munmap_chunk): Likewise.
14135 (mremap_chunk): Likewise.
14136
141372013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14138
8a43e768 14139 [BZ #15799]
bbea82f7
OB
14140 * stdlib/div.c (div): Remove obsolete code.
14141 * stdlib/ldiv.c (ldiv): Likewise.
14142 * stdlib/lldiv.c (lldiv): Likewise.
14143
977f4b31
SP
141442013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14145
14146 [BZ #16071]
14147 * nss/nss_files/files-XXX.c (get_contents_ret): New
14148 enumerator.
14149 (get_contents): New function.
14150 (internal_getent): Use it. Expand size of LINEBUFLEN.
14151
cb8a6dbd
MF
141522013-10-30 Mike Frysinger <vapier@gentoo.org>
14153
14154 * configure.in: Moved to ...
14155 * configure.ac: ... here. Change reference to configure.in
14156 to configure.ac.
14157 * sysdeps/arm/preconfigure.ac: ... here.
14158 configure.in to configure.ac.
14159 * sysdeps/gnu/configure.in: Moved to ...
14160 * sysdeps/gnu/configure.ac: ... here.
14161 * sysdeps/i386/configure.in: Moved to ...
14162 * sysdeps/i386/configure.ac: ... here.
14163 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14164 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14165 * sysdeps/mach/configure.in: Moved to ...
14166 * sysdeps/mach/configure.ac: ... here.
14167 * sysdeps/mach/hurd/configure.in: Moved to ...
14168 * sysdeps/mach/hurd/configure.ac: ... here.
14169 * sysdeps/powerpc/configure.in: Moved to ...
14170 * sysdeps/powerpc/configure.ac: ... here.
14171 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14172 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14173 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14174 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14175 * sysdeps/s390/s390-32/configure.in: Moved to ...
14176 * sysdeps/s390/s390-32/configure.ac: ... here.
14177 * sysdeps/s390/s390-64/configure.in: Moved to ...
14178 * sysdeps/s390/s390-64/configure.ac: ... here.
14179 * sysdeps/sh/configure.in: Moved to ...
14180 * sysdeps/sh/configure.ac: ... here.
14181 * sysdeps/sparc/configure.in: Moved to ...
14182 * sysdeps/sparc/configure.ac: ... here.
14183 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14184 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14185 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14186 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14187 * sysdeps/x86_64/configure.in: Moved to ...
14188 * sysdeps/x86_64/configure.ac: ... here.
14189 * sysdeps/x86_64/preconfigure.in: Moved to ...
14190 * sysdeps/x86_64/preconfigure.ac: ... here.
14191 * aclocal.m4: Change reference to configure.in to configure.ac.
14192 * config.h.in: Likewise.
14193 * manual/install.texi: Likewise.
14194 * manual/maint.texi: Likewise.
14195 * Makefile: Likewise.
14196 * malloc/Makefile: Likewise.
14197 * nscd/Makefile: Likewise.
14198 * Makeconfig: Change reference to configure.in and
14199 preconfigure.in to configure.ac and preconfigure.ac
14200 respectively.
14201 * INSTALL: Regenerated.
14202 * configure: Likewise.
14203 * sysdeps/gnu/configure: Likewise.
14204 * sysdeps/i386/configure: Likewise.
14205 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14206 * sysdeps/mach/configure: Likewise.
14207 * sysdeps/mach/hurd/configure: Likewise.
14208 * sysdeps/powerpc/configure: Likewise.
14209 * sysdeps/powerpc/powerpc32/configure: Likewise.
14210 * sysdeps/powerpc/powerpc64/configure: Likewise.
14211 * sysdeps/s390/s390-32/configure: Likewise.
14212 * sysdeps/s390/s390-64/configure: Likewise.
14213 * sysdeps/sh/configure: Likewise.
14214 * sysdeps/sparc/configure: Likewise.
14215 * sysdeps/unix/sysv/linux/configure: Likewise.
14216 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14217 * sysdeps/x86_64/configure: Likewise.
14218 * sysdeps/x86_64/preconfigure: Likewise.
14219
36a4953a
AS
142202013-10-29 Andreas Schwab <schwab@suse.de>
14221
14222 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14223
c79a1204
SP
142242013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14225
dfa1b402
SP
14226 * benchtests/pow-inputs: Add new inputs.
14227
54f73d9c
SP
14228 * benchtests/exp-inputs: Add new inputs.
14229
c79a1204
SP
14230 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14231 conditional check for return value.
14232 (__cos32): Likewise.
14233
67beb545 142342013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14235
14236 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14237 to provide a boost for large inputs with word alignment.
14238 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14239 implementation based on optimized PPC64 strcpy.
14240 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14241 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14242 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14243 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14244
151659f6
OB
142452013-10-25 Ondřej Bílka <neleai@seznam.cz>
14246
482a077e 14247 [BZ #2801]
151659f6
OB
14248 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14249
10b0f26b
OB
142502013-10-25 Ondřej Bílka <neleai@seznam.cz>
14251
14252 [BZ #14876]
14253 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14254 * time/tst-strptime.c (day_tests): Add testcase.
14255
ca42d35e
OB
142562013-10-25 Ondřej Bílka <neleai@seznam.cz>
14257
482a077e 14258 [BZ #14029]
ca42d35e
OB
14259 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14260
52e6d801
FB
142612013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14262
14263 [BZ #16074]
14264 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14265 MAP_FAILED on error.
14266
7cbcdb36
SP
142672013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14268
14269 [BZ #16072]
14270 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14271 heap for large requests.
14272
894f3f10
AM
142732013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14274
14275 [BZ #9954]
14276 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14277 result if the result has no associated interface.
14278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14279 interface for all 127.X.Y.Z addresses.
14280
b85545a6
CL
142812013-10-24 Chris Leonard <cjl@sugarlabs.org>
14282
14283 * locale/iso-639.def: Add Ligurian (lij)
14284
d1f23d46
OB
142852013-10-21 Ondřej Bílka <neleai@seznam.cz>
14286
14287 [BZ #15825]
14288 * sunrpc/rpc_main.c: Document rpcgen -5.
14289
4db5b08f
MS
142902013-10-19 Michael Stahl <mstahl@redhat.com>
14291
14292 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14293
a471e96a
OB
142942013-10-19 Ondřej Bílka <neleai@seznam.cz>
14295
d1f23d46 14296 [BZ #10278]
a471e96a
OB
14297 * posix/glob.c: Match only directories when trailing slash is present.
14298 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14299 (main): Add testcase.
14300
45c30c61
OB
143012013-10-19 Ondřej Bílka <neleai@seznam.cz>
14302
14303 [BZ #15670]
14304 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14305
484c12fb
CD
143062013-10-18 Carlos O'Donell <carlos@redhat.com>
14307
3d7dc513
CD
14308 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14309 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14310 AUTH_DES and cindex for FIPS 140-2.
14311 (DES Encryption): Add cindex FIPS 46-3.
14312
484c12fb
CD
14313 * locale/locarchive.h (struct locarhandle): Add fname.
14314 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14315 if an optional argument was specified to --list-archive,
14316 otherwise NULL.
14317 * locale/programs/locarchive.c (show_archive_content): Take new
14318 argument fname and pass it via ah.fname to open_archive.
14319 * locale/programs/localedef.h: Update decl.
14320 (open_archive): If AH->fname is non-null, open that file
14321 rather than the default file name, and don't ignore ENOENT.
14322 (create_archive): Set AH.fname to NULL.
14323 (delete_locales_from_archive): Likewise.
14324 (add_locales_to_archive): Likewise.
14325 * locale/programs/locfile.c (write_all_categories): Likewise.
14326
3c8325fb
JM
143272013-10-18 Joseph Myers <joseph@codesourcery.com>
14328 Aldy Hernandez <aldyh@redhat.com>
14329
14330 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14331 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14332 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14333 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14334 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14335 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14336 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14337 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14338 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14339 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14340 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14341 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14342 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14343 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14344 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14345 Likewise.
14346 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14347 Likewise.
14348 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14349 Likewise.
14350 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14351 Likewise.
14352 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14353 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14354 Likewise.
14355 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14356 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14357 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14358 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14359 Likewise.
14360 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14361 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14362 * sysdeps/powerpc/preconfigure: Likewise.
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14364 Likewise.
14365 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14366 Replace contents of file by #include of <fenv_libc.h>.
14367 * sysdeps/powerpc/soft-fp/sfp-machine.h
14368 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14369 and <sys/prctl.h>.
14370 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14371 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14372 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14373 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14374 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14375 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14377 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14378 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14379 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14380 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14381 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14383 Allow copysignl PLT reference to be missing.
14384
5abe0682
RS
143852013-10-18 Richard Sandiford <richard@codesourcery.com>
14386 Joseph Myers <joseph@codesourcery.com
14387
14388 [BZ #15948]
14389 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14390 single character.
14391 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14392
c7738d08
SP
143932013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14394
14395 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14396 * elf/tst-tls1.c: Likewise.
14397 * elf/tst-tls10.h: Likewise.
14398 * elf/tst-tls14.c: Likewise.
14399 * elf/tst-tls2.c: Likewise.
14400 * elf/tst-tls3.c: Likewise.
14401 * elf/tst-tls4.c: Likewise.
14402 * elf/tst-tls5.c: Likewise.
14403 * elf/tst-tls6.c: Likewise.
14404 * elf/tst-tls7.c: Likewise.
14405 * elf/tst-tls8.c: Likewise.
14406 * elf/tst-tls9.c: Likewise.
14407 * elf/tst-tlsmod1.c: Likewise.
14408 * elf/tst-tlsmod13.c: Likewise.
14409 * elf/tst-tlsmod13a.c: Likewise.
14410 * elf/tst-tlsmod14a.c: Likewise.
14411 * elf/tst-tlsmod16a.c: Likewise.
14412 * elf/tst-tlsmod16b.c: Likewise.
14413 * elf/tst-tlsmod2.c: Likewise.
14414 * elf/tst-tlsmod3.c: Likewise.
14415 * elf/tst-tlsmod4.c: Likewise.
14416 * elf/tst-tlsmod5.c: Likewise.
14417 * elf/tst-tlsmod6.c: Likewise.
14418
0bfcf2c7
OB
144192013-10-18 Ondřej Bílka <neleai@seznam.cz>
14420
14421 [BZ #12486]
14422 * malloc/malloc.c: remove checks for statistics.
14423
264aad1e
OB
144242013-10-17 Ondřej Bílka <neleai@seznam.cz>
14425
14426 [BZ #15277]
14427 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14428 * inet/tst-network.c: Add testcase.
14429
b957ced8
AS
144302013-10-17 Andreas Schwab <schwab@suse.de>
14431
14432 [BZ #15218]
14433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14434 to determine canonical name.
14435
c5d5d574
OB
144362013-10-17 Ondřej Bílka <neleai@seznam.cz>
14437
14438 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14439 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14441 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14444 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14445 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14446 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14447 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14448 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14449 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14450 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14451 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14453 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14455 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14456 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14457 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14458 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14461 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14462 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14463 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14464 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14465 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14466 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14467 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14468 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14470 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14471 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14472 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14473 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14474 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14475 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14476 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14478 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14479 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14484 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14485 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14486 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14487 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14496
e5c2c2d0
JM
144972013-10-17 Joseph Myers <joseph@codesourcery.com>
14498
14499 [BZ #16041]
14500 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14501 make result into a quiet NaN.
14502
51ca9e29
JM
145032013-10-16 Joseph Myers <joseph@codesourcery.com>
14504
14505 * soft-fp/adddf3.c: Fix horizontal whitespace.
14506 * soft-fp/addsf3.c: Likewise.
14507 * soft-fp/addtf3.c: Likewise.
14508 * soft-fp/divdf3.c: Likewise.
14509 * soft-fp/divsf3.c: Likewise.
14510 * soft-fp/divtf3.c: Likewise.
14511 * soft-fp/double.h: Likewise.
14512 * soft-fp/eqdf2.c: Likewise.
14513 * soft-fp/eqsf2.c: Likewise.
14514 * soft-fp/eqtf2.c: Likewise.
14515 * soft-fp/extenddftf2.c: Likewise.
14516 * soft-fp/extended.h: Likewise.
14517 * soft-fp/extendsfdf2.c: Likewise.
14518 * soft-fp/extendsftf2.c: Likewise.
14519 * soft-fp/extendxftf2.c: Likewise.
14520 * soft-fp/fixdfdi.c: Likewise.
14521 * soft-fp/fixdfsi.c: Likewise.
14522 * soft-fp/fixdfti.c: Likewise.
14523 * soft-fp/fixsfdi.c: Likewise.
14524 * soft-fp/fixsfsi.c: Likewise.
14525 * soft-fp/fixsfti.c: Likewise.
14526 * soft-fp/fixtfdi.c: Likewise.
14527 * soft-fp/fixtfsi.c: Likewise.
14528 * soft-fp/fixtfti.c: Likewise.
14529 * soft-fp/fixunsdfdi.c: Likewise.
14530 * soft-fp/fixunsdfsi.c: Likewise.
14531 * soft-fp/fixunsdfti.c: Likewise.
14532 * soft-fp/fixunssfdi.c: Likewise.
14533 * soft-fp/fixunssfsi.c: Likewise.
14534 * soft-fp/fixunssfti.c: Likewise.
14535 * soft-fp/fixunstfdi.c: Likewise.
14536 * soft-fp/fixunstfsi.c: Likewise.
14537 * soft-fp/fixunstfti.c: Likewise.
14538 * soft-fp/floatdidf.c: Likewise.
14539 * soft-fp/floatdisf.c: Likewise.
14540 * soft-fp/floatditf.c: Likewise.
14541 * soft-fp/floatsidf.c: Likewise.
14542 * soft-fp/floatsisf.c: Likewise.
14543 * soft-fp/floatsitf.c: Likewise.
14544 * soft-fp/floattidf.c: Likewise.
14545 * soft-fp/floattisf.c: Likewise.
14546 * soft-fp/floattitf.c: Likewise.
14547 * soft-fp/floatundidf.c: Likewise.
14548 * soft-fp/floatundisf.c: Likewise.
14549 * soft-fp/floatunditf.c: Likewise.
14550 * soft-fp/floatunsidf.c: Likewise.
14551 * soft-fp/floatunsisf.c: Likewise.
14552 * soft-fp/floatunsitf.c: Likewise.
14553 * soft-fp/floatuntidf.c: Likewise.
14554 * soft-fp/floatuntisf.c: Likewise.
14555 * soft-fp/floatuntitf.c: Likewise.
14556 * soft-fp/fmadf4.c: Likewise.
14557 * soft-fp/fmasf4.c: Likewise.
14558 * soft-fp/fmatf4.c: Likewise.
14559 * soft-fp/gedf2.c: Likewise.
14560 * soft-fp/gesf2.c: Likewise.
14561 * soft-fp/getf2.c: Likewise.
14562 * soft-fp/ledf2.c: Likewise.
14563 * soft-fp/lesf2.c: Likewise.
14564 * soft-fp/letf2.c: Likewise.
14565 * soft-fp/muldf3.c: Likewise.
14566 * soft-fp/mulsf3.c: Likewise.
14567 * soft-fp/multf3.c: Likewise.
14568 * soft-fp/negdf2.c: Likewise.
14569 * soft-fp/negsf2.c: Likewise.
14570 * soft-fp/negtf2.c: Likewise.
14571 * soft-fp/op-1.h: Likewise.
14572 * soft-fp/op-2.h: Likewise.
14573 * soft-fp/op-4.h: Likewise.
14574 * soft-fp/op-8.h: Likewise.
14575 * soft-fp/op-common.h: Likewise.
14576 * soft-fp/quad.h: Likewise.
14577 * soft-fp/single.h: Likewise.
14578 * soft-fp/soft-fp.h: Likewise.
14579 * soft-fp/sqrtdf2.c: Likewise.
14580 * soft-fp/sqrtsf2.c: Likewise.
14581 * soft-fp/sqrttf2.c: Likewise.
14582 * soft-fp/subdf3.c: Likewise.
14583 * soft-fp/subsf3.c: Likewise.
14584 * soft-fp/subtf3.c: Likewise.
14585 * soft-fp/truncdfsf2.c: Likewise.
14586 * soft-fp/trunctfdf2.c: Likewise.
14587 * soft-fp/trunctfsf2.c: Likewise.
14588 * soft-fp/trunctfxf2.c: Likewise.
14589 * soft-fp/unorddf2.c: Likewise.
14590 * soft-fp/unordsf2.c: Likewise.
14591 * soft-fp/unordtf2.c: Likewise.
14592
9ebb0332
JM
145932013-10-15 Joseph Myers <joseph@codesourcery.com>
14594
14595 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14596 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14597
4b1a6d8b
OB
145982013-10-15 Ondřej Bílka <neleai@seznam.cz>
14599
14600 * elf/dl-libc.c: Clear initfini list after freeing.
14601
1e145589
JM
146022013-10-14 Joseph Myers <joseph@codesourcery.com>
14603
14604 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14605 * soft-fp/addsf3.c: Likewise.
14606 * soft-fp/addtf3.c: Likewise.
14607 * soft-fp/divdf3.c: Likewise.
14608 * soft-fp/divsf3.c: Likewise.
14609 * soft-fp/divtf3.c: Likewise.
14610 * soft-fp/double.h: Likewise.
14611 * soft-fp/eqdf2.c: Likewise.
14612 * soft-fp/eqsf2.c: Likewise.
14613 * soft-fp/eqtf2.c: Likewise.
14614 * soft-fp/extenddftf2.c: Likewise.
14615 * soft-fp/extended.h: Likewise.
14616 * soft-fp/extendsfdf2.c: Likewise.
14617 * soft-fp/extendsftf2.c: Likewise.
14618 * soft-fp/extendxftf2.c: Likewise.
14619 * soft-fp/fixdfdi.c: Likewise.
14620 * soft-fp/fixdfsi.c: Likewise.
14621 * soft-fp/fixdfti.c: Likewise.
14622 * soft-fp/fixsfdi.c: Likewise.
14623 * soft-fp/fixsfsi.c: Likewise.
14624 * soft-fp/fixsfti.c: Likewise.
14625 * soft-fp/fixtfdi.c: Likewise.
14626 * soft-fp/fixtfsi.c: Likewise.
14627 * soft-fp/fixtfti.c: Likewise.
14628 * soft-fp/fixunsdfdi.c: Likewise.
14629 * soft-fp/fixunsdfsi.c: Likewise.
14630 * soft-fp/fixunsdfti.c: Likewise.
14631 * soft-fp/fixunssfdi.c: Likewise.
14632 * soft-fp/fixunssfsi.c: Likewise.
14633 * soft-fp/fixunssfti.c: Likewise.
14634 * soft-fp/fixunstfdi.c: Likewise.
14635 * soft-fp/fixunstfsi.c: Likewise.
14636 * soft-fp/fixunstfti.c: Likewise.
14637 * soft-fp/floatdidf.c: Likewise.
14638 * soft-fp/floatdisf.c: Likewise.
14639 * soft-fp/floatditf.c: Likewise.
14640 * soft-fp/floatsidf.c: Likewise.
14641 * soft-fp/floatsisf.c: Likewise.
14642 * soft-fp/floatsitf.c: Likewise.
14643 * soft-fp/floattidf.c: Likewise.
14644 * soft-fp/floattisf.c: Likewise.
14645 * soft-fp/floattitf.c: Likewise.
14646 * soft-fp/floatundidf.c: Likewise.
14647 * soft-fp/floatundisf.c: Likewise.
14648 * soft-fp/floatunsidf.c: Likewise.
14649 * soft-fp/floatunsisf.c: Likewise.
14650 * soft-fp/floatuntidf.c: Likewise.
14651 * soft-fp/floatuntisf.c: Likewise.
14652 * soft-fp/floatuntitf.c: Likewise.
14653 * soft-fp/fmadf4.c: Likewise.
14654 * soft-fp/fmasf4.c: Likewise.
14655 * soft-fp/fmatf4.c: Likewise.
14656 * soft-fp/gedf2.c: Likewise.
14657 * soft-fp/gesf2.c: Likewise.
14658 * soft-fp/getf2.c: Likewise.
14659 * soft-fp/ledf2.c: Likewise.
14660 * soft-fp/lesf2.c: Likewise.
14661 * soft-fp/letf2.c: Likewise.
14662 * soft-fp/muldf3.c: Likewise.
14663 * soft-fp/mulsf3.c: Likewise.
14664 * soft-fp/multf3.c: Likewise.
14665 * soft-fp/negdf2.c: Likewise.
14666 * soft-fp/negsf2.c: Likewise.
14667 * soft-fp/negtf2.c: Likewise.
14668 * soft-fp/op-1.h: Likewise.
14669 * soft-fp/op-2.h: Likewise.
14670 * soft-fp/op-4.h: Likewise.
14671 * soft-fp/op-8.h: Likewise.
14672 * soft-fp/op-common.h: Likewise.
14673 * soft-fp/quad.h: Likewise.
14674 * soft-fp/single.h: Likewise.
14675 * soft-fp/soft-fp.h: Likewise.
14676 * soft-fp/sqrtdf2.c: Likewise.
14677 * soft-fp/sqrtsf2.c: Likewise.
14678 * soft-fp/sqrttf2.c: Likewise.
14679 * soft-fp/subdf3.c: Likewise.
14680 * soft-fp/subsf3.c: Likewise.
14681 * soft-fp/subtf3.c: Likewise.
14682 * soft-fp/truncdfsf2.c: Likewise.
14683 * soft-fp/trunctfdf2.c: Likewise.
14684 * soft-fp/trunctfsf2.c: Likewise.
14685 * soft-fp/trunctfxf2.c: Likewise.
14686 * soft-fp/unorddf2.c: Likewise.
14687 * soft-fp/unordsf2.c: Likewise.
14688 * soft-fp/unordtf2.c: Likewise.
14689
17c48a60
OB
146902013-10-14 Ondřej Bílka <neleai@seznam.cz>
14691
14692 [BZ #15672]
14693 * misc/error.c (error_tail): Fix possible buffer overflow.
14694
cabba934
OB
146952013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14696
14697 [BZ #13028]
14698 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14699 address.
14700
94bf958a
PM
147012013-10-14 P. J. McDermott <pj@pehjota.net>
14702
14703 [BZ #832]
14704 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14705 testing pipefail option.
14706
71b4dea7
JM
147072013-10-12 Joseph Myers <joseph@codesourcery.com>
14708
14709 * soft-fp/double.h: Indent preprocessor directives inside #if.
14710 * soft-fp/extended.h: Likewise.
14711 * soft-fp/op-2.h: Likewise.
14712 * soft-fp/op-4.h: Likewise.
14713 * soft-fp/op-common.h: Likewise.
14714 * soft-fp/quad.h: Likewise.
14715 * soft-fp/single.h: Likewise.
14716 * soft-fp/soft-fp.h: Likewise.
14717
55602758
YC
147182013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14719
14720 * iconv/iconv_prog.c: Fix typos.
14721 * stdio-common/psiginfo-data.h: Likewise.
14722
9cd83302
RT
147232013-10-12 Reuben Thomas <rrt@sc3d.org>
14724
14725 [BZ #15764]
14726 * locale/setlocale.c: Fix typo.
14727
99fd9f47
JM
147282013-10-12 Joseph Myers <joseph@codesourcery.com>
14729
b7ea74f0
JM
14730 [BZ #16036]
14731 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14732 signaling NaN arguments.
14733 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14734 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14735
8a509447
JM
14736 [BZ #14910]
14737 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14738 unordered operands.
14739 * soft-fp/gesf2.c (__gesf2): Likewise.
14740 * soft-fp/getf2.c (__getf2): Likewise.
14741 * soft-fp/ledf2.c (__ledf2): Likewise.
14742 * soft-fp/lesf2.c (__lesf2): Likewise.
14743 * soft-fp/letf2.c (__letf2): Likewise.
14744
98998e9f
JM
14745 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14746 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14747 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14748 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14749 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14750 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14751 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14752 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14753 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14754 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14755 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14756 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14757 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14758 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14759 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14760 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14761 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14762 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14763 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14764 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14765 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14766 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14767 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14768 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14769 * soft-fp/floattidf.c (__floattidf): Likewise.
14770 * soft-fp/floattisf.c (__floattisf): Likewise.
14771 * soft-fp/floattitf.c (__floattitf): Likewise.
14772 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14773 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14774 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14775 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14776 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14777 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14778 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14779 * soft-fp/gesf2.c (__gesf2): Likewise.
14780 * soft-fp/getf2.c (__getf2): Likewise.
14781 * soft-fp/ledf2.c (__ledf2): Likewise.
14782 * soft-fp/lesf2.c (__lesf2): Likewise.
14783 * soft-fp/letf2.c (__letf2): Likewise.
14784
8edc4a11
JM
14785 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14786 Undefine and redefine.
14787 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14788 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14789 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14790 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14791 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14792 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14793 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14794 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14795 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14796 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14797 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14798 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14799 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14800 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14801 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14802
8399acaf
JM
14803 [BZ #16032]
14804 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14805 without decrementing exponent if mantissa >= that for the
14806 denominator, not >.
14807 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14808 denominator, not >. Decrement exponent in < case instead of
14809 incrementing in >= case.
14810 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14811 without decrementing exponent if mantissa >= that for the
14812 denominator, not >.
14813
99fd9f47
JM
14814 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14815 computing saturated result for unsigned overflow.
14816
10e1cf6b
SP
148172013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14818 Jeff Law <law@redhat.com>
14819
14820 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14821 (atan2Mp): Add systemtap probe marker.
14822 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14823 (__ieee754_log): Add systemtap probe marker.
14824 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14825 (atanMp): Add systemtap probe marker.
14826 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14827 (tanMp): Add systemtap probe marker.
14828 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14829 (__slowexp): Add systemtap probe marker.
14830 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14831 (__slowpow): Add systemtap probe marker.
14832 * manual/probes.texi: Document probes.
14833
3d110c7c
EB
148342013-10-11 Eric Biggers <ebiggers3@gmail.com>
14835
14836 [BZ #15362]
14837 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14838 written.
14839 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14840 written.
14841 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14842 written to buffer but not flushed.
14843 * libio/iofwrite_u.c: Likewise.
14844 * libio/iopadn.c: Return bytes returned even if EOF was
14845 encountered.
14846 * libio/iowpadn.c: Likewise.
14847 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14848 if _IO_padn does not write the whole buffer.
14849 [!COMPILE_WPRINTF] (PAD): Likewise.
14850
75b4202a
DM
148512013-10-10 David S. Miller <davem@davemloft.net>
14852
14853 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14854 directory block.
14855
6c6352e6
JM
148562013-10-10 Joseph Myers <joseph@codesourcery.com>
14857
33b853c3
JM
14858 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14859 instead of FSF address.
14860 * soft-fp/fixdfti.c: Likewise.
14861 * soft-fp/fixsfti.c: Likewise.
14862 * soft-fp/fixtfti.c: Likewise.
14863 * soft-fp/fixunsdfti.c: Likewise.
14864 * soft-fp/fixunssfti.c: Likewise.
14865 * soft-fp/fixunstfti.c: Likewise.
14866 * soft-fp/floattidf.c: Likewise.
14867 * soft-fp/floattisf.c: Likewise.
14868 * soft-fp/floattitf.c: Likewise.
14869 * soft-fp/floatuntidf.c: Likewise.
14870 * soft-fp/floatuntisf.c: Likewise.
14871 * soft-fp/floatuntitf.c: Likewise.
14872 * soft-fp/trunctfxf2.c: Likewise.
14873
6c6352e6
JM
14874 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14875 * soft-fp/fixdfti.c: Likewise.
14876 * soft-fp/fixsfti.c: Likewise.
14877 * soft-fp/fixtfti.c: Likewise.
14878 * soft-fp/fixunsdfti.c: Likewise.
14879 * soft-fp/fixunssfti.c: Likewise.
14880 * soft-fp/fixunstfti.c: Likewise.
14881 * soft-fp/floattidf.c: Likewise.
14882 * soft-fp/floattisf.c: Likewise.
14883 * soft-fp/floattitf.c: Likewise.
14884 * soft-fp/floatuntidf.c: Likewise.
14885 * soft-fp/floatuntisf.c: Likewise.
14886 * soft-fp/floatuntitf.c: Likewise.
14887 * soft-fp/trunctfxf2.c: Likewise.
14888
3bf78b71
DM
148892013-10-10 David S. Miller <davem@davemloft.net>
14890
14891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14892
6f10289e
JM
148932013-10-10 Joseph Myers <joseph@codsourcery.com>
14894
bd878fc0
JM
14895 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14896 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14897 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14898 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14899 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14900 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14901 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14902
6f10289e
JM
14903 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14904 for NaNs before doing comparisons on argument.
14905 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14906 Likewise.
14907
321e2684
WN
149082013-10-10 Will Newton <will.newton@linaro.org>
14909
14910 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14911 passed to _int_memalign does not overflow.
14912
40fefba1
TR
149132013-10-10 Torvald Riegel <triegel@redhat.com>
14914
14915 * scripts/bench.pl: Add include-sources directive.
14916 * benchtests/README: Update documentation.
14917
2ae21ed2
JM
149182013-10-10 Joseph Myers <joseph@codesourcery.com>
14919
dcc2dd3f
JM
14920 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14921 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14922 instead of FP_INIT_ROUNDMODE.
14923 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14924 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14925
2ae21ed2
JM
14926 [BZ #16034]
14927 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14928 copy class of input value.
14929 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14930 not handle exceptions.
14931 * soft-fp/negsf2.c (__negsf2): Likewise.
14932 * soft-fp/negtf2.c (__negtf2): Likewise.
14933 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14934
cb8f9562
JM
149352013-10-09 Joseph Myers <joseph@codesourcery.com>
14936
14937 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14938 semicolon. From Linux kernel.
14939
5b60c59d
AB
149402013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14941
14942 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14943
b86835ca
YC
149442013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14945
14946 [BZ #156]
14947 * manual/socket.texi: Added statement about buffer
14948 for gethostbyname2_r.
14949
e7044ea7
OB
149502013-10-08 Ondřej Bílka <neleai@seznam.cz>
14951
14952 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14953 Use .p2align directive instead, throughout.
14954 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14955 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14956 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14959 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14960 * sysdeps/x86_64/strchr.S: Likewise.
14961 * sysdeps/x86_64/strrchr.S: Likewise.
14962
09544cbc
SP
149632013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14964
88576635
SP
14965 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14966
e7b2d1dd
SP
14967 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14968
09544cbc
SP
14969 * sysdeps/generic/math_private.h (__mpsin1): Remove
14970 declaration.
14971 (__mpcos1): Likewise.
14972 (__mpsin): New argument __range_reduce.
14973 (__mpcos): Likewise.
14974 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14975 (slow): Use __mpsin and __mpcos.
14976 (slow1): Likewise.
14977 (slow2): Likewise.
14978 (sloww): Likewise.
14979 (sloww1): Likewise.
14980 (sloww2): Likewise.
14981 (bsloww): Likewise.
14982 (bsloww1): Likewise.
14983 (bsloww2): Likewise.
14984 (cslow2): Likewise.
14985 (csloww): Likewise.
14986 (csloww1): Likewise.
14987 (csloww2): Likewise.
14988 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14989 range_reduce. Merge in __mpsin1.
14990 (__mpcos): Likewise.
14991 (__mpsin1): Remove.
14992 (__mpcos1): Likewise.
14993
7602d070
JM
149942013-10-07 Joseph Myers <joseph@codesourcery.com>
14995
14996 * locale/loadlocale.c (_nl_intern_locale_data): Use
14997 LOCFILE_ALIGNED_P.
14998 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14999 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15000 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15001 obstack data is appropriately aligned.
15002 (obstack_int32_grow_fast): Likewise.
15003 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15004 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15005 (add_locale_uint32_array): Likewise.
15006
a357259b
SP
150072013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15008
15009 * benchtests/Makefile: Remove ARGLIST and RET variables.
15010 ($(objpfx)bench-%.c): Pass only function name to the script.
15011 * benchtests/README: Update documentation.
15012 * benchtests/acos-inputs: Add new directives.
15013 * benchtests/acosh-inputs: Likewise.
15014 * benchtests/asin-inputs: Likewise.
15015 * benchtests/asinh-inputs: Likewise.
15016 * benchtests/atan-inputs: Likewise.
15017 * benchtests/atanh-inputs: Likewise.
15018 * benchtests/cos-inputs: Likewise.
15019 * benchtests/cosh-inputs: Likewise.
15020 * benchtests/exp-inputs: Likewise.
15021 * benchtests/log-inputs: Likewise.
15022 * benchtests/pow-inputs: Likewise.
15023 * benchtests/rint-inputs: Likewise.
15024 * benchtests/sin-inputs: Likewise.
15025 * benchtests/sinh-inputs: Likewise.
15026 * benchtests/tan-inputs: Likewise.
15027 * benchtests/tanh-inputs: Likewise.
15028 * scripts/bench.pl: Add support for new directives.
15029
9ec1b13d
AM
150302013-10-07 Alan Modra <amodra@gmail.com>
15031
15032 * README: Fix careless merge.
15033
8b7d57cd
AM
150342013-10-05 Alan Modra <amodra@gmail.com>
15035
15036 * NEWS: Mention powerpc64le support and bugs fixed.
15037 * README: Both big-endian and little-endian powerpc64 supported.
15038
7b7bab13
ST
150392013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15040
57f41c40
AS
15041 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15042 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15043 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15044 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15045
d39baad1
RA
150462013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15047
15048 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15049 match prototype.
15050
cd78f7e7
JM
150512013-10-04 Joseph Myers <joseph@codesourcery.com>
15052
29d73d86
JM
15053 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15054 Move -mhard-float appending from
15055 ports/sysdeps/powerpc/powerpc32/Makefile.
15056 [$(with-fp) = yes] (ASFLAGS): Likewise.
15057 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15058 * sysdeps/powerpc/nofpu: Move directory from
15059 ports/sysdeps/powerpc/nofpu.
15060 * sysdeps/powerpc/soft-fp: Move directory from
15061 ports/sysdeps/powerpc/soft-fp.
15062 * sysdeps/powerpc/powerpc32/405: Move directory from
15063 ports/sysdeps/powerpc/powerpc32/405.
15064 * sysdeps/powerpc/powerpc32/440: Move directory from
15065 ports/sysdeps/powerpc/powerpc32/440.
15066 * sysdeps/powerpc/powerpc32/464: Move directory from
15067 ports/sysdeps/powerpc/powerpc32/464.
15068 * sysdeps/powerpc/powerpc32/476: Move directory from
15069 ports/sysdeps/powerpc/powerpc32/476.
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15071 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15073 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15075 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15077 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15079 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15080 * README: Update for powerpc-*-linux-gnu software floating point
15081 support in libc.
15082
e246b347
JM
15083 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15084 case to powerpc/powerpc32*.
15085 * sysdeps/unix/sysv/linux/configure: Regenerated.
15086
89c2003e
JM
15087 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15088 (_FPU_MASK_OM): Define as 0x04.
15089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15091 0x00c10080.
15092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15093 0x0000003c.
15094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15095
cd78f7e7
JM
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15097 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15098 getcontext_e500.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15100 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15101 setcontext_e500.
15102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15103 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15104 and setcontext_e500.
15105
c755294d
CL
151062013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15107
15108 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15109
e16d221c
SP
151102013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15111
15112 * manual/threads.texi (Default Thread Attributes): Fix typo.
15113
215c7d43
WN
151142013-10-04 Will Newton <will.newton@linaro.org>
15115
15116 * malloc/Makefile: Add tst-memalign.
15117 * malloc/tst-memalign.c: New file.
15118
27d0461b
WN
15119 * malloc/tst-posix_memalign.c: Add comments.
15120 (do_test): Add comments and call free on all potentially
15121 allocated pointers. Add space after cast.
15122
1bc92709
WN
15123 * malloc/tst-pvalloc.c: Add comments.
15124 (do_test): Add comments and call free on all potentially
15125 allocated pointers. Remove duplicate check for NULL pointer.
15126 Add space after cast.
15127
66a9be9d
WN
15128 * malloc/tst-valloc.c: Add comments.
15129 (do_test): Add comments and call free on all potentially
15130 allocated pointers. Remove duplicate check for NULL pointer.
15131 Add space after cast.
15132
4cb81307
AM
151332013-10-04 Alan Modra <amodra@gmail.com>
15134
15135 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15136 Use stdint types in rather than __attribute__((mode())).
15137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15138
f8e3e9f3
AM
151392013-10-04 Alan Modra <amodra@gmail.com>
15140
15141 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15142 Correct handling of unaligned relocs for little-endian.
15143 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15144
8f9ebb08
AM
151452013-10-04 Alan Modra <amodra@gmail.com>
15146
15147 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15148 * configure: Regenerate.
15149 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15150 * shlib-versions: Likewise.
15151
0edf96c2
AM
151522013-10-04 Alan Modra <amodra@gmail.com>
15153
15154 * string/tester.c (test_memrchr): Increment reported test cycle.
15155
e0f7a380
AM
151562013-10-04 Alan Modra <amodra@gmail.com>
15157
15158 * string/test-memcpy.c (do_one_test): When reporting errors, print
15159 string address and don't overrun end of string.
15160
466b0393
AM
151612013-10-04 Alan Modra <amodra@gmail.com>
15162
15163 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15164 insrdi. Make better use of reg selection to speed exit slightly.
15165 Schedule entry path a little better. Remove useless "are we done"
15166 checks on entry to main loop. Handle wrapping around zero address.
15167 Correct main loop count. Handle single left-over word from main
15168 loop inline rather than by using loop_small. Remove extra word
15169 case in loop_small caused by wrong loop count. Add little-endian
15170 support.
15171 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15172 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15173 cache hint.
15174 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15175 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15176 support. Avoid rlwimi.
15177 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15178
3be87c77
AM
151792013-10-04 Alan Modra <amodra@gmail.com>
15180
15181 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15182 insrdi. Formatting.
3be87c77
AM
15183 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15184 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15185 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15186 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15187 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15188 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15189
759cfef3
AM
151902013-10-04 Alan Modra <amodra@gmail.com>
15191
15192 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15193 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15195 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15196 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15197 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15198 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15199 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15200 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15201 use of regs. Use power7 mtocrf. Tidy function tails.
15202
fe6e95d7
AM
152032013-10-04 Alan Modra <amodra@gmail.com>
15204
15205 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15206 Formatting. Consistently use rXXX register defines or rN defines.
15207 Use early exit labels that avoid restoring unused non-volatile regs.
15208 Make cr field use more consistent with rWORDn compares. Rename
15209 regs used as shift registers for unaligned loop, using rN defines
15210 for short lifetime/multiple use regs.
15211 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15212 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15213 addi 1,1,64 to pop stack frame. Simplify return value code.
15214 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15215
664318c3
AM
152162013-10-04 Alan Modra <amodra@gmail.com>
15217
15218 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15219 support. Correct typos, formatting. Optimize tail. Use insrdi
15220 rather than rlwimi.
15221 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15222 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15223 little-endian support. Correct typos.
15224 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15225 rather than rlwimi.
15226 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15227 in loop and entry code to keep "and." results.
15228 (strchr): Add little-endian support. Comment. Move cntlzd
15229 earlier in tail.
15230 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15231
43b84013
AM
152322013-10-04 Alan Modra <amodra@gmail.com>
15233
15234 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15235 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15236 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15237 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15238
8a7413f9
AM
152392013-10-04 Alan Modra <amodra@gmail.com>
15240
15241 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15242 (rTMP): Define as r11.
15243 (strcmp): Add little-endian support. Optimise tail.
15244 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15245 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15246 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15247 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15248 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15249 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15250 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15251
33ee81de
AM
152522013-10-04 Alan Modra <amodra@gmail.com>
15253
15254 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15255 little-endian support. Remove unnecessary "are we done" tests.
15256 Handle "s" wrapping around zero and extremely large "size".
15257 Correct main loop count. Handle single left-over word from main
15258 loop inline rather than by using small_loop. Correct comments.
15259 Delete "zero" tail, use "end_max" instead.
15260 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15261
db9b4570
AM
152622013-10-04 Alan Modra <amodra@gmail.com>
15263
15264 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15265 support. Don't branch over align.
15266 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15267 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15268 support. Rearrange tmp reg use to suit. Comment.
15269 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15270
f7c399cf
AM
152712013-10-04 Alan Modra <amodra@gmail.com>
15272
15273 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15274
0b2c2ace
AM
152752013-10-04 Alan Modra <amodra@gmail.com>
15276
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15278 conditional form of branch and link when obtaining pc.
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15280
02f04a6c
AM
152812013-10-04 Alan Modra <amodra@gmail.com>
15282
15283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15284 HIWORD/LOWORD.
15285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15287
9b874b2f
AM
152882013-10-04 Alan Modra <amodra@gmail.com>
15289
15290 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15291 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15292 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15293 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15294 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15295 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15296 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15297 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15298 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15299 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15300
be1e5d31
AB
153012013-10-04 Anton Blanchard <anton@au1.ibm.com>
15302 Alistair Popple <alistair@ozlabs.au.ibm.com>
15303 Alan Modra <amodra@gmail.com>
15304
15305 [BZ #15723]
15306 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15307 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15308 _dl_hwcap access for little-endian.
15309 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15310 destroy vmx regs when saving unaligned.
15311 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15312 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15313 destroy vmx regs when saving unaligned.
15314
fef13a78
AM
153152013-10-04 Alan Modra <amodra@gmail.com>
15316
15317 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15318 Don't use a union to pack hi/low value.
15319
76a66d51
AB
153202013-10-04 Anton Blanchard <anton@au1.ibm.com>
15321
15322 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15323 for little-endian.
15324 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15326 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15327 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15328 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15329
6a31fe7f
AM
153302013-10-04 Alan Modra <amodra@gmail.com>
15331
15332 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15333 constants to usual value for .cst8 section, and remove redundant
15334 high address load.
15335 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15336 constant for 0x1p52. Load little-endian words of double from
15337 correct stack offsets.
15338
7b88401f
AM
153392013-10-04 Alan Modra <amodra@gmail.com>
15340
15341 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15342 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15343 words of double from correct stack offsets.
15344 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15345 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15346 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15349 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15350 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15351 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15352 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15353 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15354 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15355 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15356 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15357 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15358 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15359 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15360 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15361
9c008155
AM
153622013-10-04 Alan Modra <amodra@gmail.com>
15363
15364 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15365 64-bit int/double union.
15366 (_FPU_SETCW): Likewise.
15367 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15368 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15369
da13146d
AM
153702013-10-04 Alan Modra <amodra@gmail.com>
15371
15372 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15373 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15374
603e8410
AM
153752013-10-04 Alan Modra <amodra@gmail.com>
15376
15377 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15378 use vector int constants.
15379 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15380
4a28b3ca
AB
153812013-10-04 Anton Blanchard <anton@au1.ibm.com>
15382
15383 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15384 array with long long.
15385 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15386 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15387 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15388 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15389 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15390 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15391 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15392 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15393 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15394 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15395 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15396 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15397 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15398
2ca85d2b
AB
153992013-10-04 Anton Blanchard <anton@au1.ibm.com>
15400
15401 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15402 (__signbit): Likewise. Correct for little-endian.
15403 (__signbitl): Call __signbit.
15404 (lrint): Correct for little-endian.
15405 (lrintf): Call lrint.
15406
62a728ae
AM
154072013-10-04 Alan Modra <amodra@gmail.com>
15408
15409 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15410 union 32-bit int array member with 64-bit int array.
15411 (t515, tm256): Double rather than long double.
15412 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15413
32c301df
AM
154142013-10-04 Alan Modra <amodra@gmail.com>
15415
15416 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15417 Delete.
15418 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15420 version of math_ldbl.h.
15421
650ef4bd
AM
154222013-10-04 Alan Modra <amodra@gmail.com>
15423
15424 [BZ #15734], [BZ #15735]
15425 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15426 all uses of ieee875 long double macros and unions. Simplify test
15427 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15428 ldbl_extract_mantissa value for ix,iy exponents. Properly
15429 normalize after ldbl_extract_mantissa, and don't add hidden bit
15430 already handled. Don't treat low word of ieee854 mantissa like
15431 low word of IBM long double and mask off bit when testing for
15432 zero.
15433 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15434 all uses of ieee875 long double macros and unions. Simplify tests
15435 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15436 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15437 two1022, instead use their values. Recognise that tests for large
15438 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15439 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15440 Rewrite all uses of ieee875 long double macros and unions. Simplify
15441 test for 0.0L and nan. Correct negation.
15442 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15443 ieee875 long double macros and unions. Correct output for large
15444 magnitude x. Correct absolute value calculation.
15445 (__erfcl): Likewise.
15446 * math/libm-test.inc: Add tests for errors discovered in IBM long
15447 double versions of fmodl, remainderl, erfl and erfcl.
15448
765714ca
AM
154492013-10-04 Alan Modra <amodra@gmail.com>
15450
15451 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15452 all uses of ieee854 long double macros and unions. Simplify tests
15453 for long doubles that are fully specified by the high double.
15454 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15455 Likewise.
15456 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15457 Remove dead code too.
15458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15459 (__ieee754_ynl): Likewise.
15460 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15461 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15463 Remove dead code too.
15464 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15465 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15467 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15468 Simplify.
15469 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15470 Simplify.
15471 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15472 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15474 Comment on variable precision.
15475 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15476 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15477 Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15480 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15482 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15483
4ebd120c
AM
154842013-10-04 Alan Modra <amodra@gmail.com>
15485
15486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15487 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15488 all uses of ieee854 long double macros and unions.
15489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15491 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15492 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15494 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15495 Likewise.
15496 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15497 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15498 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15502 Simplify sign and nan test too.
15503 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15504 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15505 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15506 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15507 Likewise.
15508 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15509 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15510 Likewise.
15511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15512 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15513 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15514 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15515 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15517
1b6adf88
AM
155182013-10-04 Alan Modra <amodra@gmail.com>
15519
15520 * stdio-common/printf_size.c (__printf_size): Don't use
15521 union ieee854_long_double in fpnum union.
15522 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15523 signbit macro to retrieve sign from long double.
15524 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15525 retrieve sign from long double.
15526 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15527 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15528 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15529 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15530 * math/test-misc.c (main): Don't use union ieee854_long_double.
15531
4cf69995
AM
155322013-10-04 Alan Modra <amodra@gmail.com>
15533
15534 [BZ #15680]
15535 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15536 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15537 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15538 calculation. Remove unnecessary test for denormal exponent.
15539 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15540 Correct handling of denormals. Avoid undefined shift behaviour.
15541 Correct normalisation of low mantissa when low double is denormal.
15542 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15543 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15544 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15545 Correct normalisation of low mantissa. Test for overflow of high
15546 mantissa and normalise.
15547 (ldbl_nearbyint): Use more readable constant for two52.
15548 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15549 (__mpn_construct_long_double): Fix test for overflow of high
15550 mantissa and correct normalisation. Avoid undefined shift.
15551
9605ca6c
AM
155522013-10-04 Alan Modra <amodra@gmail.com>
15553
15554 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15555 (union ibm_extended_long_double): Define as an array of ieee754_double.
15556 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15557 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15558 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15559 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15567
975569d0
JM
155682013-10-03 Joseph Myers <joseph@codesourcery.com>
15569
d3d23756
JM
15570 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15571 page size instead of calling getpagesize.
15572
975569d0
JM
15573 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15574 (LOCFILE_ALIGN_MASK): Likewise.
15575 (LOCFILE_ALIGN_UP): Likewise.
15576 (LOCFILE_ALIGNED_P): Likewise.
15577 * locale/programs/ld-collate.c (collate_output): Use the new
15578 macros instead of __alignof__ (int32_t).
15579 * locale/weight.h (findidx): Likewise.
15580
b1fe1f2b
OB
155812013-10-03 Ondřej Bílka <neleai@seznam.cz>
15582
15583 [BZ #431]
15584 * manual/string.texi: Fix strncat and wcsncat.
15585
5f855e35
BM
155862013-10-03 Brooks Moses <bmoses@google.com>
15587
15588 [BZ #15915]
15589 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15590 * Makerules: ...here, and adjust associated comments.
15591
3cef6009
WN
155922013-10-02 Will Newton <will.newton@linaro.org>
15593
15594 * malloc/Makefile: Add tst-pvalloc.
15595 * malloc/tst-pvalloc.c: New file.
15596
7815420b
WN
155972013-10-02 Will Newton <will.newton@linaro.org>
15598
15599 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15600 improve test coverage.
15601
4868b204
WN
156022013-10-02 Will Newton <will.newton@linaro.org>
15603
15604 * malloc/Makefile: Add tst-posix_memalign.
15605 * malloc/tst-posix_memalign.c: New file.
15606
29c793b3
EB
156072013-10-01 Eric Blake <eblake@redhat.com>
15608
15609 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15610 Use __THROWNL rather than __THROW on static functions.
15611
fd967522
PM
156122013-09-30 Petr Machata <pmachata@redhat.com>
15613
15614 * elf/elf.h (R_AARCH64_ABS16): New macro.
15615 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15616 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15617 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15618 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15619 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15620 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15621 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15622 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15623 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15624 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15625 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15626 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15627 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15628 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15629 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15630 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15631 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15632 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15633 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15634 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15635 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15636 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15637 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15638 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15639 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15640 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15641 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15642 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15643 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15644 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15645 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15646 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15647 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15648 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15649 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15650 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15651 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15652 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15653 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15654 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15655 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15656 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15657 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15658 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15659 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15660 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15661 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15662 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15663 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15664 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15665 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15666 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15667 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15668 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15669 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15670 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15671 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15672 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15673 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15674 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15675 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15676 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15677 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15678 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15679 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15680 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15681 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15682 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15683 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15684 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15685 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15686 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15687 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15688 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15689 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15690 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15691 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15692 (R_AARCH64_TLSDESC_LDR): Likewise.
15693 (R_AARCH64_TLSDESC_ADD): Likewise.
15694 (R_AARCH64_TLSDESC_CALL): Likewise.
15695
b2179107
AS
156962013-09-30 Andreas Schwab <schwab@suse.de>
15697
15698 [BZ #15048]
15699 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15700 the nss database lookup.
15701 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15703
47f28d0a
MF
157042013-09-28 Mike Frysinger <vapier@gentoo.org>
15705
15706 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15707
157082013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15709
15710 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15711 ${Bash-specific parameter/pattern/string} parameter expansion.
15712 * sysdeps/unix/make-syscalls.sh: Likewise.
15713
f4518a17
KK
157142013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15715
15716 * sysdeps/sh/stackguard-macros.h: New file.
15717
dc1a95c7
OB
157182013-09-26 Ondřej Bílka <neleai@seznam.cz>
15719
15720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15722 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15724 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15725 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15726
5ebbff8f
AZ
157272013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15728
15729 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15730 Fix thread ID register.
15731
4fd2cf9f
JM
157322013-09-25 Joseph Myers <joseph@codesourcery.com>
15733
15734 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15735 [POSIX || UNIX98]: Require rather than permitting all symbols from
15736 <time.h>.
15737 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15738 element of struct sched_param.
15739 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15740 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15741 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15742 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15743 constant.
15744
12c22bc4
OL
157452013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15746
15747 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15748 argument calculation.
15749
a03d8ea7
JM
157502013-09-24 Joseph Myers <joseph@codesourcery.com>
15751
15752 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15753 Expect macro.
15754 [POSIX] (pthread_attr_t): Do not require type.
15755 [POSIX] (pthread_cond_t): Likewise.
15756 [POSIX] (pthread_condattr_t): Likewise.
15757 [POSIX] (pthread_key_t): Likewise.
15758 [POSIX] (pthread_mutex_t): Likewise.
15759 [POSIX] (pthread_mutexattr_t): Likewise.
15760 [POSIX] (pthread_once_t): Likewise.
15761 [POSIX] (pthread_t): Likewise.
15762 [POSIX-based standards] (pthread_atfork): Expect function.
15763
6055173a
JM
157642013-09-24 Joseph Myers <joseph@codesourcery.com>
15765 Richard Sandiford <richard@codesourcery.com>
15766
15767 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15768 (swap_endianness_p): New extern variable.
15769 (set_big_endian): New inline function.
15770 (maybe_swap_uint32): Likewise.
15771 (maybe_swap_uint32_array): Likewise.
15772 (maybe_swap_uint32_obstack): Likewise.
15773 * locale/programs/locfile.c: Include <stdbool.h>.
15774 (swap_endianness_p): New variable.
15775 (add_locale_uint32): Call maybe_swap_uint32.
15776 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15777 (write_locale_data): Call maybe_swap_uint32_array.
15778 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15779 maybe_swap_uint32.
15780 (obstack_int32_grow_fast): Likewise.
15781 (output_weightwc): Call maybe_swap_uint32_obstack.
15782 (collate_output): Likewise.
15783 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15784 (OPT_LITTLE_ENDIAN): Likewise.
15785 (options): Add --little-endian and --big-endian options.
15786 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15787 * locale/programs/locarchive.c: Include "locfile.h".
15788 (GET): New macro.
15789 (SET): Likewise.
15790 (INC): Likewise.
15791 (create_archive): Use the new macros to access fields of
15792 structures directly mapped from or written to locale archives.
15793 (oldlocrecentcmp): Likewise.
15794 (enlarge_archive): Likewise.
15795 (insert_name): Likewise.
15796 (add_alias): Likewise.
15797 (add_locale): Likewise.
15798 (delete_locales_from_archive): Likewise.
15799 (show_archive_content): Likewise.
15800 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15801 locale data.
15802
39bf0bb4
RM
158032013-09-24 Roland McGrath <roland@hack.frob.com>
15804
15805 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15806 http://www.gnu.org/doc/freemanuals.texi.
15807 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15808
f02eed10
WN
158092013-09-24 Will Newton <will.newton@linaro.org>
15810
15811 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15812 macro.
15813
a3a6c312
JM
158142013-09-23 Joseph Myers <joseph@codesourcery.com>
15815
15816 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15817 unsigned char.
15818
107375ac
MR
158192013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15820
15821 * manual/threads.texi (POSIX Threads): Fix a typo.
15822
141f3a77
SP
158232013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15824
303e567a
SP
15825 [BZ #14547]
15826 * string/tst-strcoll-overflow.c: New test case.
15827 * string/Makefile (xtests): Add tst-strcoll-overflow.
15828 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15829 cache if string sizes may cause integer overflow.
15830
141f3a77
SP
15831 [BZ #14547]
15832 * string/strcoll_l.c (coll_seq): New members rule, idx,
15833 save_idx and back_us.
15834 (get_next_seq_nocache): New function.
15835 (do_compare_nocache): New function.
15836 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15837 when malloc fails.
15838
c61b4d41
CD
158392013-09-23 Carlos O'Donell <carlos@redhat.com>
15840
0b1f8e35
CD
15841 [BZ #15754]
15842 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15843 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15844 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15845
c61b4d41
CD
15846 [BZ #15754]
15847 * elf/Makefile (tests): Add tst-ptrguard1.
15848 (tests-static): Add tst-ptrguard1-static.
15849 (tst-ptrguard1-ARGS): Define.
15850 (tst-ptrguard1-static-ARGS): Define.
15851 * elf/tst-ptrguard1.c: New file.
15852 * elf/tst-ptrguard1-static.c: New file.
15853 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15854 * sysdeps/i386/stackguard-macros.h: Likewise.
15855 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15856 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15857 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15858 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15859 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15860 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15861
158622013-09-23 Hector Marco <hecmargi@upv.es>
15863 Ismael Ripoll <iripoll@disca.upv.es>
15864 Carlos O'Donell <carlos@redhat.com>
15865
15866 [BZ #15754]
15867 * sysdeps/generic/stackguard-macros.h: Define
15868 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15869 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15870 Define __pointer_chk_guard_local.
15871 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15872 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15873
f5f4e7b4
VV
158742013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15875
15876 [BZ #15859]
15877 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15878
5bb43a43
AS
158792013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15880
15881 * include/string.h (__ffs): Declare as hidden.
15882 * string/ffs.c (__ffs): Define as hidden.
15883 * sysdeps/i386/ffs.c (__ffs): Likewise.
15884 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15885 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15886 * sysdeps/s390/ffs.c (__ffs): Likewise.
15887 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15888
3ea5be54
AO
158892013-09-20 Alexandre Oliva <aoliva@redhat.com>
15890
ffb89e53
AO
15891 * NEWS: Mention malloc probes.
15892
322dea08
AO
15893 * malloc/arena.c (new_heap): New memory_heap_new probe.
15894 (grow_heap): New memory_heap_more probe.
15895 (shrink_heap): New memory_heap_less probe.
15896 (heap_trim): New memory_heap_free probe.
15897 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15898 (systrim): New memory_sbrk_less probe.
15899 * manual/probes.texi: Document them.
15900
655673f3
AO
15901 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15902 * manual/probes.texi: Document it.
15903
35fed6f1
AO
15904 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15905 (__libc_realloc): Add memory_realloc_retry probe.
15906 (__libc_memalign): Add memory_memalign_retry probe.
15907 (__libc_valloc): Add memory_valloc_retry probe.
15908 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15909 (__libc_calloc): Add memory_calloc_retry probe.
15910 * manual/probes.texi: Document them.
15911
6999d38c
AO
15912 * malloc/arena.c (get_free_list): Add probe
15913 memory_arena_reuse_free_list.
15914 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15915 and memory_arena_reuse.
15916 (arena_get2) [!PER_THREAD]: Likewise.
15917 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15918 memory_arena_reuse_realloc.
15919 * manual/probes.texi: Document them.
15920
0653427f
AO
15921 * malloc/malloc.c (__libc_free): Add
15922 memory_mallopt_free_dyn_thresholds probe.
15923 (__libc_mallopt): Add multiple memory_mallopt probes.
15924 * manual/probes.texi: Document them.
15925
3ea5be54
AO
15926 * malloc/malloc.c: Include stap-probe.h.
15927 (__libc_mallopt): Add memory_mallopt probe.
15928 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15929 * manual/probes.texi: New.
15930 * manual/Makefile (chapters): Add probes.
15931 * manual/threads.texi: Set next node.
15932
e35696c3 159332013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15934
e35696c3
CL
15935 [BZ #15963, #13985]
15936 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15937 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15938 Add `Chinese' to `nan' entry name.
15939
4aafb73c
SP
159402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15941
15942 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15943 (POLYNOMIAL): Likewise.
15944 (TAYLOR_SINCOS): Likewise.
15945 (TAYLOR_SLOW): Likewise.
15946 (__sin): Use TAYLOR_SINCOS.
15947 (__cos): Likewise.
15948 (slow): Use TAYLOR_SLOW.
15949 (sloww): Likewise.
15950 (bsloww): Likewise.
15951 (csloww): Likewise.
15952
d84f25c7
LD
159532013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15954
15955 * stdlib/strtod_l.c: Fix buffer overrun.
15956
5eea0404
SP
159572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15958
7849ff93
SP
15959 * benchtests/Makefile (bench): Add sincos.
15960 * benchtests/bench-sincos.c: New file.
15961
cfa3c886
SP
15962 * math/libm-test.inc (cos_test_data): New test inputs.
15963 (sin_test_data): Likewise.
15964
b348e1e3
SP
15965 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15966 macro.
15967 (__sin): Use it.
15968 (__cos): Likewise.
15969 (slow1): Likewise.
15970 (slow2): Likewise.
15971 (sloww1): Likewise.
15972 (sloww2): Likewise.
15973 (bsloww1): Likewise.
15974 (bsloww2): Likewise.
15975 (cslow2): Likewise.
15976 (csloww1): Likewise.
15977 (csloww2): Likewise.
15978
6cce25f8
SP
15979 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15980 function.
15981 (__sin): Use it.
15982 (__cos): Likewise.
15983
5eea0404
SP
15984 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15985 gotos.
15986 (__cos): Likewise.
15987
9c21573c
MR
159882013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15989
15990 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15991 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15992 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15993 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15994 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15995 * elf/cache.c (print_entry): Handle the new cache flags.
15996
24d22e65
JM
159972013-09-18 Joseph Myers <joseph@codesourcery.com>
15998 Aldy Hernandez <aldyh@redhat.com>
15999
16000 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16001 Change condition to [_SOFT_FLOAT].
16002 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16003 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16004 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16006 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16008 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16010 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16011 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16012 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16013 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16014 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16015 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16016 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16017 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16018 declaration.
16019
d13ef066
JM
160202013-09-18 Joseph Myers <joseph@codesourcery.com>
16021
2e071de0
JM
16022 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16023 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16024 (__longjmp): Use LOAD_GP to load saved GPRs.
16025 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16026 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16027 (__sigsetjmp): Use SAVE_GP to save GPRs.
16028
d13ef066
JM
16029 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16030 Do not append -msoft-float.
16031 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16032
97a0650b
SP
160332013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16034
16035 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16036
11ca09e9
JM
160372013-09-17 Joseph Myers <joseph@codesourcery.com>
16038
16039 [BZ #15966]
16040 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16041 (_FPU_GETCW): Use initial "__" on variable and field names but not
16042 on macro parameter name.
16043 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16044 parentheses around reference to macro parameter.
16045
08ffcf34
RS
160462013-09-13 Richard Sandiford <richard@codesourcery.com>
16047
16048 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16049 prototype.
16050 (ctype_startup): Use uint32_t in cast and sizeof for
16051 ctype->charnames.
16052
ae7080d3
JL
160532013-09-11 Jia Liu <proljc@gmail.com>
16054
16055 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16056 __daddr_t_defined.
16057 [__FreeBSD__]: Likewise.
16058
5905e7b3
OB
160592013-09-11 Ondřej Bílka <neleai@seznam.cz>
16060
16061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16062 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16063 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16064 (strchr): Remove __strchr_sse42 ifunc selection.
16065 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16066 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16067
b987c776
WN
160682013-09-11 Will Newton <will.newton@linaro.org>
16069
16070 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16071 parameter to RES. Remove hardcoded 1000 value.
16072 * benchtests/bench-skeleton.c (main): Pass RES parameter
16073 to TIMING_INIT and multiply result by 1000.
16074
ddf985af
AZ
160752013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16076
16077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16078
ffdd3181
AS
160792013-09-11 Andreas Schwab <schwab@suse.de>
16080
16081 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16082 if not defined.
16083 (O_TMPFILE) [__USE_GNU]: Define.
16084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16085 Define.
16086
b73ed247
WN
160872013-09-11 Will Newton <will.newton@linaro.org>
16088
16089 [BZ #15857]
16090 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16091 does not overflow.
16092
55e17aad
WN
160932013-09-11 Will Newton <will.newton@linaro.org>
16094
16095 [BZ #15856]
16096 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16097 does not overflow.
16098
1159a193
WN
160992013-09-11 Will Newton <will.newton@linaro.org>
16100
16101 [BZ #15855]
16102 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16103 does not overflow.
16104
5905e7b3 161052013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16106
16107 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16108 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16112
cdfc721b
AM
161132013-09-10 Allan McRae <allan@archlinux.org>
16114
aa04af00
AM
16115 [BZ #15748]
16116 * manual/arith.texi (Parsing of Floats): Clarify
16117 cross-reference.
16118
cdfc721b
AM
16119 [BZ #15849]
16120 * manual/install.texi (Running make install): Mention
16121 --enable-pt-chown.
16122 * INSTALL: Regenerated.
16123
95e7cf29
MR
161242013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16125
16126 * csu/init-first.c (_init): Remove the !SHARED condition around
16127 FPU control word initialization.
16128 * elf/dl-support.c (_dl_fpu_control): New variable.
16129 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16130 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16131 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16132 * math/test-fpucw-static.c: New file.
16133 * math/test-fpucw-ieee.c: New file.
16134 * math/test-fpucw-ieee-static.c: New file.
16135 * math/Makefile (tests): Add `test-fpucw-ieee' and
16136 `$(tests-static)'.
16137 (tests-static): New variable.
16138 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16139 dependency to...
16140 [($(build-shared),yes)]
16141 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16142 ... this.
16143 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16144 New dependency.
16145
83e43bf0
AM
161462013-09-09 Allan McRae <allan@archlinux.org>
16147
a9f5ce09
AM
16148 [BZ #15939]
16149 * manual/string.texi (Collation Functions): Fix typo in
16150 strcoll example.
16151 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16152
34829bc2
AM
16153 [BZ #15893]
16154 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16155
3932737d
AM
16156 [BZ #15892]
16157 * libio/memstream.c (open_memstream): Fix memory leak.
16158 * libio/wmemstream.c (open_wmemstream): Likewise.
16159
83e43bf0
AM
16160 [BZ #15895]
16161 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16162
0c66b8e9
WN
161632013-09-09 Will Newton <will.newton@linaro.org>
16164
16165 * malloc/Makefile: Add tst-realloc to tests.
16166 * malloc/tst-realloc.c: New file.
16167
f6b00fd1
AM
161682013-09-09 Allan McRae <allan@archlinux.org>
16169
16170 [BZ #15844]
16171 * COPYING: Update from GNU website to fix FSF address.
16172 * COPYING.LIB: Likewise.
16173
eec55e16
DM
161742013-09-06 David S. Miller <davem@davemloft.net>
16175
16176 * po/zh_TW.po: Update Chinese (traditional) translation from
16177 translation project.
16178
1ecbb381
RS
161792013-09-06 Richard Sandiford <richard@codesourcery.com>
16180 Joseph Myers <joseph@codesourcery.com>
16181
16182 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16183 "localeinfo.h".
16184 (obstack_chunk_alloc): New macro.
16185 (obstack_chunk_free): Likewise.
16186 (record_offset): New function.
16187 (init_locale_data): Likewise.
16188 (align_locale_data): Likewise.
16189 (add_locale_empty): Likewise.
16190 (add_locale_raw_data): Likewise.
16191 (add_locale_raw_obstack): Likewise.
16192 (add_locale_string): Likewise.
16193 (add_locale_wstring): Likewise.
16194 (add_locale_uint32): Likewise.
16195 (add_locale_uint32_array): Likewise.
16196 (add_locale_char): Likewise.
16197 (start_locale_structure): Likewise.
16198 (end_locale_structure): Likewise.
16199 (start_locale_prelude): Likewise.
16200 (end_locale_prelude): Likewise.
16201 (write_locale_data): Take locale_file structure rather than an
16202 iovec.
16203 * locale/programs/locfile.h: Include "obstack.h".
16204 (struct locale_file): Change to store locale file contents instead
16205 of header.
16206 (init_locale_data): New prototype.
16207 (align_locale_data): Likewise.
16208 (add_locale_empty): Likewise.
16209 (add_locale_raw_data): Likewise.
16210 (add_locale_raw_obstack): Likewise.
16211 (add_locale_string): Likewise.
16212 (add_locale_wstring): Likewise.
16213 (add_locale_uint32): Likewise.
16214 (add_locale_uint32_array): Likewise.
16215 (add_locale_char): Likewise.
16216 (start_locale_structure): Likewise.
16217 (end_locale_structure): Likewise.
16218 (start_locale_prelude): Likewise.
16219 (end_locale_prelude): Likewise.
16220 (write_locale_data): Update prototype.
16221 * locale/programs/3level.h (struct TABLE): Remove result field.
16222 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16223 Use new locale_file interface.
16224 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16225 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16226 * locale/programs/ld-address.c (address_output): Use new
16227 locale_file interface.
16228 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16229 NO_ADD_LOCALE.
16230 (collate_finish): Don't call collseq_table_finalize.
16231 (collate_output): Use new locale_file interface.
16232 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16233 in file.
16234 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16235 (TABLE): Move defines earlier in file.
16236 (ELEMENT): Likewise.
16237 (DEFAULT): Likewise.
16238 (wctrans_table_add): Move macro and inline function earlier in
16239 file.
16240 (struct wctype_table): Move type earlier in file.
16241 (add_locale_wctype_table): New static prototype.
16242 (struct locale_ctype_t): Use logical types instead of struct iovec
16243 pointers for members.
16244 (ctype_output): Use new locale_file interface.
16245 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16246 new locale_file interface.
16247 (allocate_arrays): Update for use of new locale_file interface.
16248 * locale/programs/ld-identification.c (identification_output): Use
16249 new locale_file interface.
16250 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16251 * locale/programs/ld-messages.c (messages_output): Likewise.
16252 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16253 * locale/programs/ld-name.c (name_output): Likewise.
16254 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16255 * locale/programs/ld-paper.c (paper_output): Likewise.
16256 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16257 * locale/programs/ld-time.c (time_output): Likewise.
16258
e029e2e5
AZ
162592013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16260
16261 * benchtests/Makefile: Add memrchr benchmark.
16262 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16263 benchmark as memrchr.
16264 * benchtests/bench-memrchr-ifunc.c: New file.
16265 * benchtests/bench-memrchr.c: New file.
16266
bbf6e8e4
WN
162672013-09-06 Will Newton <will.newton@linaro.org>
16268
16269 * benchtests/Makefile (string-bench): Add memcpy.
16270
6c82a2f8
CD
162712013-09-05 Carlos O'Donell <carlos@redhat.com>
16272 Cong Wang <amwang@redhat.com>
16273
e732c5f0 16274 [BZ #15850]
6c82a2f8
CD
16275 * sysdeps/unix/sysv/linux/bits/in.h
16276 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16277 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16278 before __USE_KERNEL_IPV6_DEFS uses.
16279 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16280 IPPROTO_BEETPH.
16281 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16282 sockaddr_in6, or ipv6_mreq.
16283
5430fc65
AZ
162842013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16285
16286 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16287 memory access for final bytes in some large inputs.
16288 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16289
4660856c
AZ
162902013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16291
16292 * string/test-memrchr.c: New file.
16293 * string/test-memrchr-ifunc.c: New file.
16294 * string/Makefile: Add new memrchr testcase.
16295
bb8ea713
MF
162962013-09-05 Mike Frysinger <vapier@gentoo.org>
16297
16298 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16299 fanotify_init returns EPERM.
16300
b92a20b5
JM
163012013-09-04 Joseph Myers <joseph@codesourcery.com>
16302
16303 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16304 errors.
16305 (top level): Treat second token from macro or constant entries for
16306 allowed headers as allowed.
16307 * include/complex.h: Condition internal declarations on
16308 [!_ISOMAC].
16309 * include/fenv.h: Condition include of <stdbool.h> and internal
16310 declarations on [!_ISOMAC].
7447ccd9
CL
16311
163122013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16313
3e181dda 16314 [BZ #15923]
7447ccd9
CL
16315 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16316
3f2e46a4
JM
163172013-09-04 Joseph Myers <joseph@codesourcery.com>
16318
16319 * configure.in (--enable-versioning): Remove configure option.
16320 (libc_cv_asm_symver_directive): Remove configure test.
16321 (libc_cv_ld_version_script_option): Likewise.
16322 (VERSIONING): Remove variable and AC_SUBST.
16323 (DO_VERSIONING): Remove AC_DEFINE.
16324 * configure: Regenerated.
16325 * config.h.in (DO_VERSIONING): Remove macro.
16326 * Makerules [$(versioning) = yes]: Change conditionals to
16327 [$(build-shared) = yes].
16328 * config.make.in (versioning): Remove variable.
16329 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16330 [$(build-shared) = yes].
16331 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16332 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16333 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16334 [$(build-shared) = yes].
16335 * extra-lib.mk [$(versioning) = yes]: Likewise.
16336 * hurd/Makefile [$(versioning) = yes]: Likewise.
16337 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16338 [SHARED].
16339 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16340 [SHARED].
16341 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16342 [SHARED && !NO_HIDDEN].
16343 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16344 [SHARED].
16345 [SHARED && DO_VERSIONING]: Likewise..
16346 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16347 [$(build-shared) = yes].
16348 * manual/install.texi (--disable-versioning): Remove
16349 documentation.
16350 * INSTALL: Regenerated.
16351 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16352 to [SHARED].
16353 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16354 [$(build-shared) = yes].
16355 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16356 * sysdeps/i386/i686/multiarch/strstr-c.c
16357 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16358 [SHARED && !NO_HIDDEN].
16359 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16360 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16361 * sysdeps/powerpc/powerpc32/dl-machine.c
16362 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16363 * sysdeps/powerpc/powerpc32/sysdep.h
16364 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16365 to [SHARED && PIC && !NO_HIDDEN].
16366 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16367 conditional to [SHARED].
16368
44558701
WN
163692013-09-04 Will Newton <will.newton@linaro.org>
16370
16371 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16372 * benchtests/bench-string.h: Include bench-timing.h instead
16373 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16374 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16375 call to HP_TIMING_DIFF_INIT.
16376 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16377 instead of hp-timing.h macros.
16378 * benchtests/bench-memchr.c: Likewise.
16379 * benchtests/bench-memcmp.c: Likewise.
16380 * benchtests/bench-memcpy.c: Likewise.
16381 * benchtests/bench-memmem.c: Likewise.
16382 * benchtests/bench-memmove.c: Likewise.
16383 * benchtests/bench-memset.c: Likewise.
16384 * benchtests/bench-rawmemchr.c: Likewise.
16385 * benchtests/bench-strcasecmp.c: Likewise.
16386 * benchtests/bench-strcasestr.c: Likewise.
16387 * benchtests/bench-strcat.c: Likewise.
16388 * benchtests/bench-strchr.c: Likewise.
16389 * benchtests/bench-strcmp.c: Likewise.
16390 * benchtests/bench-strcpy.c: Likewise.
16391 * benchtests/bench-strcpy_chk.c: Likewise.
16392 * benchtests/bench-strlen.c: Likewise.
16393 * benchtests/bench-strncasecmp.c: Likewise.
16394 * benchtests/bench-strncat.c: Likewise.
16395 * benchtests/bench-strncmp.c: Likewise.
16396 * benchtests/bench-strncpy.c: Likewise.
16397 * benchtests/bench-strnlen.c: Likewise.
16398 * benchtests/bench-strpbrk.c: Likewise.
16399 * benchtests/bench-strrchr.c: Likewise.
16400 * benchtests/bench-strspn.c: Likewise.
16401 * benchtests/bench-strstr.c: Likewise.
16402
cae16d66
WN
164032013-09-04 Will Newton <will.newton@linaro.org>
16404
16405 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16406
ffa3cd7f
JM
164072013-09-03 Joseph Myers <joseph@codesourcery.com>
16408
16409 [BZ #15427]
16410 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16411 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16412 * math/libm-test.inc (lgamma_test_data): Add more tests.
16413 * sysdeps/i386/fpu/libm-test-ulps: Update.
16414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16415
8f02859f
OB
164162013-09-03 Ondřej Bílka <neleai@seznam.cz>
16417
16418 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16420 Add ifunc.
16421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16422 Add strcmp-sse2-unaligned
16423 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16424
18d43716
MF
164252013-09-02 Mike Frysinger <vapier@gentoo.org>
16426
16427 * Versions.def (libc): Add GLIBC_2.19.
16428
ac444012
MF
164292013-09-02 Mike Frysinger <vapier@gentoo.org>
16430
16431 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16432 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16433
b7835e32
JM
164342013-09-02 Joseph Myers <joseph@codesourcery.com>
16435
16436 [BZ #14155]
16437 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16438 intermediate calculations in recurrence.
16439 (__ieee754_ynf): Likewise.
16440 * math/libm-test.inc (jn_test_data): Do not allow spurious
16441 underflow exception. Add more tests.
16442 (yn_test_data): Add more tests.
16443 * sysdeps/i386/fpu/libm-test-ulps: Update.
16444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16445
8220f4f0
OB
164462013-09-02 Ondřej Bílka <neleai@seznam.cz>
16447
16448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16449
f24a6d08
OB
164502013-08-30 Ondřej Bílka <neleai@seznam.cz>
16451
16452 * csu/init-first.c: Fix then/than typos.
16453 * locale/programs/ld-collate.c: Likewise.
16454 * locale/programs/linereader.h: Likewise.
16455 * manual/charset.texi: Likewise.
16456 * manual/filesys.texi: Likewise.
16457 * manual/stdio.texi: Likewise.
16458 * manual/string.texi: Likewise.
16459 * stdlib/fmtmsg.c: Likewise.
16460 * sysdeps/i386/stpncpy.S: Likewise.
16461 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16462 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16463 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16464 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16465
382466e0
OB
164662013-08-30 Ondřej Bílka <neleai@seznam.cz>
16467
16468 * elf/dl-open.c: Fix typos.
16469 * iconvdata/gbbig5.c: Likewise.
16470 * iconvdata/iso-2022-jp.c: Likewise.
16471 * iconv/gconv_int.h: Likewise.
16472 * iconv/loop.c: Likewise.
16473 * nis/rpcsvc/nis.h: Likewise.
16474 * resolv/ns_name.c: Likewise.
16475 * stdio-common/vfscanf.c: Likewise.
16476 * streams/stropts.h: Likewise.
16477 * sunrpc/rpc_thread.c: Likewise.
16478 * sysdeps/i386/strpbrk.S: Likewise.
16479 * sysdeps/ieee754/k_standard.c: Likewise.
16480 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16481 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16482 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16483 * sysdeps/mach/hurd/profil.c: Likewise.
16484 * sysdeps/s390/dl-procinfo.h: Likewise.
16485 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16486 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16487 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16488 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16489 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16490
0186c6e9
OB
164912013-08-30 Ondřej Bílka <neleai@seznam.cz>
16492
16493 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16495
d4e16af1
OB
164962013-08-29 Ondřej Bílka <neleai@seznam.cz>
16497
16498 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16499 aix specific files.
16500 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16501 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16502 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16503 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16504 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16505 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16506 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16507 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16508
88335980
TS
165092013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16510 Roland McGrath <roland@hack.frob.com>
16511
16512 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16513 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16514
ed479b02
ST
165152013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16516
16517 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16518 __executable_start symbol instead of _start.
16519
f1cc4c86
TS
165202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16521
d821f07c
TS
16522 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16523 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16524 Move macros to...
16525 * sysdeps/gnu/ldsodefs.h: ... this new file.
16526
c54290cf
TS
16527 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16528 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16529 instead of ELFOSABI_LINUX.
16530
0007fc9b 16531 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16532 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16533 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16534 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16535 Likewise.
16536 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16537 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16538 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16539 Likewise.
16540 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16541 (ibm_extended_long_double): Add ieee_nan member.
16542 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16543 (do_test): New function.
16544
f1cc4c86
TS
16545 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16546 TEST_TRUNC.
16547 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16548 functions, renamed from truncdfsf_test, trunctfsf_test,
16549 trunctfdf_test.
16550 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16551 functions.
16552 (do_test): Run all these.
16553
6f65e668
OB
165542013-08-29 Ondřej Bílka <neleai@seznam.cz>
16555
16556 * argp/argp-help.c: Fix typos.
16557 * argp/argp-parse.c: Likewise.
16558 * debug/backtracesyms.c: Likewise.
16559 * elf/elf.h: Likewise.
16560 * malloc/malloc.c: Likewise.
16561 * nis/nis_print.c: Likewise.
16562 * resolv/res_comp.c: Likewise.
16563 * stdlib/stdlib.h: Likewise.
16564 * sunrpc/clnt_tcp.c: Likewise.
16565 * sunrpc/clnt_udp.c: Likewise.
16566 * sunrpc/clnt_unix.c: Likewise.
16567 * sysdeps/unix/bsd/ptsname.c: Likewise.
16568 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16569 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16571 Likewise.
16572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16573 Likewise.
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16575 Likewise.
6f65e668
OB
16576 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16577
3a309239
SP
165782013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16579
16580 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16582
3b813b29
MF
165832013-08-27 Mike Frysinger <vapier@gentoo.org>
16584
16585 [BZ #15897]
16586 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16587 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16588 ($(objpfx)bug-dl-leaf): New rule.
16589 ($(objpfx)bug-dl-leaf.so): Likewise.
16590 ($(objpfx)bug-dl-leaf.out): Likewise.
16591 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16592 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16593 * dlfcn/bug-dl-leaf.c: New test.
16594 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16595 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16596 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16597 (dlclose): Likewise.
16598 (dlmopen): Likewise.
16599
8cc3269f
RM
166002013-08-27 Roland McGrath <roland@hack.frob.com>
16601
7f9d0034
RM
16602 * include/netdb.h [!_ISOMAC]:
16603 Don't include <tls.h>.
16604 (h_errno, __libc_h_errno): Move declaration and macros out of
16605 [_LIBC_REENTRANT].
16606
fb431262
RM
16607 * include/resolv.h [_RESOLV_H_]:
16608 Don't include <tls.h>.
16609 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16610 * resolv/res_libc.c: Don't include <tls.h>.
16611 (_res): Use __attribute__ ((nocommon)) in place of
16612 __attribute__ ((section (".bss"))).
16613
bd81123a
RM
16614 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16615 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16616
c4e42566
RM
16617 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16618
f890a59b
RM
16619 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16620 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16621
16622 * resolv/res_mkquery.c: Include <sys/time.h>.
16623
5d1f0a09
RM
16624 * inet/ifreq.c: Moved to ...
16625 * sysdeps/unix/ifreq.c: ... here.
16626 * inet/ifreq.c: New file, true stub version.
16627
6fcf28b3
RM
16628 * socket/sa_len.c: New file.
16629 * socket/Makefile (aux): Add it.
16630 * sysdeps/unix/sysv/linux/Makefile
16631 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16632 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16633 and #include <socket/sa_len.c>.
16634 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16635 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16636
e041fb8b
RM
16637 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16638 * bits/socket.h: ... here.
16639
8cc3269f
RM
16640 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16641 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16642 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16643
5d228a43
AS
166442013-08-27 Andreas Schwab <schwab@suse.de>
16645
45b8accc
AS
16646 [BZ #15736]
16647 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16648 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16649 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16650 * string/test-strcasecmp.c (test_main): Run tests in several
16651 locales.
16652 * string/test-strncasecmp.c (test_main): Likewise.
16653
5d228a43
AS
16654 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16655 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16656 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16658 (__strncasecmp_ssse3) [PIC]: Likewise.
16659
59d112a4
RM
166602013-08-26 Roland McGrath <roland@hack.frob.com>
16661
53234cc3
RM
16662 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16663
59d112a4
RM
16664 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16665 instead of explicitly declaring xdecrypt.
16666 * nis/nss_nis/nis-publickey.c: Likewise.
16667
595aba70
SP
166682013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16669
16670 [BZ #15890]
16671 * nscd/aicache.c: Include res_hconf.h.
16672 (addhstaiX): Initialize res_hconf.
16673
ffabd393
AS
166742013-08-26 Andreas Schwab <schwab@suse.de>
16675
16676 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16677 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16678
e0a69f5c
SP
166792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16680
16681 * nscd/aicache.c (addhstaiX): Fix indentation.
16682
8c12f01d
MF
166832013-08-25 Mike Frysinger <vapier@gentoo.org>
16684
16685 * configure.ac: Quote $build_pt_chown test.
16686 * configure: Regenerated.
16687
8fe89494
JM
166882013-08-23 Joseph Myers <joseph@codesourcery.com>
16689
16690 [BZ #15532]
16691 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16692 * math/s_cexpf.c (__cexpf): Likewise.
16693 * math/s_cexpl.c (__cexpl): Likewise.
16694 * math/libm-test.inc (cexp_test_data): Correct expected return
16695 value for NaN + i0. Add another test.
16696
75b181d6
DM
166972013-08-22 David S. Miller <davem@davemloft.net>
16698
16699 * po/ca.po: Update Catalan translation from translation project.
936241e4 16700 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16701
acd06bb1
JM
167022013-08-21 Joseph Myers <joseph@codesourcery.com>
16703
16704 [BZ #15797]
16705 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16706 is infinite, not alongside NaN test.
16707 * math/s_fdimf.c (__fdimf): Likewise.
16708 * math/s_fdiml.c (__fdiml): Likewise.
16709 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16710 errno is unchanged.
16711
c0c3f78a
OB
167122013-08-21 Ondřej Bílka <neleai@seznam.cz>
16713
16714 * argp/argp-help.c: Fix typos.
16715 * crypt/speeds.c: Likewise.
16716 * csu/check_fds.c: Likewise.
16717 * elf/dl-load.c: Likewise.
16718 * elf/dl-open.c: Likewise.
16719 * elf/reldep3.c: Likewise.
16720 * elf/reldep.c: Likewise.
16721 * elf/sprof.c: Likewise.
16722 * iconv/iconv_charmap.c: Likewise.
16723 * iconv/skeleton.c: Likewise.
16724 * iconv/strtab.c: Likewise.
16725 * io/lockf64.c: Likewise.
16726 * libio/libioP.h: Likewise.
16727 * resolv/gai_notify.c: Likewise.
16728 * resolv/ns_name.c: Likewise.
16729 * resolv/ns_samedomain.c: Likewise.
16730 * resolv/res_send.c: Likewise.
16731 * stdlib/random.c: Likewise.
16732 * sunrpc/rpc/xdr.h: Likewise.
16733 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16734 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16735 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16736 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16737 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16738 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16740 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16741 * sysdeps/mach/hurd/check_fds.c: Likewise.
16742 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16743 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16744 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16745 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16746 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16747 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16748 * sysdeps/pthread/aio_notify.c: Likewise.
16749 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16750 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16751 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16752 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16753 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16754
46ed1038
LD
167552013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16756
16757 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16758 version if bit_Slow_SSE4_2 is set.
16759 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16760 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16761
d400dcac
AZ
167622013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16763
16764 [BZ #15867]
16765 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16766 trampoline stack frame information.
16767 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16768 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16769 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16770 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16771 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16772 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16773 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16774 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16775 sa_flags value.
16776 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16777 interrupting a syscall and set with option SA_SIGINFO.
16778
42c8fdd8
JM
167792013-08-20 Joseph Myers <joseph@codesourcery.com>
16780
c980f2f4
JM
16781 [BZ #15531]
16782 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16783 argument is infinite.
16784 * math/s_cprojf.c (__cprojf): Likewise.
16785 * math/s_cprojl.c (__cprojl): Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16787 * math/libm-test.inc (cproj_test_data): Add more tests.
16788
0716c4fc
JM
16789 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16790
42c8fdd8
JM
16791 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16792 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16793 size. Use __ffs to determine corresponding shift.
16794
b31469d0
JM
167952013-08-20 Joseph Myers <joseph@codesourcery.com>
16796 Roland McGrath <roland@hack.frob.com>
16797
16798 * Makefile (INSTALL): Remove trailing blank lines from output of
16799 makeinfo.
16800
4e39af6e
AK
168012013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16802
16803 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16804 Align 32 bit compat elf_greg to 8 bytes.
16805
f315524e
AA
168062013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16807
16808 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16809
1326ba1a
SP
168102013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16811
16812 * string/strcoll_l.c (coll_seq): New structure.
16813 (get_next_seq_cached): New function.
16814 (get_next_seq): New function.
16815 (do_compare): New function.
16816 (STRCOLL): Use GNU style definition. Simplify implementation
16817 by using get_next_seq, get_next_seq_cached and do_compare.
16818
91ce4085
FW
168192013-08-16 Florian Weimer <fweimer@redhat.com>
16820
16821 [BZ #14699]
16822 CVE-2013-4237
16823 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16824 member.
16825 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16826 member.
16827 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16828 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16829 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16830 conditional.
16831 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16832 GETDENTS_64BIT_ALIGNED.
16833 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16834 * manual/filesys.texi (Reading/Closing Directory): Document
16835 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16836 strongly.
16837 * manual/conf.texi (Limits for Files): Add portability note to
16838 NAME_MAX, PATH_MAX.
16839 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16840
ca0a6bc4
AS
168412013-08-13 Andreas Schwab <schwab@suse.de>
16842
16843 [BZ #15749]
16844 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16845 of fabs.
16846 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16847 LDBL_MAX_EXP >= 16384]: Add tests for it.
16848
6c1fd795
DM
168492013-08-12 David S. Miller <davem@davemloft.net>
16850
16851 * version.h (RELEASE): Set to "development".
16852 (VERSION): Set to "2.18.90".
16853 * NEWS: Add 2.19 section.
16854
31ad488d
DM
168552013-08-03 David S. Miller <davem@davemloft.net>
16856
16857 * po/ko.po: Update Korean translation from translation project.
16858
db24e684
DM
168592013-08-01 David S. Miller <davem@davemloft.net>
16860
16861 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16862 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16863 Bilka.
16864
f723285b
DM
168652013-07-30 David S. Miller <davem@davemloft.net>
16866
16867 * po/fr.po: Update French translation from translation project.
16868
3cbc52db
DM
168692013-07-28 David S. Miller <davem@davemloft.net>
16870
30bbc0cc
DM
16871 * po/cs.po: Update Czech translation from translation project.
16872
3cbc52db
DM
16873 * po/sv.po: Update Swedish translation from translation project.
16874
d492e6d0
DM
168752013-07-27 David S. Miller <davem@davemloft.net>
16876
f1a7f492
DM
16877 * po/eo.po: Update Esperanto translation from translation project.
16878
90e62a4a
DM
16879 * po/vi.po: Update Vietnamese translation from translation project.
16880
d492e6d0
DM
16881 * po/de.po: Update German translation from translation project.
16882
d4baa62d
DM
168832013-07-26 David S. Miller <davem@davemloft.net>
16884
641aa7b4
DM
16885 * po/bg.po: Update Bulgarian translation from translation project.
16886
d4baa62d
DM
16887 * po/nl.po: Update Dutch translation from translation project.
16888 * po/pl.po: Update Polish translation from translation project.
16889 * po/ru.po: Update Russian translation from translation project.
16890
61a9dcb9
DM
168912013-07-24 David S. Miller <davem@davemloft.net>
16892
16893 * po/libc.pot: Update.
16894
7b1f8b58
AZ
168952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16896
16897 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16898 variable page size.
16899 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16900 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16901 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16902
a8fc7a03
AK
169032013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16904
16905 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16906
e4608715
CD
169072013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16908 Andreas Schwab <schwab@suse.de>
16909 Roland McGrath <roland@hack.frob.com>
16910 Joseph Myers <joseph@codesourcery.com>
16911 Carlos O'Donell <carlos@redhat.com>
16912
16913 [BZ #15755]
16914 * config.h.in: Define HAVE_PT_CHOWN.
16915 * config.make.in (build-pt-chown): New variable.
16916 * configure.in (--enable-pt_chown): New configure option.
16917 * configure: Regenerate.
16918 * login/Makefile: Include Makeconfig. Build pt_chown only if
16919 build-pt-chown is enabled.
16920 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16921 pt_chown to fix pty ownership.
16922 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16923 CLOSE_ALL_FDS.
16924 * manual/install.texi (Configuring and compiling): Mention
16925 --enable-pt_chown. Add @findex for grantpt.
16926 * INSTALL: Regenerate.
16927
da2d62df
DM
169282013-07-20 David S. Miller <davem@davemloft.net>
16929
16930 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16931 difference between 32-bit and 64-bit.
16932
d7e06450
CD
169332013-07-15 Carlos O'Donell <carlos@redhat.com>
16934
16935 [BZ #15711]
16936 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16937 Avoid system header dependency with -ffreestanding.
16938 ($(objpfx)bits/syscall%d): Likewise.
16939
f959cfd7
DM
169402013-07-13 David S. Miller <davem@davemloft.net>
16941
16942 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16943 underflows from atanl/atan2l due to bug 15319.
16944 (casinh_test_data): Likewise.
16945
c61f8513
DM
169462013-07-07 David S. Miller <davem@davemloft.net>
16947
16948 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16949
72c90ed0
JA
169502013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16951
16952 * sysdeps/i386/fpu/libm-test-ulps: Update.
16953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16954
52dfbe13
SP
169552013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16956
16957 * configure.in (--enable-lock-elision): Fix message text.
16958 * INSTALL: Regenerate.
16959 * configure: Regenerate.
16960
3f169543
AZ
169612013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16962
16963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16964
521c6785
AJ
169652013-07-03 Andreas Jaeger <aj@suse.de>
16966
16967 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16968 define.
16969 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16970 (ptrace_peeksiginfo_args): Add.
16971 (__ptrace_peeksiginfo_flags): Add.
16972 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16973 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16974 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16975
d2cc15cb
AM
169762013-07-03 Allan McRae <allan@archlinux.org>
16977
16978 * sysdeps/i386/fpu/libm-test-ulps: Update.
16979
3aaeeca7
DM
169802013-07-02 David S. Miller <davem@davemloft.net>
16981
16982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16983
5314ed1a
MT
169842013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16985
16986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16987
67338156
JM
169882013-07-02 Joseph Myers <joseph@codesourcery.com>
16989
16990 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16992
1717da59
AK
169932013-07-02 Andi Kleen <ak@linux.intel.com>
16994
16995 * config.h.in (ENABLE_LOCK_ELISION): Add.
16996 * configure.in (--enable-lock-elision): Add option.
16997 * manual/install.texi: Document --enable lock elision.
16998 * configure: Regenerate
16999 * INSTALL: Regenerate.
17000
1c81621c
L
170012013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17002
17003 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17004 SSE4.2 strcasecmp for libc.a.
17005 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17006
77f01ab5
JM
170072013-07-02 Joseph Myers <joseph@codesourcery.com>
17008
17009 [BZ #13304]
17010 * soft-fp/op-common.h (_FP_FMA): New macro.
17011 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17012 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17013 (_FP_MUL_MEAT_1_imm): ... here.
17014 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17015 (_FP_MUL_MEAT_1_wide): ... here.
17016 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17017 (_FP_MUL_MEAT_1_hard): ... here.
17018 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17019 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17020 (_FP_MUL_MEAT_2_wide): ... here.
17021 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17022 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17023 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17024 (_FP_MUL_MEAT_2_gmp): ... here.
17025 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17026 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17027 (_FP_MUL_MEAT_4_wide): ... here.
17028 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17029 (_FP_MUL_MEAT_4_gmp): ... here.
17030 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17031 (_FP_WFRACBITS_DW_S): Likewise.
17032 (_FP_WFRACXBITS_DW_S): Likewise.
17033 (_FP_HIGHBIT_DW_S): Likewise.
17034 (FP_FMA_S): Likewise.
17035 (_FP_FRAC_HIGH_DW_S): Likewise.
17036 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17037 (_FP_WFRACBITS_DW_D): Likewise.
17038 (_FP_WFRACXBITS_DW_D): Likewise.
17039 (_FP_HIGHBIT_DW_D): Likewise.
17040 (FP_FMA_D): Likewise.
17041 (_FP_FRAC_HIGH_DW_D): Likewise.
17042 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17043 (_FP_WFRACBITS_DW_E): Likewise.
17044 (_FP_WFRACXBITS_DW_E): Likewise.
17045 (_FP_HIGHBIT_DW_E): Likewise.
17046 (FP_FMA_E): Likewise.
17047 (_FP_FRAC_HIGH_DW_E): Likewise.
17048 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17049 (_FP_WFRACBITS_DW_Q): Likewise.
17050 (_FP_WFRACXBITS_DW_Q): Likewise.
17051 (_FP_HIGHBIT_DW_Q): Likewise.
17052 (FP_FMA_Q): Likewise.
17053 (_FP_FRAC_HIGH_DW_Q): Likewise.
17054 * soft-fp/fmasf4.c: New file.
17055 * soft-fp/fmadf4.c: Likewise.
17056 * soft-fp/fmatf4.c: Likewise.
17057
6308fd9a
LD
170582013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17059
17060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17061 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17062 Silvermont.
17063 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17064 macro.
17065 (index_Slow_SSE4_2): Likewise.
17066 (index_Prefer_PMINUB_for_stringop): Likewise.
17067 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17068 bit_Slow_SSE4_2 is set.
17069 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17070 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17071
89cd9569
RA
170722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17073
17074 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17075 rtld_global._dl_hwcap2.
17076 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17077 POWER8.
17078 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17079 POWER8 feature descriptions defined in _dl_hwcap2.
17080 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17081 string handling for POWER8 feature bits.
17082 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17083 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17084 _dl_powerpc_cap_flags.
17085 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17086 * sysdeps/powerpc/rtld-global-offsets.sym
17087 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17088 _dl_hwcap2 in the rtld_global_ro structure.
17089
1ae8bfe0
RA
170902013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17091
17092 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17093 hardware capabilities in support of AT_HWCAP2.
17094 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17095 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17096 GLRO(dl_hwcap2).
17097 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17098 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17099 explicitly the unknown a_type display mechanism is used.
17100 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17101 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17102 struct member.
17103 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17104 to macro prototype for AT_HWCAP2 support.
17105 * sysdeps/i386/dl-procinfo.h: Likewise.
17106 * sysdeps/s390/dl-procinfo.h: Likewise.
17107 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17108 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17109 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17110 return -1 for unknown a_type display fallback.
17111 * sysdeps/sparc/dl-procinfo.h: Likewise.
17112 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17113 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17114
8fbec010
JM
171152013-06-28 Joseph Myers <joseph@codesourcery.com>
17116
17117 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17118 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17119
0432680e
PY
171202013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17121
17122 [BZ #12492]
17123 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17124 mprotect making __stack_prot writable.
17125
ce61a2ad
NF
171262013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17127 Joseph Myers <joseph@codesourcery.com>
17128
17129 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17130 as being properly aligned.
17131
f91f1c0f
MR
171322013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17133
3d0f5d0c
MR
17134 * dlfcn/modstatic5.c: New file.
17135 * dlfcn/tststatic5.c: New file.
17136 * dlfcn/Makefile (tests): Add tststatic5.
17137 (tests-static): Likewise.
17138 (modules-names): Add modstatic5.
17139 (tststatic5-ENV): New variable.
17140 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17141
f91f1c0f
MR
17142 [BZ #15022]
17143 * elf/dl-support.c (_dl_main_map): New variable.
17144 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17145 (_dl_nns, _dl_load_adds): Set to 1.
17146 (_dl_initial_searchlist): Refer to _dl_main_map.
17147 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17148 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17149 call to _dl_get_origin.
17150 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17151 around call_map.
17152 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17153 * dlfcn/modstatic3.c: New file.
17154 * dlfcn/tststatic3.c: New file.
17155 * dlfcn/tststatic4.c: New file.
17156 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17157 (tests-static): Likewise.
17158 (modules-names): Add modstatic3.
17159 (tststatic3-ENV, tststatic4-ENV): New variables.
17160 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17161 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17162
cbe7d24b
JM
171632013-06-26 Joseph Myers <joseph@codesourcery.com>
17164
17165 * configure.in (CC): Require GCC version 4.4 or later.
17166 * configure: Regenerated.
17167 * manual/install.texi (Tools for Compilation): Update GCC version
17168 requirement.
17169 * INSTALL: Regenerated.
17170
11b8a0e1
LD
171712013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17172
17173 [BZ #15674]
bb5bb87c
L
17174 * string/test-memcmp.c (check2): New.
17175 (main): Call check2.
17176
11b8a0e1
LD
17177 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17178
b0037103
MR
171792013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17180
17181 [BZ #15022]
17182 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17183 over to...
17184 (dl_open_worker) [!SHARED]: ... here.
17185
c18c701d
RA
171862013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17187
17188 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17189
1d17fa5f
RH
171902013-06-25 Richard Henderson <rth@redhat.com>
17191
17192 * locale/programs/locarchive.c: Include <libc-internal.h>
17193
8fcb833a
JM
171942013-06-25 Joseph Myers <joseph@codesourcery.com>
17195
17196 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17197 trailing whitespace removed.
17198
17db6e8d
MF
171992013-06-24 Mike Frysinger <vapier@gentoo.org>
17200
17201 [BZ #10283]
17db6e8d
MF
17202 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17203 * locale/programs/locarchive.c: Include libc-mmap.h.
17204 (prepare_address_space): Take two new outputs (the mmap base and len).
17205 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17206 values.
17207 (create_archive): Declare new mmap base and len values for
17208 prepare_address_space, and store the result in ah.
17209 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17210 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17211 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17212 Declare new mmap base and len values for
17213 prepare_address_space, and store the result in new_ah.
17214 (open_archive): Declare new mmap base and len values for
17215 prepare_address_space, and store the result in ah.
17216 (close_archive): If ah->mmap_base is not NULL, use that and
17217 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17218 * sysdeps/generic/libc-mmap.h: New file.
17219
d605071e
MF
172202013-06-24 Mike Frysinger <vapier@gentoo.org>
17221
17222 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17223 (ALIGN_UP): Likewise.
17224 (PTR_ALIGN_DOWN): Likewise.
17225 (PTR_ALIGN_UP): Likewise.
17226
2f063a6e
RA
172272013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17228
17229 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17230 entry mapped to PPC_PLATFORM_POWER8.
17231 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17232 POWER8.
17233 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17234 (_dl_string_platform): Add case for exporting platform position for
17235 POWER8.
17236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17237 search path to sysdeps/powerpc/powerpc32/power8 directory.
17238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17239 search path to sysdeps/powerpc/powerpc64/power8 directory.
17240 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17241 power7 directories.
17242 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17243 power7 directories.
17244
a31ee4b3
SP
172452013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17246
a74ca98f
SP
17247 * INSTALL: Regenerate.
17248
a31ee4b3
SP
17249 * nscd/connections.c (nscd_init): Fix comment.
17250
695c378f
JM
172512013-06-22 Joseph Myers <joseph@codesourcery.com>
17252
d8412221
JM
17253 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17254
695c378f
JM
17255 [BZ #15667]
17256 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17257 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17258
d1d54715
MR
172592013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17260
17261 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17262 DL_DST_REQ_STATIC.
17263 (DL_DST_REQ_STATIC): Remove macro.
17264
8fdda7af
JM
172652013-06-21 Joseph Myers <joseph@codesourcery.com>
17266
17267 [BZ #7006]
17268 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17269 with a shift of 0 bits.
17270
f3bc5e5a
MR
172712013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17272
17273 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17274 $(tststatic-ENV).
17275
be09e8c9
KK
172762013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17277
17278 [BZ #15655]
17279 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17280
85c2e611
AZ
172812013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17282
17283 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17284 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17285 accepts -fno-tree-loop-distribute-patterns.
17286 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17287 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17288 recursive call.
17289 * string/memset.c (memset): Likewise.
17290 * string/test-memmove.c (simple_memmove): Disable loop transformation
17291 to library calls.
17292 * string/test-memset.c (simple_memset): Likewise.
17293 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17294 * benchtests/bench-memset.c (simple_memset): Likewise.
17295 * configure: Regenerated.
17296
c91e0825
JM
172972013-06-20 Joseph Myers <joseph@codesourcery.com>
17298
b8c792af
JM
17299 * math/test-misc.c (main): Ignore fesetround failure when failures
17300 of subsequent rounding tests would be ignored.
17301
c91e0825
JM
17302 [BZ #15654]
17303 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17304 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17305 * math/fegetenv.c (__fegetenv): Return 0.
17306 * math/fegetexcept.c (fegetexcept): Return 0.
17307 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17308 FE_TONEAREST.
17309 * math/feholdexcpt.c (feholdexcept): Return 0.
17310 * math/fesetenv.c (__fesetenv): Return 0.
17311 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17312 argument FE_TONEAREST.
17313 * math/feupdateenv.c (__feupdateenv): Return 0.
17314 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17315
bfcacbde
RM
173162013-06-18 Roland McGrath <roland@hack.frob.com>
17317
17318 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17319 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17320 ($(objpfx)rtld-%.os rules): Use them.
17321
e55a9b25
AZ
173222013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17323
17324 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17325 fields.
17326
346d65b3
RM
173272013-06-17 Roland McGrath <roland@hack.frob.com>
17328
12086fb4
RM
17329 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17330 length of target pattern, then descending length of dependency pattern.
17331 * configure.in (AWK): Require gawk 3.1.2 or newer.
17332 * manual/install.texi (Tools for Compilation): Say that we do.
17333 * configure: Regenerated.
17334
346d65b3
RM
17335 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17336 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17337 * scripts/sysd-rules.awk: ... this new script.
17338 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17339 than a glob-style pattern.
17340
1a846317
JM
173412013-06-17 Joseph Myers <joseph@codesourcery.com>
17342
17343 * math/test-misc.c (main): Do not treat incorrectly rounded
17344 conversions as failure unless ROUNDING_TESTS passes.
17345
8fc75e6f
JM
173462013-06-15 Joseph Myers <joseph@codesourcery.com>
17347
3711a167
JM
17348 [BZ #15631]
17349 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17350 restore exception state around main square root computation, then
17351 check for inexactness explicitly.
17352
8fc75e6f
JM
17353 * math/libm-test.inc (fma_test_data): Add another test.
17354
61dd6208
SP
173552013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17356
adf23d2c
SP
17357 * manual/threads.texi (Non-POSIX Extensions): New document
17358 node. Document pthread_getattr_default_np and
17359 pthread_setattr_default_np.
17360
61dd6208
SP
17361 * Versions.def (libpthread): Add GLIBC_2.18.
17362 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17364 Likewise.
17365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17366 Likewise.
17367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17368 Likewise.
17369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17370 Likewise.
17371 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17372 Likewise.
17373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17374 Likewise.
17375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17376 Likewise.
17377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17378 Likewise.
17379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17380 Likewise.
17381
d086fc7b
LD
173822013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17383
17384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17385 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17386
747ef469
SP
173872013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17388 H.J. Lu <hjl.tools@gmail.com>
17389
17390 [BZ #15627]
17391 * sysdeps/x86_64/rtld-memset.c: Remove file.
17392 * sysdeps/x86_64/rtld-memset.S: New file.
17393
1b2feed2
JM
173942013-06-14 Joseph Myers <joseph@codesourcery.com>
17395
17396 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17397 (test_in_one_mode): Take arguments for whether the rounding mode
17398 is supported for each floating-point type.
17399 (do_test): Pass new arguments to test_in_one_mode using
17400 ROUNDING_TESTS.
17401
a58ad3f8
RM
174022013-06-13 Roland McGrath <roland@hack.frob.com>
17403
17404 * posix/tst-waitid.c (do_test): Distinguish different instances of
17405 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17406 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17407 before entering the kernel for waitpid.
17408
c204ab28
SP
174092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17410
17411 * NEWS: Fix note on clock function precision. Text by Roland
17412 McGrath.
17413
f4a29fba
RM
174142013-06-13 Roland McGrath <roland@hack.frob.com>
17415
17416 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17417 it into place only when and if the sanity check passes.
17418
1f24b9ad
JM
174192013-06-13 Joseph Myers <joseph@codesourcery.com>
17420
17421 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17422 output for whether conversion result is exact. Take argument
17423 indicating whether type is IBM long double.
17424 (round_for_all): Change need_exact field to ibm_ld.
17425 * stdlib/tst-strtod-round.c (struct exactness): New type.
17426 (struct test): Change bool ld_ok field to struct exactness exact.
17427 (TEST): Update all definitions for change to field.
17428 (tests): Regenerate array contents.
17429 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17430 field value. Check for IBM long double here.
17431 (do_test): Update calls to test_in_one_mode.
17432
58206c68
SP
174332013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17434
17435 [BZ #12515]
17436 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17437 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17438
2d6f4c5b 174392013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
17440
17441 [BZ #15605]
17442 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17443 generated by the compiler on loop optimizations.
17444 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17445 general definitions.
17446
94f2c076
JM
174472013-06-12 Joseph Myers <joseph@codesourcery.com>
17448
17449 * math/bug-nextafter.c: Include <math-tests.h>.
17450 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17451 the relevant type.
17452 * math/bug-nexttoward.c: Include <math-tests.h>.
17453 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17454 the relevant type.
17455 * math/test-misc.c: Include <math-tests.h>.
17456 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17457 the relevant type.
17458
e0e50a0a
AJ
174592013-06-12 Andreas Jaeger <aj@suse.de>
17460
17461 * po/ia.po: Update Interlingua translation from translation
17462 project.
17463
25061094
SP
174642013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17465
17466 * include/fenv.h: Include stdbool.h.
17467 (struct rm_ctx): New structure.
17468 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17469 Define macro.
17470 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17471 (SET_RESTORE_ROUNDF): Likewise.
17472 (SET_RESTORE_ROUNDL): Likewise.
17473 (SET_RESTORE_ROUND_NOEX): Likewise.
17474 (SET_RESTORE_ROUND_NOEXF): Likewise.
17475 (SET_RESTORE_ROUND_NOEXL): Likewise.
17476 (SET_RESTORE_ROUND_53BIT): Likewise.
17477 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17478 (libc_feresetround_noexf_ctx): Likewise.
17479 (libc_feresetround_noexl_ctx): Likewise.
17480 (libc_feholdsetround_53bit_ctx): Likewise.
17481 (libc_feresetround_53bit_ctx): Likewise.
17482 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17483 (libc_feholdexcept_setround_sse_ctx): New function.
17484 (libc_fesetenv_sse_ctx): Likewise.
17485 (libc_feupdateenv_sse_ctx): Likewise.
17486 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17487 (libc_feholdexcept_setround_387_ctx): Likewise.
17488 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17489 (libc_feholdsetround_387_prec_ctx): Likewise.
17490 (libc_feholdsetround_387_ctx): Likewise.
17491 (libc_feholdsetround_387_53bit_ctx): Likewise.
17492 (libc_feholdsetround_sse_ctx): Likewise.
17493 (libc_feresetround_sse_ctx): Likewise.
17494 (libc_feresetround_387_ctx): Likewise.
17495 (libc_feupdateenv_387_ctx): Likewise.
17496 (libc_feholdexcept_setroundf_ctx): Define macro.
17497 (libc_fesetenvf_ctx): Likewise.
17498 (libc_feupdateenvf_ctx): Likewise.
17499 (libc_feholdsetroundf_ctx): Likewise.
17500 (libc_feresetroundf_ctx): Likewise.
17501 (libc_feholdexcept_setround_ctx): Likewise.
17502 (libc_fesetenv_ctx): Likewise.
17503 (libc_feupdateenv_ctx): Likewise.
17504 (libc_feholdsetround_ctx): Likewise.
17505 (libc_feresetround_ctx): Likewise.
17506 (libc_feholdexcept_setroundl_ctx): Likewise.
17507 (libc_feupdateenvl_ctx): Likewise.
17508 (libc_feholdsetroundl_ctx): Likewise.
17509 (libc_feresetroundl_ctx): Likewise.
17510 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17511 (libc_feresetround_53bit_ctx): Likewise.
17512
59b30555
SP
175132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17514
17515 * locale/iso-639.def: Convert to UTF-8.
17516
f1d73d30
JM
175172013-06-11 Joseph Myers <joseph@codesourcery.com>
17518
17519 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17520 (EXCEPTION_TESTS_double): Likewise.
17521 (EXCEPTION_TESTS_long_double): Likewise.
17522 (EXCEPTION_TESTS): Likewise.
17523 * math/libm-test.inc (test_exceptions): Only test exceptions if
17524 EXCEPTION_TESTS (FLOAT).
17525
94aca5e7
SP
175262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17527
17528 * benchtests/Makefile (string-bench): Add strcpy_chk and
17529 stpcpy_chk.
17530 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17531 * benchtests/bench-stpcpy_chk.c: New file.
17532 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17533 * benchtests/bench-strcpy_chk.c: New file.
17534 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17535 code.
17536 (do_test): Likewise.
17537
fac0c5f2
RA
175382013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17539
17540 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17541 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17542 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17543 with tabs where appropriate.
17544 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17545 dl-procinfo.h.
17546 [PPC_PLATFORM_PPC440]: Likewise.
17547 [PPC_PLATFORM_PPC464]: Likewise.
17548 [PPC_PLATFORM_PPC476]: Likewise.
17549 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17550 ppc464, and ppc476 platform strings merging from ports/
17551 dl-procinfo.h.
17552
f22bc486
AS
175532013-06-11 Andreas Schwab <schwab@suse.de>
17554
17555 [BZ #14991]
17556 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17557 (from_ucs4_idx): Regenerate.
17558 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17559 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17560 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17561 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17562 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17563 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17564 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17565 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17566 from FROM_LOOP and TO_LOOP specific macros.
17567 (BODY): Handle combining characters.
17568 * iconvdata/BIG5HKSCS.irreversible: Update.
17569 * iconvdata/BIG5HKSCS.precomposed: New file.
17570 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17571 characters.
17572 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17573
c1f75dc3
SP
175742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17575
4eacded2
SP
17576 * include/sys/time.h: Fix indentation and add copyright header.
17577
fec799f8
SP
17578 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17579 (do_test): Likewise.
17580 * string/test-memchr.c (do_one_test): Likewise.
17581 (do_test): Likewise.
17582 * string/test-memcmp.c (do_one_test): Likewise.
17583 (do_test): Likewise.
17584 * string/test-memcpy.c (do_one_test): Likewise.
17585 (do_test): Likewise.
17586 * string/test-memmem.c (do_one_test): Likewise.
17587 (do_test): Likewise.
17588 (do_random_tests): Likewise.
17589 * string/test-memmove.c (do_one_test): Likewise.
17590 (do_test): Likewise.
17591 * string/test-memset.c (do_one_test): Likewise.
17592 (do_test): Likewise.
17593 * string/test-rawmemchr.c (do_one_test): Likewise.
17594 (do_test): Likewise.
17595 * string/test-strcasecmp.c (do_one_test): Likewise.
17596 (do_test): Likewise.
17597 * string/test-strcasestr.c (do_one_test): Likewise.
17598 (do_test): Likewise.
17599 * string/test-strcat.c (do_one_test): Likewise.
17600 (do_test): Likewise.
17601 * string/test-strchr.c (do_one_test): Likewise.
17602 (do_test): Likewise.
17603 * string/test-strcmp.c (do_one_test): Likewise.
17604 (do_test): Likewise.
17605 * string/test-strcpy.c (do_one_test): Likewise.
17606 (do_test): Likewise.
17607 * string/test-string.h: Likewise.
17608 (test_init): Likewise.
17609 * string/test-strlen.c (do_one_test): Likewise.
17610 (do_test): Likewise.
17611 * string/test-strncasecmp.c (do_one_test): Likewise.
17612 (do_test): Likewise.
17613 * string/test-strncat.c (do_one_test): Likewise.
17614 (do_test): Likewise.
17615 * string/test-strncmp.c (do_one_test): Likewise.
17616 (do_test_limit): Likewise.
17617 (do_test): Likewise.
17618 * string/test-strncpy.c (do_one_test): Likewise.
17619 (do_test): Likewise.
17620 * string/test-strnlen.c (do_one_test): Likewise.
17621 (do_test): Likewise.
17622 * string/test-strpbrk.c (do_one_test): Likewise.
17623 (do_test): Likewise.
17624 * string/test-strrchr.c (do_one_test): Likewise.
17625 (do_test): Likewise.
17626 * string/test-strspn.c (do_one_test): Likewise.
17627 (do_test): Likewise.
17628 * string/test-strstr.c (do_one_test): Likewise.
17629 (do_test): Likewise.
17630
97020474
SP
17631 * benchtests/Makefile (string-bench): Add string benchmarks.
17632 * benchtests/bench-bcopy-ifunc.c: New file.
17633 * benchtests/bench-bcopy.c: New file.
17634 * benchtests/bench-bzero-ifunc.c: New file.
17635 * benchtests/bench-bzero.c: New file.
17636 * benchtests/bench-memccpy-ifunc.c: New file.
17637 * benchtests/bench-memccpy.c: New file.
17638 * benchtests/bench-memchr-ifunc.c: New file.
17639 * benchtests/bench-memchr.c: New file.
17640 * benchtests/bench-memcmp-ifunc.c: New file.
17641 * benchtests/bench-memcmp.c: New file.
17642 * benchtests/bench-memmem-ifunc.c: New file.
17643 * benchtests/bench-memmem.c: New file.
17644 * benchtests/bench-memmove-ifunc.c: New file.
17645 * benchtests/bench-memmove.c: New file.
17646 * benchtests/bench-mempcpy-ifunc.c: New file.
17647 * benchtests/bench-mempcpy.c: New file.
17648 * benchtests/bench-memset-ifunc.c: New file.
17649 * benchtests/bench-memset.c: New file.
17650 * benchtests/bench-rawmemchr-ifunc.c: New file.
17651 * benchtests/bench-rawmemchr.c: New file.
17652 * benchtests/bench-stpcpy-ifunc.c: New file.
17653 * benchtests/bench-stpcpy.c: New file.
17654 * benchtests/bench-stpncpy-ifunc.c: New file.
17655 * benchtests/bench-stpncpy.c: New file.
17656 * benchtests/bench-strcasecmp-ifunc.c: New file.
17657 * benchtests/bench-strcasecmp.c: New file.
17658 * benchtests/bench-strcasestr-ifunc.c: New file.
17659 * benchtests/bench-strcasestr.c: New file.
17660 * benchtests/bench-strcat-ifunc.c: New file.
17661 * benchtests/bench-strcat.c: New file.
17662 * benchtests/bench-strchr-ifunc.c: New file.
17663 * benchtests/bench-strchr.c: New file.
17664 * benchtests/bench-strchrnul-ifunc.c: New file.
17665 * benchtests/bench-strchrnul.c: New file.
17666 * benchtests/bench-strcmp-ifunc.c: New file.
17667 * benchtests/bench-strcmp.c: New file.
17668 * benchtests/bench-strcpy-ifunc.c: New file.
17669 * benchtests/bench-strcpy.c: New file.
17670 * benchtests/bench-strcspn-ifunc.c: New file.
17671 * benchtests/bench-strcspn.c: New file.
17672 * benchtests/bench-strlen-ifunc.c: New file.
17673 * benchtests/bench-strlen.c: New file.
17674 * benchtests/bench-strncasecmp-ifunc.c: New file.
17675 * benchtests/bench-strncasecmp.c: New file.
17676 * benchtests/bench-strncat-ifunc.c: New file.
17677 * benchtests/bench-strncat.c: New file.
17678 * benchtests/bench-strncmp-ifunc.c: New file.
17679 * benchtests/bench-strncmp.c: New file.
17680 * benchtests/bench-strncpy-ifunc.c: New file.
17681 * benchtests/bench-strncpy.c: New file.
17682 * benchtests/bench-strnlen-ifunc.c: New file.
17683 * benchtests/bench-strnlen.c: New file.
17684 * benchtests/bench-strpbrk-ifunc.c: New file.
17685 * benchtests/bench-strpbrk.c: New file.
17686 * benchtests/bench-strrchr-ifunc.c: New file.
17687 * benchtests/bench-strrchr.c: New file.
17688 * benchtests/bench-strspn-ifunc.c: New file.
17689 * benchtests/bench-strspn.c: New file.
17690 * benchtests/bench-strstr-ifunc.c: New file.
17691 * benchtests/bench-strstr.c: New file.
17692
c1f75dc3
SP
17693 * benchtests/Makefile: Disable parallel execution of targets.
17694 (string-bench): Add memcpy.
17695 (benchset): New variable to store a list of benchmark sets.
17696 (bench-func): Renamed from bench.
17697 (bench-set): New target.
17698 (bench): Depend on bench-func and bench-set.
17699 * benchtests/README: Add section on benchmark sets.
17700 * benchtests/bench-memcpy-ifunc.c: New file.
17701 * benchtests/bench-memcpy.c: New file.
17702 * benchtests/bench-string.h: New file.
17703
50fd745b
AS
177042013-06-11 Andreas Schwab <schwab@suse.de>
17705
17706 [BZ #15577]
17707 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17708 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17709 values in the triple.
17710 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17711 terminator in the group key.
17712
3ee7e9fe
AJ
177132013-06-11 Andreas Jaeger <aj@suse.de>
17714
17715 * po/zh_TW.po: Update Chinese (traditional) translation from
17716 translation project.
17717
89fb6835
SP
177182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17719
17720 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17721 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17722 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17724 (clock_getcpuclockid): Likewise.
17725 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17726 Add weak_alias and libc_hidden_def.
17727 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17728 * rt/clock_gettime.c (clock_gettime): Rename to
17729 __clock_gettime. Add weak_alias and libc_hidden_def.
17730 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17731 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17732 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17733 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17734 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17735 Likewise.
17736 * rt/clock_settime.c (clock_settime): Rename to
17737 __clock_settime. Add weak_alias and libc_hidden_def.
17738 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17739
0efa6f8b
JM
177402013-06-10 Joseph Myers <joseph@codesourcery.com>
17741
b8c61b4b
JM
17742 * mach/err_boot.sub: Remove trailing whitespace.
17743 * mach/err_ipc.sub: Likewise.
17744 * mach/err_mach.sub: Likewise.
17745
0efa6f8b
JM
17746 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17747 (ROUNDING_TESTS_double): Likewise.
17748 (ROUNDING_TESTS_long_double): Likewise.
17749 (ROUNDING_TESTS): Likewise.
17750 * math/libm-test.inc: Include <math-tests.h>.
17751 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17752 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17753 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17754 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17755
50b818bf
SP
177562013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17757
17758 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17759 of assigning.
17760
60d2f8f3
JM
177612013-06-08 Joseph Myers <joseph@codesourcery.com>
17762
4902d2c3
JM
17763 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17764 otherwise empty TRANS lines.
17765 * sysdeps/gnu/errlist.c: Regenerated.
17766
60d2f8f3
JM
17767 * catgets/gencat.c (error_print): Use (void) in function
17768 definition.
17769 * crypt/crypt_util.c (__init_des): Likewise.
17770 * crypt/speeds.c (Stop): Likewise.
17771 (main): Likewise.
17772 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17773 * inet/ruserpass.c (token): Likewise.
17774 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17775 * intl/localealias.c (extend_alias_table): Likewise.
17776 * intl/plural-exp.c (init_germanic_plural): Likewise.
17777 * libio/fcloseall.c (__fcloseall): Likewise.
17778 * libio/genops.c (_IO_flush_all): Likewise.
17779 (_IO_flush_all_linebuffered): Likewise.
17780 (_IO_cleanup): Likewise.
17781 (_IO_iter_begin): Likewise.
17782 (_IO_iter_end): Likewise.
17783 (_IO_list_lock): Likewise.
17784 (_IO_list_unlock): Likewise.
17785 (_IO_list_resetlock): Likewise.
17786 * libio/getchar.c (getchar): Likewise.
17787 * libio/getchar_u.c (getchar_unlocked): Likewise.
17788 * libio/getwchar.c (getwchar): Likewise.
17789 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17790 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17791 * login/getpt.c (__getpt): Likewise.
17792 * login/tst-utmp.c (main): Likewise.
17793 * malloc/hooks.c (__malloc_check_init): Likewise.
17794 * malloc/malloc.c (__malloc_stats): Likewise.
17795 * malloc/mtrace.c (tr_break): Likewise.
17796 (mtrace): Likewise.
17797 (muntrace): Likewise.
17798 * misc/fstab.c (endfsent): Likewise.
17799 * misc/getclktck.c (__getclktck): Likewise.
17800 * misc/getdtsz.c (__getdtablesize): Likewise.
17801 * misc/gethostid.c (gethostid): Likewise.
17802 * misc/getpagesize.c (__getpagesize): Likewise.
17803 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17804 (__get_nprocs): Likewise.
17805 (__get_phys_pages): Likewise.
17806 (__get_avphys_pages): Likewise.
17807 * misc/getttyent.c (getttyent): Likewise.
17808 (setttyent): Likewise.
17809 (endttyent): Likewise.
17810 * misc/getusershell.c (getusershell): Likewise.
17811 (endusershell): Likewise.
17812 (setusershell): Likewise.
17813 (initshells): Likewise.
17814 * misc/hsearch.c (__hdestroy): Likewise.
17815 * misc/sync.c (sync): Likewise.
17816 * misc/syslog.c (closelog_internal): Likewise.
17817 (closelog): Likewise.
17818 * misc/ttyslot.c (ttyslot): Likewise.
17819 * misc/vhangup.c (vhangup): Likewise.
17820 * posix/fork.c (__fork): Likewise.
17821 * posix/getegid.c (__getegid): Likewise.
17822 * posix/geteuid.c (__geteuid): Likewise.
17823 * posix/getgid.c (__getgid): Likewise.
17824 * posix/getpid.c (__getpid): Likewise.
17825 * posix/getppid.c (__getppid): Likewise.
17826 * posix/getuid.c (__getuid): Likewise.
17827 * posix/pause.c (pause): Likewise.
17828 * posix/setpgrp.c (setpgrp): Likewise.
17829 * posix/setsid.c (__setsid): Likewise.
17830 * posix/test-vfork.c (noop): Likewise.
17831 * resolv/gethnamaddr.c (_endhtent): Likewise.
17832 (_gethtent): Likewise.
17833 (ht_endhostent): Likewise.
17834 (gethostent): Likewise.
17835 (dns_service): Likewise.
17836 * stdlib/drand48.c (drand48): Likewise.
17837 * stdlib/lrand48.c (lrand48): Likewise.
17838 * stdlib/mrand48.c (mrand48): Likewise.
17839 * stdlib/rand.c (rand): Likewise.
17840 * stdlib/random.c (__random): Likewise.
17841 * stdlib/setenv.c (clearenv): Likewise.
17842 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17843 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17844 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17845 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17846 (__get_nprocs): Likewise.
17847 (__get_phys_pages): Likewise.
17848 (__get_avphys_pages): Likewise.
17849 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17850 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17851 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17852 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17853 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17854 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17855 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17856 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17857 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17858 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17859 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17860 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17861 * sysdeps/posix/clock.c (clock): Likewise.
17862 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17863 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17864 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17865 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17866 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17867 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17868 (__get_nprocs_conf): Likewise.
17869 (__get_phys_pages): Likewise.
17870 (__get_avphys_pages): Likewise.
17871 * time/clock.c (clock): Likewise.
17872 * time/tzset.c (__tzname_max): Likewise.
17873
2e09a79a
JM
178742013-06-07 Joseph Myers <joseph@codesourcery.com>
17875
17876 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17877 (__bswap_32): Do not use "register".
17878 * crypt/crypt.c (_ufc_doit_r): Likewise.
17879 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17880 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17881 * gmon/gmon.c (__monstartup): Likewise.
17882 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17883 * hurd/hurdmalloc.c (more_memory): Likewise.
17884 (malloc): Likewise.
17885 (free): Likewise.
17886 (realloc): Likewise.
17887 (malloc_fork_prepare): Likewise.
17888 (malloc_fork_parent): Likewise.
17889 (malloc_fork_child): Likewise.
17890 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17891 (_svcauth_des): Likewise.
17892 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17893 * inet/inet_net.c (inet_network): Likewise.
17894 * inet/inet_netof.c (inet_netof): Likewise.
17895 * inet/rcmd.c (__validuser2_sa): Likewise.
17896 * io/fts.c (fts_open): Likewise.
17897 (fts_load): Likewise.
17898 (fts_close): Likewise.
17899 (fts_read): Likewise.
17900 (fts_children): Likewise.
17901 (fts_build): Likewise.
17902 (fts_stat): Likewise.
17903 (fts_sort): Likewise.
17904 (fts_alloc): Likewise.
17905 (fts_lfree): Likewise.
17906 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17907 (_IO_file_xsgetn): Likewise.
17908 (_IO_file_xsgetn_mmap): Likewise.
17909 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17910 (_IO_cookie_write): Likewise.
17911 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17912 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17913 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17914 * malloc/obstack.c (_obstack_begin): Likewise.
17915 (_obstack_begin_1): Likewise.
17916 (_obstack_newchunk): Likewise.
17917 (_obstack_allocated_p): Likewise.
17918 (obstack_free): Likewise.
17919 (_obstack_memory_used): Likewise.
17920 * misc/getttyent.c (getttynam): Likewise.
17921 (getttyent): Likewise.
17922 (skip): Likewise.
17923 (value): Likewise.
17924 * misc/getusershell.c (initshells): Likewise.
17925 * misc/syslog.c (__vsyslog_chk): Likewise.
17926 * misc/ttyslot.c (ttyslot): Likewise.
17927 * nis/nis_hash.c (__nis_hash): Likewise.
17928 * posix/fnmatch_loop.c (FCT): Likewise.
17929 * posix/getconf.c (print_all): Likewise.
17930 (main): Likewise.
17931 * posix/getopt.c (exchange): Likewise.
17932 * posix/glob.c (globfree): Likewise.
17933 (prefix_array): Likewise.
17934 (__glob_pattern_type): Likewise.
17935 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17936 (NS_GET32): Likewise.
17937 (NS_PUT16): Likewise.
17938 (NS_PUT32): Likewise.
17939 * resolv/gethnamaddr.c (getanswer): Likewise.
17940 (gethostbyname2): Likewise.
17941 (gethostbyaddr): Likewise.
17942 (_gethtent): Likewise.
17943 (_gethtbyname2): Likewise.
17944 (_gethtbyaddr): Likewise.
17945 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17946 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17947 * resolv/res_init.c (__res_vinit): Likewise.
17948 (net_mask): Likewise.
17949 * resolv/res_mkquery.c (outchar): Likewise.
17950 (PRINT): Likewise.
17951 * stdio-common/printf_fp.c (outchar): Likewise.
17952 (PRINT): Likewise.
17953 * stdio-common/printf_fphex.c (outchar): Likewise.
17954 (PRINT): Likewise.
17955 * stdio-common/printf_size.c (outchar): Likewise.
17956 (PRINT): Likewise.
17957 * stdio-common/test_rdwr.c (main): Likewise.
17958 * stdio-common/tfformat.c (matches): Likewise.
17959 * stdio-common/vfprintf.c (outchar): Likewise.
17960 (printf_unknown): Likewise.
17961 (buffered_vfprintf): Likewise.
17962 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17963 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17964 (ReadFile): Likewise.
17965 * stdlib/qsort.c (SWAP): Likewise.
17966 (_quicksort): Likewise.
17967 * stdlib/setenv.c (__add_to_environ): Likewise.
17968 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17969 * stdlib/strtol_l.c (__strtol_l): Likewise.
17970 * stdlib/tst-strtod.c (main): Likewise.
17971 * stdlib/tst-strtol.c (main): Likewise.
17972 * stdlib/tst-strtoll.c (main): Likewise.
17973 * string/bits/string2.h (__strcmp_cc): Likewise.
17974 (__strcmp_cg): Likewise.
17975 (__strcspn_c1): Likewise.
17976 (__strcspn_c2): Likewise.
17977 (__strcspn_c3): Likewise.
17978 (__strspn_c1): Likewise.
17979 (__strspn_c2): Likewise.
17980 (__strspn_c3): Likewise.
17981 (__strsep_1c): Likewise.
17982 (__strsep_2c): Likewise.
17983 (__strsep_3c): Likewise.
17984 * string/memccpy.c (__memccpy): Likewise.
17985 * string/stpcpy.c (__stpcpy): Likewise.
17986 * string/strcmp.c (strcmp): Likewise.
17987 * string/strrchr.c (strrchr): Likewise.
17988 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17989 Likewise.
17990 * sysdeps/mach/hurd/getcwd.c
17991 (_hurd_canonicalize_directory_name_internal): Likewise.
17992 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17993 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17994 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17995 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17996 Likewise, in both definitions.
17997 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17998 definitions.
17999 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18000 64] (__bswap_64): Likewise.
18001 * time/test_time.c (main): Likewise.
18002 * time/tzfile.c (__tzfile_read): Likewise.
18003 (__tzfile_compute): Likewise.
18004 * time/tzset.c (__tzset_parse_tz): Likewise.
18005 (tzset_internal): Likewise.
18006 (compute_change): Likewise.
18007 * wcsmbs/wcscat.c (__wcscat): Likewise.
18008 * wcsmbs/wcschr.c (wcschr): Likewise.
18009 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18010 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18011 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18012 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18013 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18014 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18015 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18016 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18017 * wcsmbs/wmemset.c (wmemset): Likewise.
18018
9e54314b
JM
180192013-06-06 Joseph Myers <joseph@codesourcery.com>
18020
18021 * scripts/config.guess: Update to version 2013-05-16.
18022 * scripts/config.sub: Update to version 2013-04-24.
18023 * scripts/install-sh: Update to version 2011-11-20.07.
18024 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18025 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18026
350635a5
OB
180272013-06-06 Ondřej Bílka <neleai@seznam.cz>
18028
18029 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18030 * elf/sln.c: Likewise.
18031 * hurd/hurd/ioctl.h: Likewise.
18032 * hurd/hurdmalloc.c: Likewise.
18033 * hurd/xattr.c: Likewise.
18034 * include/shlib-compat.h: Likewise.
18035 * inet/ruserpass.c: Likewise.
18036 * libio/iofgets_u.c: Likewise.
18037 * libio/iofgetws_u.c: Likewise.
18038 * locale/programs/ld-identification.c: Likewise.
18039 * locale/programs/ld-time.c: Likewise.
18040 * mach/msg-destroy.c: Likewise.
18041 * nss/nss_files/files-netgrp.c: Likewise.
18042 * resolv/res_data.c: Likewise.
18043 * soft-fp/op-1.h: Likewise.
18044 * soft-fp/op-2.h: Likewise.
18045 * soft-fp/op-4.h: Likewise.
18046 * soft-fp/op-common.h: Likewise.
18047 * stdio-common/printf_fphex.c: Likewise.
18048 * stdlib/strtod_l.c: Likewise.
18049 * sunrpc/rpc/clnt.h: Likewise.
18050 * sysdeps/generic/framestate.c: Likewise.
18051 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18052 * sysdeps/i386/bsd-setjmp.S: Likewise.
18053 * sysdeps/i386/__longjmp.S: Likewise.
18054 * sysdeps/i386/setjmp.S: Likewise.
18055 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18056 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18057 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18058 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18059 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18061 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18062 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18065 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18067 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18068 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18069 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18070 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18071 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18073 * sysdeps/ieee754/support.c: Likewise.
18074 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18075 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18076 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18077 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18078 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18079 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18080 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18081 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18082 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18083 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18084 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18085 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18086 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18087 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18088 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18089 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18090 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18092
44a988af
OB
180932013-06-05 Ondřej Bílka <neleai@seznam.cz>
18094
25506f09 18095 * posix/transbug.c: Remove executable mode.
44a988af 18096
9c84384c
JM
180972013-06-05 Joseph Myers <joseph@codesourcery.com>
18098
18099 * crypt/speeds.c: Remove trailing whitespace.
18100 * dlfcn/default.c: Likewise.
18101 * elf/ifuncdep2.c: Likewise.
18102 * elf/ifuncmain1.c: Likewise.
18103 * elf/ifuncmain1vis.c: Likewise.
18104 * elf/testobj.h: Likewise.
18105 * elf/tst-stackguard1.c: Likewise.
18106 * gmon/sys/gmon.h: Likewise.
18107 * hurd/hurdmsg.c: Likewise.
18108 * hurd/new-fd.c: Likewise.
18109 * hurd/ports-get.c: Likewise.
18110 * iconvdata/ibm1008_420.c: Likewise.
18111 * inet/tst-getni1.c: Likewise.
18112 * inet/tst-getni2.c: Likewise.
18113 * libio/ioungetc.c: Likewise.
18114 * libio/wfiledoalloc.c: Likewise.
18115 * manual/libm-err-tab.pl: Likewise.
18116 * math/w_dremf.c: Likewise.
18117 * misc/ftruncate.c: Likewise.
18118 * posix/bug-glob2.c: Likewise.
18119 * posix/tst-pcre.c: Likewise.
18120 * posix/wait4.c: Likewise.
18121 * resolv/README: Likewise.
18122 * resolv/res_debug.h: Likewise.
18123 * resolv/tst-inet_ntop.c: Likewise.
18124 * setjmp/bug269-setjmp.c: Likewise.
18125 * soft-fp/extended.h: Likewise.
18126 * soft-fp/op-1.h: Likewise.
18127 * soft-fp/op-2.h: Likewise.
18128 * soft-fp/op-4.h: Likewise.
18129 * soft-fp/op-8.h: Likewise.
18130 * soft-fp/testit.c: Likewise.
18131 * stdio-common/bug16.c: Likewise.
18132 * stdlib/random.c: Likewise.
18133 * sunrpc/rpcsvc/rquota.x: Likewise.
18134 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18139 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18140 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18141 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18142 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18143 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18144 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18163 * sysdeps/ieee754/s_lib_version.c: Likewise.
18164 * sysdeps/mach/hurd/check_fds.c: Likewise.
18165 * sysdeps/mach/hurd/getsockname.c: Likewise.
18166 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18167 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18168 * sysdeps/powerpc/bits/link.h: Likewise.
18169 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18170 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18171 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18172 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18173 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18174 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18175 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18176 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18177 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18178 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18179 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18180 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18181 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18182 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18183 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18184 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18185 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18186 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18187 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18188 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18189 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18190 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18191 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18192 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18193 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18194 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18195 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18196 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18197 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18198 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18200 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18202 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18203 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18204 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18205 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18206 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18207 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18208 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18209 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18210 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18211 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18212 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18213 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18214 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18215 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18216 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18217 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18218 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18219 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18221 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18222 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18223 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18224 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18225 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18226 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18227 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18228 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18229 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18230 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18231 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18232 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18233 * sysdeps/powerpc/sysdep.h: Likewise.
18234 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18235 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18236 * sysdeps/sh/dl-trampoline.S: Likewise.
18237 * sysdeps/sh/memset.S: Likewise.
18238 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18239 * sysdeps/sh/strlen.S: Likewise.
18240 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18241 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18242 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18243 * sysdeps/sparc/sparc32/rem.S: Likewise.
18244 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18245 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18246 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18247 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18248 * sysdeps/sparc/sparc32/urem.S: Likewise.
18249 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18250 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18251 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18252 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18253 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18254 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18255 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18256 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18257 * sysdeps/unix/bsd/times.c: Likewise.
18258 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18259 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18263 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18264 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18265 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18266 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18267 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18268 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18269 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18270 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18271 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18272 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18273 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18274 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18275 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18276 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18277 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18278 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18279 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18280 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18281 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18282 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18283 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18284 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18285 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18286 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18287 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18288 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18289 * sysdeps/x86_64/strcspn.S: Likewise.
18290
869378a5
RA
182912013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18292
18293 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18294 generated file. Regenerate properly from gen-translit.pl.
18295 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18296 locale/C-translit.h.
18297
840e2943
AS
182982013-06-05 Andreas Schwab <schwab@suse.de>
18299
18300 [BZ #15100]
18301 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18302 week as 6 instead of -1.
18303 * time/tst-strptime.c (day_tests): Add test case.
18304
4c60cb0c
SP
183052013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18306
18307 * sysdeps/generic/math_private.h
18308 (libc_feholdexcept_setround_53bit): Replace with
18309 libc_feholdsetround_53bit.
18310 (libc_feupdateenv_53bit): Replace with
18311 libc_feresetround_53bit.
18312 (SET_RESTORE_ROUND_53BIT): Adjust.
18313
d180203e
SP
183142013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18315
96df079a
SP
18316 * string/test-strchrnul.c: Add copyright header.
18317
d180203e
SP
18318 * posix/tst-getaddrinfo4.c: Increase test timeout.
18319
8b0ccb2d
CD
183202013-06-03 Carlos O'Donell <carlos@redhat.com>
18321
18322 [BZ #15536]
18323 * math/libm-test.inc (MAX_EXP): Remove
18324 (MIN_EXP): Define.
18325 (ulp): Use MIN_EXP - MANT_DIG.
18326 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18327
3b3c4d40
CD
183282013-05-31 Carlos O'Donell <carlos@redhat.com>
18329
18330 * po/be.po: Revert last change.
18331 * po/zh_CN.po: Likewise.
18332 * po/header.pot: Likewise.
18333
fab7ce3f
JM
183342013-05-31 Joseph Myers <joseph@codesourcery.com>
18335
18336 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18337 link-libc-deps to empty as target-specific variable.
18338 * Makerules (link-libc-args): New variable.
18339 (libc-for-link): Likewise.
18340 (link-libc-deps): Likewise.
18341 (lib%.so): Depend on $(link-libc-deps). Link with
18342 $(link-libc-args).
18343 (build-module): Link with $(link-libc-args).
18344 (build-module-asneeded): Likewise.
18345 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18346 list of objects.
18347 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18348 target-specific variable.
18349 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18350 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18351 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18352 libc.
18353 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18354 libc and ld.so.
18355 ($(objpfx)libpcprofile.so): Likewise.
18356 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18357 libc_nonshared.a.
18358 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18359 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18360 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18361 $(link-libc-deps).
18362 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18363 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18364 * login/Makefile ($(objpfx)libutil.so): Likewise.
18365 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18366 * math/Makefile ($(objpfx)libm.so): Likewise.
18367 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18368 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18369 variable instead of depending directly on libc.
18370 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18371 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18372 $(link-libc-deps).
18373 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18374 libc.
18375 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18376 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18377 ($(objpfx)libanl.so): Likewise.
18378 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18379 ld.so.
18380 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18381 $(link-libc-deps).
18382 * sysdeps/i386/fpu/Makefile: Remove file.
18383 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18384 ($(objpfx)libm.so): Remove dependency on ld.so.
18385
eca5920c
PF
183862013-05-30 Patsy Franklin <pfrankli@redhat.com>
18387
18388 [BZ # 15553]
18389 * nis/yp_xdr.c (XDRMAXNAME): Define.
18390 (XDRMAXRECORD): Define.
18391 (xdr_domainname): Use XDRMAXNAME.
18392 (xdr_mapname): Likewise.
18393 (xdr_peername): Likewise.
18394 (xdr_keydat): Use XDRMAXRECORD.
18395 (xdr_valdat): Likewise.
18396
183972013-05-30 Jeff Law <law@redhat.com>
96945714
JL
18398
18399 [BZ #14256]
18400 * manual/errno.texi (ESTALE): Update to account for more than
18401 just NFS file systems.
18402 * sysdeps/gnu/errlist.c: Regenerated.
18403
b9375348
SP
184042013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18405
18406 [BZ #15465]
18407 * elf/Makefile (tests): Add tst-null-argv.
18408 (modules-names): Add tst-null-argv-lib.
18409 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18410 (tst-null-argv-ENV): Set environment for tst-null-argv.
18411 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18412 (RTLD_PROGNAME): New macro.
18413 * elf/tst-null-argv.c: New test case.
18414 * elf/tst-null-argv-lib.c: Library for test case.
18415 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18416 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18417 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18418 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18419 * elf/dl-init.c (call_init): Likewise.
18420 (_dl_init): Likewise.
18421 * elf/dl-load.c (print_search_path): Likewise.
18422 (_dl_map_object): Likewise.
18423 * elf/dl-lookup.c (do_lookup_x): Likewise.
18424 (add_dependency): Likewise.
18425 (_dl_lookup_symbol_x): Likewise.
18426 (_dl_debug_bindings): Likewise.
18427 * elf/dl-open.c (_dl_show_scope): Likewise.
18428 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18429 * elf/dl-version.c (match_symbol): Likewise.
18430 (_dl_check_map_versions): Likewise.
18431 * elf/rtld.c (dl_main): Likewise.
18432 (print_unresolved): Use RTLD_PROGNAME.
18433 (print_missing_version): Likewise.
18434 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18435 (elf_machine_rela): Likewise.
18436 * sysdeps/powerpc/powerpc32/dl-machine.c
18437 (__process_machine_rela): Likewise.
18438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18439 Likewise.
18440 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18441 Likewise.
18442 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18443 Likewise.
18444 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18445 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18446 Likewise.
18447 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18448 Likewise.
18449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18450
8a9f20c8
CD
184512013-05-28 Carlos O'Donell <carlos@redhat.com>
18452
18453 * po/be.po: Add descriptive title.
18454 * po/zh_CN.po: Likewise.
18455 * po/header.pot: Likewise.
18456
0e60d68e
MF
184572013-05-28 Mike Frysinger <vapier@gentoo.org>
18458
18459 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18460 error message.
18461 (enlarge_archive): Likewise.
18462
56b672e9
BN
184632013-05-28 Ben North <ben@redfrontdoor.org>
18464
18465 * manual/arith.texi (frexp): It is the magnitude of the return
18466 value which lies in [0.5, 1), not the return value itself.
18467
5e056687
AZ
184682013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18469
18470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18471
2b66ef5d
TS
184722013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18473
528c2405
TS
18474 * stdio-common/bug26.c (main): Correct fscanf template.
18475
07b4c13d
TS
18476 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18477 declare _dl_skip_args.
18478
ec9dd97c
TS
18479 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18480 Don't declare.
18481
2b66ef5d
TS
18482 * manual/platform.texi: Add missing @end deftypefun.
18483
4f8dfe27
JM
184842013-05-24 Joseph Myers <joseph@codesourcery.com>
18485
0323d086
JM
18486 [BZ #15529]
18487 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18488 bit of mantissa of 2^16382.
18489 * math/libm-test.inc (hypot_test_data): Add more tests.
18490
dd4259b9
JM
18491 * math/libm-test.inc: Add drem and pow10 to list of tested
18492 functions.
18493 (pow10_test): New function.
18494 (drem_test): Likewise.
18495 (drem_test_tonearest): Likewise.
18496 (drem_test_towardzero): Likewise.
18497 (drem_test_downward): Likewise.
18498 (drem_test_upward): Likewise.
18499 (main): Call the new functions.
18500
4f8dfe27
JM
18501 * math/libm-test.inc (finite_test_data): Remove.
18502 (finite_test): Run tests from isfinite_test_data.
18503 (gamma_test_data): Remove.
18504 (gamma_test): Run tests from lgamma_test_data.
18505 * sysdeps/i386/fpu/libm-test-ulps: Update.
18506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18507
d116b7c4
AZ
185082013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18509
18510 * manual/platform.texi: Add PowerPC PPR function set documentation.
18511 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18512 implementation.
18513
e96e3767
CD
185142013-05-24 Carlos O'Donell <carlos@redhat.com>
18515
18516 * math/libm-test.inc (MAX_EXP): Define.
18517 (ULPDIFF): Define.
18518 (ulp): New function.
18519 (check_float_internal): Use ULPDIFF.
18520 (cpow_test): Disable failing test.
18521 (check_ulp): Test ulp() implemetnation.
18522 (main): Call check_ulp before starting tests.
18523
b679a606
JM
185242013-05-24 Joseph Myers <joseph@codesourcery.com>
18525
e8bdba36
JM
18526 * math/gen-libm-test.pl (generate_testfile): Do not handle
18527 START_DATA and END_DATA.
18528 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18529 END_DATA.
18530 (acos_tonearest_test_data): Likewise.
18531 (acos_towardzero_test_data): Likewise.
18532 (acos_downward_test_data): Likewise.
18533 (acos_upward_test_data): Likewise.
18534 (acosh_test_data): Likewise.
18535 (asin_test_data): Likewise.
18536 (asin_tonearest_test_data): Likewise.
18537 (asin_towardzero_test_data): Likewise.
18538 (asin_downward_test_data): Likewise.
18539 (asin_upward_test_data): Likewise.
18540 (asinh_test_data): Likewise.
18541 (atan_test_data): Likewise.
18542 (atanh_test_data): Likewise.
18543 (atan2_test_data): Likewise.
18544 (cabs_test_data): Likewise.
18545 (cacos_test_data): Likewise.
18546 (cacosh_test_data): Likewise.
18547 (carg_test_data): Likewise.
18548 (casin_test_data): Likewise.
18549 (casinh_test_data): Likewise.
18550 (catan_test_data): Likewise.
18551 (catanh_test_data): Likewise.
18552 (cbrt_test_data): Likewise.
18553 (ccos_test_data): Likewise.
18554 (ccosh_test_data): Likewise.
18555 (ceil_test_data): Likewise.
18556 (cexp_test_data): Likewise.
18557 (cimag_test_data): Likewise.
18558 (clog_test_data): Likewise.
18559 (clog10_test_data): Likewise.
18560 (conj_test_data): Likewise.
18561 (copysign_test_data): Likewise.
18562 (cos_test_data): Likewise.
18563 (cos_tonearest_test_data): Likewise.
18564 (cos_towardzero_test_data): Likewise.
18565 (cos_downward_test_data): Likewise.
18566 (cos_upward_test_data): Likewise.
18567 (cosh_test_data): Likewise.
18568 (cosh_tonearest_test_data): Likewise.
18569 (cosh_towardzero_test_data): Likewise.
18570 (cosh_downward_test_data): Likewise.
18571 (cosh_upward_test_data): Likewise.
18572 (cpow_test_data): Likewise.
18573 (cproj_test_data): Likewise.
18574 (creal_test_data): Likewise.
18575 (csin_test_data): Likewise.
18576 (csinh_test_data): Likewise.
18577 (csqrt_test_data): Likewise.
18578 (ctan_test_data): Likewise.
18579 (ctan_tonearest_test_data): Likewise.
18580 (ctan_towardzero_test_data): Likewise.
18581 (ctan_downward_test_data): Likewise.
18582 (ctan_upward_test_data): Likewise.
18583 (ctanh_test_data): Likewise.
18584 (ctanh_tonearest_test_data): Likewise.
18585 (ctanh_towardzero_test_data): Likewise.
18586 (ctanh_downward_test_data): Likewise.
18587 (ctanh_upward_test_data): Likewise.
18588 (erf_test_data): Likewise.
18589 (erfc_test_data): Likewise.
18590 (exp_test_data): Likewise.
18591 (exp_tonearest_test_data): Likewise.
18592 (exp_towardzero_test_data): Likewise.
18593 (exp_downward_test_data): Likewise.
18594 (exp_upward_test_data): Likewise.
18595 (exp10_test_data): Likewise.
18596 (exp2_test_data): Likewise.
18597 (expm1_test_data): Likewise.
18598 (fabs_test_data): Likewise.
18599 (fdim_test_data): Likewise.
18600 (finite_test_data): Likewise.
18601 (floor_test_data): Likewise.
18602 (fma_test_data): Likewise.
18603 (fma_towardzero_test_data): Likewise.
18604 (fma_downward_test_data): Likewise.
18605 (fma_upward_test_data): Likewise.
18606 (fmax_test_data): Likewise.
18607 (fmin_test_data): Likewise.
18608 (fmod_test_data): Likewise.
18609 (fpclassify_test_data): Likewise.
18610 (frexp_test_data): Likewise.
18611 (gamma_test_data): Likewise.
18612 (hypot_test_data): Likewise.
18613 (ilogb_test_data): Likewise.
18614 (isfinite_test_data): Likewise.
18615 (isgreater_test_data): Likewise.
18616 (isgreaterequal_test_data): Likewise.
18617 (isinf_test_data): Likewise.
18618 (isless_test_data): Likewise.
18619 (islessequal_test_data): Likewise.
18620 (islessgreater_test_data): Likewise.
18621 (isnan_test_data): Likewise.
18622 (isnormal_test_data): Likewise.
18623 (issignaling_test_data): Likewise.
18624 (isunordered_test_data): Likewise.
18625 (j0_test_data): Likewise.
18626 (j1_test_data): Likewise.
18627 (jn_test_data): Likewise.
18628 (ldexp_test_data): Likewise.
18629 (lgamma_test_data): Likewise.
18630 (lrint_test_data): Likewise.
18631 (lrint_tonearest_test_data): Likewise.
18632 (lrint_towardzero_test_data): Likewise.
18633 (lrint_downward_test_data): Likewise.
18634 (lrint_upward_test_data): Likewise.
18635 (llrint_test_data): Likewise.
18636 (llrint_tonearest_test_data): Likewise.
18637 (llrint_towardzero_test_data): Likewise.
18638 (llrint_downward_test_data): Likewise.
18639 (llrint_upward_test_data): Likewise.
18640 (log_test_data): Likewise.
18641 (log10_test_data): Likewise.
18642 (log1p_test_data): Likewise.
18643 (log2_test_data): Likewise.
18644 (logb_test_data): Likewise.
18645 (logb_downward_test_data): Likewise.
18646 (lround_test_data): Likewise.
18647 (llround_test_data): Likewise.
18648 (modf_test_data): Likewise.
18649 (nearbyint_test_data): Likewise.
18650 (nextafter_test_data): Likewise.
18651 (nexttoward_test_data): Likewise.
18652 (pow_test_data): Likewise.
18653 (pow_tonearest_test_data): Likewise.
18654 (pow_towardzero_test_data): Likewise.
18655 (pow_downward_test_data): Likewise.
18656 (pow_upward_test_data): Likewise.
18657 (remainder_test_data): Likewise.
18658 (remainder_tonearest_test_data): Likewise.
18659 (remainder_towardzero_test_data): Likewise.
18660 (remainder_downward_test_data): Likewise.
18661 (remainder_upward_test_data): Likewise.
18662 (remquo_test_data): Likewise.
18663 (rint_test_data): Likewise.
18664 (rint_tonearest_test_data): Likewise.
18665 (rint_towardzero_test_data): Likewise.
18666 (rint_downward_test_data): Likewise.
18667 (rint_upward_test_data): Likewise.
18668 (round_test_data): Likewise.
18669 (scalb_test_data): Likewise.
18670 (scalbn_test_data): Likewise.
18671 (scalbln_test_data): Likewise.
18672 (signbit_test_data): Likewise.
18673 (sin_test_data): Likewise.
18674 (sin_tonearest_test_data): Likewise.
18675 (sin_towardzero_test_data): Likewise.
18676 (sin_downward_test_data): Likewise.
18677 (sin_upward_test_data): Likewise.
18678 (sincos_test_data): Likewise.
18679 (sinh_test_data): Likewise.
18680 (sinh_tonearest_test_data): Likewise.
18681 (sinh_towardzero_test_data): Likewise.
18682 (sinh_downward_test_data): Likewise.
18683 (sinh_upward_test_data): Likewise.
18684 (sqrt_test_data): Likewise.
18685 (tan_test_data): Likewise.
18686 (tan_tonearest_test_data): Likewise.
18687 (tan_towardzero_test_data): Likewise.
18688 (tan_downward_test_data): Likewise.
18689 (tan_upward_test_data): Likewise.
18690 (tanh_test_data): Likewise.
18691 (tgamma_test_data): Likewise.
18692 (trunc_test_data): Likewise.
18693 (y0_test_data): Likewise.
18694 (y1_test_data): Likewise.
18695 (yn_test_data): Likewise.
18696 (significand_test_data): Likewise.
18697
b679a606
JM
18698 * math/gen-libm-test.pl (@functions): Remove variable.
18699 (generate_testfile): Don't handle START and END lines.
18700 * math/libm-test.inc (START): New macro.
18701 (END): Likewise.
18702 (END_COMPLEX): Likewise.
18703 (acos_test): Use END macro without arguments.
18704 (acos_test_tonearest): Likewise.
18705 (acos_test_towardzero): Likewise.
18706 (acos_test_downward): Likewise.
18707 (acos_test_upward): Likewise.
18708 (acosh_test): Likewise.
18709 (asin_test): Likewise.
18710 (asin_test_tonearest): Likewise.
18711 (asin_test_towardzero): Likewise.
18712 (asin_test_downward): Likewise.
18713 (asin_test_upward): Likewise.
18714 (asinh_test): Likewise.
18715 (atan_test): Likewise.
18716 (atanh_test): Likewise.
18717 (atan2_test): Likewise.
18718 (cabs_test): Likewise.
18719 (cacos_test): Use END_COMPLEX macro without arguments.
18720 (cacosh_test): Likewise.
18721 (carg_test): Use END macro without arguments.
18722 (casin_test): Use END_COMPLEX macro without arguments.
18723 (casinh_test): Likewise.
18724 (catan_test): Likewise.
18725 (catanh_test): Likewise.
18726 (cbrt_test): Use END macro without arguments.
18727 (ccos_test): Use END_COMPLEX macro without arguments.
18728 (ccosh_test): Likewise.
18729 (ceil_test): Use END macro without arguments.
18730 (cexp_test): Use END_COMPLEX macro without arguments.
18731 (cimag_test): Use END macro without arguments.
18732 (clog_test): Use END_COMPLEX macro without arguments.
18733 (clog10_test): Likewise.
18734 (conj_test): Likewise.
18735 (copysign_test): Use END macro without arguments.
18736 (cos_test): Likewise.
18737 (cos_test_tonearest): Likewise.
18738 (cos_test_towardzero): Likewise.
18739 (cos_test_downward): Likewise.
18740 (cos_test_upward): Likewise.
18741 (cosh_test): Likewise.
18742 (cosh_test_tonearest): Likewise.
18743 (cosh_test_towardzero): Likewise.
18744 (cosh_test_downward): Likewise.
18745 (cosh_test_upward): Likewise.
18746 (cpow_test): Use END_COMPLEX macro without arguments.
18747 (cproj_test): Likewise.
18748 (creal_test): Use END macro without arguments.
18749 (csin_test): Use END_COMPLEX macro without arguments.
18750 (csinh_test): Likewise.
18751 (csqrt_test): Likewise.
18752 (ctan_test): Likewise.
18753 (ctan_test_tonearest): Likewise.
18754 (ctan_test_towardzero): Likewise.
18755 (ctan_test_downward): Likewise.
18756 (ctan_test_upward): Likewise.
18757 (ctanh_test): Likewise.
18758 (ctanh_test_tonearest): Likewise.
18759 (ctanh_test_towardzero): Likewise.
18760 (ctanh_test_downward): Likewise.
18761 (ctanh_test_upward): Likewise.
18762 (erf_test): Use END macro without arguments.
18763 (erfc_test): Likewise.
18764 (exp_test): Likewise.
18765 (exp_test_tonearest): Likewise.
18766 (exp_test_towardzero): Likewise.
18767 (exp_test_downward): Likewise.
18768 (exp_test_upward): Likewise.
18769 (exp10_test): Likewise.
18770 (exp2_test): Likewise.
18771 (expm1_test): Likewise.
18772 (fabs_test): Likewise.
18773 (fdim_test): Likewise.
18774 (finite_test): Likewise.
18775 (floor_test): Likewise.
18776 (fma_test): Likewise.
18777 (fma_test_towardzero): Likewise.
18778 (fma_test_downward): Likewise.
18779 (fma_test_upward): Likewise.
18780 (fmax_test): Likewise.
18781 (fmin_test): Likewise.
18782 (fmod_test): Likewise.
18783 (fpclassify_test): Likewise.
18784 (frexp_test): Likewise.
18785 (gamma_test): Likewise.
18786 (hypot_test): Likewise.
18787 (ilogb_test): Likewise.
18788 (isfinite_test): Likewise.
18789 (isgreater_test): Likewise.
18790 (isgreaterequal_test): Likewise.
18791 (isinf_test): Likewise.
18792 (isless_test): Likewise.
18793 (islessequal_test): Likewise.
18794 (islessgreater_test): Likewise.
18795 (isnan_test): Likewise.
18796 (isnormal_test): Likewise.
18797 (issignaling_test): Likewise.
18798 (isunordered_test): Likewise.
18799 (j0_test): Likewise.
18800 (j1_test): Likewise.
18801 (jn_test): Likewise.
18802 (ldexp_test): Likewise.
18803 (lgamma_test): Likewise.
18804 (lrint_test): Likewise.
18805 (lrint_test_tonearest): Likewise.
18806 (lrint_test_towardzero): Likewise.
18807 (lrint_test_downward): Likewise.
18808 (lrint_test_upward): Likewise.
18809 (llrint_test): Likewise.
18810 (llrint_test_tonearest): Likewise.
18811 (llrint_test_towardzero): Likewise.
18812 (llrint_test_downward): Likewise.
18813 (llrint_test_upward): Likewise.
18814 (log_test): Likewise.
18815 (log10_test): Likewise.
18816 (log1p_test): Likewise.
18817 (log2_test): Likewise.
18818 (logb_test): Likewise.
18819 (logb_test_downward): Likewise.
18820 (lround_test): Likewise.
18821 (llround_test): Likewise.
18822 (modf_test): Likewise.
18823 (nearbyint_test): Likewise.
18824 (nextafter_test): Likewise.
18825 (nexttoward_test): Likewise.
18826 (pow_test): Likewise.
18827 (pow_test_tonearest): Likewise.
18828 (pow_test_towardzero): Likewise.
18829 (pow_test_downward): Likewise.
18830 (pow_test_upward): Likewise.
18831 (remainder_test): Likewise.
18832 (remainder_test_tonearest): Likewise.
18833 (remainder_test_towardzero): Likewise.
18834 (remainder_test_downward): Likewise.
18835 (remainder_test_upward): Likewise.
18836 (remquo_test): Likewise.
18837 (rint_test): Likewise.
18838 (rint_test_tonearest): Likewise.
18839 (rint_test_towardzero): Likewise.
18840 (rint_test_downward): Likewise.
18841 (rint_test_upward): Likewise.
18842 (round_test): Likewise.
18843 (scalb_test): Likewise.
18844 (scalbn_test): Likewise.
18845 (scalbln_test): Likewise.
18846 (signbit_test): Likewise.
18847 (sin_test): Likewise.
18848 (sin_test_tonearest): Likewise.
18849 (sin_test_towardzero): Likewise.
18850 (sin_test_downward): Likewise.
18851 (sin_test_upward): Likewise.
18852 (sincos_test): Likewise.
18853 (sinh_test): Likewise.
18854 (sinh_test_tonearest): Likewise.
18855 (sinh_test_towardzero): Likewise.
18856 (sinh_test_downward): Likewise.
18857 (sinh_test_upward): Likewise.
18858 (sqrt_test): Likewise.
18859 (tan_test): Likewise.
18860 (tan_test_tonearest): Likewise.
18861 (tan_test_towardzero): Likewise.
18862 (tan_test_downward): Likewise.
18863 (tan_test_upward): Likewise.
18864 (tanh_test): Likewise.
18865 (tgamma_test): Likewise.
18866 (trunc_test): Likewise.
18867 (y0_test): Likewise.
18868 (y1_test): Likewise.
18869 (yn_test): Likewise.
18870 (significand_test): Likewise.
18871
bae143d2
OB
188722013-05-24 Ondřej Bílka <neleai@seznam.cz>
18873
18874 [BZ #15381]
18875 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18876
9323d39b
EM
188772013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18878
d4ea44a0 18879 [BZ #14894]
9323d39b
EM
18880 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18881 __ppc_mdoio and __ppc_mdoom.
18882 * manual/platform.texi: Document new functions __ppc_yield,
18883 __ppc_mdoio and __ppc_mdoom.
18884
13e23af7
CD
188852013-05-22 Carlos O'Donell <carlos@redhat.com>
18886
18887 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18888 (main): Mention "tls" pseudo-hwcap is legacy.
18889 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18890
351fe550
JM
188912013-05-22 Joseph Myers <joseph@codesourcery.com>
18892
18893 * math/gen-libm-test.pl (parse_args): Output only string of
18894 arguments as text for test name, not full call or descriptions of
18895 tests for extra outputs.
18896 (generate_testfile): Do not pass function name to parse_args.
18897 Generate this_func variable from START.
18898 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18899 field to arg_str.
18900 (struct test_ff_f_data): Likewise.
18901 (test_ff_f_data_nexttoward): Likewise.
18902 (struct test_fi_f_data): Likewise.
18903 (struct test_fl_f_data): Likewise.
18904 (struct test_if_f_data): Likewise.
18905 (struct test_fff_f_data): Likewise.
18906 (struct test_c_f_data): Likewise.
18907 (struct test_f_f1_data): Likewise. Remove field extra_name.
18908 (struct test_fF_f1_data): Likewise.
18909 (struct test_ffI_f1_data): Likewise.
18910 (struct test_c_c_data): Rename test_name field to arg_str.
18911 (struct test_cc_c_data): Likewise.
18912 (struct test_f_i_data): Likewise.
18913 (struct test_ff_i_data): Likewise.
18914 (struct test_f_l_data): Likewise.
18915 (struct test_f_L_data): Likewise.
18916 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18917 and extra2_name.
18918 (COMMON_TEST_SETUP): New macro.
18919 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18920 (COMMON_TEST_CLEANUP): Likewise.
18921 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18922 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18923 macros.
18924 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18925 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18926 macros.
18927 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18928 (RUN_TEST_fff_f): Take argument string. Call new setup and
18929 cleanup macros.
18930 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18931 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18932 macros.
18933 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18934 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18935 macros.
18936 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18937 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18938 cleanup macros.
18939 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18940 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18941 cleanup macros.
18942 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18943 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18944 cleanup macros.
18945 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18946 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18947 macros.
18948 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18949 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18950 macros.
18951 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18952 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18953 macros.
18954 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18955 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18956 cleanup macros.
18957 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18958 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18959 cleanup macros.
18960 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18961 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18962 macros.
18963 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18964 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18965 cleanup macros.
18966 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18967 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18968 macros.
18969 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18970 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18971 macros.
18972 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18973 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18974 cleanup macros.
18975 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18976
85118d4d
EBM
189772013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18978
18979 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18980 to _sifields.sigfault.
18981 (si_addr_lsb): Define new macro.
18982 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18984 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18985
7a44c18f
CD
189862013-05-03 Carlos O'Donell <carlos at redhat.com>
18987
18988 [BZ #15441]
18989 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18990 returns -1.
18991 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18992 null return -1.
18993 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18994 loading the domain.
18995
b50a7181
JM
189962013-05-22 Joseph Myers <joseph@codesourcery.com>
18997
18998 * math/gen-libm-test.pl (parse_args): Do not include expected
18999 result in test name.
19000 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19001 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19002 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19003 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19004 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19006
051063c8
SP
190072013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19008
3ce9e010
SP
19009 * benchtests/Makefile: Sort function entries.
19010
051063c8
SP
19011 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19012 tanh, asinh, acosh, atanh.
19013 * benchtests/acos-inputs: New file.
19014 * benchtests/acosh-inputs: New file.
19015 * benchtests/asin-inputs: New file.
19016 * benchtests/asinh-inputs: New file.
19017 * benchtests/atanh-inputs: New file.
19018 * benchtests/cosh-inputs: New file.
19019 * benchtests/log-inputs: New file.
19020 * benchtests/sinh-inputs: New file.
19021 * benchtests/tanh-inputs: New file.
19022
47c22455
DL
190232013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19024
19025 [BZ #15339]
19026 * posix/tst-getaddrinfo4.c: New test.
19027 * posix/Makefile (tests): Add it.
19028
3d04f5db
SP
190292013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19030
19031 [BZ #15339]
19032 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19033 when no services were used.
19034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19035 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19036
d5dd6189
AS
190372013-05-21 Andreas Schwab <schwab@suse.de>
19038
19039 [BZ #15014]
19040 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19041 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19042 successful.
19043 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19044 redundant variable declarations and reallocation of buffer when
19045 parsing as IPv6 address. Always set NSS status when called from
19046 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19047 buffer too small. Correct computation of needed size.
19048 * nss/Makefile (tests): Add test-digits-dots.
19049 * nss/test-digits-dots.c: New test.
19050
fef94eab
SP
190512013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19052
19053 * benchtests/Makefile: Remove instructions for adding
19054 benchmark tests.
19055 * benchtests/README: New file to explain how to execute and
19056 enhance the benchmark tests.
19057
e39adf43
AS
190582013-05-21 Andreas Schwab <schwab@suse.de>
19059
19060 [BZ #15493]
19061 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19062 * setjmp/tst-sigsetjmp.c: New test.
19063
b2b671b6
OB
190642013-05-20 Ondřej Bílka <neleai@seznam.cz>
19065
19066 * sysdeps/x86_64/memset.S (memset): New implementation.
19067 (__bzero): Likewise.
19068 (__memset_tail): New function.
19069
2d48b41c
OB
190702013-05-20 Ondřej Bílka <neleai@seznam.cz>
19071
19072 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19073 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19074 __memcpy_sse2_unaligned ifunc selection.
19075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19076 Add memcpy-sse2-unaligned.S.
19077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19078 Add: __memcpy_sse2_unaligned.
19079
f16cc3eb
JM
190802013-05-19 Joseph Myers <joseph@codesourcery.com>
19081
3e694268
JM
19082 [BZ #15490]
19083 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19084 math_force_eval before restoring floating-point envrionment.
19085 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19086 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19087 Likewise.
19088 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19089 <math_private.h>.
19090 (__nearbyintl): Use math_force_eval before restoring
19091 floating-point environment.
19092 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19093
db62a907
JM
19094 * math/gen-libm-test.pl (special_functions): Remove.
19095 (parse_args): Don't handle TEST_extra. Handle functions with no
19096 return value.
19097 * math/libm-test.inc (struct test_sincos_data): Replace with
19098 struct test_fFF_11_data.
19099 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19100 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19101 (sincos_test_data): Change element type to struct
19102 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19103 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19104 RUN_TEST_LOOP_sincos.
19105 * math/README.libm-test: Don't mention special handling of
19106 individual functions.
19107 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19108 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19109 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19111 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19113
f16cc3eb
JM
19114 * math/gen-libm-test.pl (get_variable): Remove function.
19115 (parse_args): Don't show pointer parameters to call in test
19116 names. Use "extra output N" in test names for extra outputs
19117 rather than naming variables.
19118
3779b5b6
JM
191192013-05-18 Joseph Myers <joseph@codesourcery.com>
19120
2ee094ff
JM
19121 [BZ #15488]
19122 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19123 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19124 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19125 double tests.
19126 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19127 disable.
19128 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19129 check_long_double.
19130
3779b5b6
JM
19131 * math/gen-libm-test.pl (@tests): Remove variable.
19132 ($count): Likewise.
19133 (new_test): Remove function.
19134 (show_exceptions): New function.
19135 (special_functions): Use show_exceptions instead of new_test.
19136 (parse_args): Likewise.
19137 (generate_testfile): Pass only function name in generated call to
19138 print_max_error or print_complex_max_error.
19139 (get_ulps): Do not handle complex tests specially.
19140 (output_test): Rename to ...
19141 (get_all_ulps_for_test): ... this. Return a string rather than
19142 printing to a file. Require ulps to be present.
19143 (output_ulps): Generate arrays rather than #defines.
19144 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19145 (struct ulp_data): New type.
19146 (BUILD_COMPLEX_ULP): Remove macro.
19147 (compare_ulp_data): New function.
19148 (find_ulps): Likewise.
19149 (find_test_ulps): Likewise.
19150 (find_function_ulps): Likewise.
19151 (find_complex_function_ulps): Likewise.
19152 (print_max_error): Determine allowed ulps using
19153 find_function_ulps.
19154 (print_complex_max_error): Determine allowed ulps using
19155 find_complex_function_ulps.
19156 (check_float_internal): Determine max ulps using find_test_ulps.
19157 (check_float): Do not take max_ulp parameter. Update call to
19158 check_float_internal.
19159 (check_complex): Likewise.
19160 (check_int): Do not take max_ulp parameter.
19161 (check_long): Likewise.
19162 (check_bool): Likewise.
19163 (check_longlong): Likewise.
19164 (struct test_f_f_data): Remove max_ulp field.
19165 (struct test_ff_f_data): Likewise.
19166 (struct test_ff_f_data_nexttoward): Likewise.
19167 (struct test_fi_f_data): Likewise.
19168 (struct test_fl_f_data): Likewise.
19169 (struct test_if_f_data): Likewise.
19170 (struct test_fff_f_data): Likewise.
19171 (struct test_c_f_data): Likewise.
19172 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19173 (struct test_fF_f1_data): Likewise.
19174 (struct test_ffI_f1_data): Likewise.
19175 (struct test_c_c_data): Remove max_ulp field.
19176 (struct test_cc_c_data): Likewise.
19177 (struct test_f_i_data): Likewise.
19178 (struct test_ff_i_data): Likewise.
19179 (struct test_f_l_data): Likewise.
19180 (struct test_f_L_data): Likewise.
19181 (struct test_sincos_data): Likewise.
19182 (RUN_TEST_f_f): Do not handle ulps.
19183 (RUN_TEST_LOOP_f_f): Likewise.
19184 (RUN_TEST_2_f): Likewise.
19185 (RUN_TEST_LOOP_2_f): Likewise.
19186 (RUN_TEST_fff_f): Likewise.
19187 (RUN_TEST_LOOP_fff_f): Likewise.
19188 (RUN_TEST_c_f): Likewise.
19189 (RUN_TEST_LOOP_c_f): Likewise.
19190 (RUN_TEST_f_f1): Likewise.
19191 (RUN_TEST_LOOP_f_f1): Likewise.
19192 (RUN_TEST_fF_f1): Likewise.
19193 (RUN_TEST_LOOP_fF_f1): Likewise.
19194 (RUN_TEST_fI_f1): Likewise.
19195 (RUN_TEST_LOOP_fI_f1): Likewise.
19196 (RUN_TEST_ffI_f1): Likewise.
19197 (RUN_TEST_LOOP_ffI_f1): Likewise.
19198 (RUN_TEST_c_c): Likewise.
19199 (RUN_TEST_LOOP_c_c): Likewise.
19200 (RUN_TEST_cc_c): Likewise.
19201 (RUN_TEST_LOOP_cc_c): Likewise.
19202 (RUN_TEST_f_i): Likewise.
19203 (RUN_TEST_LOOP_f_i): Likewise.
19204 (RUN_TEST_f_i_tg): Likewise.
19205 (RUN_TEST_LOOP_f_i_tg): Likewise.
19206 (RUN_TEST_ff_i_tg): Likewise.
19207 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19208 (RUN_TEST_f_b): Likewise.
19209 (RUN_TEST_LOOP_f_b): Likewise.
19210 (RUN_TEST_f_b_tg): Likewise.
19211 (RUN_TEST_LOOP_f_b_tg): Likewise.
19212 (RUN_TEST_f_l): Likewise.
19213 (RUN_TEST_LOOP_f_l): Likewise.
19214 (RUN_TEST_f_L): Likewise.
19215 (RUN_TEST_LOOP_f_L): Likewise.
19216 (RUN_TEST_sincos): Likewise.
19217 (RUN_TEST_LOOP_sincos): Likewise.
19218
8269107f
JM
192192013-05-17 Joseph Myers <joseph@codesourcery.com>
19220
bb38759d
JM
19221 [BZ #15480]
19222 [BZ #15485]
19223 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19224 main case of finite arguments, set rounding mode to FE_TONEAREST
19225 and discard exceptions.
19226 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19227 exceptions.
19228 (remainder_tonearest_test_data): New variable.
19229 (remainder_test_tonearest): New function.
19230 (remainder_towardzero_test_data): New variable.
19231 (remainder_test_towardzero): New function.
19232 (remainder_downward_test_data): New variable.
19233 (remainder_test_downward): New function.
19234 (remainder_upward_test_data): New variable.
19235 (remainder_test_upward): New function.
19236 (main): Call the new test functions.
19237
a00bdcf0
JM
19238 * math/libm-test.inc (struct test_f_f1_data): Remove field
19239 extra_init.
19240 (struct test_fF_f1_data): Likewise.
19241 (struct test_ffI_f1_data): Likewise.
19242 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19243 based on value of EXTRA_EXPECTED.
19244 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19245 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19246 EXTRA_VAR based on value of EXTRA_EXPECTED.
19247 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19248 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19249 EXTRA_VAR based on value of EXTRA_EXPECTED.
19250 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19251 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19252 EXTRA_VAR based on value of EXTRA_EXPECTED.
19253 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19254 * math/gen-libm-test.pl (parse_args): Don't output initializers
19255 for extra output values.
19256
de407f79
JM
19257 * math/libm-test.inc (check_int): Expect result to be exactly
19258 equal to expected value and do not handle ulps.
19259 (check_long): Likewise.
19260 (check_longlong): Likewise.
19261
8269107f
JM
19262 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19263 exceptions.
19264 (cimag_test_data): Likewise.
19265 (conj_test_data): Likewise.
19266 (copysign_test_data): Likewise.
19267 (cproj_test_data): Likewise.
19268 (creal_test_data): Likewise.
19269 (fabs_test_data): Likewise.
19270 (fdim_test_data): Likewise.
19271 (finite_test_data): Likewise.
19272 (floor_test_data): Likewise.
19273 (fmax_test_data): Likewise.
19274 (fmin_test_data): Likewise.
19275 (fmod_test_data): Likewise.
19276 (fpclassify_test_data): Likewise.
19277 (frexp_test_data): Likewise.
19278 (ilogb_test_data): Likewise.
19279 (isfinite_test_data): Likewise.
19280 (isgreater_test_data): Likewise.
19281 (isgreaterequal_test_data): Likewise.
19282 (isinf_test_data): Likewise.
19283 (isless_test_data): Likewise.
19284 (islessequal_test_data): Likewise.
19285 (islessgreater_test_data): Likewise.
19286 (isnan_test_data): Likewise.
19287 (isnormal_test_data): Likewise.
19288 (issignaling_test_data): Likewise.
19289 (isunordered_test_data): Likewise.
19290 (ldexp_test_data): Likewise.
19291 (lrint_test_data): Likewise.
19292 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19293 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19294 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19295 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19296 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19297 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19298 test input.
19299 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19300 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19301 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19302 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19303 that test input.
19304 (lrint_downward_test_data): Test for "inexact" exceptions.
19305 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19306 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19307 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19308 test input.
19309 (lrint_upward_test_data): Test for "inexact" exceptions.
19310 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19311 test input.
19312 (llrint_test_data): Test for "inexact" exceptions.
19313 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19314 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19315 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19316 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19317 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19318 (llrint_downward_test_data): Test for "inexact" exceptions.
19319 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19320 (llrint_upward_test_data): Test for "inexact" exceptions.
19321 (logb_test_data): Likewise.
19322 (logb_downward_test_data): Likewise.
19323 (nextafter_test_data): Likewise.
19324 (nexttoward_test_data): Likewise.
19325 (remainder_test_data): Likewise.
19326 (remquo_test_data): Likewise.
19327 (scalbn_test_data): Likewise.
19328 (scalbln_test_data): Likewise.
19329 (signbit_test_data): Likewise.
19330 (sqrt_test_data): Likewise.
19331 (significand_test_data): Likewise.
19332
48a18de1
SP
193332013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19334
19335 [BZ #15424]
19336 * benchtests/bench-modf.c (struct args): Mark arg0 as
19337 volatile.
19338 * scripts/bench.pl: Mark members of struct args as volatile.
19339
13d3b41a
AZ
193402013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19341
68191c1d 19342 [BZ # 15497]
13d3b41a
AZ
19343 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19344 negative infinity on POWER6 or lower.
19345 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19346
2848b105
MR
193472013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19348
19349 [BZ #15442]
19350 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19351 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19352 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19353 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19354 (_FP_SETQNAN): New macro.
19355 (_FP_SETQNAN_SEMIRAW): Likewise.
19356 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19357 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19358 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19359 (FP_EXTEND): Use _FP_FRAC_SNANP.
19360 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19361 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19362 into account.
19363 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19364 New macro.
19365 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19366 Likewise.
19367
323e5cb7
JM
193682013-05-16 Joseph Myers <joseph@codesourcery.com>
19369
c58b274f
JM
19370 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19371 with DIVIDE_BY_ZERO_EXCEPTION.
19372 (gamma_test_data): Likewise.
19373 (lgamma_test_data): Likewise.
19374 (log_test_data): Likewise.
19375 (log10_test_data): Likewise.
19376 (log2_test_data): Likewise.
19377 (tgamma_test_data): Likewise.
19378
0ab34904
JM
19379 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19380 (acos_test_tonearest): Likewise.
19381 (acos_test_towardzero): Likewise.
19382 (acos_test_downward): Likewise.
19383 (acos_test_upward): Likewise.
19384 (acosh_test): Likewise.
19385 (asin_test): Likewise.
19386 (asin_test_tonearest): Likewise.
19387 (asin_test_towardzero): Likewise.
19388 (asin_test_downward): Likewise.
19389 (asin_test_upward): Likewise.
19390 (asinh_test): Likewise.
19391 (atan_test): Likewise.
19392 (atanh_test): Likewise.
19393 (atan2_test): Likewise.
19394 (cabs_test): Likewise.
19395 (cacos_test): Likewise.
19396 (cacosh_test): Likewise.
19397 (casin_test): Likewise.
19398 (casinh_test): Likewise.
19399 (catan_test): Likewise.
19400 (catanh_test): Likewise.
19401 (cbrt_test): Likewise.
19402 (ccos_test): Likewise.
19403 (ccosh_test): Likewise.
19404 (cexp_test): Likewise.
19405 (clog_test): Likewise.
19406 (clog10_test): Likewise.
19407 (cos_test): Likewise.
19408 (cos_test_tonearest): Likewise.
19409 (cos_test_towardzero): Likewise.
19410 (cos_test_downward): Likewise.
19411 (cos_test_upward): Likewise.
19412 (cosh_test): Likewise.
19413 (cosh_test_tonearest): Likewise.
19414 (cosh_test_towardzero): Likewise.
19415 (cosh_test_downward): Likewise.
19416 (cosh_test_upward): Likewise.
19417 (cpow_test): Likewise.
19418 (csin_test): Likewise.
19419 (csinh_test): Likewise.
19420 (csqrt_test): Likewise.
19421 (ctan_test): Likewise.
19422 (ctan_test_tonearest): Likewise.
19423 (ctan_test_towardzero): Likewise.
19424 (ctan_test_downward): Likewise.
19425 (ctan_test_upward): Likewise.
19426 (ctanh_test): Likewise.
19427 (ctanh_test_tonearest): Likewise.
19428 (ctanh_test_towardzero): Likewise.
19429 (ctanh_test_downward): Likewise.
19430 (ctanh_test_upward): Likewise.
19431 (erf_test): Likewise.
19432 (erfc_test): Likewise.
19433 (exp_test): Likewise.
19434 (exp_test_tonearest): Likewise.
19435 (exp_test_towardzero): Likewise.
19436 (exp_test_downward): Likewise.
19437 (exp_test_upward): Likewise.
19438 (exp10_test): Likewise.
19439 (exp2_test): Likewise.
19440 (expm1_test): Likewise.
19441 (fmod_test): Likewise.
19442 (gamma_test): Likewise.
19443 (hypot_test): Likewise.
19444 (j0_test): Likewise.
19445 (j1_test): Likewise.
19446 (jn_test): Likewise.
19447 (lgamma_test): Likewise.
19448 (log_test): Likewise.
19449 (log10_test): Likewise.
19450 (log1p_test): Likewise.
19451 (log2_test): Likewise.
19452 (logb_test_downward): Likewise.
19453 (pow_test): Likewise.
19454 (pow_test_tonearest): Likewise.
19455 (pow_test_towardzero): Likewise.
19456 (pow_test_downward): Likewise.
19457 (pow_test_upward): Likewise.
19458 (remainder_test): Likewise.
19459 (remquo_test): Likewise.
19460 (sin_test): Likewise.
19461 (sin_test_tonearest): Likewise.
19462 (sin_test_towardzero): Likewise.
19463 (sin_test_downward): Likewise.
19464 (sin_test_upward): Likewise.
19465 (sincos_test): Likewise.
19466 (sinh_test): Likewise.
19467 (sinh_test_tonearest): Likewise.
19468 (sinh_test_towardzero): Likewise.
19469 (sinh_test_downward): Likewise.
19470 (sinh_test_upward): Likewise.
19471 (sqrt_test): Likewise.
19472 (tan_test): Likewise.
19473 (tan_test_tonearest): Likewise.
19474 (tan_test_towardzero): Likewise.
19475 (tan_test_downward): Likewise.
19476 (tan_test_upward): Likewise.
19477 (tanh_test): Likewise.
19478 (tgamma_test): Likewise.
19479 (y0_test): Likewise.
19480 (y1_test): Likewise.
19481 (yn_test): Likewise.
19482
323e5cb7
JM
19483 * math/gen-libm-test.pl (adjust_arg): Remove function.
19484 (special_function): Remove argument $in_func. Only handle
19485 generating output for tables of tests, not inside functions.
19486 (parse_args): Likewise.
19487 (generate_testfile): Remove variable $in_func. Update call to
19488 parse_args.
19489 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19490 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19491 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19492 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19493 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19494 (MAX_VALUE_INIT): Rename macro to max_value.
19495 (MIN_VALUE_INIT): Rename macro to min_value.
19496 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19497 (plus_zero): Remove variable.
19498 (minus_zero): Likewise.
19499 (plus_infty): Likewise.
19500 (minus_infty): Likewise.
19501 (qnan_value): Likewise.
19502 (max_value): Likewise.
19503 (min_value): Likewise.
19504 (min_subnorm_value): Likewise.
19505
e054f494
RA
195062013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19507
19508 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19509 uint64_t or uint32_t usage.
19510 * crypt/sha256-block.c: Likewise.
19511 * crypt/sha256-crypt.c: Likewise.
19512 * crypt/sha256.c: Likewise.
19513 * crypt/sha512-block.c: Likewise.
19514 * crypt/sha512-crypt.c: Likewise.
19515 * crypt/sha512.c: Likewise.
19516 * debug/backtrace-tst.c: Likewise.
19517 * debug/pcprofiledump.c: Likewise.
19518 * elf/cache.c: Likewise.
19519 * elf/dl-cache.c: Likewise.
19520 * elf/dl-misc.c: Likewise.
19521 * elf/dl-profile.c: Likewise.
19522 * elf/dl-support.c: Likewise.
19523 * elf/ldconfig.c: Likewise.
19524 * elf/sprof.c: Likewise.
19525 * iconv/dummy-repertoire.c: Likewise.
19526 * iconv/iconv_charmap.c: Likewise.
19527 * iconv/skeleton.c: Likewise.
19528 * iconvdata/8bit-generic.c: Likewise.
19529 * iconvdata/cp737.h: Likewise.
19530 * iconvdata/cp775.h: Likewise.
19531 * iconvdata/ibm1008.h: Likewise.
19532 * iconvdata/ibm1025.h: Likewise.
19533 * iconvdata/ibm1046.h: Likewise.
19534 * iconvdata/ibm1097.h: Likewise.
19535 * iconvdata/ibm1112.h: Likewise.
19536 * iconvdata/ibm1122.h: Likewise.
19537 * iconvdata/ibm1123.h: Likewise.
19538 * iconvdata/ibm1124.h: Likewise.
19539 * iconvdata/ibm1129.h: Likewise.
19540 * iconvdata/ibm1130.h: Likewise.
19541 * iconvdata/ibm1132.h: Likewise.
19542 * iconvdata/ibm1133.h: Likewise.
19543 * iconvdata/ibm1137.h: Likewise.
19544 * iconvdata/ibm1140.h: Likewise.
19545 * iconvdata/ibm1141.h: Likewise.
19546 * iconvdata/ibm1142.h: Likewise.
19547 * iconvdata/ibm1143.h: Likewise.
19548 * iconvdata/ibm1144.h: Likewise.
19549 * iconvdata/ibm1145.h: Likewise.
19550 * iconvdata/ibm1146.h: Likewise.
19551 * iconvdata/ibm1147.h: Likewise.
19552 * iconvdata/ibm1148.h: Likewise.
19553 * iconvdata/ibm1149.h: Likewise.
19554 * iconvdata/ibm1153.h: Likewise.
19555 * iconvdata/ibm1154.h: Likewise.
19556 * iconvdata/ibm1155.h: Likewise.
19557 * iconvdata/ibm1156.h: Likewise.
19558 * iconvdata/ibm1157.h: Likewise.
19559 * iconvdata/ibm1158.h: Likewise.
19560 * iconvdata/ibm1160.h: Likewise.
19561 * iconvdata/ibm1161.h: Likewise.
19562 * iconvdata/ibm1162.h: Likewise.
19563 * iconvdata/ibm1163.h: Likewise.
19564 * iconvdata/ibm1164.h: Likewise.
19565 * iconvdata/ibm1166.h: Likewise.
19566 * iconvdata/ibm1167.h: Likewise.
19567 * iconvdata/ibm12712.h: Likewise.
19568 * iconvdata/ibm1390.h: Likewise.
19569 * iconvdata/ibm1399.h: Likewise.
19570 * iconvdata/ibm16804.h: Likewise.
19571 * iconvdata/ibm4517.h: Likewise.
19572 * iconvdata/ibm4899.h: Likewise.
19573 * iconvdata/ibm4909.h: Likewise.
19574 * iconvdata/ibm4971.h: Likewise.
19575 * iconvdata/ibm5347.h: Likewise.
19576 * iconvdata/ibm803.h: Likewise.
19577 * iconvdata/ibm856.h: Likewise.
19578 * iconvdata/ibm901.h: Likewise.
19579 * iconvdata/ibm902.h: Likewise.
19580 * iconvdata/ibm9030.h: Likewise.
19581 * iconvdata/ibm9066.h: Likewise.
19582 * iconvdata/ibm921.h: Likewise.
19583 * iconvdata/ibm922.h: Likewise.
19584 * iconvdata/ibm9448.h: Likewise.
19585 * iconvdata/isiri-3342.h: Likewise.
19586 * iconvdata/jis0201.h: Likewise.
19587 * include/link.h: Likewise.
19588 * include/netdb.h: Likewise.
19589 * inet/check_native.c: Likewise.
19590 * inet/check_pf.c: Likewise.
19591 * inet/getipv4sourcefilter.c: Likewise.
19592 * inet/getnameinfo.c: Likewise.
19593 * inet/getsourcefilter.c: Likewise.
19594 * inet/htonl.c: Likewise.
19595 * inet/setipv4sourcefilter.c: Likewise.
19596 * inet/setsourcefilter.c: Likewise.
19597 * inet/test-inet6_opt.c: Likewise.
19598 * inet/tst-network.c: Likewise.
19599 * locale/C-collate.c: Likewise.
19600 * locale/C-ctype.c: Likewise.
19601 * locale/C-time.c: Likewise.
19602 * locale/C-translit.h: Likewise.
19603 * locale/loadarchive.c: Likewise.
19604 * locale/programs/3level.h: Likewise.
19605 * locale/programs/charmap.c: Likewise.
19606 * locale/programs/charmap.h: Likewise.
19607 * locale/programs/ld-address.c: Likewise.
19608 * locale/programs/ld-collate.c: Likewise.
19609 * locale/programs/ld-ctype.c: Likewise.
19610 * locale/programs/ld-identification.c: Likewise.
19611 * locale/programs/ld-measurement.c: Likewise.
19612 * locale/programs/ld-messages.c: Likewise.
19613 * locale/programs/ld-monetary.c: Likewise.
19614 * locale/programs/ld-name.c: Likewise.
19615 * locale/programs/ld-numeric.c: Likewise.
19616 * locale/programs/ld-paper.c: Likewise.
19617 * locale/programs/ld-telephone.c: Likewise.
19618 * locale/programs/ld-time.c: Likewise.
19619 * locale/programs/linereader.c: Likewise.
19620 * locale/programs/locale.c: Likewise.
19621 * locale/programs/locarchive.c: Likewise.
19622 * locale/programs/locfile.h: Likewise.
19623 * locale/programs/repertoire.c: Likewise.
19624 * locale/programs/simple-hash.c: Likewise.
19625 * locale/programs/simple-hash.h: Likewise.
19626 * malloc/memusage.c: Likewise.
19627 * malloc/memusagestat.c: Likewise.
19628 * nis/nis_defaults.c: Likewise.
19629 * nis/nis_hash.c: Likewise.
19630 * nis/nis_print.c: Likewise.
19631 * nis/nis_xdr.c: Likewise.
19632 * nscd/connections.c: Likewise.
19633 * nscd/hstcache.c: Likewise.
19634 * nscd/nscd_gethst_r.c: Likewise.
19635 * nscd/nscd_getserv_r.c: Likewise.
19636 * nscd/nscd_helper.c: Likewise.
19637 * nscd/servicescache.c: Likewise.
19638 * nss/makedb.c: Likewise.
19639 * nss/nss_db/db-XXX.c: Likewise.
19640 * nss/nss_db/db-initgroups.c: Likewise.
19641 * nss/nss_db/db-netgrp.c: Likewise.
19642 * nss/nss_files/files-network.c: Likewise.
19643 * nss/nss_files/files-parse.c: Likewise.
19644 * posix/bug-regex5.c: Likewise.
19645 * posix/fnmatch_loop.c: Likewise.
19646 * posix/regcomp.c: Likewise.
19647 * posix/regexec.c: Likewise.
19648 * posix/tst-rfc3484-2.c: Likewise.
19649 * posix/tst-rfc3484-3.c: Likewise.
19650 * posix/tst-rfc3484.c: Likewise.
19651 * resolv/nss_dns/dns-canon.c: Likewise.
19652 * resolv/nss_dns/dns-network.c: Likewise.
19653 * resolv/res_init.c: Likewise.
19654 * resolv/res_mkquery.c: Likewise.
19655 * resolv/tst-aton.c: Likewise.
19656 * stdlib/cxa_atexit.c: Likewise.
19657 * stdlib/cxa_finalize.c: Likewise.
19658 * stdlib/gen-fpioconst.c: Likewise.
19659 * stdlib/strtol_l.c: Likewise.
19660 * string/tst-endian.c: Likewise.
19661 * sunrpc/auth_des.c: Likewise.
19662 * sunrpc/clnt_udp.c: Likewise.
19663 * sunrpc/rtime.c: Likewise.
19664 * sunrpc/svcauth_des.c: Likewise.
19665 * sunrpc/xdr.c: Likewise.
19666 * sunrpc/xdr_intXX_t.c: Likewise.
19667 * sunrpc/xdr_rec.c: Likewise.
19668 * sysdeps/generic/ldconfig.h: Likewise.
19669 * sysdeps/generic/ldsodefs.h: Likewise.
19670 * sysdeps/generic/memusage.h: Likewise.
19671 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19672 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19673 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19674 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19675 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19677 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19678 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19679 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19680 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19681 * sysdeps/posix/getaddrinfo.c: Likewise.
19682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19684 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19685 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19686 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19687 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19688 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19689 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19690 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19691 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19692 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19693 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19694 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19695 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19696 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19697 * sysdeps/x86_64/dl-tls.h: Likewise.
19698 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19699 * time/alt_digit.c: Likewise.
19700 * time/era.c: Likewise.
19701 * wcsmbs/tst-c16c32-1.c: Likewise.
19702
8c75f674
JM
197032013-05-16 Joseph Myers <joseph@codesourcery.com>
19704
19705 * math/libm-test.inc (struct test_sincos_data): New type.
19706 (RUN_TEST_LOOP_sincos): New macro.
19707 (sincos_test_data): New variable.
19708 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19709
e6e49e59
RH
197102013-05-16 Richard Henderson <rth@redhat.com>
19711
19712 * math/atest-exp2.c (LIMB64): New macro.
19713 (CONSTSZ): New macro.
19714 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19715 (hexdig): Move ...
19716 (print_mpn_fp): ... to function scope.
19717 (read_mpn_hex): Remove.
19718 (get_log2): Remove.
19719 (exp2_mpn): Use mp_log2.
19720 (main): Use mp_exp1.
19721
15c7c18d
JM
197222013-05-16 Joseph Myers <joseph@codesourcery.com>
19723
105a07df
JM
19724 * math/libm-test.inc: Remove comment about not testing "inexact"
19725 exceptions.
19726 (INEXACT_EXCEPTION): New macro.
19727 (NO_INEXACT_EXCEPTION): Likewise.
19728 (INVALID_EXCEPTION_OK): Update value.
19729 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19730 (OVERFLOW_EXCEPTION_OK): Likewise.
19731 (UNDERFLOW_EXCEPTION_OK): Likewise.
19732 (IGNORE_ZERO_INF_SIGN): Likewise.
19733 (ERRNO_UNCHANGED): Likewise.
19734 (ERRNO_EDOM): Likewise.
19735 (ERRNO_ERANGE): Likewise.
19736 (test_exceptions): Handle testing "inexact" exceptions.
19737 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19738 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19739 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19740 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19741 INEXACT_EXCEPTION.
19742 (rint_towardzero_test_data): Likewise.
19743 (rint_downward_test_data): Likewise.
19744 (rint_upward_test_data): Likewise.
19745
e9eee333
JM
19746 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19747 with OVERFLOW_EXCEPTION.
19748 (exp10_test_data): Likewise.
19749 (exp2_test_data): Likewise.
19750 (expm1_test_data): Likewise.
19751 (lgamma_test_data): Likewise.
19752 (pow_test_data): Likewise.
19753 (tgamma_test_data): Likewise.
19754 (yn_test_data): Remove duplicate test of overflow.
19755
1c38ff73
JM
19756 * math/libm-test.inc (struct test_cc_c_data): New type.
19757 (RUN_TEST_LOOP_cc_c): New macro.
19758 (cpow_test_data): New variable.
19759 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19760
15c7c18d
JM
19761 * math/libm-test.inc (struct test_f_L_data): New type.
19762 (RUN_TEST_LOOP_f_L): New macro.
19763 (llrint_test_data): New variable.
19764 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19765 (llrint_tonearest_test_data): New variable.
19766 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19767 (llrint_towardzero_test_data): New variable.
19768 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19769 (llrint_downward_test_data): New variable.
19770 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19771 (llrint_upward_test_data): New variable.
19772 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19773 (llround_test_data): New variable.
19774 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19775
f137ff13
PC
197762013-05-13 Peter Collingbourne <pcc@google.com>
19777
19778 * math/atest-exp2.c (get_log2): Remove const attribute.
19779
3608cb24
JM
197802013-05-15 Joseph Myers <joseph@codesourcery.com>
19781
19782 * math/libm-test.inc (struct test_f_l_data): New type.
19783 (RUN_TEST_LOOP_f_l): New macro.
19784 (lrint_test_data): New variable.
19785 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19786 (lrint_tonearest_test_data): New variable.
19787 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19788 (lrint_towardzero_test_data): New variable.
19789 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19790 (lrint_downward_test_data): New variable.
19791 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19792 (lrint_upward_test_data): New variable.
19793 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19794 (lround_test_data): New variable.
19795 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19796
39b1f617
PC
197972013-05-15 Peter Collingbourne <pcc@google.com>
19798
1deff3dc
PC
19799 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19800 (EXTRACT_WORDS64) Use where appropriate.
19801 (INSERT_WORDS64) Likewise.
19802
791f3ba0
PC
19803 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19804 constraints with x constraints.
19805 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19806
39b1f617
PC
19807 * malloc/obstack.c (_obstack_compat): Add initializer.
19808
12fba011
EM
198092013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19810
19811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19812 si_trapno and add si_addr_lsb to _sifields.sigfault.
19813 (si_trapno): Remove macro.
19814 (si_addr_lsb): Define new macro.
19815 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19816
d369f531
JM
198172013-05-15 Joseph Myers <joseph@codesourcery.com>
19818
b861c6c4
JM
19819 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19820 instead of TEST_f_l.
19821 (llrint_test_tonearest): Likewise.
19822 (llrint_test_towardzero): Likewise.
19823 (llrint_test_downward): Likewise.
19824 (llrint_test_upward): Likewise.
19825 (llround_test): Likewise.
19826
7abeee12
JM
19827 * math/libm-test.inc (struct test_f_i_data): Add comment.
19828 (RUN_TEST_LOOP_f_b): New macro.
19829 (RUN_TEST_LOOP_f_b_tg): Likewise.
19830 (finite_test_data): New variable.
19831 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19832 (isfinite_test_data): New variable.
19833 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19834 (isinf_test_data): New variable.
19835 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19836 (isnan_test_data): New variable.
19837 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19838 (isnormal_test_data): New variable.
19839 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19840 (issignaling_test_data): New variable.
19841 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19842 (signbit_test_data): New variable.
19843 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19844
cbe8c4d3
JM
19845 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19846 with INVALID_EXCEPTION.
19847 (acosh_test_data): Likewise.
19848 (asin_test_data): Likewise.
19849 (atanh_test_data): Likewise.
19850 (fmod_test_data): Likewise.
19851 (log_test_data): Likewise.
19852 (log10_test_data): Likewise.
19853 (log2_test_data): Likewise.
19854 (pow_test_data): Likewise.
19855 (sqrt_test_data): Likewise.
19856 (y0_test_data): Likewise.
19857 (y1_test_data): Likewise.
19858 (yn_test_data): Likewise.
19859
5575c0e5
JM
19860 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19861 function contents.
19862
d369f531
JM
19863 * math/libm-test.inc (struct test_ff_i_data): New type.
19864 (RUN_TEST_LOOP_ff_i_tg): New macro.
19865 (isgreater_test_data): New variable.
19866 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19867 (isgreaterequal_test_data): New variable.
19868 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19869 (isless_test_data): New variable.
19870 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19871 (islessequal_test_data): New variable.
19872 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19873 (islessgreater_test_data): New variable.
19874 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19875 (isunordered_test_data): New variable.
19876 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19877
781fd748
DM
198782013-05-14 David S. Miller <davem@davemloft.net>
19879
19880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19881
87aa21df
JM
198822013-05-14 Joseph Myers <joseph@codesourcery.com>
19883
5e908270
JM
19884 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19885
f71172e5
JM
19886 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19887 extra_test to int.
19888 (struct test_f_i_data): Change type of max_ulp to int.
19889
8cfa635a
JM
19890 * math/libm-test.inc (test_ffI_f1_data): New type.
19891 (RUN_TEST_LOOP_ffI_f1): New macro.
19892 (remquo_test_data): New variable.
19893 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19894
2bcb36b2
JM
19895 * setjmp/tst-setjmp-fp.c: New file.
19896 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19897 (link-libm): New variable.
19898 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19899
acbd839a
JM
19900 * math/libm-test.inc (struct test_f_i_data): New type.
19901 (RUN_TEST_LOOP_f_i): New macro.
19902 (RUN_TEST_LOOP_f_i_tg): Likewise.
19903 (fpclassify_test_data): New variable.
19904 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19905 (ilogb_test_data): New variable.
19906 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19907
e414d745
JM
19908 * math/libm-test.inc (scalbln_test): Correct function name in END
19909 call.
19910
d9c2a0fd
JM
19911 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19912 (RUN_TEST_LOOP_fI_f1): New macro.
19913 (frexp_test_data): New variable.
19914 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19915
9dc9095d
JM
19916 * math/libm-test.inc (struct test_fF_f1_data): New type.
19917 (RUN_TEST_LOOP_fF_f1): New macro.
19918 (modf_test_data): New variable.
19919 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19920
87aa21df
JM
19921 * math/libm-test.inc (struct test_f_f1_data): New type.
19922 (RUN_TEST_LOOP_f_f1): New macro.
19923 (gamma_test_data): New variable.
19924 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19925 (lgamma_test_data): New variable.
19926 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19927
141af660
CD
199282013-05-13 Carlos O'Donell <carlos@redhat.com>
19929
19930 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19931 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19932 (main): Comment "tls" pseudo-hwcap.
19933
6d33265c
JM
199342013-05-13 Joseph Myers <joseph@codesourcery.com>
19935
68fc074c
JM
19936 * math/libm-test.inc (struct test_fl_f_data): New type.
19937 (RUN_TEST_LOOP_fl_f): New variable.
19938 (scalbln_test_data): New variable.
19939 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19940
243216e1
JM
19941 * math/libm-test.inc (struct test_fi_f_data): New type.
19942 (RUN_TEST_LOOP_fi_f): New macro.
19943 (ldexp_test_data): New variable.
19944 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19945 (scalbn_test_data): New variable.
19946 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19947
6a1992e2
JM
19948 * math/libm-test.inc (struct test_c_f_data): New type.
19949 (RUN_TEST_LOOP_c_f): New macro.
19950 (cabs_test_data): New variable.
19951 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19952 (carg_test_data): New variable.
19953 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19954 (cimag_test_data): New variable.
19955 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19956 (creal_test_data): New variable.
19957 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19958
0e400df5
JM
19959 * math/libm-test.inc (struct test_if_f_data): New type.
19960 (RUN_TEST_LOOP_if_f): New macro.
19961 (jn_test_data): New variable.
19962 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19963 (yn_test_data): New variable.
19964 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19965
6d33265c
JM
19966 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19967
f98ece5f
AZ
199682013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19969
19970 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19971 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19972
0f7d347b
SP
199732013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19974
43fe811b
SP
19975 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19976 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19977 (bench-deps): Add bench-timing.h.
19978 * benchtests-bench-skeleton.c: Include bench-timing.h.
19979 (main): Use TIMING_* macros instead of clock_gettime.
19980 * benchtests/bench-timing.h: New file.
19981
0f7d347b
SP
19982 [BZ #14582]
19983 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19984 Renamed from _LIB_VERSION.
19985 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19986
601a3a5f
JM
199872013-05-12 Joseph Myers <joseph@codesourcery.com>
19988
4f184d30
JM
19989 * math/libm-test.inc (struct test_fff_f_data): New type.
19990 (RUN_TEST_LOOP_fff_f): New macro.
19991 (fma_test_data): New variable.
19992 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19993 (fma_towardzero_test_data): New variable.
19994 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19995 (fma_downward_test_data): New variable.
19996 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19997 (fma_upward_test_data): New variable.
19998 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19999
08198877
JM
20000 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20001 (struct test_c_c_data): New type.
20002 (RUN_TEST_LOOP_c_c): New macro.
20003 (cacos_test_data): New variable.
20004 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20005 (cacosh_test_data): New variable.
20006 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20007 (casin_test_data): New variable.
20008 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20009 (casinh_test_data): New variable.
20010 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20011 (catan_test_data): New variable.
20012 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20013 (catanh_test_data): New variable.
20014 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20015 (ccos_test_data): New variable.
20016 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20017 (ccosh_test_data): New variable.
20018 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20019 (cexp_test_data): New variable.
20020 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20021 (clog_test_data): New variable.
20022 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20023 (clog10_test_data): New variable.
20024 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20025 (conj_test_data): New variable.
20026 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20027 (cproj_test_data): New variable.
20028 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20029 (csin_test_data): New variable.
20030 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20031 (csinh_test_data): New variable.
20032 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20033 (csqrt_test_data): New variable.
20034 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20035 (ctan_test_data): New variable.
20036 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20037 (ctan_tonearest_test_data): New variable.
20038 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20039 (ctan_towardzero_test_data): New variable.
20040 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20041 (ctan_downward_test_data): New variable.
20042 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20043 (ctan_upward_test_data): New variable.
20044 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20045 (ctanh_test_data): New variable.
20046 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20047 (ctanh_tonearest_test_data): New variable.
20048 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20049 (ctanh_towardzero_test_data): New variable.
20050 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20051 (ctanh_downward_test_data): New variable.
20052 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20053 (ctanh_upward_test_data): New variable.
20054 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20055 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20056 of BUILD_COMPLEX.
20057
601a3a5f
JM
20058 * math/libm-test.inc (struct test_ff_f_data): New type.
20059 (struct test_ff_f_data_nexttoward): Likewise.
20060 (RUN_TEST_LOOP_2_f): New macro.
20061 (RUN_TEST_LOOP_ff_f): Likewise.
20062 (atan2_test_data): New variable.
20063 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20064 (copysign_test_data): New variable.
20065 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20066 (fdim_test_data): New variable.
20067 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20068 (fmax_test_data): New variable.
20069 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20070 (fmin_test_data): New variable.
20071 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20072 (fmod_test_data): New variable.
20073 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20074 (hypot_test_data): New variable.
20075 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20076 (nextafter_test_data): New variable.
20077 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20078 (nexttoward_test_data): New variable.
20079 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20080 (pow_test_data): New variable.
20081 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20082 (pow_tonearest_test_data): New variable.
20083 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20084 (pow_towardzero_test_data): New variable.
20085 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20086 (pow_downward_test_data): New variable.
20087 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20088 (pow_upward_test_data): New variable.
20089 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20090 (remainder_test_data): New variable.
20091 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20092 (scalb_test_data): New variable.
20093 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20094 * sysdeps/i386/fpu/libm-test-ulps: Update.
20095
74c57478
JM
200962013-05-11 Joseph Myers <joseph@codesourcery.com>
20097
8329e4da
JM
20098 * math/libm-test.inc (fma_test): Use max_value instead of local
20099 variable fltmax.
20100 (nextafter_test): Likewise.
20101
74c57478
JM
20102 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20103 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20104 (acos_downward_test_data): New variable.
20105 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20106 (acos_upward_test_data): New variable.
20107 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20108 (acosh_test_data): New variable.
20109 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20110 (asin_test_data): New variable.
20111 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20112 (asin_tonearest_test_data): New variable.
20113 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20114 (asin_towardzero_test_data): New variable.
20115 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20116 (asin_downward_test_data): New variable.
20117 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20118 (asin_upward_test_data): New variable.
20119 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20120 (asinh_test_data): New variable.
20121 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20122 (atan_test_data): New variable.
20123 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20124 (atanh_test_data): New variable.
20125 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20126 (cbrt_test_data): New variable.
20127 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20128 (ceil_test_data): New variable.
20129 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20130 (cos_test_data): New variable.
20131 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20132 (cos_tonearest_test_data): New variable.
20133 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20134 (cos_towardzero_test_data): New variable.
20135 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20136 (cos_downward_test_data): New variable.
20137 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20138 (cos_upward_test_data): New variable.
20139 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20140 (cosh_test_data): New variable.
20141 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20142 (cosh_tonearest_test_data): New variable.
20143 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20144 (cosh_towardzero_test_data): New variable.
20145 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20146 (cosh_downward_test_data): New variable.
20147 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20148 (cosh_upward_test_data): New variable.
20149 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20150 (erf_test_data): New variable.
20151 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20152 (erfc_test_data): New variable.
20153 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20154 (exp_test_data): New variable.
20155 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20156 (exp_tonearest_test_data): New variable.
20157 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20158 (exp_towardzero_test_data): New variable.
20159 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20160 (exp_downward_test_data): New variable.
20161 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20162 (exp_upward_test_data): New variable.
20163 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20164 (exp10_test_data): New variable.
20165 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20166 (exp2_test_data): New variable.
20167 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20168 (expm1_test_data): New variable.
20169 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20170 (fabs_test_data): New variable.
20171 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20172 (floor_test_data): New variable.
20173 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20174 (j0_test_data): New variable.
20175 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20176 (j1_test_data): New variable.
20177 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20178 (log_test_data): New variable.
20179 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20180 (log10_test_data): New variable.
20181 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20182 (log1p_test_data): New variable.
20183 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20184 (log2_test_data): New variable.
20185 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20186 (logb_test_data): New variable.
20187 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20188 (logb_downward_test_data): New variable.
20189 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20190 (nearbyint_test_data): New variable.
20191 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20192 (rint_test_data): New variable.
20193 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20194 (rint_tonearest_test_data): New variable.
20195 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20196 (rint_towardzero_test_data): New variable.
20197 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20198 (rint_downward_test_data): New variable.
20199 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20200 (rint_upward_test_data): New variable.
20201 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20202 (round_test_data): New variable.
20203 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20204 (sin_test_data): New variable.
20205 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20206 (sin_tonearest_test_data): New variable.
20207 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20208 (sin_towardzero_test_data): New variable.
20209 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20210 (sin_downward_test_data): New variable.
20211 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20212 (sin_upward_test_data): New variable.
20213 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20214 (sinh_test_data): New variable.
20215 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20216 (sinh_tonearest_test_data): New variable.
20217 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20218 (sinh_towardzero_test_data): New variable.
20219 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20220 (sinh_downward_test_data): New variable.
20221 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20222 (sinh_upward_test_data): New variable.
20223 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20224 (sqrt_test_data): New variable.
20225 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20226 (tan_test_data): New variable.
20227 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20228 (tan_tonearest_test_data): New variable.
20229 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20230 (tan_towardzero_test_data): New variable.
20231 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20232 (tan_downward_test_data): New variable.
20233 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20234 (tan_upward_test_data): New variable.
20235 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20236 (tanh_test_data): New variable.
20237 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20238 (tgamma_test_data): New variable.
20239 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20240 (trunc_test_data): New variable.
20241 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20242 (y0_test_data): New variable.
20243 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20244 (y1_test_data): New variable.
20245 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20246 (significand_test_data): New variable.
20247 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20248
7187d844
CG
202492013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20250
20251 [BZ #12387]
20252 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20253
f63fae73
PT
202542013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20255
20256 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20257
8a67a4b3
AJ
202582013-05-10 Andreas Jaeger <aj@suse.de>
20259
20260 [BZ #15448]
20261 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20262 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20263
51df539d
JM
202642013-05-10 Joseph Myers <joseph@codesourcery.com>
20265
20266 * math/gen-libm-test.pl (adjust_arg): New function.
20267 (special_functions): Handle generating output in both functions
20268 and arrays.
20269 (parse_args): Likewise.
20270 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20271 $in_func argument to parse_args.
20272 * math/libm-test.inc (struct test_f_f_data): New type.
20273 (IF_ROUND_INIT_): New macro.
20274 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20275 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20276 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20277 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20278 (ROUND_RESTORE_): Likewise.
20279 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20280 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20281 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20282 (ROUND_RESTORE_FE_UPWARD): Likewise.
20283 (RUN_TEST_LOOP_f_f): New macro.
20284 (acos_test_data): New variable.
20285 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20286 (acos_tonearest_test_data): New variable.
20287 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20288
5c637fe5
SP
202892013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20290
20291 * benchtests/bench-skeleton.c (startup): Fix coding style.
20292
ab2b9461
JM
202932013-05-10 Joseph Myers <joseph@codesourcery.com>
20294
20295 [BZ #6809]
20296 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20297 negative infinity argument.
20298 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20299 negative infinity argument.
20300 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20301 negative infinity argument.
20302 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20303 domain errors.
20304
4c0fe6fe
FW
203052013-05-10 Florian Weimer <fweimer@redhat.com>
20306
20307 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20308 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20309 * iconv/iconv_prog.c (main): Likewise.
20310 * locale/programs/charmap-dir.c (charmap_readdir)
20311 (fopen_uncompressed): Likewise.
20312 * locale/programs/locfile.c (siblings_uncached)
20313 (write_locale_data): Use lstat64 instead of lstat.
20314 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20315 stat.
20316
a3375d29
AJ
203172013-05-10 Andreas Jaeger <aj@suse.de>
20318
20319 [BZ #15395]
20320 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20321 localization.
20322 Include <locale.h>.
20323
36129722
CD
203242013-05-09 Carlos O'Donell <carlos@redhat.com>
20325
20326 * elf/dl-close.c (_dl_close_worker): Add comments.
20327
faa7f811
JM
203282013-05-09 Joseph Myers <joseph@codesourcery.com>
20329
ed41ffef
JM
20330 [BZ #15359]
20331 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20332 high part of pi/2.
20333 (__ieee754_rem_pio2l): Update comments.
20334
d0213cd0
JM
20335 [BZ #15429]
20336 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20337 high part of pi/2.
20338 (__ieee754_rem_pio2l): Update comments.
20339
0d3e777a
JM
20340 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20341 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20342
24f56066
JM
20343 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20344 M_PI_4l.
20345
faa7f811
JM
20346 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20347 (M_PI_34_LOG10El): Likewise.
20348 (M_PI2_LOG10El): Likewise.
20349 (M_PI4_LOG10El): Likewise.
20350 (M_PI_LOG10El): Likewise.
20351
e9a5e0fd
AZ
203522013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20353
20354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20355
d8cd06db
JM
203562013-05-08 Joseph Myers <joseph@codesourcery.com>
20357
a0d9f9d7
JM
20358 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20359 (MINUS_ZERO_INIT): Likewise.
20360 (PLUS_INFTY_INIT): Likewise.
20361 (MINUS_INFTY_INIT): Likewise.
20362 (QNAN_VALUE_INIT): Likewise.
20363 (MAX_VALUE_INIT): Likewise.
20364 (MIN_VALUE_INIT): Likewise.
20365 (MIN_SUBNORM_VALUE_INIT): Likewise.
20366 (plus_zero): Initialize with PLUS_ZERO_INIT.
20367 (minus_zero): Initialize with MINUS_ZERO_INIT.
20368 (plus_infty): Initialize with PLUS_INFTY_INIT.
20369 (minus_infty): Initialize with MINUS_INFTY_INIT.
20370 (qnan_value): Initialize with QNAN_VALUE_INIT.
20371 (max_value): Initialize with MAX_VALUE_INIT.
20372 (min_value): Initialize with MIN_VALUE_INIT.
20373 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20374
ae08db3b
JM
20375 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20376 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20377 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20378 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20379
f44bf14a
JM
20380 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20381 (RUN_TEST_2_f): Likewise.
20382 (RUN_TEST_ff_f): Likewise.
20383 (RUN_TEST_fi_f): Likewise.
20384 (RUN_TEST_fl_f): Likewise.
20385 (RUN_TEST_fff_f): Likewise.
20386 (RUN_TEST_c_f): Likewise.
20387 (RUN_TEST_f_f1): Likewise.
20388 (RUN_TEST_fF_f1): Likewise.
20389 (RUN_TEST_fI_f1): Likewise.
20390 (RUN_TEST_ffI_f1): Likewise.
20391 (RUN_TEST_c_c): Likewise.
20392 (RUN_TEST_cc_c): Likewise.
20393 (RUN_TEST_f_i): Likewise.
20394 (RUN_TEST_f_i_tg): Likewise.
20395 (RUN_TEST_ff_i_tg): Likewise.
20396 (RUN_TEST_f_b): Likewise.
20397 (RUN_TEST_f_b_tg): Likewise.
20398 (RUN_TEST_f_l): Likewise.
20399 (RUN_TEST_f_L): Likewise.
20400 (RUN_TEST_sincos): Likewise.
20401 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20402 whether to show exceptions. Do not include ");\n" in return
20403 value.
20404 (special_functions): Output call to RUN_TEST_sincos instead of
20405 check_float calls. Update calls to new_test.
20406 (parse_args): Output call to single RUN_TEST_* macro instead of
20407 check_* calls and other assignments. Update calls to new_test.
20408
d8cd06db
JM
20409 [BZ #2546]
20410 [BZ #2560]
20411 [BZ #5159]
20412 [BZ #15426]
20413 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20414 input to result for tgamma overflow.
20415 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20416 (gamma_coeff): New variable.
20417 (NCOEFF): New macro.
20418 (gamma_positive): New function.
20419 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20420 underflow here. Use gamma_positive instead of exp (lgamma) for
20421 other arguments.
20422 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20423 (gamma_coeff): New variable.
20424 (NCOEFF): New macro.
20425 (gammaf_positive): New function.
20426 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20427 underflow here. Use gamma_positive instead of exp (lgamma) for
20428 other arguments.
20429 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20430 (gamma_coeff): New variable.
20431 (NCOEFF): New macro.
20432 (gammal_positive): New function.
20433 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20434 underflow here. Use gamma_positive instead of exp (lgamma) for
20435 other arguments.
20436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20437 (gamma_coeff): New variable.
20438 (NCOEFF): New macro.
20439 (gammal_positive): New function.
20440 (__ieee754_gammal_r): Handle positive infinity, overflow and
20441 underflow here. Handle NaN the same as positive infinity. Remove
20442 check x < 0xffffffff for negative integers. Use gamma_positive
20443 instead of exp (lgamma) for other arguments.
20444 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20445 (gamma_coeff): New variable.
20446 (NCOEFF): New macro.
20447 (gammal_positive): New function.
20448 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20449 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20452 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20453 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20454 * sysdeps/generic/math_private.h (__gamma_productf): New
20455 prototype.
20456 (__gamma_product): Likewise.
20457 (__gamma_productl): Likewise.
20458 * math/Makefile (libm-calls): Add gamma_product.
20459 * math/libm-test.inc (tgamma_test): Add more tests.
20460 * sysdeps/i386/fpu/libm-test-ulps: Update.
20461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20462
bb7cf681
OB
204632013-05-08 Ondřej Bílka <neleai@seznam.cz>
20464
20465 * benchtests/bench-skeleton.c (main): Preheat CPU.
20466
ba853947
AJ
204672013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20468
20469 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20470
8347c74c
RM
204712013-05-07 Roland McGrath <roland@hack.frob.com>
20472
20473 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20474 and _dl_skip_args_internal.
20475
e8dd4791
CD
204762013-05-07 Carlos O'Donell <carlos@redhat.com>
20477
20478 * manual/message.texi (Message Translation): Talk about users.
20479 Message to key mapping impacts design.
20480
c7405830
RM
204812013-05-06 Roland McGrath <roland@hack.frob.com>
20482
a9173057
RM
20483 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20484
976e2f03
RM
20485 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20486
9723ffc5
RM
20487 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20488 * sysdeps/wordsize-64/glob64.c: ... here.
20489
962e6658
RM
20490 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20491 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20492 New macros.
20493
ee586a6d
RM
20494 * debug/getlogin_r_chk.c: Moved to ...
20495 * login/getlogin_r_chk.c: ... here.
20496 * debug/Makefile (routines): Move getlogin_r_chk to ...
20497 * login/Makefile (routines): ... here.
20498 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20499 * login/Versions (libc: GLIBC_2.4): ... here.
20500
355f9165
RM
20501 * io/poll.c (__poll): Renamed from poll.
20502 Add libc_hidden_def.
20503 (poll): Define as weak alias.
20504
bd9ffde6
RM
20505 * debug/ptsname_r_chk.c: Moved to ...
20506 * login/ptsname_r_chk.c: ... here.
20507 * debug/Makefile (routines): Move ptsname_r_chk to ...
20508 * login/Makefile (routines): ... here.
20509 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20510 * login/Versions (libc: GLIBC_2.4): ... here.
20511
8fb16a04
RM
20512 * posix/getlogin.c: Moved to ...
20513 * login/getlogin.c: ... here.
20514 * posix/getlogin_r.c: Moved to ...
20515 * login/getlogin_r.c: ... here.
20516 * posix/getlogin_r.c: Moved to ...
20517 * login/getlogin_r.c: ... here.
20518 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20519 * login/Makefile (routines): ... here.
20520 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20521 * login/Versions (libc: GLIBC_2.0): ... here.
20522
b99b892f
RM
20523 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20524 (setrlimit): Define as weak alias.
20525
c7405830
RM
20526 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20527 Call __ names for open, ftruncate, and close.
20528 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20529 (truncate): Define as weak alias.
20530
5bf96de5
JM
205312013-05-06 Joseph Myers <joseph@codesourcery.com>
20532
9ea3513c
JM
20533 * math/gen-libm-test.pl (parse_args): Initialize x before each
20534 test of frexp, modf and remquo.
20535
5bf96de5
JM
20536 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20537 test signgam value.
20538
16e616a7
AZ
205392013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20540
20541 [BZ #15418]
20542 [BZ #15419]
20543 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20544 internal tests.
20545 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20546
d5e82754
RM
205472013-05-06 Roland McGrath <roland@hack.frob.com>
20548
20549 * elf/dl-writev.h: New file.
20550 * elf/dl-misc.c: Include it.
20551 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20552 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20553
a7548d41
JM
205542013-05-04 Joseph Myers <joseph@codesourcery.com>
20555
b7dab1e4
JM
20556 * math/libm-test.inc (noXFails): Remove variable.
20557 (noXPasses): Likewise.
20558 (BUILD_COMPLEX_INT): Remove macro.
20559 (print_screen): Remove xfail argument.
20560 (print_screen_max_error): Likewise.
20561 (update_stats): Likewise.
20562 (print_max_error): Likewise. Update calls to other affected
20563 functions.
20564 (print_complex_max_error): Likewise.
20565 (test_single_exception): Update calls to print_screen.
20566 (test_single_errno): Likewise.
20567 (check_float_internal): Remove xfail argument. Update calls to
20568 other affected functions.
20569 (check_float): Likewise.
20570 (check_complex): Likewise.
20571 (check_int): Likewise.
20572 (check_long): Likewise.
20573 (check_bool): Likewise.
20574 (check_longlong): Likewise.
20575 (main): Don't print noXFails and noXPasses.
20576 * math/gen-libm-test.pl (top level): Don't mention expected
20577 failure handling in comment.
20578 (new_test): Don't handle expected failures.
20579 (parse_args): Don't mention expected failure handling in comment.
20580 (generate_testfile): Don't handle expected failures.
20581 (parse_ulps): Likewise.
20582 (print_ulps_file): Likewise.
20583 (get_failure): Remove function.
20584 (output_test): Don't handle expected failures.
20585 * make/README.libm-test: Don't mention expected failure handling.
20586
a7548d41
JM
20587 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20588 (minus_zero): Likewise.
20589 (plus_infty): Likewise.
20590 (minus_infty): Likewise.
20591 (qnan_value): Likewise.
20592 (max_value): Likewise.
20593 (min_value): Likewise.
20594 (min_subnorm_value): Likewise.
20595 (initialize): Do not initialize those variables dynamically.
20596
60bfd54c
RM
205972013-05-03 Roland McGrath <roland@hack.frob.com>
20598
cc0e6ed8
RM
20599 * io/open.c (__open_2): Moved to ...
20600 * io/open_2.c: ... this new file.
20601 * io/open64.c (__open64_2): Moved to ...
20602 * io/open64_2.c: ... this new file.
20603 * io/openat.c (__openat_2): Moved to ...
20604 * io/openat_2.c: ... this new file.
20605 * io/openat64.c (__openat64_2): Moved to ...
20606 * io/openat64_2.c: ... this new file.
20607 * io/Makefile (routines): Add them.
20608 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20609 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20610 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20611 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20612 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20613 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20614 (__openat64): Add hidden_ver.
20615 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20616 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20617
60bfd54c
RM
20618 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20619 Separately conditionalize setting of GLRO(dl_sysinfo) so
20620 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20621 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20622
83e7640f
AZ
206232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20624
20625 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20626 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20627 definition.
20628 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20629 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20630 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20631 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20632 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20633
d5dc2af3
JM
206342013-05-03 Joseph Myers <joseph@codesourcery.com>
20635
c31a5b1e
JM
20636 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20637 test signgam value.
20638
d5dc2af3
JM
20639 * math/libm-test.inc (hypot_test): Do not use
20640 IGNORE_ZERO_INF_SIGN.
20641
164fd39d
AJ
206422013-05-03 Andreas Jaeger <aj@suse.de>
20643
20644 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20645 Linux 3.9.
20646 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20647 (PF_MAX): Adjust for VSOCK change.
20648
8237f48c
AZ
206492013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20650
20651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20652
9df02941
CD
206532013-05-02 Carlos O'Donell <carlos@redhat.com>
20654
20655 [BZ #15264]
20656 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20657 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20658 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20659
d422395e
DM
206602013-05-02 David S. Miller <davem@davemloft.net>
20661
20662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20663
a07c5731
OB
206642013-05-01 Ondřej Bílka <neleai@seznam.cz>
20665
20666 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20667
1324e37f
RM
206682013-05-01 Roland McGrath <roland@hack.frob.com>
20669
20670 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20671
0695940b
RS
206722013-05-01 Richard Smith <richard@metafoo.co.uk>
20673
bb5f27ad 20674 [BZ #14952]
0695940b
RS
20675 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20676 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20677 Use __attribute__ ((__gnu_inline__)).
20678 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20679 Don't use __attribute__ ((__gnu_inline__)).
20680
10de07f5
JM
206812013-05-01 Joseph Myers <joseph@codesourcery.com>
20682
20683 [BZ #15423]
20684 * math/s_catan.c (__catan): Handle small real or imaginary part of
20685 input specially to avoid spurious underflow.
20686 * math/s_catanf.c (__catanf): Likewise.
20687 * math/s_catanh.c (__catanh): Likewise.
20688 * math/s_catanhf.c (__catanhf): Likewise.
20689 * math/s_catanhl.c (__catanhl): Likewise.
20690 * math/s_catanl.c (__catanl): Likewise.
20691 * math/libm-test.inc (catan_test): Add more tests.
20692 (catanh_test): Likewise.
20693 * sysdeps/i386/fpu/libm-test-ulps: Update.
20694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20695
cb4d5414
AZ
206962013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20697
20698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20699
caf84319
JM
207002013-04-30 Joseph Myers <joseph@codesourcery.com>
20701
20702 [BZ #15416]
20703 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20704 accurately for denominator in atan2.
20705 * math/s_catanf.c (__catanf): Likewise.
20706 * math/s_catanh.c (__catanh): Likewise.
20707 * math/s_catanhf.c (__catanhf): Likewise.
20708 * math/s_catanhl.c (__catanhl): Likewise.
20709 * math/s_catanl.c (__catanl): Likewise.
20710 * math/libm-test.inc (catan_test): Add more tests.
20711 (catanh_test): Likewise.
20712 * sysdeps/i386/fpu/libm-test-ulps: Update.
20713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20714
d569c6ee
SP
207152013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20716
6dbe713d
SP
20717 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20718
f0ee064b
SP
20719 * benchtests/Makefile (bench): Remove slow benchmarks.
20720 * benchtests/atan-inputs: Add slow benchmark inputs.
20721 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20722 (BENCH_FUNC): Accept variant offset.
20723 (VARIANT): Define.
20724 * benchtests/bench-skeleton.c (main): Run benchmark for each
20725 variant.
20726 * benchtests/cos-inputs: Add slow benchmark inputs.
20727 * benchtests/exp-inputs: Likewise.
20728 * benchtests/pow-inputs: Likewise.
20729 * benchtests/sin-inputs: Likewise.
20730 * benchtests/slowatan-inputs: Remove.
20731 * benchtests/slowatan.c: Remove.
20732 * benchtests/slowcos-inputs: Remove.
20733 * benchtests/slowcos.c: Remove.
20734 * benchtests/slowexp-inputs: Remove.
20735 * benchtests/slowexp.c: Remove.
20736 * benchtests/slowpow-inputs: Remove.
20737 * benchtests/slowpow.c: Remove.
20738 * benchtests/slowsin-inputs: Remove.
20739 * benchtests/slowsin.c: Remove.
20740 * benchtests/slowtan-inputs: Remove.
20741 * benchtests/slowtan.c: Remove.
20742 * benchtests/tan-inputs: Add slow benchmark inputs.
20743 * scripts/bench.pl: Parse comments and directives.
20744
d569c6ee
SP
20745 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20746 in CPPFLAGS.
20747 ($(objpfx)bench-%.c): Remove *-ITER.
20748 * benchtests/bench-modf.c: Remove definition of ITER.
20749 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20750 (main): Loop for DURATION seconds instead of fixed number of
20751 iterations.
20752 * scripts/bench.pl: Don't expect iterations in parameters.
20753
a6a242fe
RM
207542013-04-29 Roland McGrath <roland@hack.frob.com>
20755
20756 * io/fchdir.c (__fchdir): Renamed from fchdir.
20757 (fchdir): Define as weak alias.
20758
f2da7793
JM
207592013-04-29 Joseph Myers <joseph@codesourcery.com>
20760
20761 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20762 (ERRNO_EDOM): Likewise.
20763 (ERRNO_ERANGE): Likewise.
20764 (noErrnoTests): New variable.
20765 (init_max_error): Set errno to 0.
20766 (test_single_errno): New function.
20767 (test_errno): Likewise.
20768 (check_float_internal): Call test_errno. Set errno to 0.
20769 (check_complex): Refer to errno tests in comment.
20770 (check_int): Call test_errno. Set errno to 0.
20771 (check_long): Likewise.
20772 (check_bool): Likewise.
20773 (check_longlong): Likewise.
20774 (cos_test): Use ERRNO_* flags for errno tests instead of
20775 check_int.
20776 (expm1_test): Likewise.
20777 (fmod_test): Likewise.
20778 (ilogb_test): Likewise.
20779 (lgamma_test): Likewise.
20780 (pow_test): Likewise.
20781 (remainder_test): Likewise.
20782 (sin_test): Likewise.
20783 (tan_test): Likewise.
20784 (yn_test): Likewise.
20785 (initialize): Set errno to 0.
20786 (main): Print number of errno tests.
20787 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20788
b1a36ceb
AJ
207892013-04-29 Andreas Jaeger <aj@suse.de>
20790
c3ed8088
AJ
20791 [BZ #15084]
20792 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20793 and RES_USEVC.
20794
f1a24198
AJ
20795 [BZ #15085]
20796 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20797 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20798 unimplemented.
20799
9ce3b2cb
AJ
20800 [BZ #15380]
20801 * stdlib/random.c (__initstate): Return NULL if
20802 __initstate fails.
20803
f1a24198 20804 [BZ #15086]
b1a36ceb
AJ
20805 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20806 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20807 RES_SNGLKUPREOP.
20808
7e7b6f36
AZ
208092013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20810
20811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20812
4d14f449
JM
208132013-04-29 Joseph Myers <joseph@codesourcery.com>
20814
20815 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20816 of individual tests.
20817 (casin_test): Likewise.
20818 (casinh_test): Likewise.
20819
5b4217d7
JM
208202013-04-27 Joseph Myers <joseph@codesourcery.com>
20821
20822 [BZ #15409]
20823 * math/s_catan.c (__catan): Handle arguments with large real or
20824 imaginary part separately without squaring.
20825 * math/s_catanf.c (__catanf): Likewise.
20826 * math/s_catanh.c (__catanh): Likewise.
20827 * math/s_catanhf.c (__catanhf): Likewise.
20828 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20829 and redefine.
20830 (__catanhl): Handle arguments with large real or imaginary part
20831 separately without squaring.
20832 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20833 and redefine.
20834 (__catanl): Handle arguments with large real or imaginary part
20835 separately without squaring.
20836 * math/libm-test.inc (catan_test): Add more tests.
20837 (catanh_test): Likewise.
20838 * sysdeps/i386/fpu/libm-test-ulps: Update.
20839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20840
4220c3ef
AJ
208412013-04-27 Andreas Jaeger <aj@suse.de>
20842
20843 [BZ #15007]
20844 * stdlib/stdlib.h: Update guards for qecvt.
20845 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20846 <stdlib.h>.
20847
4721b2d1
AM
208482013-04-27 Allan McRae <allan@archlinux.org>
20849
20850 * sysdeps/i386/fpu/libm-test-ulps: Update.
20851
f0302940
JM
208522013-04-26 Joseph Myers <joseph@codesourcery.com>
20853
9457fd95
JM
20854 [BZ #15406]
20855 * math/s_catan.c: Include <float.h>.
20856 (__catan): Ensure underflow exception occurs for underflowed
20857 result.
20858 * math/s_catanf.c: Include <float.h>.
20859 (__catanf): Ensure underflow exception occurs for underflowed
20860 result.
20861 * math/s_catanh.c: Include <float.h>.
20862 (__catanh): Ensure underflow exception occurs for underflowed
20863 result.
20864 * math/s_catanhf.c: Include <float.h>.
20865 (__catanhf): Ensure underflow exception occurs for underflowed
20866 result.
20867 * math/s_catanhl.c: Include <float.h>.
20868 (__catanhl): Ensure underflow exception occurs for underflowed
20869 result.
20870 * math/s_catanl.c: Include <float.h>.
20871 (__catanl): Ensure underflow exception occurs for underflowed
20872 result.
20873 * math/libm-test.inc (catan_test): Add more tests.
20874 (catanh_test): Likewise.
20875
f0302940
JM
20876 [BZ #15405]
20877 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20878 underflowed result.
20879 * math/s_ccoshf.c (__ccoshf): Likewise.
20880 * math/s_ccoshl.c (__ccoshl): Likewise.
20881 * math/s_csin.c (__csin): Likewise.
20882 * math/s_csinf.c (__csinf): Likewise.
20883 * math/s_csinh.c (__csinh): Likewise.
20884 * math/s_csinhf.c (__csinhf): Likewise.
20885 * math/s_csinhl.c (__csinhl): Likewise.
20886 * math/s_csinl.c (__csinl): Likewise.
20887 * math/libm-test.inc (ccos_test): Add more tests.
20888 (ccosh_test): Likewise.
20889 (csin_test): Likewise.
20890 (csinh_test): Likewise.
20891
aa630f59
AZ
208922013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20893
20894 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20895 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20896 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20897 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20898 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20899 powerpc/power5+/fpu folders.
20900 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20901
20902
1b835983
MT
209032013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20904
20905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20906
73709b26
JM
209072013-04-25 Joseph Myers <joseph@codesourcery.com>
20908
20909 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20910 additions to variable.
20911 [$(config-machine) = x86_64] (modules-names): Likewise.
20912 ($(objpfx)tst-audit3): Remove dependency.
20913 ($(objpfx)tst-audit3.out): Likewise.
20914 ($(objpfx)tst-audit4): Likewise.
20915 ($(objpfx)tst-audit4.out): Likewise.
20916 ($(objpfx)tst-audit5): Likewise.
20917 ($(objpfx)tst-audit5.out): Likewise.
20918 ($(objpfx)tst-audit6): Likewise.
20919 ($(objpfx)tst-audit6.out): Likewise.
20920 ($(objpfx)tst-audit7): Likewise.
20921 ($(objpfx)tst-audit7.out): Likewise.
20922 (tst-audit3-ENV): Remove variable.
20923 (tst-audit4-ENV): Likewise.
20924 (tst-audit5-ENV): Likewise.
20925 (tst-audit6-ENV): Likewise.
20926 (tst-audit7-ENV): Likewise.
20927 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20928 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20929 addition to variable.
20930 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20931 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20932 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20933 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20934 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20935 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20936 tst-audit3, tst-audit4 and tst-audit5.
20937 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20938 tst-audit6 and tst-audit7.
20939 [$(subdir) = elf] (modules-names): Add audit modules for those
20940 tests.
20941 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20942 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20943 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20944 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20945 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20946 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20947 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20948 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20949 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20950 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20951 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20952 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20953 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20954 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20955 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20956 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20957 Likewise.
20958 [$(subdir) = elf && $(config-cflags-avx) = yes]
20959 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20960 [$(subdir) = elf && $(config-cflags-avx) = yes]
20961 (CFLAGS-tst-auditmod4a.c): Likewise.
20962 [$(subdir) = elf && $(config-cflags-avx) = yes]
20963 (CFLAGS-tst-auditmod4b.c): Likewise.
20964 [$(subdir) = elf && $(config-cflags-avx) = yes]
20965 (CFLAGS-tst-auditmod6b.c): Likewise.
20966 [$(subdir) = elf && $(config-cflags-avx) = yes]
20967 (CFLAGS-tst-auditmod6c.c): Likewise.
20968 [$(subdir) = elf && $(config-cflags-avx) = yes]
20969 (CFLAGS-tst-auditmod7b.c): Likewise.
20970 * elf/tst-audit3.c: Move to ...
20971 * sysdeps/x86_64/tst-audit3.c: ... here.
20972 * elf/tst-audit4.c: Move to ...
20973 * sysdeps/x86_64/tst-audit4.c: ... here.
20974 * elf/tst-audit5.c: Move to ...
20975 * sysdeps/x86_64/tst-audit5.c: ... here.
20976 * elf/tst-audit6.c: Move to ...
20977 * sysdeps/x86_64/tst-audit6.c: ... here.
20978 * elf/tst-audit7.c: Move to ...
20979 * sysdeps/x86_64/tst-audit7.c: ... here.
20980 * elf/tst-auditmod3a.c: Move to ...
20981 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20982 * elf/tst-auditmod3b.c: Move to ...
20983 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20984 * elf/tst-auditmod4a.c: Move to ...
20985 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20986 * elf/tst-auditmod4b.c: Move to ...
20987 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20988 * elf/tst-auditmod5a.c: Move to ...
20989 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20990 * elf/tst-auditmod5b.c: Move to ...
20991 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20992 * elf/tst-auditmod6a.c: Move to ...
20993 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20994 * elf/tst-auditmod6b.c: Move to ...
20995 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20996 * elf/tst-auditmod6c.c: Move to ...
20997 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20998 * elf/tst-auditmod7a.c: Move to ...
20999 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21000 * elf/tst-auditmod7b.c: Move to ...
21001 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21002
1ef74943
PP
210032013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21004
21005 [BZ #15366]
21006 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21007 define unconditionally.
21008 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21009 define unconditionally.
21010 (INT8_C, INT16_C, etc.): Likewise.
21011
93fd48c5
MR
210122013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21013
ae9552cf
MR
21014 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21015 __ehdr_start with hidden visibility.
21016
93fd48c5
MR
21017 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21018
418601aa
CD
210192013-04-24 Carlos O'Donell <carlos@redhat.com>
21020
21021 * math/libm-test.inc (cos_test): Use accurate hex constants.
21022 (sincost_test): Likewise.
21023
2f38fbfe
JM
210242013-04-24 Joseph Myers <joseph@codesourcery.com>
21025
5e221800
JM
21026 * math/libm-test.inc (catan_test): Add more tests.
21027 (catanh_test): Likewise.
21028
77f143fd
JM
21029 * math/s_catanf.c (__catanf): Use suffixed floating-point
21030 constants.
21031 * math/s_catanhf.c (__catanhf): Likewise.
21032 * math/s_catanhl.c (__catanhl): Likewise.
21033 * math/s_catanl.c (__catanl): Likewise.
21034
2f38fbfe
JM
21035 [BZ #15394]
21036 * math/s_catan.c (__catan): Calculate imaginary part of result
21037 with log1p not log unless computing log of number close to 0.
21038 * math/s_catanf.c (__catanf): Likewise.
21039 * math/s_catanl.c (__catanl): Likewise.
21040 * math/s_catanh.c (__catanh): Calculate real part of result with
21041 log1p not log unless computing log of number close to 0.
21042 * math/s_catanhf.c (__catanhf): Likewise.
21043 * math/s_catanhl.c (__catanhl): Likewise.
21044 * math/libm-test.inc (catan_test): Add more tests.
21045 (catanh_test): Likewise.
21046 * sysdeps/i386/fpu/libm-test-ulps: Update.
21047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21048
45d69176
SP
210492013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21050
21051 * benchtests/Makefile: Mention files in which fast and slow
21052 paths of math functions are implemented.
21053
87f51853
RM
210542013-04-23 Roland McGrath <roland@hack.frob.com>
21055
21056 * sysdeps/posix/timespec_get.c: New file.
21057
3c026539
AZ
210582013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21059
21060 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21061 POWER.
21062 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21063 for POWER.
21064 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21065 powerpc/power5/fpu folders.
21066 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21067 * benchtests/Makefile: Add modf testcase.
21068 * benchtests/bench-modf.c: New file: Benchmark test for mo
21069
ff491d14
SP
210702013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21071
21072 [BZ #14888]
21073 * time/Makefile (tests): Add tst-strptime-whitespace.
21074 * time/strptime_l.c (get_number): Use ISSPACE.
21075 (__strptime_internal): Likewise.
21076 * time/tst-strptime-whitespace.c: New test case.
21077
7ed3f4e8
AS
210782013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21079
21080 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21081 member.
21082 (_nss_files_init): Set it here.
21083
5c95f7b6
HC
210842013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21085
21086 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21087 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21088 unsigned.
21089
d34c9158
JBG
210902013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21091
21092 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21093
2169712d
SP
210942013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21095
21096 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21097 size just once.
21098
29c5de99
DM
210992013-04-21 David S. Miller <davem@davemloft.net>
21100
21101 * po/ru.po: Update Russion translation from translation project.
21102
ccdad15d
AC
211032013-04-17 Adam Conrad <adconrad@0c3.net>
21104
21105 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21106 and setfsgid.
21107
0f122b8d
CD
211082013-04-17 Carlos O'Donell <carlos@redhat.com>
21109
5c5b07da 21110 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21111 * configure: Regenerate.
5c5b07da 21112 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21113 Add example to error message.
21114 * sysdeps/i386/configure: Regenerate.
21115
037714dd
SP
211162013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21117
21118 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21119 slowtan.
21120 * benchtests/cos-inputs: New file.
21121 * benchtests/slowcos-inputs: New file.
21122 * benchtests/slowcos.c: New file.
21123 * benchtests/slowtan-inputs: New file.
21124 * benchtests/slowtan.c: New file.
21125 * benchtests/tan-inputs: New file.
21126
e913141d
RM
211272013-04-16 Roland McGrath <roland@hack.frob.com>
21128
21129 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21130 considered kosher.
21131
a2964074
SP
211322013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21133
4856bcd2
SP
21134 * benchtests/Makefile: Include cppflags-iterator.mk to add
21135 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21136
a2964074
SP
21137 * Makefile.in (bench-clean): New target.
21138 * benchtests/Makefile (bench-clean): Likewise.
21139
9fbf9aca
DH
211402013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21141
21142 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21143
207d1e2a
TS
211442013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21145
21146 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21147
306dfba9
AS
211482013-04-15 Andreas Schwab <schwab@suse.de>
21149
21150 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21151 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21152 * nscd/pwdcache.c (cache_addpw): Likewise.
21153 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21154 more than recsize.
21155
206a6699
SP
211562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21157
21158 * benchtests/Makefile (bench): Write all output to
21159 bench-out.tmp together.
21160
0582f6b3
AS
211612013-04-15 Andreas Schwab <schwab@suse.de>
21162
21163 * nscd/nscd.c (main): Don't fork again after closing files.
21164
acb4325f
SP
211652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21166
5cb26d0a
SP
21167 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21168
acb4325f
SP
21169 * benchtests/Rules (bench-deps): Collect dependencies into a
21170 single variable. Add Makefile to dependencies.
21171 ($(objpfx)bench-%.c): Depend on bench-deps.
21172
47792506
RM
211732013-04-12 Roland McGrath <roland@hack.frob.com>
21174 Xavier Roche <roche+kml2@exalead.com>
21175
21176 [BZ #15361]
21177 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21178 just that it's a file descriptor.
21179 * manual/llio.texi (Synchronizing AIO Operations): Update description
21180 for EBADF error from aio_fsync.
21181
8fc1bee5
SP
211822013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21183
21184 * Rules (bench): Move target definition...
21185 * benchtests/Makefile: ... here.
21186
aba5e333
CD
211872013-04-11 Carlos O'Donell <carlos@redhat.com>
21188
21189 * math/libm-test.inc (cos_test): Fix PI/2 test.
21190 (sincos_test): Likewise.
21191 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21192 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21193
273cdee8
AS
211942013-04-11 Andreas Schwab <schwab@suse.de>
21195
6ecec3b6
AS
21196 [BZ #13988]
21197 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21198 accept exponent character only when digits were seen.
21199 * stdio-common/Makefile (tests): Add bug26.
21200 * stdio-common/bug26.c: New file.
21201
273cdee8
AS
21202 [BZ #14293]
21203 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21204 non-freeable.
21205
8da491f5
SP
212062013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21207
01dc6df9
SP
21208 * Makeconfig (rtld-prefix): Define built linker prefix.
21209 * Rules (run-bench): Use it.
21210 * math/Makefile (run-regen-ulps): Likewise.
21211
8da491f5
SP
21212 * Rules (bench): Remove eval.
21213
abe7f530
SP
212142013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21215 Roland McGrath <roland@hack.frob.com>
21216 Ondrej Bilka <neleai@seznam.cz>
21217
21218 [BZ #15346]
21219 * time/getdate.c: Include ctype.h and alloca.h.
21220 (__getdate_r): Trim leading and trailing spaces of input.
21221 * time/tst-getdate.c (tests): Add tests with leading and
21222 trailing spaces.
21223
61c23e62
RM
212242013-04-08 Roland McGrath <roland@hack.frob.com>
21225
21226 [BZ #14280]
21227 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21228 when computing value.
21229
7208a313
CD
212302013-04-06 Carlos O'Donell <carlos@redhat.com>
21231
085b2d41
CD
21232 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21233 Use testrun.sh to run libm tests.
21234
7208a313
CD
21235 [BZ #15309]
21236 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21237
872c0acd
MM
212382013-04-06 Marko Myllynen <myllynen@redhat.com>
21239
21240 [BZ #15264]
21241 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21242
26510bdd
CD
212432013-04-06 Carlos O'Donell <carlos@redhat.com>
21244
21245 * Makefile.in (regen-ulps): New target.
21246 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21247 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21248 [ifneq (no,$(PERL)] (regen-ulps): New target.
21249 [ifeq (no,$(PERL)] (regen-ulps): New target.
21250 * math/libm-test.inc (ulps_file_name): Define.
21251 (output_dir): New variable.
21252 (options): Add "output-dir" option.
21253 (parse_opt): Handle 'o' case.
21254 (main): If output_dir is non-NULL use it as a prefix
21255 otherwise use "".
21256 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21257
a01f19c8
CD
212582013-04-06 Carlos O'Donell <carlos@redhat.com>
21259
21260 [BZ #10060, #10062]
21261 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21262 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21263 fail configure if __sync_val_compare_and_swap is not inlined.
21264 * sysdeps/i386/configure: Regenerate.
21265 * configure.in: Build for i686 when configured for i386.
21266 * configure: Regenerate.
21267 * README: Remove i386 reference.
21268
b7a329a5
CD
212692013-04-06 Carlos O'Donell <carlos@redhat.com>
21270
21271 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21272 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21273
bf0f50df
TS
212742013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21275
ee091edf
TS
21276 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21277 (lmsnanval): New variables.
21278 (F): Add conversion tests.
21279 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21280 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21281
a8b792d6
TS
21282 * stdio-common/tstdiomisc.c (F): Properly collect individual
21283 tests' results.
21284
a1cbf437
TS
21285 [BZ #14686, #15336]
21286 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21287 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21288 Instead, use input NaN values or generate a qNaN by arithmetic
21289 operation. Also fix bugs to comply with the standard.
21290 * math/libm-test.inc (remainder_test): Add more tests.
21291
8b43a0c9
TS
21292 [BZ #15335, #15342]
21293 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21294 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21295 input NaN values or generate a qNaN by arithmetic operation.
21296
d91da4ce
TS
21297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21298 unreachable code.
21299
bf0f50df
TS
21300 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21301 definitions.
21302
05e166c8
JM
213032013-04-03 Joseph Myers <joseph@codesourcery.com>
21304
21305 [BZ #14478]
21306 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21307 underflowed result.
21308 * math/s_cexpf.c (__cexpf): Likewise.
21309 * math/s_cexpl.c (__cexpl): Likewise.
21310 * math/libm-test.inc (cexp_test): Add more tests.
21311
1cef1b19
AS
213122013-04-03 Andreas Schwab <schwab@suse.de>
21313
21314 [BZ #15330]
21315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21316 order arrays from heap if bigger than alloca cutoff.
21317
74d87055
TS
213182013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21319
21320 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21321 (SNAN_TESTS_double): Refer to GCC PR56831.
21322 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21323 GCC PR56828.
21324
d755bba4
SP
213252013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21326
90d5d5bb
SP
21327 * Rules (bench): Move bench.out after the run is complete.
21328
73e0cd5d
SP
21329 * Rules (bench): Echo currently running benchmark.
21330
64aabd4b
SP
21331 * benchtests/Makefile (bench): Add atan and slowatan.
21332 * benchtests/atan-inputs: New file.
21333 * benchtests/slowatan-inputs: New file.
21334 * benchtests/slowatan.c: New file.
21335
c871eccd
SP
21336 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21337 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21338 its value.
21339
d755bba4
SP
21340 [BZ #15305]
21341 * sysdeps/unix/sysv/linux/kernel-features.h
21342 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21343 __ASSUME_XFS_RESTRICTED_CHOWN.
21344 * sysdeps/unix/sysv/linux/pathconf.c
21345 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21346 Save and restore errno.
21347
52ce4860
JM
213482013-04-02 Joseph Myers <joseph@codesourcery.com>
21349
21350 [BZ #15327]
21351 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21352 arguments using __kernel_casinh.
21353 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21354 arguments using __kernel_casinhf.
21355 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21356 arguments using __kernel_casinhl.
21357 * math/libm-test.inc (cacosh_test): Add more tests.
21358 * sysdeps/i386/fpu/libm-test-ulps: Update.
21359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21360
81f311c2
SP
213612013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21362
e7906a47
SP
21363 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21365
92e3664b
SP
21366 * bench/Makefile (bench): Add sin and slowsin.
21367 * benchtests/sin-inputs: New file.
21368 * benchtests/slowsin-inputs: New file.
21369 * benchtests/slowsin.c: New file.
21370
81f311c2
SP
21371 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21372 (bench): Add slowexp and slowpow.
21373 (exp-ITER): Increase iterations.
21374 (pow-ITER): Likewise.
21375 * benchtests/exp-inputs: Change input.
21376 * benchtests/pow-inputs: Likewise.
21377 * benchtests/slowexp-inputs: New file.
21378 * benchtests/slowexp.c: New file.
21379 * benchtests/slowpow-inputs: New file.
21380 * benchtests/slowpow.c: New file.
21381
ab0f1aa9
AZ
213822013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21383
21384 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21385 instructions.
21386 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21387 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21388 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21389 * benchtests/Makefile: Add rint benchtest.
21390 * benchtests/rint-inputs: Input for rint benchtest.
21391
57267616
TS
213922013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21393
21394 * Versions.def (libm): Add GLIBC_2.18.
21395 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21396 hidden libm prototypes.
21397 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21398 * math/Makefile (libm-calls): Add s_issignaling.
21399 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21400 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21401 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21402 declaration.
21403 * math/math.h [__USE_GNU] (issignaling): New macro.
21404 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21405 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21406 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21407 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21408 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21409 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21410 * manual/arith.texi (issignaling): New section.
21411 * manual/libm-err-tab.pl (@all_functions): Update comment.
21412 * math/gen-libm-test.pl (parse_args): Apply special handling for
21413 issignaling.
21414 * math/libm-test.inc (print_float, issignaling_test): New
21415 functions.
21416 (check_float_internal): Add issignaling checks.
21417 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21418 default definition.
21419 * sysdeps/powerpc/math-tests.h: New file.
21420 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21421 tests.
21422 * math/test-snan.c (TEST_FUNC): Likewise.
21423
6142896d
DM
214242013-03-30 David S. Miller <davem@davemloft.net>
21425
21426 * po/de.po: Update from translation team.
21427
ccc8cadf
JM
214282013-03-30 Joseph Myers <joseph@codesourcery.com>
21429
21430 [BZ #10357]
21431 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21432 imaginary part less than 1.0 and real part less than 0.5
21433 specially.
21434 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21435 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21436 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21437 (cacos_test): Add more tests.
21438 (casin_test): Likewise.
21439 (casinh_test): Likewise.
21440 * sysdeps/i386/fpu/libm-test-ulps: Update.
21441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21442
0f6a8d4b
SP
214432013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21444
0d1029de
SP
21445 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21446 ONE with its value.
21447
c2d94018
SP
21448 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21449 (__pow_mp): Replace ONE and MONE with their values.
21450 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21451 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21452 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21453 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21454 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21455 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21456
27ec37f1
SP
21457 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21458
a64d7e0e
SP
21459 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21460 (__pow_mp): Replace ZERO and MZERO with their values.
21461 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21462 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21463 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21464 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21465 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21466 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21467 (__sqr): Likewise.
21468
d26dd3eb
SP
21469 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21470
0f6a8d4b
SP
21471 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21472
e57b0c61
RM
214732013-03-28 Roland McGrath <roland@hack.frob.com>
21474
21475 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21476 Declare with __attribute__ ((weak)).
21477 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21478 Call __call_tls_dtors only if it's not NULL.
21479
356b3480
RM
214802013-03-28 Roland McGrath <roland@hack.frob.com>
21481
288f7d79
RM
21482 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21483 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21484 magic __ehdr_start linker symbol if it's defined.
21485 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21486 them up here if it was already done.
21487
dc0a0263
RM
21488 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21489 (_dl_aux_init): Use const in cast when setting it.
21490 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21491 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21492 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21493
3d3436ae
RM
21494 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21495 Declare them here.
21496 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21497 * csu/libc-tls.c: Nor here.
21498 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21499
356b3480
RM
21500 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21501 (__libc_message): Never call vsyslog.
21502
b0f1246a
AM
215032013-03-28 Alan Modra <amodra@gmail.com>
21504
21505 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21506 Define as empty.
21507 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21508 Likewise.
21509
fbbe2b9a
AZ
215102013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21511
21512 [BZ #15214]
21513 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21514 underflow.
21515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21516
1728ab37
SP
215172013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21518
7a86be6e
SP
21519 [BZ #15304]
21520 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21521 Don't add gid passed as argument.
21522
1728ab37
SP
21523 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21524
3a7182a1
JM
215252013-03-27 Joseph Myers <joseph@codesourcery.com>
21526
21527 [BZ #15307]
21528 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21529 imaginary part between 1.0 and 1.5 and real part less than 0.5
21530 specially.
21531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21533 * math/libm-test.inc (cacos_test): Add more tests.
21534 (casin_test): Likewise.
21535 (casinh_test): Likewise.
21536 * sysdeps/i386/fpu/libm-test-ulps: Update.
21537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21538
6f2e90e7
SP
215392013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21540
5739f705
SP
21541 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21542 constants.
21543 (norm): Likewise.
21544 (denorm): Likewise.
21545 (__dbl_mp): Likewise.
21546 (add_magnitudes): Likewise.
21547 (sub_magnitudes): Likewise.
21548 (__add): Likewise.
21549 (__sub): Likewise.
21550 (__mul): Likewise.
21551 (__sqr): Likewise.
21552 (__inv): Likewise.
21553 (__dvd): Likewise.
21554
e375e83d
SP
21555 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21556 commented code.
21557 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21558 (__dubcos): Likewise.
21559 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21560 (__ieee754_acos): Likewise.
21561 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21562 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21563 (__exp1): Likewise.
21564 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21566 (log1): Likewise.
21567 (my_log2): Likewise.
21568 (checkint): Likewise.
21569 * sysdeps/ieee754/dbl-64/e_remainder.c
21570 (__ieee754_remainder): Likewise.
21571 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21573 (bsloww): Likewise.
21574 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21575
6f2e90e7
SP
21576 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21577 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21578 MANTISSA_STORE_T to store computations on mantissa. Use
21579 macros for rounding and division.
21580 (denorm): Likewise.
21581 (__dbl_mp): Likewise.
21582 (add_magnitudes): Likewise.
21583 (sub_magnitudes): Likewise.
21584 (__mul): Likewise.
21585 (__sqr): Likewise.
21586 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21587 powers of two in terms of TWOPOW macro.
21588 (mp_no): Make type of mantissa as MANTISSA_T.
21589 [!RADIXI]: Define RADIXI.
21590 [!TWO52]: Define TWO52.
21591 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21592
fce14d4e
AZ
215932013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21594
21595 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21596 llroundl symbol when building for PPC32.
21597
9ad027fb
MW
215982013-03-24 Mark H Weaver <mhw@netris.org>
21599
21600 * manual/arith.texi (Normalization Functions): Fix prototypes for
21601 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21602
e42a38dd
AZ
216032013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21604
21605 [BZ #13889]
21606 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21607 high value to check if expl overflow.
21608 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21609 to check for underflow and overflow.
21610 * math/libm-test.inc: Add exp test.
21611
2e0fb521
DL
216122013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21613
21614 [BZ #11120]
21615 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21616 with NOT_IN_libc.
21617
b5784d95
AZ
216182013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21619
21620 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21621 symbol.
21622
5aa4a1a1
TS
216232013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21624
bdef0be7
TS
21625 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21626 wrap blocks consisting of several statements.
21627
5aa4a1a1
TS
21628 * sysdeps/generic/math-tests.h: New file.
21629 * sysdeps/i386/fpu/math-tests.h: Likewise.
21630 * math/test-snan.c: Include it.
21631 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21632
98c48fe5
JM
216332013-03-21 Joseph Myers <joseph@codesourcery.com>
21634
21635 [BZ #15285]
21636 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21637 (__ieee754_j0l): Do not improve calculations using cos of twice
21638 input for inputs above LDBL_MAX / 2.0L.
21639 (__ieee754_y0l): Likewise.
21640 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21641 (__ieee754_j1l): Do not improve calculations using cos of twice
21642 input for inputs above LDBL_MAX / 2.0L.
21643 (__ieee754_y1l): Likewise.
21644 * math/libm-test.inc (j0_test): Add another test.
21645 (j1_test): Likewise.
21646 (y0_test): Likewise.
21647 (y1_test): Likewise.
21648 * sysdeps/i386/fpu/libm-test-ulps: Update.
21649
3775a8bc
SP
216502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21651
21652 * Rules ($(objpfx)bench-%.c): Include code from a C source
21653 file.
21654
0a1b2ae6
JM
216552013-03-21 Joseph Myers <joseph@codesourcery.com>
21656
21657 [BZ #15287]
21658 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21659 imaginary part 1.0 and real part less than 0.5 specially.
21660 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21661 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21662 * math/libm-test.inc (cacos_test): Add more tests.
21663 (casin_test): Likewise.
21664 (casinh_test): Likewise.
21665 * sysdeps/i386/fpu/libm-test-ulps: Update.
21666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21667
b33d4ce4
SP
216682013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21669
21670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21671 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21672
bef0b507
JM
216732013-03-20 Joseph Myers <joseph@codesourcery.com>
21674
21675 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21676 * config.make.in (config-cflags-sse4): Remove variable.
21677 (config-cflags-avx): Likewise.
21678 (config-cflags-sse2avx): Likewise.
21679 (config-cflags-novzeroupper): Likewise.
21680 (config-asflags-i686): Likewise.
21681 (have-mfma4): Likewise.
21682 (have-as-vis3): Likewise.
21683 (MIG): Likewise.
21684 * configure.in (MIG): Do not AC_SUBST.
21685 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21686 (libc_cv_cc_sse4): Do not AC_SUBST.
21687 (libc_cv_cc_avx): Likewise.
21688 (libc_cv_cc_sse2avx): Likewise.
21689 (libc_cv_cc_novzeroupper): Likewise.
21690 (libc_cv_cc_fma4): Likewise.
21691 (libc_cv_as_i686): Likewise.
21692 (libc_cv_sparc_as_vis3): Likewise.
21693 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21694 LIBC_CONFIG_VAR.
21695 (config-asflags-i686): Likewise.
21696 (config-cflags-avx): Likewise.
21697 (config-cflags-sse2avx): Likewise.
21698 (have-mfma4): Likewise.
21699 (config-cflags-novzeroupper): Likewise.
21700 * sysdeps/mach/configure.in (MIG): Likewise.
21701 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21702 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21703 LIBC_CONFIG_VAR.
21704 (config-cflags-avx): Likewise.
21705 (config-cflags-sse2avx): Likewise.
21706 (have-mfma4): Likewise.
21707 (config-cflags-novzeroupper): Likewise.
21708 * configure: Regenerated.
21709 * sysdeps/i386/configure: Likewise.
21710 * sysdeps/mach/configure: Likewise.
21711 * sysdeps/sparc/configure: Likewise.
21712 * sysdeps/x86_64/configure: Likewise.
21713
912cc4b3
RM
217142013-03-20 Roland McGrath <roland@hack.frob.com>
21715
21716 [BZ #14812]
21717 * locale/programs/localedef.c (options): Put N_ translation marker
21718 on argument names, not just descriptions.
21719
04eed2b0
MS
217202013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21721
21722 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21723
a065ceff
OB
217242013-03-20 Ondřej Bílka <neleai@seznam.cz>
21725
9bb2a810 21726 [BZ #14176]
a065ceff
OB
21727 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21728
a600e5ce
RM
217292013-03-19 Roland McGrath <roland@hack.frob.com>
21730
21731 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21732 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21733 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21734 [!BEFORE_ABORT] (before_abort): New function.
21735 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21736 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21737 (writev_for_fatal): New function.
21738 (WRITEV_FOR_FATAL): New macro; call that.
21739 (backtrace_and_maps): New function.
21740 (BEFORE_ABORT): New macro; call that.
21741 (struct str_list): Type removed.
21742 (__libc_message, __libc_fatal): Functions removed.
21743 Include <sysdeps/posix/libc_fatal.c> instead.
21744
6b18bea6
JM
217452013-03-19 Joseph Myers <joseph@codesourcery.com>
21746
21747 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21748 constants.
21749 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21750 double constants.
21751
aaa8cb4b
AS
217522013-03-19 Andreas Schwab <schwab@suse.de>
21753
44673770
AS
21754 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21755 * sysdeps/gnu/configure: Regenerate.
21756
aaa8cb4b
AS
21757 * configure.in: Substitute libc_cv_rtlddir.
21758 * configure: Regenerate.
21759 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21760 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21761 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21762 * elf/Makefile (install-others, CFLAGS-interp.c)
21763 (ldso_install, common-ldd-rewrite): Likewise.
21764 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21765 $(inst_slibdir)/$(rtld-installed-name).
21766 * scripts/rellns-sh: Add -p option.
21767 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21768 for source.
21769
d3cfc668
SP
217702013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21771
21772 * manual/nptl.texi: Renamed to ...
21773 * manual/threads.texi: ... this.
21774 * manual/Makefile (chapters): Update.
21775
0e2b9cdd
RM
217762013-03-18 Roland McGrath <roland@hack.frob.com>
21777
21778 [BZ #14812]
21779 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21780 on argument names, not just descriptions.
0e2b9cdd
RM
21781 * malloc/memusagestat.c (options): Likewise.
21782 * nss/getent.c (options): Likewise.
63270c24
RM
21783
217842013-03-18 Benno Schulenberg <bensberg@justemail.net>
21785
21786 [BZ #14812]
21787 * iconv/iconv_prog.c (options): Put N_ translation marker
21788 on argument names, not just descriptions.
21789 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21790
b2e1393c
OB
217912013-03-18 Ondrej Bilka <neleai@seznam.cz>
21792
21793 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21794 implementation which is faster on all x86_64 architectures.
21795 Tested on AMD, Intel Nehalem, SNB, IVB.
21796 * sysdeps/x86_64/strnlen.S: Likewise.
21797
21798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21799 Remove all multiarch strlen and strnlen versions.
21800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21801 Remove strlen and strnlen related parts.
21802
21803 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21804 Inline strlen part.
21805 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21806
21807 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21808 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21809 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21810 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21811 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21812 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21813
ec4ff04d
CD
218142013-03-17 Carlos O'Donell <carlos@redhat.com>
21815
21816 * manual/memory.texi (Malloc Tunable Parameters):
21817 Sort parameters alphabetically. Add comments for missing entries.
21818
cd18e90a
DM
218192013-03-17 David S. Miller <davem@davemloft.net>
21820
21821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21822
2a185d32
JM
218232013-03-16 Joseph Myers <joseph@codesourcery.com>
21824
d2f9799e
JM
21825 [BZ #15283]
21826 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21827 for arguments at most half maximum finite value.
21828 * math/libm-test.inc (j0_test): Add more tests.
21829 (j1_test): Likewise.
21830 (y0_test): Likewise.
21831 (y1_test): Likewise.
21832 * sysdeps/i386/fpu/libm-test-ulps: Update.
21833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21834
2a185d32
JM
21835 [BZ #14155]
21836 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21837 1 / x and functions P and Q for arguments above 0x1p256L.
21838 (__ieee754_y0l): Likewise.
21839 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21840 (__ieee754_y1l): Likewise.
21841 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21842 (j1_test): Likewise.
21843 (y0_test): Likewise.
21844 (y1_test): Likewise.
21845
6cbec759
TS
218462013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21847
21848 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21849 variable.
21850
bc16e260
RM
218512013-03-15 Roland McGrath <roland@hack.frob.com>
21852
aefc9b8c
RM
21853 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21854 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21855 zero since it's initialized to EXEC_PAGESIZE.
21856
bc16e260
RM
21857 * sysdeps/unix/sysv/linux/ldsodefs.h
21858 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21859 * sysdeps/generic/ldsodefs.h: ... here.
21860
a57da955
TS
218612013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21862
af00a34d
TS
21863 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21864
495ded2c
TS
21865 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21866 math/test-snan.c.
21867 * math/test-snan.c: Renamed from
21868 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21869 * math/Makefile (tests): Add test-snan.
21870 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21871 test-powerpc-snan.
21872
777b0332
TS
21873 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21874 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21875 functions.
21876 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21877 __builtin_nan family of functions.
21878 * math/libm-test.inc (initialize): Initialize qnan_value with
21879 __builtin_nan family of functions.
21880 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21881 Remove variables.
21882 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21883 Remove functions.
21884 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21885 storage class. Initialize qNaN_var and sNaN_var with
21886 __builtin_nan and __builtin_nans families of functions,
21887 respectively.
21888
64d063b8
TS
21889 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21890 (sqrt_test): Remove duplicate test with qNaN input.
21891 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21892 (round_test, signbit_test, significand_test): Note missing +/-Inf
21893 as well as qNaN tests.
21894
67e971f1
TS
21895 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21896 qNaN_var. Fix a few strings, too.
21897 * math/libm-test.inc (nan_value): Rename to qnan_value.
21898 * math/gen-libm-test.pl (%beautify): Adjust to that.
21899 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21900 * math/test-misc.c (main): Likewise.
21901 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21902 to __qnan_bytes, and __qnan_union, respectively.
21903 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21904 Likewise.
21905 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21906 and lqnanval, respectively.
21907 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21908 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21909 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21910 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21911
64487e12
TS
21912 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21913 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21914 doubles.
21915
e015e27b
TS
21916 * math/test-misc.c (main): Fix copy'n'pastos.
21917 * misc/tst-efgcvt.c (special): Likewise.
21918
a57da955
TS
21919 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21920 Remove declarations.
21921
1e380345
SP
219222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21923
21924 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21925 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21926 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21927 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21928
ef26eece
AZ
219292013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21930
21931 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21932 macro to return vdso values correctly in IFUNC implementations.
21933 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21934 Optimization by using IFUNC.
21935
8cfdb7e0
SP
219362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21937 Richard Henderson <rth@redhat.com>
21938 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21939
21940 * Makefile.in (bench): New target.
21941 * NEWS: Mention the benchmark framework.
21942 * Rules (bench): Likewise.
21943 (binaries-bench): Generate binaries for functions to
21944 benchmark.
21945 * benchtests/Makefile: New makefile for benchmark tests.
21946 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21947 programs.
21948 * benchtests/exp-inputs: New input file for EXP function.
21949 * benchtests/pow-inputs: New input file for POW function.
21950 * scripts/bench.pl: New script to generate source files for
21951 benchmark programs.
21952
bcda9880
SP
219532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21954
d22ca8cd
SP
21955 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21956 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21957 computations on mantissa. Use macros for rounding and
21958 division.
21959 (denorm): Likewise.
21960 (__dbl_mp): Likewise.
21961 (add_magnitudes): Likewise.
21962 (sub_magnitudes): Likewise.
21963 (__mul): Likewise.
21964 (__sqr): Likewise.
21965 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21966 powers of two in terms of TWOPOW macro.
21967 (mp_no): Make type of mantissa as MANTISSA_T.
21968 [!RADIXI]: Define RADIXI.
21969 [!TWO52]: Define TWO52.
21970 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21971
bcda9880
SP
21972 * manual/nptl.texi (cindex): Modify threads to pthreads.
21973
06d5adfb
JM
219742013-03-15 Joseph Myers <joseph@codesourcery.com>
21975
21976 * sysdeps/x86_64/preconfigure: Regenerated.
21977
41c7328e
JM
219782013-03-14 Joseph Myers <joseph@codesourcery.com>
21979
21980 [BZ #14155]
21981 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21982 0x1p28 and above.
21983 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21984 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21985 0x1p28 and above.
21986 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21987 * math/libm-test.inc (j0_test): Do not allow one spurious
21988 underflow exception.
21989 (y1_test): Likewise.
21990
e25cfa60
SP
219912013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21992
0409959c
SP
21993 * manual/Makefile (chapters): Add nptl.
21994 * manual/debug.texi (Debugging Support): Add link to Threads
21995 chapter.
21996 * manual/nptl.texi: New file.
21997
e25cfa60
SP
21998 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21999
58a1335e
PB
220002013-03-14 Petr Baudis <pasky@ucw.cz>
22001
22002 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22003 for non-NULL pointer before the memory validity test. Pointed
22004 out by Holger Brunck <holger.brunck@keymile.com>.
22005
9dc7c64f
AS
220062013-03-13 Andreas Schwab <schwab@suse.de>
22007
22008 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22009 instead of .os.
22010
54206aa6
JM
220112013-03-13 Joseph Myers <joseph@codesourcery.com>
22012
22013 * timezone/zic.c: Update from tzcode 2013b.
22014
e98cdb38
CD
220152013-03-12 Carlos O'Donell <carlos@redhat.com>
22016
22017 * manual/install.texi (Configuring and compiling):
22018 Mention i686 and i586.
22019 * INSTALL: Regenerate.
22020
9967e003
RM
220212013-03-12 Roland McGrath <roland@hack.frob.com>
22022
22023 * sysdeps/init_array/elf-init.c: New file.
22024 * csu/elf-init.c
22025 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22026 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22027
22028 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22029 __gmon_start__ as global, but as static with a .preinit_array pointer.
22030 * sysdeps/init_array/gmon-start.c: New file. Use that.
22031 * sysdeps/init_array/crti.S: New file, empty except for comments.
22032 * sysdeps/init_array/crtn.S: Likewise.
22033
e6b5a293 220342013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22035
22036 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22037 definining bcopy.
80f844c9
OB
22038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22039 Remove Prefer_SSE_for_memop.
22040 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22041 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22042 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22044 memset-x86-64.
80f844c9 22045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22046 Remove bzero, memset ifunc support.
80f844c9
OB
22047 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22048 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22049 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22050 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22051
fb6b0fcb
AS
220522013-03-11 Andreas Schwab <schwab@suse.de>
22053
22054 [BZ #15234]
22055 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22056 by SHLIB_COMPAT.
22057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22058 (GLIBC_2.16): Remove pthread_atfork.
22059
3e6bd4b1
PP
220602013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22061
22062 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22063 (ptestcases.h): Likewise.
22064
222d7f00
RM
220652013-03-08 Roland McGrath <roland@hack.frob.com>
22066
22067 * Makeconfig ($(common-objpfx)config.status): Depend on
22068 sysdeps/*/preconfigure{,.in} too.
22069
1ba4f030
JM
220702013-03-08 Joseph Myers <joseph@codesourcery.com>
22071
a222d91a
JM
22072 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22073 (__free_hook): Use void * instead of __malloc_ptr_t.
22074 (__malloc_hook): Likewise.
22075 (__realloc_hook): Likewise.
22076 (__memalign_hook): Likewise.
22077 (__after_morecore_hook): Likewise.
22078 * malloc/arena.c (save_malloc_hook): Likewise.
22079 (save_free_hook): Likewise.
22080 * malloc/hooks.c (malloc_hook_ini): Likewise.
22081 (realloc_hook_ini): Likewise.
22082 (memalign_hook_ini): Likewise.
22083 * malloc/malloc.c (malloc_hook_ini): Likewise.
22084 (realloc_hook_ini): Likewise.
22085 (memalign_hook_ini): Likewise.
22086 (__free_hook): Likewise.
22087 (__malloc_hook): Likewise.
22088 (__realloc_hook): Likewise.
22089 (__memalign_hook): Likewise.
22090 (__libc_malloc): Likewise.
22091 (__libc_free): Likewise.
22092 (__libc_realloc): Likewise.
22093 (__libc_memalign): Likewise.
22094 (__libc_valloc): Likewise.
22095 (__libc_pvalloc): Likewise.
22096 (__libc_calloc): Likewise.
22097 (__posix_memalign): Likewise.
22098 * malloc/morecore.c (__sbrk): Likewise.
22099 (__default_morecore): Likewise.
22100
5cc45e10
JM
22101 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22102
dd54b864
JM
22103 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22104 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22105 __malloc_ptrdiff_t.
22106
1ba4f030
JM
22107 * malloc/malloc.h (__malloc_size_t): Remove macro.
22108 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22109 __malloc_size_t.
22110 (old_memalign_hook): Likewise.
22111 (old_realloc_hook): Likewise.
22112 (struct hdr): Likewise.
22113 (flood): Likewise.
22114 (mallochook): Likewise.
22115 (memalignhook): Likewise.
22116 (reallochook): Likewise.
22117 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22118 (tr_old_realloc_hook): Likewise.
22119 (tr_old_memalign_hook): Likewise.
22120 (tr_mallochook): Likewise.
22121 (tr_reallochook): Likewise.
22122 (tr_memalignhook): Likewise.
22123
edf66e57
AZ
221242013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22125
22126 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22127 default_ldbl_pack and using as default implementation.
22128 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22129 implementation.
22130 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22131 redundant definition.
22132 (ldbl_insert_mantissa): Likewise.
22133 (ldbl_canonicalize): Likewise.
22134 (ldbl_nearbyint): Likewise.
22135 (ldbl_pack): Rename to ldbl_pack_ppc.
22136 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22137 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22138 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22139
6d9145d8
SP
221402013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22141
22142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22143 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22144 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22145 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22147 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22148 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22149 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22150
4dd4e157
AJ
221512013-03-07 Andreas Jaeger <aj@suse.de>
22152
22153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22154 bits/mman-linux.h.
22155
adbb8027
SP
221562013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22157
ce544b5b
SP
22158 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22159 Include mpa.h and declare __MPEXP.
22160 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22161 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22162 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22163 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22164 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22165 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22166 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22167
4cc149fd
SP
22168 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22169 (__slowpow): Use long double EXPL and LOGL functions to
22170 compute POW.
22171 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22172 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22173 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22174 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22175 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22176 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22177
e6ebd4a7
SP
22178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22179 intermediate variable to calculate exponent.
22180 (__sqr): Likewise.
22181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22182 Likewise.
22183 (__sqr): Likewise.
22184
82a9811d
SP
22185 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22186 [!NO__SQR]: Define __sqr.
22187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22188 and NO__SQR. Remove all code except __mul and __sqr. Include
22189 sysdeps/ieee754/dbl-64/mpa.c.
22190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22191
adbb8027
SP
22192 [BZ #12723]
22193 * posix/Makefile (tests): Add tst-pathconf.
22194 * posix/tst-pathconf.c: New test case.
22195 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22196 _PC_PIPE_BUF.
22197 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22198
39120df9
PF
221992013-03-06 Patsy Franklin <pfrankli@redhat.com>
22200
22201 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22202
67525cb8
AJ
222032013-03-06 Andreas Jaeger <aj@suse.de>
22204
664a9ce4
AJ
22205 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22206 definition via __MAP_ANONYMOUS.
22207
8e39047d
AJ
22208 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22209 it's not part of Linux headers.
22210
67525cb8
AJ
22211 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22212 (MAP_HUGE_MASK): Define.
22213
22214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22215 Define.
22216 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22217 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22218 Define.
22219 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22220 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22221 Define.
22222 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22223 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22224 Define.
22225 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22226
22227 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22228 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22229 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22230 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22231 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22232 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22233
22234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22235 Handle f2fs.
22236
22237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22238 Handle f2fs and efivarfs.
22239
22240 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22241 f2fs.
22242
22243 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22244 (EFIVARFS_MAGIC): Add.
22245 (F2FS_LINK_MAX): Add.
22246
e1b42695
PP
222472013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22248
22249 * stdio-common/vfprintf.c: Replace __builtin_expect with
22250 __glibc_unlikely.
22251
2d67d91a
JM
222522013-03-06 Joseph Myers <joseph@codesourcery.com>
22253
22254 [BZ #13550]
22255 * sysdeps/generic/bp-sym.h: Remove file.
22256 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22257 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22258 <bp-sym.h> and <bp-asm.h>.
22259 (__longjmp): Don't use BP_SYM.
22260 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22261 and <bp-asm.h>.
22262 (memcpy): Don't use BP_SYM.
22263 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22264 <bp-sym.h> and <bp-asm.h>.
22265 (memcpy): Don't use BP_SYM.
22266 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22267 <bp-asm.h>.
22268 (memcpy): Don't use BP_SYM.
22269 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22270 <bp-asm.h>.
22271 (memset): Don't use BP_SYM.
22272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22274 (__bzero): Don't use BP_SYM.
22275 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22276 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22277 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22278 <bp-sym.h> and <bp-asm.h>.
22279 (memcmp): Don't use BP_SYM. Remove comment about bounded
22280 pointers.
22281 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22282 <bp-sym.h> and <bp-asm.h>.
22283 (memcpy): Don't use BP_SYM.
22284 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22285 <bp-sym.h> and <bp-asm.h>.
22286 (memset): Don't use BP_SYM.
22287 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22288 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22289 (__bzero): Don't use BP_SYM.
22290 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22291 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22292 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22293 <bp-sym.h> and <bp-asm.h>.
22294 (strncmp): Don't use BP_SYM. Remove comment about bounded
22295 pointers.
22296 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22297 <bp-sym.h> and <bp-asm.h>.
22298 (memcpy): Don't use BP_SYM.
22299 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22300 <bp-sym.h> and <bp-asm.h>.
22301 (memset): Don't use BP_SYM.
22302 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22303 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22304 (__bzero): Don't use BP_SYM.
22305 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22306 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22307 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22308 <bp-sym.h> and <bp-asm.h>.
22309 (__memchr): Don't use BP_SYM.
22310 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22311 <bp-sym.h> and <bp-asm.h>.
22312 (memcmp): Don't use BP_SYM. Remove comment about bounded
22313 pointers.
22314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22315 <bp-sym.h> and <bp-asm.h>.
22316 (memcpy): Don't use BP_SYM.
22317 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22318 <bp-sym.h> and <bp-asm.h>.
22319 (__mempcpy): Don't use BP_SYM.
22320 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22321 <bp-sym.h> and <bp-asm.h>.
22322 (__memrchr): Don't use BP_SYM.
22323 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22324 <bp-sym.h> and <bp-asm.h>.
22325 (memset): Don't use BP_SYM.
22326 (__bzero): Likewise.
22327 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22328 <bp-sym.h> and <bp-asm.h>.
22329 (__rawmemchr): Don't use BP_SYM.
22330 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22331 <bp-sym.h> and <bp-asm.h>.
22332 (__STRCMP): Don't use BP_SYM.
22333 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22334 <bp-sym.h> and <bp-asm.h>.
22335 (strchr): Don't use BP_SYM.
22336 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22337 <bp-sym.h> and <bp-asm.h>.
22338 (__strchrnul): Don't use BP_SYM.
22339 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22340 <bp-sym.h> and <bp-asm.h>.
22341 (strlen): Don't use BP_SYM.
22342 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22343 <bp-sym.h> and <bp-asm.h>.
22344 (strncmp): Don't use BP_SYM. Remove comment about bounded
22345 pointers.
22346 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22347 <bp-sym.h> and <bp-asm.h>.
22348 (__strnlen): Don't use BP_SYM.
22349 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22350 <bp-sym.h> and <bp-asm.h>.
22351 (__GI__setjmp): Don't use BP_SYM.
22352 (_setjmp): Likewise.
22353 (__sigsetjmp): Likewise.
22354 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22355 (L(start_addresses)): Don't use BP_SYM.
22356 (_start): Likewise.
22357 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22358 <bp-asm.h>.
22359 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22360 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22361 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22362 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22363 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22364 <bp-asm.h>.
22365 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22366 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22367 about bounded pointers.
22368 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22369 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22370 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22371 <bp-asm.h>.
22372 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22373 about bounded pointers. Remove GKM FIXME comments.
22374 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22375 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22376 <bp-asm.h>.
22377 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22378 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22379 Remove GKM FIXME comments.
22380 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22381 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22382 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22383 <bp-asm.h>.
22384 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22385 about bounded pointers. Remove GKM FIXME comment.
22386 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22387 and <bp-asm.h>.
22388 (strncmp): Don't use BP_SYM. Remove comment about bounded
22389 pointers.
22390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22391 <bp-sym.h> and <bp-asm.h>.
22392 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22394 <bp-sym.h> and <bp-asm.h>.
22395 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22396 comment.
22397
cdcf361f
PP
223982013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22399
22400 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22401 call free(NULL).
22402
3c4a2b15
DM
224032013-03-05 David S. Miller <davem@davemloft.net>
22404
22405 * po/es.po: Update from translation team.
22406
cdcf361f 224072013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
22408
22409 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22410 <bits/mman-linux.h>.
22411 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22412 is fine.
22413 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22414 <bits/mman-linux.h> to end of file.
22415 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22416 is fine.
22417 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22418 <bits/mman-linux.h> to end of file.
22419 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22420 is fine.
22421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22422 <bits/mman-linux.h> to end of file.
22423
22424 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22425 (MCL_CURRENT, MCL_FUTURE): Define here.
22426
5f67c04f
AK
224272013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22428
8a4473cc 22429 [BZ #15232]
5f67c04f
AK
22430 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22431 attribute_hidden.
22432 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22433
c3e94a95
AK
224342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22435
22436 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22437 fourth parameter needed for rt_sigprocmask syscall.
22438 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22439 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22440 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22441 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22442 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22443 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22444
cfb6382a
JM
224452013-03-04 Joseph Myers <joseph@codesourcery.com>
22446
22447 [BZ #13550]
22448 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22449 comment about bounded pointers.
22450 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22451 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22452
539d8e01
AJ
224532013-03-04 Andreas Jaeger <aj@suse.de>
22454
22455 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22456 common definitions.
22457
22458 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22459 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22460 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22461 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22462 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22463 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22464
2e167a70 224652013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22466
22467 [BZ #15055]
22468 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22469 __ieee754_sqrl instead of __sqrl.
22470
68508633
JM
224712013-03-01 Joseph Myers <joseph@codesourcery.com>
22472
22473 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22474 * sysdeps/powerpc/fpu_control.h: ... here.
22475 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22476 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22477 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22478 * sysdeps/powerpc/bits/mathinline.h: ... here.
22479
7775448e
RM
224802013-03-01 Roland McGrath <roland@hack.frob.com>
22481
22482 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22483 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22484 to just [NEED_DL_SYSINFO_DSO].
22485 * elf/dl-support.c: Likewise.
22486 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22487 * elf/rtld.c (dl_main): Likewise.
22488 * elf/setup-vdso.h (setup_vdso): Likewise.
22489 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22490 * sysdeps/unix/sysv/linux/dl-sysdep.c
22491 (_dl_discover_osversion): Likewise.
22492
4e9b5995
CD
224932013-03-01 Carlos O'Donell <carlos@redhat.com>
22494
22495 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22496 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22497
e23872c8
SP
224982013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22499
e5c74c63
SP
22500 * NEWS: Mention libm performance improvements and non-x86 PI
22501 futex support.
22502
e23872c8
SP
22503 * csu/libc-start.c (__pthread_initialize_minimal): Change
22504 function arguments.
22505 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22506
b5510883
JM
225072013-02-28 Joseph Myers <joseph@codesourcery.com>
22508
22509 [BZ #13550]
22510 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22511 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22512 <bp-sym.h> and <bp-asm.h>.
22513 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22514 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22515 and <bp-asm.h>.
22516 (memcpy): Don't use BP_SYM.
22517 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22518 <bp-asm.h>.
22519 (__mpn_add_n): Don't use BP_SYM.
22520 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22521 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22522 and <bp-asm.h>.
22523 (__mpn_addmul_1): Don't use BP_SYM.
22524 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22525 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22526 <bp-sym.h>.
22527 (_setjmp): Don't use BP_SYM.
22528 (__novmx_setjmp): Likewise.
22529 (__GI__setjmp): Likewise.
22530 (__vmx_setjmp): Likewise.
22531 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22532 <bp-sym.h>.
22533 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22534 (__bzero): Don't use BP_SYM.
22535 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22536 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22537 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22538 <bp-sym.h> and <bp-asm.h>.
22539 (memcpy): Don't use BP_SYM.
22540 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22541 <bp-sym.h> and <bp-asm.h>.
22542 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22543 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22544 <bp-sym.h> and <bp-asm.h>.
22545 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22546 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22547 <bp-asm.h>.
22548 (__mpn_lshift): Don't use BP_SYM.
22549 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22550 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22551 <bp-asm.h>.
22552 (memset): Don't use BP_SYM.
22553 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22554 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22555 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22556 <bp-asm.h>.
22557 (__mpn_mul_1): Don't use BP_SYM.
22558 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22559 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22560 <bp-sym.h> and <bp-asm.h>.
22561 (memcmp): Don't use BP_SYM.
22562 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22563 <bp-sym.h> and <bp-asm.h>.
22564 (memcpy): Don't use BP_SYM.
22565 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22566 <bp-sym.h> and <bp-asm.h>.
22567 (memset): Don't use BP_SYM.
22568 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22569 <bp-sym.h> and <bp-asm.h>.
22570 (strncmp): Don't use BP_SYM.
22571 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22572 <bp-sym.h> and <bp-asm.h>.
22573 (memcpy): Don't use BP_SYM.
22574 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22575 <bp-sym.h> and <bp-asm.h>.
22576 (memset): Don't use BP_SYM.
22577 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22578 <bp-sym.h> and <bp-asm.h>.
22579 (__memchr): Don't use BP_SYM.
22580 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22581 <bp-sym.h> and <bp-asm.h>.
22582 (memcmp): Don't use BP_SYM.
22583 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22584 <bp-sym.h> and <bp-asm.h>.
22585 (memcpy): Don't use BP_SYM.
22586 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22587 <bp-sym.h> and <bp-asm.h>.
22588 (__mempcpy): Don't use BP_SYM.
22589 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22590 <bp-sym.h> and <bp-asm.h>.
22591 (__memrchr): Don't use BP_SYM.
22592 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22593 <bp-sym.h> and <bp-asm.h>.
22594 (memset): Don't use BP_SYM.
22595 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22596 <bp-sym.h> and <bp-asm.h>.
22597 (__rawmemchr): Don't use BP_SYM.
22598 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22599 <bp-sym.h> and <bp-asm.h>.
22600 (__STRCMP): Don't use BP_SYM.
22601 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22602 <bp-sym.h> and <bp-asm.h>.
22603 (strchr): Don't use BP_SYM.
22604 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22605 <bp-sym.h> and <bp-asm.h>.
22606 (__strchrnul): Don't use BP_SYM.
22607 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22608 <bp-sym.h> and <bp-asm.h>.
22609 (strlen): Don't use BP_SYM.
22610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22611 <bp-sym.h> and <bp-asm.h>.
22612 (strncmp): Don't use BP_SYM.
22613 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22614 <bp-sym.h> and <bp-asm.h>.
22615 (__strnlen): Don't use BP_SYM.
22616 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22617 <bp-asm.h>.
22618 (__mpn_rshift): Don't use BP_SYM.
22619 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22620 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22621 <bp-sym.h> and <bp-asm.h>.
22622 (__sigsetjmp): Don't use BP_SYM.
22623 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22624 (L(start_addresses)): Don't use BP_SYM.
22625 (_start): Likewise.
22626 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22627 <bp-asm.h>.
22628 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22629 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22630 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22631 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22632 <bp-asm.h>.
22633 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22634 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22635 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22636 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22637 <bp-asm.h>.
22638 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22639 comments.
22640 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22641 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22642 <bp-asm.h>.
22643 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22644 FIXME comments.
22645 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22646 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22647 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22648 <bp-asm.h>.
22649 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22650 comment.
22651 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22652 and <bp-asm.h>.
22653 (strncmp): Don't use BP_SYM,
22654 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22655 <bp-asm.h>.
22656 (__mpn_sub_n): Don't use BP_SYM.
22657 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22658 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22659 and <bp-asm.h>.
22660 (__mpn_submul_1): Don't use BP_SYM.
22661 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22663 <bp-sym.h> and <bp-asm.h>.
22664 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22666 <bp-sym.h> and <bp-asm.h>.
22667 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22668 comment.
22669
8d19fe64
SP
226702013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22671
22672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22673 Use ZK to minimize writes to Z.
22674 (sub_magnitudes): Simplify code a bit.
22675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22676 Use ZK to minimize writes to Z.
22677 (sub_magnitudes): Simplify code a bit.
22678
85bd816a
RM
226792013-02-27 Roland McGrath <roland@hack.frob.com>
22680
22681 * csu/gmon-start.c: Add special exception to license text.
22682
b5977bf2
RH
226832013-02-27 Richard Henderson <rth@redhat.com>
22684
22685 * scripts/config.guess: Update from config.git.
22686 * scripts/config.sub: Likewise.
22687
11d6e2f2
SP
226882013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22689
09c14ed2
SP
22690 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22691
a688864e
SP
22692 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22693
6295157a
SP
22694 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22695
b8de2202
SP
22696 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22697
11d6e2f2
SP
22698 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22699
7e80ddb8
RM
227002013-02-26 Roland McGrath <roland@hack.frob.com>
22701
22702 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22703 [$(build-shared = yes].
7e80ddb8 22704
7da6d9ed
SP
227052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22706
45f05884
SP
22707 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22708 (__mul): Reduce iterations for calculating mantissa.
22709
2236d359
SP
22710 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22711 MPTWO.
22712 (__mpranred): Likewise.
22713
7da6d9ed
SP
22714 [BZ #15160]
22715 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22716 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22717
b7688c42
PE
227182013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22719
22720 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22721 Define __attribute__.
22722
53a5c423
SP
227232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22724
22725 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22726 unused.
22727 * posix/regex_internal.h (__attribute): Remove.
22728 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22729 (re_string_context_at): Likewise.
22730 (bitset_not): Use __attribute__ and mark function as possibly
22731 unused.
22732 (bitset_merge): Likewise.
22733 (bitset_mask): Likewise.
22734 (re_string_char_size_at): Likewise.
22735 (re_string_wchar_at): Likewise.
22736 (re_string_elem_size_at): Likewise.
22737
60f5a8b5
SP
227382013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22739
2a983a2e
SP
22740 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22741 code.
22742 (cc32): Likewise.
22743
e69804d1
SP
22744 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22745 (__acr): Likewise.
22746 (__cpy): Likewise.
22747 (norm): Likewise.
22748 (denorm): Likewise.
22749 (__dbl_mp): Likewise.
22750 (add_magnitudes): Likewise.
22751 (sub_magnitudes): Likewise.
22752 (__mul): Likewise.
22753 (__inv): Likewise.
22754
2f22a1e8
SP
22755 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22756 style.
22757
8930ddc7
SP
22758 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22759 style.
22760
dc60cb11
SP
22761 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22762 code.
22763
60f5a8b5
SP
22764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22765 up changes with default code.
22766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22767 Likewise.
22768
b4d1fd33
AM
227692013-02-24 Allan McRae <allan@archlinux.org>
22770
faf6f8bc
AM
22771 * manual/socket.texi (The Internet Namespace): Order menu items
22772 to match that in the file.
22773
b4d1fd33
AM
22774 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22775 node listing of the info page menu.
22776
2366713d
JM
227772013-02-21 Joseph Myers <joseph@codesourcery.com>
22778
22779 [BZ #13550]
22780 * sysdeps/i386/bp-asm.h: Remove file.
22781 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22782 (PARMS): Do not use macros from bp-asm.h.
22783 (S1): Likewise.
22784 (S2): Likewise.
22785 (SIZE): Likewise.
22786 (__mpn_add_n): Do not use BP_SYM
22787 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22788 "bp-asm.h".
22789 (PARMS): Do not use macros from bp-asm.h.
22790 (S1): Likewise.
22791 (SIZE): Likewise.
22792 (__mpn_addmul_1): Do not use BP_SYM
22793 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22794 "bp-asm.h".
22795 (PARMS): Do not use macros from bp-asm.h.
22796 (SIGMSK): Likewise.
22797 (_setjmp): Likewise. Do not use BP_SYM.
22798 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22799 "bp-asm.h".
22800 (PARMS): Do not use macros from bp-asm.h.
22801 (SIGMSK): Likewise.
22802 (setjmp): Likewise. Do not use BP_SYM.
22803 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22804 "bp-asm.h".
22805 (PARMS): Do not use macros from bp-asm.h.
22806 (__frexp): Do not use BP_SYM.
22807 (frexp): Likewise.
22808 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22809 "bp-asm.h".
22810 (PARMS): Do not use macros from bp-asm.h.
22811 (__frexpf): Do not use BP_SYM.
22812 (frexpf): Likewise.
22813 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22814 "bp-asm.h".
22815 (PARMS): Do not use macros from bp-asm.h.
22816 (__frexpl): Do not use BP_SYM.
22817 (frexpl): Likewise.
22818 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22819 "bp-asm.h".
22820 (PARMS): Do not use macros from bp-asm.h.
22821 (__remquo): Do not use BP_SYM.
22822 (remquo): Likewise.
22823 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22824 "bp-asm.h".
22825 (PARMS): Do not use macros from bp-asm.h.
22826 (__remquof): Do not use BP_SYM.
22827 (remquof): Likewise.
22828 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22829 "bp-asm.h".
22830 (PARMS): Do not use macros from bp-asm.h.
22831 (__remquol): Do not use BP_SYM.
22832 (remquol): Likewise.
22833 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22834 "bp-asm.h".
22835 (PARMS): Do not use macros from bp-asm.h.
22836 (DEST): Likewise.
22837 (SRC): Likewise.
22838 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22839 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22840 "bp-asm.h".
22841 (PARMS): Do not use macros from bp-asm.h.
22842 (strlen): Do not use BP_SYM.
22843 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22844 "bp-asm.h".
22845 (PARMS): Do not use macros from bp-asm.h.
22846 (S1): Likewise.
22847 (S2): Likewise.
22848 (SIZE): Likewise.
22849 (__mpn_add_n): Do not use BP_SYM.
22850 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22851 "bp-asm.h".
22852 (PARMS): Do not use macros from bp-asm.h.
22853 (S1): Likewise.
22854 (SIZE): Likewise.
22855 (__mpn_addmul_1): Do not use BP_SYM.
22856 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22857 weak_alias.
22858 (bzero): Likewise.
22859 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22860 "bp-asm.h".
22861 (PARMS): Do not use macros from bp-asm.h.
22862 (S): Likewise.
22863 (SIZE): Likewise.
22864 (__mpn_lshift): Do not use BP_SYM.
22865 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22866 "bp-asm.h".
22867 (PARMS): Do not use macros from bp-asm.h.
22868 (DEST): Likewise.
22869 (SRC): Likewise.
22870 (LEN): Likewise.
22871 (memcpy): Likewise. Do not use BP_SYM.
22872 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22873 libc_hidden_def and weak_alias.
22874 (mempcpy): Do not use BP_SYM in weak_alias.
22875 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22876 "bp-asm.h".
22877 (PARMS): Do not use macros from bp-asm.h.
22878 (DEST): Likewise.
22879 (LEN): Likewise.
22880 [!BZERO_P] (CHR): Likewise.
22881 (memset): Likewise. Do not use BP_SYM.
22882 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22883 "bp-asm.h".
22884 (PARMS): Do not use macros from bp-asm.h.
22885 (S1): Likewise.
22886 (SIZE): Likewise.
22887 (__mpn_mul_1): Do not use BP_SYM.
22888 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22889 "bp-asm.h".
22890 (PARMS): Do not use macros from bp-asm.h.
22891 (S): Likewise.
22892 (SIZE): Likewise.
22893 (__mpn_rshift): Do not use BP_SYM.
22894 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22895 "bp-asm.h".
22896 (PARMS): Do not use macros from bp-asm.h.
22897 (STR): Likewise.
22898 (CHR): Likewise.
22899 (strchr): Likewise. Do not use BP_SYM.
22900 (index): Do not use BP_SYM in weak_alias.
22901 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22902 "bp-asm.h".
22903 (PARMS): Do not use macros from bp-asm.h.
22904 (DEST): Likewise.
22905 (SRC): Likewise.
22906 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22907 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22908 "bp-asm.h".
22909 (PARMS): Do not use macros from bp-asm.h.
22910 (strlen): Do not use BP_SYM.
22911 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22912 "bp-asm.h".
22913 (PARMS): Do not use macros from bp-asm.h.
22914 (S1): Likewise.
22915 (S2): Likewise.
22916 (SIZE): Likewise.
22917 (__mpn_sub_n): Do not use BP_SYM.
22918 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22919 "bp-asm.h".
22920 (PARMS): Do not use macros from bp-asm.h.
22921 (S1): Likewise.
22922 (SIZE): Likewise.
22923 (__mpn_submul_1): Do not use BP_SYM.
22924 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22925 "bp-asm.h".
22926 (PARMS): Do not use macros from bp-asm.h.
22927 (S1): Likewise.
22928 (S2): Likewise.
22929 (SIZE): Likewise.
22930 (__mpn_add_n): Do not use BP_SYM.
22931 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22932 weak_alias.
22933 (bzero): Likewise.
22934 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22935 "bp-asm.h".
22936 (PARMS): Do not use macros from bp-asm.h.
22937 (BLK2): Likewise.
22938 (LEN): Likewise.
22939 (memcmp): Do not use BP_SYM.
22940 (bcmp): Do not use BP_SYM in weak_alias.
22941 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22942 "bp-asm.h".
22943 (PARMS): Do not use macros from bp-asm.h.
22944 (DEST): Likewise.
22945 (SRC): Likewise.
22946 (LEN): Likewise.
22947 (memcpy): Likewise. Do not use BP_SYM.
22948 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22949 "bp-asm.h".
22950 (PARMS): Do not use macros from bp-asm.h.
22951 (DEST): Likewise.
22952 (SRC): Likewise.
22953 (LEN): Likewise.
22954 (memmove): Likewise. Do not use BP_SYM.
22955 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22956 "bp-asm.h".
22957 (PARMS): Do not use macros from bp-asm.h.
22958 (DEST): Likewise.
22959 (SRC): Likewise.
22960 (LEN): Likewise.
22961 (__mempcpy): Likewise. Do not use BP_SYM.
22962 (mempcpy): Do not use BP_SYM in weak_alias.
22963 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22964 "bp-asm.h".
22965 (PARMS): Do not use macros from bp-asm.h.
22966 (DEST): Likewise.
22967 (LEN): Likewise.
22968 [!BZERO_P] (CHR): Likewise.
22969 (memset): Likewise. Do not use BP_SYM.
22970 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22971 "bp-asm.h".
22972 (PARMS): Do not use macros from bp-asm.h.
22973 (STR2): Likewise.
22974 (strcmp): Do not use BP_SYM.
22975 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22976 "bp-asm.h".
22977 (PARMS): Do not use macros from bp-asm.h.
22978 (STR): Likewise.
22979 (DELIM): Likewise.
22980 [USE_AS_STRTOK_R] (SAVE): Likewise.
22981 (FUNCTION): Likewise. Do not use BP_SYM.
22982 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22983 aliases.
22984 (strtok_r): Likewise.
22985 (__GI___strtok_r): Likewise.
22986 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22987 (PARMS): Do not use macros from bp-asm.h.
22988 (S): Likewise.
22989 (SIZE): Likewise.
22990 (__mpn_lshift): Do not use BP_SYM.
22991 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22992 (PARMS): Do not use macros from bp-asm.h.
22993 (STR): Likewise.
22994 (CHR): Likewise.
22995 (__memchr): Do not use BP_SYM.
22996 (memchr): Do not use BP_SYM in weak_alias.
22997 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22998 (PARMS): Do not use macros from bp-asm.h.
22999 (BLK2): Likewise.
23000 (LEN): Likewise.
23001 (memcmp): Do not use BP_SYM.
23002 (bcmp): Do not use BP_SYM in weak_alias.
23003 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23004 (PARMS): Do not use macros from bp-asm.h.
23005 (S1): Likewise.
23006 (SIZE): Likewise.
23007 (__mpn_mul_1): Do not use BP_SYM.
23008 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23009 "bp-asm.h".
23010 (PARMS): Do not use macros from bp-asm.h.
23011 (STR): Likewise.
23012 (CHR): Likewise.
23013 (__rawmemchr): Do not use BP_SYM.
23014 (rawmemchr): Do not use BP_SYM in weak_alias.
23015 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23016 (PARMS): Do not use macros from bp-asm.h.
23017 (S): Likewise.
23018 (SIZE): Likewise.
23019 (__mpn_rshift): Do not use BP_SYM.
23020 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23021 (PARMS): Do not use macros from bp-asm.h.
23022 (SIGMSK): Likewise.
23023 (__sigsetjmp): Likewise. Do not use BP_SYM.
23024 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23025 (_start): Do not use BP_SYM.
23026 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23027 (PARMS): Do not use macros from bp-asm.h.
23028 (DEST): Likewise.
23029 (SRC): Likewise.
23030 (__stpcpy): Likewise. Do not use BP_SYM.
23031 (stpcpy): Do not use BP_SYM in weak_alias.
23032 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23033 "bp-asm.h".
23034 (PARMS): Do not use macros from bp-asm.h.
23035 (DEST): Likewise.
23036 (SRC): Likewise.
23037 (LEN): Likewise.
23038 (__stpncpy): Likewise. Do not use BP_SYM.
23039 (stpncpy): Do not use BP_SYM in weak_alias.
23040 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23041 (PARMS): Do not use macros from bp-asm.h.
23042 (STR): Likewise.
23043 (CHR): Likewise.
23044 (strchr): Likewise. Do not use BP_SYM.
23045 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23046 "bp-asm.h".
23047 (PARMS): Do not use macros from bp-asm.h.
23048 (STR): Likewise.
23049 (CHR): Likewise.
23050 (__strchrnul): Likewise. Do not use BP_SYM.
23051 (strchrnul): Do not use BP_SYM in weak_alias.
23052 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23053 "bp-asm.h".
23054 (PARMS): Do not use macros from bp-asm.h.
23055 (STOP): Likewise.
23056 (strcspn): Do not use BP_SYM.
23057 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23058 "bp-asm.h".
23059 (PARMS): Do not use macros from bp-asm.h.
23060 (STR): Likewise.
23061 (STOP): Likewise.
23062 (strpbrk): Likewise. Do not use BP_SYM.
23063 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23064 "bp-asm.h".
23065 (PARMS): Do not use macros from bp-asm.h.
23066 (STR): Likewise.
23067 (CHR): Likewise.
23068 (strrchr): Likewise. Do not use BP_SYM.
23069 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23070 (PARMS): Do not use macros from bp-asm.h.
23071 (SKIP): Likewise.
23072 (strspn): Do not use BP_SYM.
23073 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23074 (PARMS): Do not use macros from bp-asm.h.
23075 (STR): Likewise.
23076 (DELIM): Likewise.
23077 (SAVE): Likewise.
23078 (FUNCTION): Likewise. Do not use BP_SYM.
23079 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23080 aliases.
23081 (strtok_r): Likewise.
23082 (__GI___strtok_r): Likewise.
23083 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23084 (PARMS): Do not use macros from bp-asm.h.
23085 (S1): Likewise.
23086 (S2): Likewise.
23087 (SIZE): Likewise.
23088 (__mpn_sub_n): Do not use BP_SYM.
23089 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23090 "bp-asm.h".
23091 (PARMS): Do not use macros from bp-asm.h.
23092 (S1): Likewise.
23093 (SIZE): Likewise.
23094 (__mpn_submul_1): Do not use BP_SYM.
23095 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23096 <bp-sym.h>.
23097 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23098 and <bp-asm.h>.
23099 (PARMS): Do not use macros from bp-asm.h.
23100 (FLAGS): Likewise.
23101 (PTID): Likewise.
23102 (TLS): Likewise.
23103 (CTID): Likewise.
23104 (__clone): Do not use BP_SYM.
23105 (clone): Do not use BP_SYM in weak_alias.
23106 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23107 and <bp-asm.h>.
23108 (PARMS): Do not use macros from bp-asm.h.
23109 (LEN): Likewise.
23110 (__mmap64): Do not use BP_SYM.
23111 (mmap64): Do not use BP_SYM in weak_alias.
23112 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23113 <bp-sym.h> and <bp-asm.h>.
23114 (PARMS): Do not use macros from bp-asm.h.
23115 (__posix_fadvise64_l64): Do not use BP_SYM.
23116 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23117 (PARMS): Do not use macros from bp-asm.h.
23118 (NSOPS): Likewise.
23119 (semtimedop): Do not use BP_SYM.
23120 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23121 and <bp-asm.h>.
23122
582a3cff
AM
231232013-02-21 Allan McRae <allan@archlinux.org>
23124
23125 * manual/message.texi (Charset conversion in gettext):
23126 Move @end statement to beginning of line.
23127
bab8a695
SP
231282013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23129
80945231
SP
23130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23131 static.
23132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23133 Likewise.
23134
bab8a695
SP
23135 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23136 (denorm): Likewise.
23137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23139
e21d7aa7
AK
231402013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23141
23142 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23143 tail-call to the resolved function if pltexit isn't needed.
23144
4c7a4263
SP
231452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23146
23147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23148 or Y being zero as being unlikely.
23149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23150 Likewise.
23151
41f49342
CD
231522013-02-20 Carlos O'Donell <carlos@redhat.com>
23153
23154 * manual/nss.texi (System Databases and Name Service Switch):
23155 Remove frobnicate @pxref.
23156
50022a93
TS
231572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23158
23159 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23160 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23161
08cbd996
PM
231622013-02-20 Petr Machata <pmachata@redhat.com>
23163
23164 * elf/elf.h (R_ARM_TARGET1): New macro.
23165 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23166 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23167 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23168 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23169 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23170 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23171 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23172 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23173 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23174 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23175 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23176 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23177 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23178 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23179 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23180 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23181 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23182 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23183 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23184 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23185 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23186 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23187 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23188 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23189 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23190 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23191 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23192 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23193 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23194 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23195 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23196 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23197 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23198 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23199 (R_ARM_THM_GOT_BREL12): Likewise.
23200 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23201 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23202 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23203 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23204 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23205 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23206 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23207 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23208 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23209
c7b275d6
TS
232102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23211
23212 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23213 __attribute_used__ to __attribute__ ((unused)).
23214
20cd7fb3
SP
232152013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23216
23217 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23218 powerpc mpa.c.
23219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23220 comment formatting.
23221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23222
92945b52
JM
232232013-02-19 Joseph Myers <joseph@codesourcery.com>
23224
23225 [BZ #13550]
23226 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23227 Remove macro.
23228 (ENTER): Remove both macro definitions.
23229 (LEAVE): Likewise.
23230 (CHECK_BOUNDS_LOW): Likewise.
23231 (CHECK_BOUNDS_HIGH): Likewise.
23232 (CHECK_BOUNDS_BOTH): Likewise.
23233 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23234 (RETURN_BOUNDED_POINTER): Likewise.
23235 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23236 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23237 (POP_ERRNO_LOCATION_RETURN): Likewise.
23238 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23239 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23240 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23241 macros.
23242 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23243 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23244 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23245 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23246 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23247 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23248 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23249 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23250 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23251 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23252 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23253 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23254 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23255 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23256 removed macros.
23257 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23258 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23259 macros.
23260 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23261 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23262 * sysdeps/i386/i586/memset.S (memset): Likewise.
23263 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23264 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23265 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23266 macros.
23267 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23268 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23269 Change uses of L(2) to L(out).
23270 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23271 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23272 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23273 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23274 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23275 removed macros.
23276 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23277 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23278 macros.
23279 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23280 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23281 (RETURN): Do not use macro LEAVE.
23282 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23283 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23284 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23285 * sysdeps/i386/i686/memset.S (memset): Likewise.
23286 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23287 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23288 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23289 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23290 Likewise.
23291 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23292 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23293 L(1_2) and L(1_3) into L(1).
23294 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23295 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23296 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23297 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23298 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23299 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23300 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23301 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23302 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23303 macros.
23304 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23305 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23306 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23307 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23308 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23309 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23310 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23311 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23312 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23313 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23314 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23315 * sysdeps/i386/strspn.S (strspn): Likewise.
23316 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23317 conditional code.
23318 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23319 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23320 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23321 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23322 L(1_3) into L(1_1).
23323 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23324 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23325 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23326 macros.
23327 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23328
2389741a
JJ
233292013-02-19 Jakub Jelinek <jakub@redhat.com>
23330
23331 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23332 macro.
23333
2016b3cd
SP
233342013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23335
e4f22324
SP
23336 * math/atest-exp.c (exp_mpn): Remove ROUND.
23337 * math/atest-exp2.c (exp_mpn): Likewise.
23338 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23339
2016b3cd
SP
23340 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23341 * stdlib/tst-tls-atexit-lib.c: Likewise.
23342 * stdlib/tst-tls-atexit.c: Likewise.
23343
4be9b544
MF
233442013-02-18 Mike Frysinger <vapier@gentoo.org>
23345
23346 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23347 and __attribute_alloc_size__.
23348
2f62b9ee
MF
233492013-02-18 Mike Frysinger <vapier@gentoo.org>
23350
23351 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23352 __attribute_alloc_size__.
23353 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23354 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23355
6ff444c4
MF
233562013-02-18 Mike Frysinger <vapier@gentoo.org>
23357
23358 * include/programs/xmalloc.h: New file.
23359 * catgets/gencat.c: Include it.
23360 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23361 * elf/pldd.c: Likewise.
23362 * iconv/iconv_charmap.c: Likewise.
23363 * iconv/iconvconfig.c: Likewise.
23364 * iconv/strtab.c: Likewise.
23365 * locale/programs/locale.c: Likewise.
23366 * locale/programs/localedef.h: Likewise.
23367 * locale/programs/simple-hash.c: Likewise.
23368 * nscd/nscd.h: Likewise.
23369 * nss/makedb.c: Likewise.
23370 * sysdeps/generic/ldconfig.h: Likewise.
23371
be179c8a
SP
233722013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23373
ba384f6e
SP
23374 * Versions.def: Add GLIBC_2.18.
23375 * include/link.h (struct link_map): New member l_tls_dtor_count.
23376 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23377 (__call_tls_dtors): Likewise.
23378 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23379 __cxa_thread_atexit_impl.
23380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23381 Likewise.
23382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23383 Likewise.
23384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23385 Likewise.
23386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23387 Likewise.
23388 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23390 Likewise.
23391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23392 Likewise.
23393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23395 Likewise.
23396 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23397 (tests): Add test case tst-tls-atexit.
23398 (modules-names): Add shared library for tst-tls-atexit.
85891aca 23399 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
23400 (GLIBC_PRIVATE): Add __call_tls_dtors.
23401 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23402 for libstdc++.
23403 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23404 * stdlib/tst-tls-atexit.c: New test case.
23405 * stdlib/tst-tls-atexit-lib.c: New test case.
23406
ffaa74cf 23407 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 23408
be179c8a
SP
23409 * elf/Versions (ld): Add _dl_find_dso_for_object.
23410 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23411 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23412 (dl_open_worker): Use _dl_find_dso_for_object.
23413 * elf/dl-sym.c (do_sym): Likewise.
23414 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23415
f78b5caa
AK
234162013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23417
23418 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23419 Syntactic changes only.
23420 (_dl_runtime_profile): Do a tail-call to the resolved function.
23421
29691210
JM
234222013-02-17 Joseph Myers <joseph@codesourcery.com>
23423
23424 [BZ #13550]
23425 * sysdeps/x86_64/bp-asm.h: Remove file.
23426 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23427 <bp-sym.h> and <bp-asm.h>.
23428 (__clone): Do not use BP_SYM.
23429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23430 <bp-sym.h> and <bp-asm.h>.
23431 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23432 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23433 "bp-asm.h".
23434 (_setjmp): Do not use BP_SYM.
23435 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23436 "bp-asm.h".
23437 (setjmp): Do not use BP_SYM.
23438 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23439 libc_hidden_def.
23440 (mempcpy): Do not use BP_SYM in weak_alias.
23441 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23442 "bp-asm.h".
23443 (strchr): Do not use BP_SYM.
23444 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23445 "bp-asm.h".
23446 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23447 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23448 (_start): Do not use BP_SYM.
23449 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23450 "bp-asm.h".
23451 (strcat): Do not use BP_SYM.
23452 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23453 "bp-asm.h".
23454 (STRCMP): Do not use BP_SYM.
23455 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23456 "bp-asm.h".
23457 (STRCPY): Do not use BP_SYM.
23458 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23459 "bp-asm.h".
23460 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23461 "bp-asm.h".
23462 (FUNCTION): Do not use BP_SYM.
23463 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23464 weak_alias.
23465 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23466
f238fd19
AJ
234672013-02-17 Andreas Jaeger <aj@suse.de>
23468
23469 * time/Versions: Sort entries.
23470 * string/Versions: Likewise.
23471 * resolv/Versions: Likewise.
23472 * posix/Versions: Likewise.
23473 * iconv/Versions: Likewise.
23474 * elf/Versions: Likewise.
23475 * wcsmbs/Versions: Likewise.
23476
bd07f23c 234772013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23478
22af19f9
SP
23479 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23480 loop termination condition.
23481
4709fe76
SP
23482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23483 variable to calculate EZ.
23484 (__sqr): Likewise.
2d0e0f29
SP
23485
23486 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23487 the lower precision input.
23488
daaa7713
JM
234892013-02-15 Joseph Myers <joseph@codesourcery.com>
23490
23491 [BZ #13550]
23492 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23493 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23494 (run-via-rtld-prefix): Do not handle %-bp tests.
23495 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23496 (all-object-suffixes): Remove .ob.
23497 (bppfx): Remove variable.
23498 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23499 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23500 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23501 [$(build-bounded) = yes] (libtype.ob): Likewise.
23502 * Makerules (elide-routines.ob): Remove variable.
23503 (do-tests-clean): Do not handle *-bp.out.
23504 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23505 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23506 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23507 (tests): Do not include $(tests-bp.out).
23508 (xtests): Do not include $(xtests-bp.out).
23509 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23510 [$(build-bounded) = yes] ($(addprefix
23511 $(objpfx),$(binaries-bounded))): Remove rule.
23512 ($(objpfx)%-bp.out): Remove rule.
23513 * config.make.in (build-bounded): Remove variable.
23514 * crypt/Makefile [$(build-bounded) = yes]
23515 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23516 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23517 append to variable.
23518 [$(build-bounded) = yes] (install-lib): Likewise.
23519 [$(build-bounded) = yes] (generated): Likewise.
23520 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23521 Remove rule.
23522 * intl/Makefile [$(build-bounded) = yes]
23523 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23524 * math/Makefile [$(build-bounded) = yes]
23525 ($(tests:%=$(objpfx)%-bp): Likewise.
23526 * misc/Makefile [$(build-bounded) = yes]
23527 ($(objpfx)tst-tsearch-bp): Likewise.
23528 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23529 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23530 Remove dependency.
23531 * string/Makefile (o-objects.ob): Remove variable.
23532 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23533 (CFLAGS-.ob): Remove variable.
23534 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23535 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23536 both definitions of variable.
23537 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23538 (ASFLAGS-.ob): Remove variable.
23539
e97ed6dd
JM
235402013-02-14 Joseph Myers <joseph@codesourcery.com>
23541
2bdd4ca6
JM
23542 [BZ #13550]
23543 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23544 Remove __BOUNDED_POINTERS__ from condition.
23545 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23546 * string/bits/string2.h [!__NO_STRING_INLINES &&
23547 !__BOUNDED_POINTERS__]: Likewise.
23548 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23549 Likewise.
23550 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23551 Remove conditional code.
23552 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23553 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23554 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23555 condition.
23556
e97ed6dd
JM
23557 [BZ #13550]
23558 * csu/libc-start.c: Do not include <bp-sym.h>.
23559 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23560 * elf/dl-open.c: Do not include <bp-sym.h>.
23561 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23562 * math/fegetenv.c: Do not include <bp-sym.h>.
23563 (fegetenv): Do not use BP_SYM in versioned symbols.
23564 * nptl/sysdeps/pthread/bits/libc-lockP.h
23565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23566 <bp-sym.h>.
23567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23568 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23570 (__pthread_mutex_destroy): Likewise.
23571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23572 (__pthread_mutex_lock): Likewise.
23573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23574 (__pthread_mutex_trylock): Likewise.
23575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23576 (__pthread_mutex_unlock): Likewise.
23577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23578 (__pthread_mutexattr_init): Likewise.
23579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23580 (__pthread_mutexattr_destroy): Likewise.
23581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23582 (__pthread_mutexattr_settype): Likewise.
23583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23584 (__pthread_rwlock_init): Likewise.
23585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23586 (__pthread_rwlock_destroy): Likewise.
23587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23588 (__pthread_rwlock_rdlock): Likewise.
23589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23590 (__pthread_rwlock_tryrdlock): Likewise.
23591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23592 (__pthread_rwlock_wrlock): Likewise.
23593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23594 (__pthread_rwlock_trywrlock): Likewise.
23595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23596 (__pthread_rwlock_unlock): Likewise.
23597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23598 (__pthread_key_create): Likewise.
23599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23600 (__pthread_setspecific): Likewise.
23601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23602 (__pthread_getspecific): Likewise.
23603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23604 Likewise.
23605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23606 (_pthread_cleanup_push_defer): Likewise.
23607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23608 (_pthread_cleanup_pop_restore): Likewise.
23609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23610 (pthread_setcancelstate): Likewise.
23611 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23612 <bp-sym.h>.
23613 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23614 (memchr): Do not use BP_SYM in weak_alias.
23615 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23616 (fegetenv): Do not use BP_SYM in versioned symbols.
23617 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23618 (fesetenv): Do not use BP_SYM in versioned symbols.
23619 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23620 (feupdateenv): Do not use BP_SYM in versioned symbols.
23621 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23622 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23623 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23624 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23625 (open64): Do not use BP_SYM in weak_alias.
23626 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23627 (fegetenv): Do not use BP_SYM in versioned symbols.
23628 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23629 (fesetenv): Do not use BP_SYM in versioned symbols.
23630 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23631 (feupdateenv): Do not use BP_SYM in versioned symbols.
23632 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23633 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23634 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23635 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23636 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23637 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23638 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23639 <bp-sym.h>.
23640 (__libc_start_main): Do not use BP_SYM.
23641
d6752ccd
SP
236422013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23643
cb57ce60
SP
23644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23645 redundant return line.
23646 (norm): Likewise.
23647 (denorm): Likewise.
23648 (dbl_mp): Likewise.
23649 (sub_magnitudes): Likewise.
23650 (__add): Likewise.
23651 (__sub): Likewise.
23652 (__mul): Likewise.
23653 (__inv): Likewise.
23654 (__dvd): Likewise.
23655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23656 (norm): Likewise.
23657 (denorm): Likewise.
23658 (dbl_mp): Likewise.
23659 (sub_magnitudes): Likewise.
23660 (__add): Likewise.
23661 (__sub): Likewise.
23662 (__mul): Likewise.
23663 (__inv): Likewise.
23664 (__dvd): Likewise.
23665
f414520d
SP
23666 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23667 instead of __mul.
23668 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23669 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23670 (cc32): Likewise.
23671
d6752ccd
SP
23672 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23673 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23675 of __mul for squares.
23676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23677 function
23678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23679 Likewise.
23680 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23681 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23682
70d9946a
JM
236832013-02-13 Joseph Myers <joseph@codesourcery.com>
23684
23685 [BZ #13550]
23686 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23687 code.
23688 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23689 prototype or function definition. Rename ubp_* variables and
23690 parameters. Remove argv definitions conditional on
23691 [__BOUNDED_POINTERS__].
23692 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23693 * elf/dl-runtime.c (_dl_fixup): Likewise.
23694 * include/set-hooks.h (RUN_HOOK): Likewise.
23695 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23696 definition.
23697 * string/strcpy.c (strcpy): Do not use __unbounded.
23698 * sysdeps/generic/frame.h (struct layout): Likewise.
23699 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23700 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23701 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23702 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23703 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23704 (__backtrace): Likewise.
23705 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23706 use __ptrvalue.
23707 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23708 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23709 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23710 Likewise.
23711 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23712 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23713 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23714 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23715 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23716 Do not use __unbounded.
23717 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23718 Rename __unboundedrlimits parameter to rlimits in prototype.
23719 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23720 Do not use __unbounded.
23721 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23722 not use __ptrvalue.
23723 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23724 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23725 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23726 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23727 __ptrvalue or __unbounded.
23728 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23729 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23730 use __unbounded.
23731 (__new_msgctl): Do not use __ptrvalue.
23732 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23733 __unbounded.
23734 (__libc_msgrcv): Do not use __ptrvalue.
23735 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23736 startup_info): Do not use __unbounded.
23737 (__libc_start_main): Likewise. Rename ubp_* variables and
23738 parameters. Remove argv definitions conditional on
23739 [__BOUNDED_POINTERS__].
23740 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23741 __ptrvalue.
23742 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23743 use __unbounded.
23744 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23745 or __ptrvalue.
23746 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23747 use __unbounded.
23748 (__new_shmctl): Do not use __ptrvalue.
23749 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23750 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23751 Likewise.
23752 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23753 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23754 (__libc_sigaction): Likewise.
23755 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23756 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23757 Likewise.
23758 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23759
cc7834d6
OB
237602013-02-13 Ondřej Bílka <neleai@seznam.cz>
23761
ffb1ec7b 23762 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23763
23764 * string/mempcpy.c: Implement by calling memcpy.
23765
bdf02814
SP
237662013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23767
c2af38aa
SP
23768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23769
4e92d59e
SP
23770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23771 evaluation.
23772
909279a5
SP
23773 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23774 values in the mantissa.
23775
bdf02814
SP
23776 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23777 minimize writes to Z.
23778 (sub_magnitudes): Simplify code a bit.
23779
cd525923
RM
237802013-02-12 Roland McGrath <roland@hack.frob.com>
23781
23782 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23783 from the message. The linker prefixes all warnings with that already.
23784
7e2f0d2d
AS
237852013-02-12 Andreas Schwab <schwab@suse.de>
23786
a445af0b
AS
23787 [BZ #15078]
23788 * posix/regexec.c (extend_buffers): Add parameter min_len.
23789 (check_matching): Pass minimum needed length.
23790 (clean_state_log_if_needed): Likewise.
23791 (get_subexp): Likewise.
23792 * posix/Makefile (tests): Add bug-regex34.
23793 (bug-regex34-ENV): Define.
23794 * posix/bug-regex34.c: New file.
23795
7e2f0d2d
AS
23796 [BZ #11561]
23797 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23798 elements compare against the byte sequence of it, not its name.
23799 * posix/Makefile (tests): Add bug-regex35.
23800 (bug-regex35-ENV): Define.
23801 * posix/bug-regex35.c: New file.
23802
a175b684
TV
238032013-02-11 Tom de Vries <tom@codesourcery.com>
23804
23805 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23806 comment.
23807 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23808 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23809 (CHECK_EOL): Add undef.
23810
310998fe 238112013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23812
23813 * bits/stdlib-bsearch.h: New file.
23814 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23815 * stdlib/stdlib.h: Likewise.
41eda41d 23816
8ded91fb
RM
238172013-02-11 Roland McGrath <roland@hack.frob.com>
23818
23819 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23820 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23821 declaration.
23822 * manual/search.texi (Array Search Function): Add missing const in
23823 lfind prototype.
23824 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23825 declaration to use rlim_t.
23826 (Basic Scheduling Functions): Remove erroneous const from
23827 sched_getparam prototype. Remove erroneous * from
23828 sched_get_priority_max and sched_get_priority_min prototypes.
23829 (Resource Usage): Fix summary @comment on vtimes to refer to
23830 sys/vtimes.h rather than vtimes.h.
23831 Add missing *s in vtimes prototype.
23832 (Limits on Resources): Fix ulimit prototype to return long int.
23833 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23834 prototypes to use long int rather than double.
23835 (BSD Random): Fix initstate and setstate to use char *, not void *.
23836 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23837 prototype to make second argument 'struct aiocb64 *const[]'.
23838 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23839 (Status of AIO Operations): Remove erroneous const in aio_return and
23840 aio_return64 prototypes.
23841 (Synchronizing I/O): Fix sync prototype to return void.
23842 * manual/startup.texi (Suboptions): Remove an erroneous const in
23843 getsubopt prototype.
23844 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23845 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23846 use size_t rather than int.
23847 (Scanning All Users): Likewise for getpwent_r.
23848 (Setting Groups): Add missing const to setgroups prototype.
23849 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23850 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23851 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23852 'const void *' rather than 'const char *'.
23853 (Host Address Functions): Likewise for inet_ntop.
23854 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23855 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23856 ssize_t for return value.
23857 (Sending Data): Likewise for send, sendto, sendmsg.
23858 (Socket Option Functions): Add a missing const in setsockopt prototype.
23859 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23860 use wchar_t for the argument.
23861 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23862 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23863 take no arguments.
23864 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23865 double/float/long double for second argument.
23866 Fix return types of significand, significandf, significandl.
23867 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23868 argument in fchmod prototype.
23869 (File Owner): Use uid_t and gid_t in fchown prototype.
23870 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23871 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23872 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23873 use 'const struct dirent **' as argument types to CMP function pointer
23874 argument.
23875 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23876 (File Times): Fix summary magic @comment for struct utimbuf and utime
23877 to refer to utime.h, not time.h.
23878 * manual/string.texi (Argz Functions): Add missing const in
23879 argz_extract and argz_next prototypes.
23880 (Finding Tokens in a String): Likewise for basename.
23881 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23882 (Copying and Concatenation): Fix typo in wmemmove prototype.
23883 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23884 (Signal Stack): Remove erroneous const in sigstack prototype.
23885 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23886 prototype.
23887 (Simple Calendar Time): Likewise for stime.
23888 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23889 prototype.
23890 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23891 say sys/sysctl.h instead.
23892 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23893 and vsyslog prototypes.
23894
fe77fe6d
TV
238952013-02-11 Tom de Vries <tom@codesourcery.com>
23896
23897 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23898 Remove.
23899
3a09b620
RM
239002013-02-11 Roland McGrath <roland@hack.frob.com>
23901
23902 * misc/sys/mman.h: Fix typo in mremap comment.
23903
550a0b89
RM
239042013-02-08 Roland McGrath <roland@hack.frob.com>
23905
23906 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23907 the '\0' terminator.
23908
a2da1673
JM
239092013-02-08 Joseph Myers <joseph@codesourcery.com>
23910
23911 [BZ #13550]
23912 * debug/segfault.c: Don't include <bp-checks.h>.
23913 * sysdeps/generic/bp-checks.h: Remove file.
23914 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23915 (__GETDENTS): Don't use CHECK_N.
23916 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23917 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23918 (__getgroups): Don't use CHECK_N.
23919 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23920 (setgroups): Don't use CHECK_N.
23921 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23922 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23923 (__libc_msgrcv): Don't use CHECK_N.
23924 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23925 (__libc_msgsnd): Don't use CHECK_N.
23926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23927 <bp-checks.h>.
23928 (__libc_pread): Don't use CHECK_N.
23929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23930 include <bp-checks.h>.
23931 (__libc_pread64): Don't use CHECK_N.
23932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23933 include <bp-checks.h>.
23934 (__libc_pwrite): Don't use CHECK_N.
23935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23936 include <bp-checks.h>.
23937 (__libc_pwrite64): Don't use CHECK_N.
23938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23939 <bp-checks.h>.
23940 (__libc_pread): Don't use CHECK_N.
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23942 include <bp-checks.h>.
23943 (__libc_pread64): Don't use CHECK_N.
23944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23945 include <bp-checks.h>.
23946 (__libc_pwrite): Don't use CHECK_N.
23947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23948 include <bp-checks.h>.
23949 (__libc_pwrite64): Don't use CHECK_N.
23950 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23951 (do_pread): Don't use CHECK_N.
23952 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23953 (do_pread64): Don't use CHECK_N.
23954 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23955 (do_pwrite): Don't use CHECK_N.
23956 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23957 (do_pwrite64): Don't use CHECK_N.
23958 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23959 (__libc_readv): Don't use CHECK_N.
23960 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23961 (semop): Don't use CHECK_N.
23962 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23963 <bp-checks.h>.
23964 (semtimedop): Don't use CHECK_N.
23965 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23966 (__libc_pread): Don't use CHECK_N.
23967 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23968 <bp-checks.h>.
23969 (__libc_pread64): Don't use CHECK_N.
23970 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23971 <bp-checks.h>.
23972 (__libc_pwrite): Don't use CHECK_N.
23973 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23974 <bp-checks.h>.
23975 (__libc_pwrite64): Don't use CHECK_N.
23976 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23977 <bp-checks.h>.
23978 (__libc_msgrcv): Don't use CHECK_N.
23979 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23980 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23981 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23982 (__libc_writev): Don't use CHECK_N.
23983
b84660a8
RM
239842013-02-08 Roland McGrath <roland@hack.frob.com>
23985
7f3e75f8
RM
23986 * string/strcpy.c: Removed unused variable.
23987
b84660a8
RM
23988 * Makeconfig (+sysdep-includes): Define with := rather than =.
23989 Use an existing include/ subdir of each sysdeps dir before it.
23990
471514d3
CD
239912013-02-08 Carlos O'Donell <carlos@redhat.com>
23992
23993 * nscd/connection.c (register_traced_file): Comment function.
23994 [HAVE_INOTIFY] (union __inev): Define.
23995 [HAVE_INOTIFY] (inotify_check_files): New function.
23996 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23997 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23998 clear_db_cache.
23999 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24000
b2d3c3be
CD
240012013-02-08 Carlos O'Donell <carlos@redhat.com>
24002
24003 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24004 loaded if not already and that a failure is permanent.
24005
b39949d2
CD
240062013-02-08 Carlos O'Donell <carlos@redhat.com>
24007
ddacd1db 24008 [BZ #15006]
b39949d2
CD
24009 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24010 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24011
b2c9eff4
JM
240122013-02-08 Joseph Myers <joseph@codesourcery.com>
24013
f3aae3f3
JM
24014 [BZ #13550]
24015 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24016 (CHECK_1_NULL_OK): Likewise.
24017 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24018 (__fxstat): Do not use CHECK_1.
24019 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24020 <bp-checks.h>.
24021 (___fxstat64): Do not use CHECK_1.
24022 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24023 <bp-checks.h>.
24024 (__fxstatat): Do not use CHECK_1.
24025 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24026 <bp-checks.h>.
24027 (__fxstatat64): Do not use CHECK_1.
24028 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24029 <bp-checks.h>.
24030 (__fxstat): Do not use CHECK_1.
24031 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24032 <bp-checks.h>.
24033 (__fxstatat): Do not use CHECK_1.
24034 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24035 <bp-checks.h>.
24036 (__getresgid): Do not use CHECK_1.
24037 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24038 <bp-checks.h>.
24039 (__getresuid): Do not use CHECK_1.
24040 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24041 <bp-checks.h>.
24042 (__lxstat): Do not use CHECK_1.
24043 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24044 <bp-checks.h>.
24045 (__old_msgctl): Do not use CHECK_1.
24046 (__new_msgctl): Likewise.
24047 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24048 <bp-checks.h>.
24049 (__new_setrlimit): Do not use CHECK_1.
24050 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24051 <bp-checks.h>.
24052 (__old_shmctl): Do not use CHECK_1.
24053 (__new_shmctl): Likewise.
24054 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24055 <bp-checks.h>.
24056 (__xstat): Do not use CHECK_1.
24057 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24058 (__lxstat): Do not use CHECK_1.
24059 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24060 <bp-checks.h>.
24061 (___lxstat64): Do not use CHECK_1.
24062 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24063 (__old_msgctl): Do not use CHECK_1.
24064 (__new_msgctl): Likewise.
24065 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24066 <bp-checks.h>.
24067 (__gettimeofday): Do not use CHECK_1.
24068 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24069 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24070 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24071 <bp-checks.h>.
24072 (__gettimeofday): Do not use CHECK_1.
24073 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24074 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24075 (__new_shmctl): Do not use CHECK_1.
24076 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24077 <bp-checks.h>.
24078 (do_sigtimedwait): Do not use CHECK_1.
24079 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24080 <bp-checks.h>.
24081 (do_sigwaitinfo): Do not use CHECK_1.
24082 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24083 <bp-checks.h>.
24084 (msgctl): Do not use CHECK_1.
24085 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24086 <bp-checks.h>.
24087 (shmctl): Do not use CHECK_1.
24088 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24089 (ustat): Do not use CHECK_1.
24090 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24091 <bp-checks.h>.
24092 (__fxstat): Do not use CHECK_1.
24093 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24094 <bp-checks.h>.
24095 (__fxstatat): Do not use CHECK_1.
24096 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24097 <bp-checks.h>.
24098 (__lxstat): Do not use CHECK_1.
24099 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24100 <bp-checks.h>.
24101 (__xstat): Do not use CHECK_1.
24102 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24103 (__xstat): Do not use CHECK_1.
24104 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24105 (___xstat64): Do not use CHECK_1.
24106
b2c9eff4
JM
24107 [BZ #13550]
24108 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24109 definitions.
24110 (CHECK_BOUNDS_HIGH): Likewise.
24111 * string/strcpy.c: Do not include <bp-checks.h>.
24112 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24113
f1d70dad
RM
241142013-02-07 Roland McGrath <roland@hack.frob.com>
24115
24116 * nscd/nscd-client.h (__nscd_drop_map_ref):
24117 Add __attribute__ ((unused)).
24118 * nis/nss-nisplus.h (niserr2nss): Likewise.
24119
24120 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24121 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24122
24123 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24124 Remove inline keyword.
24125 * include/rounding-mode.h (round_away): Likewise.
24126 * libio/wfileops.c (adjust_wide_data): Likewise.
24127 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24128 (__m128i_strloadu_tolower): Likewise.
24129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24130 (__m128i_strloadu_tolower): Likewise.
24131 * time/mktime.c (ydhms_diff): Likewise.
24132 * locale/elem-hash.h (elem_hash): Likewise.
24133 * locale/setlocale.c (setdata): Likewise.
24134 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24135 (re_string_wchar_at): Likewise.
24136 (bitset_not, bitset_merge, bitset_mask): Likewise.
24137 [!(__GNUC__ > 3)] (inline): Remove macro.
24138 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24139 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24140 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24141 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24142 * string/memcmp.c (memcmp_bytes): Likewise.
24143 * locale/programs/locarchive.c (compute_hashval): Likewise.
24144 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24145 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24146 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24147 * nss/getent.c (print_rpc, print_protocols): Likewise.
24148 (print_passwd, print_group, print_aliases): Likewise.
24149 * nis/nss-nisplus.h (niserr2nss): Likewise.
24150 * nscd/connections.c (restart_p): Likewise.
24151 Change return type to bool.
24152
eab55bfb
RM
241532013-02-05 Roland McGrath <roland@hack.frob.com>
24154
7bd642f5
RM
24155 * Makeconfig (all-Depend-files): Add existing
24156 $(sorted-subdirs:=/Depend) files.
24157 (all-subdirs): Remove nss.
24158 * sysdeps/unix/inet/Subdirs: Add it here instead.
24159 * hesiod/Depend: New file.
24160
573c29b2
RM
24161 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24162 instead of calling alloca.
24163
b2e25af0
RM
24164 * io/lseek.c (__lseek): Rename to __libc_lseek.
24165 Define __lseek as an alias.
24166
eab55bfb
RM
24167 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24168
9a0d1941
CD
241692013-02-04 Carlos O'Donell <carlos@redhat.com>
24170
24171 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24172 else clause and remove check for non-standard endianness.
24173
b83bbec4
DM
241742013-02-04 David S. Miller <davem@davemloft.net>
24175
24176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24177
6277fdab
JM
241782013-02-04 Joseph Myers <joseph@codesourcery.com>
24179
24180 [BZ #13550]
24181 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24182 (__ubp_memchr): Remove prototype.
24183 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24184 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24185 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24186 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24187 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24188 Remove alias.
24189 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24190 (__ubp_memchr): Likewise.
24191 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24192 (__ubp_memchr): Likewise.
24193 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24194 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24195 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24196 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24197 CHECK_STRING.
24198 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24199 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24200 (__getcwd): Do not use CHECK_STRING.
24201 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24202 <bp-checks.h>.
24203 (__real_chown): Do not use CHECK_STRING.
24204 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24205 <bp-checks.h>.
24206 (fchownat): Do not use CHECK_STRING.
24207 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24208 CHECK_STRING.
24209 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24210 <bp-checks.h>.
24211 (__lchown): Do not use CHECK_STRING.
24212 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24213 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24214 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24215 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24217 include <bp-checks.h>.
24218 (truncate64): Do not use CHECK_STRING.
24219 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24220 <bp-checks.h>.
24221 (__real_chown): Do not use CHECK_STRING.
24222 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24223 <bp-checks.h>.
24224 (__lchown): Do not use CHECK_STRING.
24225 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24226 <bp-checks.h>.
24227 (__chown): Do not use CHECK_STRING.
24228 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24229 <bp-checks.h>.
24230 (truncate64): Do not use CHECK_STRING.
24231 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24232 Likewise.
24233 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24234 (__xmknod): Do not use CHECK_STRING.
24235 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24236 <bp-checks.h>.
24237 (__xmknodat): Do not use CHECK_STRING.
24238 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24239 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24240
903ae060
AS
242412013-02-04 Andreas Schwab <schwab@suse.de>
24242
24243 [BZ #14142]
24244 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24245 * include/netdb.h: Likewise for h_errno.
24246 * elf/tst-stackguard1.c: Include <tls.h>.
24247
542f9466
JK
242482013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24249
24250 * elf/link.h (struct link_map): Extend the l_addr comment.
24251 * include/link.h (struct link_map): Likewise.
24252
e782a927
JM
242532013-02-01 Joseph Myers <joseph@codesourcery.com>
24254
24255 [BZ #13550]
24256 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24257 (BOUNDED_1): Remove macro.
24258 * debug/backtrace.c: Don't include <bp-checks.h>.
24259 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24260 (__backtrace): Likewise.
24261 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24262 <bp-checks.h>.
24263 (__backtrace): Don't use BOUNDED_1.
24264 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24265 <bp-checks.h>.
24266 (__backtrace): Don't use BOUNDED_1.
24267 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24268 (__backtrace): Don't use BOUNDED_1.
24269 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24270 (shmat): Don't use BOUNDED_N.
24271
8cf28c5e
JM
242722013-01-31 Joseph Myers <joseph@codesourcery.com>
24273
3a7ac8a0
JM
24274 [BZ #13550]
24275 * sysdeps/generic/bp-start.h: Remove file.
24276 * csu/libc-start.c: Don't include <bp-start.h>.
24277 (LIBC_START_MAIN): Set up __environ directly instead of using
24278 INIT_ARGV_and_ENVIRON.
24279 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24280 <bp-start.h>.
24281
f3499f95
JM
24282 [BZ #13550]
24283 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24284 definitions.
24285 (CHECK_FCNTL): Likewise.
24286 (CHECK_N_PAGES): Likewise.
24287
32a45bea
JM
24288 [BZ #13550]
24289 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24290 definitions.
24291 (CHECK_SIGSET_NULL_OK): Likewise.
24292 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24293 <bp-checks.h>.
24294 (sigpending): Don't use CHECK_SIGSET.
24295 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24296 <bp-checks.h>.
24297 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24298 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24299 <bp-checks.h>.
24300 (do_sigsuspend): Don't use CHECK_SIGSET.
24301 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24302 use CHECK_SIGSET.
24303 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24304 (do_sigwait): Don't use CHECK_SIGSET.
24305 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24306 use CHECK_SIGSET.
24307 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24308 include <bp-checks.h>.
24309 (sigpending): Don't use CHECK_SIGSET.
24310 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24311 include <bp-checks.h>.
24312 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24313 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24314 <bp-checks.h>.
24315 (sigpending): Don't use CHECK_SIGSET.
24316 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24317 <bp-checks.h>.
24318 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24319
2e8a5c8c
JM
24320 [BZ #13550]
24321 * sysdeps/generic/bp-semctl.h: Remove file.
24322 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24323 <bp-checks.h> and <bp-semctl.h>.
24324 (__old_semctl): Don't use CHECK_SEMCTL.
24325 (__new_semctl): Likewise.
24326 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24327 and <bp-semctl.h>.
24328 (__old_semctl): Don't use CHECK_SEMCTL.
24329 (__new_semctl): Likewise.
24330 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24331 <bp-checks.h> and <bp-semctl.h>.
24332 (__old_semctl): Don't use CHECK_SEMCTL.
24333 (__new_semctl): Likewise.
24334 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24335 <bp-checks.h> and <bp-semctl.h>.
24336 (semctl): Don't use CHECK_SEMCTL.
24337
c2d54929
JM
24338 [BZ #13550]
24339 * Makerules (elide-bp-thunks): Remove variable.
24340 (elide-routines.oS): Don't use $(elide-bp-thunks).
24341 (elide-routines.os): Likewise.
24342 (elide-routines.o): Likewise.
24343 (elide-routines.op): Likewise.
24344 (elide-routines.og): Likewise.
24345 (objects): Don't use $(bp-thunks).
24346 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24347 include.
24348 (common-generated): Do not add s-proto-bp.d.
24349 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24350 (int): Likewise.
24351 (typ): Likewise.
24352 Do not generate makefile rules for bounded-pointer thunks.
24353 * sysdeps/generic/bp-thunks.h: Remove file.
24354 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24355 * sysdeps/unix/s-proto-bp.S: Likewise.
24356
8cf28c5e
JM
24357 [BZ #15062]
24358 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24359 parts of result separately when argument is not close to line from
24360 -i to i and one part of argument is small.
24361 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24362 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24363 * math/libm-test.inc (cacos_test): Add more tests.
24364 (casin_test): Likewise.
24365 (casinh_test): Likewise.
24366 * sysdeps/i386/fpu/libm-test-ulps: Update.
24367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24368
c4e33b8d
DM
243692013-01-31 David S. Miller <davem@davemloft.net>
24370
24371 * po/de.po: Update from translation team.
24372
3b60b421
MK
243732013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24374
24375 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24376
bb931195
TS
243772013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24378
b5a5da23
TS
24379 * configure.in (_AC_PROG_CC_C89): New definition.
24380 * configure: Regenerate.
24381
bb931195
TS
24382 * configure.in (AC_PROG_CPP): New definition.
24383 * configure: Regenerate.
24384
8c53a12c
JM
243852013-01-23 Joseph Myers <joseph@codesourcery.com>
24386
24387 * debug/tst-backtrace.h: New file.
24388 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24389 (ret): Remove variable.
24390 (x): Likewise.
24391 (FAIL): Remove macro.
24392 (NO_INLINE): Likewise.
24393 (fn1): Use match function instead of strstr.
24394 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24395 (ret): Remove variable.
24396 (x): Likewise.
24397 (FAIL): Remove macro.
24398 (NO_INLINE): Likewise.
24399 (fn): Use match function instead of strstr.
24400 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24401 (ret): Remove variable.
24402 (x): Likewise.
24403 (FAIL): Remove macro.
24404 (NO_INLINE): Likewise.
24405 (handle_signal): Use match function instead of strstr.
24406 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24407 (ret): Remove variable.
24408 (x): Likewise.
24409 (FAIL): Remove macro.
24410 (NO_INLINE): Likewise.
24411 (handle_signal): Use match function instead of strstr.
24412
4858fa2a
RM
244132013-01-23 Roland McGrath <roland@hack.frob.com>
24414
24415 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24416
bae8e7f5
DM
244172013-01-23 David S. Miller <davem@davemloft.net>
24418
24419 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24420 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24421 argument of CAS if possible.
24422 * sysdeps/sparc/sparc64/bits/atomic.h
24423 (__arch_compare_and_exchange_val_32_acq): Likewise.
24424 (__arch_compare_and_exchange_val_64_acq): Likewise.
24425
9cbbc4ae
PT
244262013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24427
24428 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24429 * sysdeps/posix/ulimit.c: ... this.
92a601b8 24430 Include <limits.h>.
67b3f58c 24431 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 24432
5655a0b5
AC
244332013-01-23 Adam Conrad <adconrad@0c3.net>
24434
24435 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24436 (LDFLAGS-tst-array5): Likewise.
24437
052aff95
JM
244382013-01-23 Joseph Myers <joseph@codesourcery.com>
24439
24440 [BZ #15036]
24441 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24442 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24443 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24444 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24445
7c1e01aa
DM
244462013-01-21 David S. Miller <davem@davemloft.net>
24447
24448 * sysdeps/sparc/backtrace.c: New file.
24449 * sysdeps/sparc/sparc32/backtrace.h: New file.
24450 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24451 * sysdeps/sparc/sparc64/backtrace.h: New file.
24452 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24453 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24454 -funwind-tables.
24455
ab087e0a
AS
244562013-01-21 Andreas Schwab <schwab@suse.de>
24457
24458 [BZ #15020]
24459 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24460 closed its stdout.
24461
ed689c2f
AS
244622013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24463
24464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24465 "mpa2.h".
24466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24467
31d470ac
JM
244682013-01-18 Joseph Myers <joseph@codesourcery.com>
24469 Mark Mitchell <mark@codesourcery.com>
24470 Tom de Vries <tom@codesourcery.com>
24471 Paul Pluzhnikov <ppluzhnikov@google.com>
24472
24473 * debug/tst-backtrace2.c: New file.
24474 * debug/tst-backtrace3.c: Likewise.
24475 * debug/tst-backtrace4.c: Likewise.
24476 * debug/tst-backtrace5.c: Likewise.
24477 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24478 (CFLAGS-tst-backtrace3.c): Likewise.
24479 (CFLAGS-tst-backtrace4.c): Likewise.
24480 (CFLAGS-tst-backtrace5.c): Likewise.
24481 (LDFLAGS-tst-backtrace2): Likewise.
24482 (LDFLAGS-tst-backtrace3): Likewise.
24483 (LDFLAGS-tst-backtrace4): Likewise.
24484 (LDFLAGS-tst-backtrace5): Likewise.
24485 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24486 tst-backtrace4 and tst-backtrace5.
24487
90567f30 244882013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24489 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24490
24491 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24492 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24493 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24494 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24496 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24497 "+r" and remove output regs list as redundant. Add explicit inline
24498 asm to specify register of return val to work around compiler codegen
24499 bug. Remove (int) cast on return value. Add return type parameter to
24500 use in macro so that this macro does not truncate return value for
24501 64-bit values.
24502 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24503 pass to INTERNAL_VSYSCALL_NCS.
24504 (INLINE_VSYSCALL): Add 'long int' as return type to
24505 INTERNAL_VSYSCALL_NCS macro invocation.
24506 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24507 INTERNAL_VSYSCALL_NCS macro invocation.
24508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24509
d3b9ea61
SP
245102013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24511
0b57daeb
SP
24512 [BZ #14496]
24513 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24514 Fix application of SIMD FP exception mask.
24515
caa99d06
SP
24516 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24517 mp_no from a power of two.
24518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24519 __mpexp_twomm1. Use __pow_mp.
24520
d3b9ea61
SP
24521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24522 multiplication.
24523
1dbaee3c
DM
245242013-01-17 David S. Miller <davem@davemloft.net>
24525
24526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24527
728d7b43
JM
245282013-01-17 Joseph Myers <joseph@codesourcery.com>
24529
24530 [BZ #15023]
24531 * include/complex.h: Condition contents on [!_COMPLEX_H].
24532 (__kernel_casinhf): New prototype.
24533 (__kernel_casinh): Likewise.
24534 (__kernel_casinhl): Likewise.
24535 * math/Makefile (libm_calls): Add k_casinh.
24536 * math/k_casinh.c: New file.
24537 * math/k_casinhf.c: Likewise.
24538 * math/k_casinhl.c: Likewise.
24539 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24540 finite nonzero arguments.
24541 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24542 finite nonzero arguments.
24543 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24544 finite nonzero arguments.
24545 * math/s_casinh.c: Do not include <float.h>.
24546 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24547 * math/s_casinhf.c: Do not include <float.h>.
24548 (__casinhf): Move code for finite nonzero arguments to
24549 k_casinhf.c.
24550 * math/s_casinhl.c: Do not include <float.h>.
24551 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24552 redefine.
24553 (__casinhl): Move code for finite nonzero arguments to
24554 k_casinhl.c.
24555 * math/libm-test.inc (cacos_test): Add more tests.
24556 * sysdeps/i386/fpu/libm-test-ulps: Update.
24557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24558
2a26ef3a
PT
245592013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24560
24561 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24562 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24563 [!HAVE_MREMAP]: Remove [defined linux] case.
24564 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24565
a897655d
SP
245662013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24567
24568 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24569
881ebe89 245702013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24571
24572 * elf/elf.h (R_386_SIZE32): New relocation.
24573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24574 R_386_SIZE32.
24575 (elf_machine_rela): Likewise.
24576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24577 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24578
59981e9b
JM
245792013-01-17 Joseph Myers <joseph@codesourcery.com>
24580
24581 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24582 (FP_FAST_FMA): Do not define.
24583 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24584 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24585 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24586 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24587 !_SOFT_FLOAT]: Likewise.
24588 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24589 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24590 value.
24591 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24592 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24593 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24594 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24595 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24596 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24597 file.
24598
cfa8054f
AS
245992013-01-16 Andreas Schwab <schwab@suse.de>
24600
24601 [BZ #14327]
24602 * include/stdlib.h (__mktemp): Add declaration.
24603 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24604 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24605
dd930cc5
SP
246062013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24607
881ebe89
SP
24608 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24609 definitions.
24610 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24611 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24612 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24613 definitions here.
24614 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24615 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24616 definitions.
24617 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24618 and ONE.
24619 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24620 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24621 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24622 definitions.
24623 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24624 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24625 definitions.
24626 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24627
dd930cc5
SP
24628 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24629
c19a9f89
DM
246302013-01-15 David S. Miller <davem@davemloft.net>
24631
1aa61767
DM
24632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24633 trunc{,f} to libm-sysdep_routes.
24634 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24636 file.
24637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24639 file.
24640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24641 file.
24642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24644 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24645 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24646 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24647 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24648 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24649 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24650
c42d5e98
DM
24651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24652 nearbyint{,f} to libm-sysdep_routes.
24653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24655 New file.
24656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24657 file.
24658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24659 New file.
24660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24661 file.
24662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24664 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24665 file.
24666 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24667 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24668 file.
24669 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24670 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24671 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24672
c19a9f89
DM
24673 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24674 libc_feholdexcept and libc_fesetenv.
24675
357679d2
MF
246762013-01-15 Mike Frysinger <vapier@gentoo.org>
24677
24678 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24679
65a82e3d
DM
246802013-01-14 David S. Miller <davem@davemloft.net>
24681
8b954ab9
DM
24682 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24683 (SPARC_ASM_VIS2_IFUNC): Likewise.
24684 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24686 use of 'siam' instruction.
24687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24688 Likewise.
24689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24690 Likewise.
24691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24692 Likewise.
24693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24698 file.
24699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24700 file.
24701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24702 file.
24703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24704 file.
24705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24710 new VIS2 routines.
24711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24714 Likewise.
24715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24720 routines to libm-sysdep_routines.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24722
65a82e3d
DM
24723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24724 fdim/fdimf to libm-sysdep_routines.
24725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24726 file.
24727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24729 file.
24730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24733 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24734 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24735 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24736 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24737
e34ab705
SP
247382013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24739
2a91b573
SP
24740 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24741 to optimize copies.
24742
1066a534
SP
24743 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24746
e34ab705
SP
24747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24748 local variable MPTWO.
24749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24750 Likewise.
24751
aba5e596
MF
247522013-01-13 Mike Frysinger <vapier@gentoo.org>
24753
24754 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24755 GLOB_NOESCAPE.
24756
e557e9e5
MF
247572013-01-13 Mike Frysinger <vapier@gentoo.org>
24758
24759 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24760
0428cec9
MF
247612013-01-13 Mike Frysinger <vapier@gentoo.org>
24762
24763 * manual/pattern.texi (glob_t): Document gl_flags.
24764 (glob64_t): Likewise.
24765
8794a964
DM
247662013-01-11 David S. Miller <davem@davemloft.net>
24767
66438c3f
RM
24768 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24769 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24770 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24771 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24772 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24773 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24774 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24775 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24776 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24777 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24778 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24779 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24780 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24781
4ae4244d
DM
24782 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24783 sparc V9 rather than using V8 code.
24784 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24785 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24786
8794a964
DM
24787 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24788 Move to...
24789 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24790 Here.
24791
6270516e
RM
247922013-01-11 Roland McGrath <roland@hack.frob.com>
24793
24794 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24795 not in the main loop.
24796 * configure: Regenerated.
24797
6a57d931
JM
247982013-01-11 Joseph Myers <joseph@codesourcery.com>
24799
24800 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24801 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24802 to just #else.
24803 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24804 [!__GLIBC_HAVE_LONG_LONG] case.
24805 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24806 condition to just #else.
24807 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24808 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24809 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24810 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24811 unconditional.
24812 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24813 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24814 #elif condition to just #else.
24815 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24816 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24817 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24818 #elif condition to just #else.
24819
0e8529e9
SE
248202013-01-11 Steve Ellcey <sellcey@mips.com>
24821
24822 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24823 (EF_MIPS_ARCH_64): Fix value.
24824 (EF_MIPS_ARCH_32R2): New.
24825 (EF_MIPS_ARCH_64R2): New.
24826
740b3dbe
L
248272013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24828
24829 * Makeconfig (+link-pie-before-libc): New.
24830 (+link-pie-after-libc): Likewise.
24831 (+link-pie-tests): Likewise.
24832 (+link-pie): Rewritten.
24833 (link-before-libc): Remove $(config-LDFLAGS).
24834 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24835 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24836 (config-LDFLAGS): Renamed to ...
24837 (rtld-LDFLAGS): This.
24838 (rtld-tests-LDFLAGS): New macro.
24839 (link-libc-rpath-link): Likewise.
24840 (link-libc-tests-rpath-link): Likewise.
24841 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24842 (link-libc): Prepand $(link-libc-rpath-link).
24843 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24844 (test-program-prefix): New macro.
24845 (test-via-rtld-prefix): Likewise.
24846 (test-program-cmd): Likewise.
24847 (host-test-program-cmd): Likewise.
24848 * Makefile ($(common-objpfx)testrun.sh): Replace
24849 $(run-program-prefix) with $(test-program-prefix).
24850 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24851 $(rtld-LDFLAGS).
24852 ($(common-objpfx)shlib.lds): Likewise.
24853 (build-module-helper): Likewise.
24854 ($(common-objpfx)format.lds): Likewise.
24855 * Rules (binaries-pie-tests): New.
24856 (binaries-pie-notests): Likewise.
24857 (binaries-pie): Rewritten.
24858 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24859 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24860 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24861 (make-test-out): Replace $(host-built-program-cmd) with
24862 $(host-test-program-cmd).
24863 * config.make.in (build-hardcoded-path-in-tests): New variable.
24864 * configure.in (--enable-hardcoded-path-in-tests): New configure
24865 option.
24866 (hardcoded_path_in_tests): New AC_SUBST.
24867 * configure: Regenerated.
24868 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24869 $(built-program-cmd) with $(test-program-cmd).
24870 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24871 (test_program_cmd): This.
24872 * elf/Makefile ($(objpfx)order.out): Run test with
24873 $(test-program-prefix).
24874 ($(objpfx)order2.out): Likewise.
24875 ($(objpfx)tst-initorder.out): Likewise.
24876 ($(objpfx)tst-initorder2.out): Likewise.
24877 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24878 $(test-program-cmd).
24879 ($(objpfx)tst-array1-static.out): Likewise.
24880 ($(objpfx)tst-array2.out): Likewise.
24881 ($(objpfx)tst-array3.out): Likewise.
24882 ($(objpfx)tst-array4.out): Likewise.
24883 ($(objpfx)tst-array5.out): Likewise.
24884 ($(objpfx)tst-array5-static.out): Likewise.
24885 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24886 $(test-program-cmd).
24887 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24888 $(run-program-prefix) with $(test-program-prefix).
24889 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24890 (test_program_prefix): This.
24891 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24892 $(run-program-prefix) with $(test-program-prefix).
24893 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24894 (test_program_prefix): This.
24895 * iconvdata/tst-tables.sh: Likewise.
24896 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24897 $(run-program-prefix) with $(test-program-prefix).
24898 ($(objpfx)tst-translit.out): Likewise.
24899 ($(objpfx)tst-gettext2.out): Likewise.
24900 ($(objpfx)tst-gettext4.out): Likewise.
24901 ($(objpfx)tst-gettext6.out): Likewise.
24902 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24903 (test_program_prefix): This.
24904 * intl/tst-gettext2.sh: Likewise.
24905 * intl/tst-gettext4.sh Likewise.
24906 * intl/tst-gettext6.sh: Likewise.
24907 * intl/tst-translit.sh: Likewise.
24908 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24909 with $(test-program-cmd).
24910 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24911 $(run-program-prefix) with $(test-program-prefix).
24912 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24913 (test_program_prefix): This.
24914 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24915 $(run-program-prefix) with $(test-program-prefix).
24916 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24917 (test_program_prefix): This.
24918 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24919 * posix/Makefile ($(objpfx)globtest.out): Replace
24920 $(run-via-rtld-prefix) and $(test-wrapper) with
24921 $(test-program-prefix) and $(test-via-rtld-prefix).
24922 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24923 $(test-program-prefix).
24924 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24925 $(host-test-program-cmd).
24926 (tst-spawn-ARGS): Likewise.
24927 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24928 $(test-program-prefix).
24929 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24930 (test_via_rtld_prefix): This.
24931 (test_wrapper): Renamed to ...
24932 (test_program_prefix): This.
24933 (run_program_prefix): Replaced by test_program_prefix.
24934 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24935 (test_program_prefix): This.
24936 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24937 with $(host-test-program-cmd).
24938 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24939 $(run-program-prefix) with $(test-program-prefix).
24940 ($(objpfx)tst-printf.out): Likewise.
24941 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24942 $(test-program-cmd).
24943 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24944 (test_program_prefix): This.
24945 * stdio-common/tst-unbputc.sh: Likewise.
24946 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24947 $(run-program-prefix) with $(test-program-prefix).
24948 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24949 (test_program_prefix): This.
24950 * string/Makefile ($(objpfx)tst-svc.out): Replace
24951 $(built-program-cmd) with $(test-program-cmd).
24952
c6fe55cf
AJ
249532013-01-11 Andreas Jaeger <aj@suse.de>
24954
24955 [BZ #15003]
24956 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24957 value. Sync with Linux 3.7.
24958
9e6919c8
DM
249592013-01-10 David S. Miller <davem@davemloft.net>
24960
24961 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24962 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24963 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24964
1c9f1a02
RM
249652013-01-10 Roland McGrath <roland@hack.frob.com>
24966
24967 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24968 never set.
24969 * configure: Regenerated.
24970
b9de2dde
DM
249712013-01-10 David S. Miller <davem@davemloft.net>
24972
24973 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24974 sparc V9 rather than using V8 code.
24975 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24976 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24977
e7f68ef4
RM
249782013-01-10 Roland McGrath <roland@hack.frob.com>
24979
24980 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24981 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24982 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24983 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24984 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24985 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24986 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24987 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24988 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24989 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24990 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24991 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24992 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24993 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24994 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24995 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24996 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24997 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24998 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24999 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25000 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25001 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25002 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25003 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25004 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25005 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25006 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25007
5a47cc9c
DM
250082013-01-10 David S. Miller <davem@davemloft.net>
25009
25010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25011
4cf8f209
L
250122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25013
25014 * posix/Makefile (tests-static): New variable.
25015 (tests): Add $(tests-static).
25016 (tst-exec-static-ARGS): New variable.
25017 (tst-spawn-static-ARGS): Likewise.
25018 * posix/tst-exec-static.c: New file.
25019 * posix/tst-spawn-static.c: Likewise.
25020 * posix/tst-exec.c: Support run directly.
25021 * posix/tst-spawn.c: Likewise.
25022
fed0faa1
JM
250232013-01-10 Joseph Myers <joseph@codesourcery.com>
25024
828beb13
JM
25025 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25026 long.
25027 * math/bits/mathcalls.h (llrint): Likewise.
25028 (llround): Likewise.
25029 * stdlib/stdlib.h (struct drand48_data): Likewise.
25030 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25031 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25032 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25033 Likewise.
25034 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25035 Likewise.
25036 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25037 (elf_greg_t): Likewise.
25038 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25039 (__jmp_buf): Likewise.
25040 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25041 definitions.
25042 (llrint): Likewise, for all definitions.
25043 (llrintl): Likewise.
25044
fed0faa1
JM
25045 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25046 Remove [__GNUC__] condition.
25047 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25048 condition to just [__USE_ISOC99].
25049 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25050
1a20cb20
L
250512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25052
25053 [BZ #14200]
25054 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25055 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25056 defined.
25057 (_POSIX_V6_ILP32_OFF32): Likewise.
25058 (_XBS5_ILP32_OFF32): Likewise.
25059 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25060 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25061
751b85f7
SP
250622013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25063
7490eb81
SP
25064 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25065
751b85f7
SP
25066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25067 doubles __mpexp_twomm1. Adjust usage.
25068 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25069 Remove.
25070
988197f0
AS
250712013-01-10 Andreas Schwab <schwab@suse.de>
25072
25073 [BZ #14964]
25074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25075 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25076
e83d7298
DM
250772013-01-09 David S. Miller <davem@davemloft.net>
25078
034ed64b 25079 [BZ #15003]
57f41c40
AS
25080 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25081 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25082 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25083 (TCP_FASTOPEN): Define.
e83d7298
DM
25084 (tcp_repair_opt): New structure.
25085 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25086 enum values.
57f41c40
AS
25087 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25088 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25089 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25090 (tcp_cookie_transactions): New structure.
25091
d5e0b9bd
AB
250922013-01-09 Anton Blanchard <anton@samba.org>
25093
25094 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25095 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25096 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25097 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25098
0c07e3ea
JM
250992013-01-09 Joseph Myers <joseph@codesourcery.com>
25100
25101 * include/features.h (__USE_ANSI): Remove.
25102
232f7002
RM
251032013-01-09 Roland McGrath <roland@hack.frob.com>
25104
ad98e30c
RM
25105 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25106
232f7002
RM
25107 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25108
950c99ca
SP
251092013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25110
b5792741
SP
25111 * sysdeps/s390/fpu/libm-test-ulps: Update.
25112
47cf2278
SP
25113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25114
950c99ca
SP
25115 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25116 (__acr): Likewise.
25117 (__cpy): Likewise.
25118 (norm): Likewise.
25119 (denorm): Likewise.
25120 (__mp_dbl): Likewise.
25121 (__dbl_mp): Likewise.
25122 (add_magnitudes): Likewise.
25123 (sub_magnitudes): Likewise.
25124 (__add): Likewise.
25125 (__sub): Likewise.
25126 (__mul): Likewise.
25127 (__inv): Likewise.
25128 (__dvd): Likewise.
25129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25130 (__acr): Likewise.
25131 (__cpy): Likewise.
25132 (norm): Likewise.
25133 (denorm): Likewise.
25134 (__mp_dbl): Likewise.
25135 (__dbl_mp): Likewise.
25136 (add_magnitudes): Likewise.
25137 (sub_magnitudes): Likewise.
25138 (__add): Likewise.
25139 (__sub): Likewise.
25140 (__mul): Likewise.
25141 (__inv): Likewise.
25142 (__dvd): Likewise.
25143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25144 (__acr): Likewise.
25145 (__cpy): Likewise.
25146 (norm): Likewise.
25147 (denorm): Likewise.
25148 (__mp_dbl): Likewise.
25149 (__dbl_mp): Likewise.
25150 (add_magnitudes): Likewise.
25151 (sub_magnitudes): Likewise.
25152 (__add): Likewise.
25153 (__sub): Likewise.
25154 (__mul): Likewise.
25155 (__inv): Likewise.
25156 (__dvd): Likewise.
25157
eede9df9
JM
251582013-01-08 Joseph Myers <joseph@codesourcery.com>
25159
25160 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25161 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25162 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25163 2 && __USE_EXTERN_INLINES]: Likewise.
25164
c40ea3d9
AJ
251652013-01-08 Andreas Jaeger <aj@suse.de>
25166
25167 [BZ# 14985]
25168 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25169 Remove.
25170 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25171 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25172
2ccdea26
AB
251732013-01-07 Anton Blanchard <anton@samba.org>
25174
25175 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25176 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25177 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25178 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25179 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25180 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25181 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25182 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25184 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25185 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25186 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25187 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25189 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25190 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25191 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25192 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25193 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25195 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25196 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25197 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25198 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25199 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25200 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25201 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25202 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25203 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25204 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25205 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25207 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25208 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25209 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25210 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25211 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25213 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25214 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25215 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25217 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25218
a9708fed
JM
252192013-01-07 Joseph Myers <joseph@codesourcery.com>
25220
375607b9
JM
25221 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25222 (__MALLOC_PMT): Likewise.
25223 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25224 [__GNUC__], only on [_LIBC].
25225 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25226 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25227 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25228 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25229 forward declaration.
25230 (realloc_hook_ini): Likewise.
25231 (memalign_hook_ini): Likewise.
25232 (__libc_memalign): Do not use __MALLOC_PMT in variable
25233 declaration.
25234 (__libc_valloc): Likewise.
25235 (__libc_pvalloc): Likewise.
25236 (__libc_calloc): Likewise.
25237 (__posix_memalign): Likewise.
25238
a9708fed
JM
25239 [BZ #14996]
25240 * math/s_casinh.c: Include <float.h>.
25241 (__casinh): Do not do computation with squaring and square root
25242 for large arguments.
25243 * math/s_casinhf.c: Include <float.h>.
25244 (__casinhf): Do not do computation with squaring and square root
25245 for large arguments.
25246 * math/s_casinhl.c: Include <float.h>.
25247 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25248 (__casinhl): Do not do computation with squaring and square root
25249 for large arguments.
25250 * math/libm-test.inc (casin_test): Add more tests.
25251 (casinh_test): Likewise.
25252 * sysdeps/i386/fpu/libm-test-ulps: Update.
25253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25254
afec409a
L
252552013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25256
25257 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25258 (__x86_64_raw_data_cache_size): Likewise.
25259 (__x86_64_data_cache_size_half): Likewise.
25260 (__x86_64_raw_data_cache_size_half): Likewise.
25261 (__x86_64_shared_cache_size): Likewise.
25262 (__x86_64_raw_shared_cache_size): Likewise.
25263 (__x86_64_shared_cache_size_half): Likewise.
25264 (__x86_64_raw_shared_cache_size_half): Likewise.
25265 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25266 to ...
25267 (__x86_data_cache_size): This.
25268 (__x86_64_raw_data_cache_size): Renamed to ...
25269 (__x86_raw_data_cache_size): This.
25270 (__x86_64_data_cache_size_half): Renamed to ...
25271 (__x86_data_cache_size_half): This.
25272 (__x86_64_raw_data_cache_size_half): Renamed to ...
25273 (__x86_raw_data_cache_size_half): This.
25274 (__x86_64_shared_cache_size): Renamed to ...
25275 (__x86_shared_cache_size): This.
25276 (__x86_64_raw_shared_cache_size): Renamed to ...
25277 (__x86_raw_shared_cache_size): This.
25278 (__x86_64_shared_cache_size_half): Renamed to ...
25279 (__x86_shared_cache_size_half): This.
25280 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25281 (__x86_raw_shared_cache_size_half): This.
25282 * sysdeps/x86_64/memcpy.S: Updated.
25283 * sysdeps/x86_64/memset.S: Likewise.
25284 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25285 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25286 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25287
0b3986d0
DM
252882013-01-04 David S. Miller <davem@davemloft.net>
25289
25290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25291
e47686e9
AS
252922013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25293
d643bac1
AS
25294 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25295 1 to avoid redefinition warning.
25296 (__USE_GNU): Don't define.
25297 (init_signaling_nan): Protoize.
25298
e47686e9
AS
25299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25300
b18decba
SP
253012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25302
fffb407f
SP
25303 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25305 (__cpymn): Likewise.
25306 (norm): Remove commented code.
25307 (denorm): Likewise.
25308 (__mp_dbl): Likewise.
25309 (__inv): Likewise.
25310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25311 (__cpymn): Likewise.
25312 (norm): Remove commented code.
25313 (denorm): Likewise.
25314 (__mp_dbl): Likewise.
25315 (__inv): Likewise.
25316
b18decba
SP
25317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25318 mp_no value for 1.0 and 2.0.
25319 (norm): Use RADIXI instead of radixi.d.
25320 (denorm): Likewise.
25321 (__mul): Use 0.0 instead of zero.d.
25322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25323 mp_no value for 1.0 and 2.0.
25324 (norm): Use RADIXI instead of radixi.d.
25325 (denorm): Likewise.
25326 (__mul): Use 0.0 instead of zero.d.
25327
cdc1c96f
JM
253282013-01-04 Joseph Myers <joseph@codesourcery.com>
25329
25330 [BZ #14994]
25331 * math/s_casinh.c (__casinh): Reduce finite argument to first
25332 quadrant then set signs of results at the end.
25333 * math/s_casinhf.c (__casinhf): Likewise.
25334 * math/s_casinhl.c (__casinhl): Likewise.
25335 * math/libm-test.inc (casin_test): Add more tests.
25336 (casinh_test): Likewise.
25337 * sysdeps/i386/fpu/libm-test-ulps: Update.
25338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25339
302913e1
SP
253402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25341
6420d207
SP
25342 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25343
a9e48ab4
SP
25344 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25345
b7837264
SP
25346 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25347 declarations.
25348 (denorm): Likewise.
25349 (__mp_dbl): Likewise.
25350 (__inv): Likewise.
25351
f8af25d2
SP
25352 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25353 and adjust the header comment.
25354
302913e1
SP
25355 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25356 variable name from declaration.
25357
5d7dd1ca
L
253582013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25359
25360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25361 Initialize COMMON_CPUID_INDEX_7 element.
25362 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25363 (CPUID_RTM): Likewise.
25364 (HAS_RTM): Likewise.
25365 (COMMON_CPUID_INDEX_7): New enum.
25366
2f5f40f4
AS
253672013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25368
25369 [BZ #14981]
25370 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25371 size is zero, record memory as freed.
25372
4056f4a0
AJ
253732013-01-03 Andreas Jaeger <aj@suse.de>
25374
25375 * po/ia.po: Add new Interlingua translation.
25376
ab15736f 253772012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
25378
25379 * locale/programs/localedef.c: Fix description of '--posix' flag.
25380
568035b7
JM
253812013-01-02 Joseph Myers <joseph@codesourcery.com>
25382
e6898b8d
JM
25383 * NEWS: Update dates in second copyright notice.
25384 * README: Update copyright dates in example.
25385 * manual/libc.texinfo: Update copyright dates.
25386 * scripts/test-installation.pl: Update copyright date in --version
25387 output.
25388
0e2f9562
JM
25389 * hurd/ctty-input.c: Fix copyright notice formatting.
25390 * hurd/ctty-output.c: Likewise.
25391 * hurd/dtable.c: Likewise.
25392 * hurd/hurd-raise.c: Likewise.
25393 * hurd/hurdprio.c: Likewise.
25394 * hurd/msgportdemux.c: Likewise.
25395 * misc/sys/file.h: Likewise.
25396 * misc/sys/ioctl.h: Likewise.
25397 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25398 * sysdeps/mach/hurd/chdir.c: Likewise.
25399 * sysdeps/mach/hurd/fchdir.c: Likewise.
25400 * sysdeps/mach/hurd/rename.c: Likewise.
25401 * sysdeps/mach/hurd/rmdir.c: Likewise.
25402 * sysdeps/mach/hurd/seekdir.c: Likewise.
25403 * sysdeps/mach/hurd/setsid.c: Likewise.
25404 * sysdeps/posix/wait3.c: Likewise.
25405
568035b7
JM
25406 * All files with FSF copyright notices: Update copyright dates
25407 using scripts/update-copyrights.
25408 * intl/plural.c: Regenerated.
25409 * locale/programs/charmap-kw.h: Likewise.
25410 * locale/programs/locfile-kw.h: Likewise.
25411
da08f647
SP
254122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25413
0f5477af
SP
25414 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25415 four values.
25416
44e0d4c2
SP
25417 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25418 calculation loop and add branch prediction.
25419
4d55b4e5
SP
25420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25421 check access beyond bounds of m1np.
25422
da08f647
SP
25423 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25424 MPTWO.
25425 (__inv): Remove local variable MPTWO to use the global
25426 constant.
25427 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25428 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25429 variable MPTWO.
25430 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25431 MP3HALFS static const.
25432
8e051029
DM
254332013-01-01 David S. Miller <davem@davemloft.net>
25434
25435 * po/ca.po: Update from translation team.
25436
f4cf5f2d
JM
254372013-01-01 Joseph Myers <joseph@codesourcery.com>
25438
25439 * scripts/update-copyrights: New file.
25440 * Makeconfig: Reformat copyright notice.
25441 * ctype/ctype.h: Likewise.
25442 * debug/swprintf_chk.c: Likewise.
25443 * elf/dl-cache.c: Likewise.
25444 * elf/dl-debug.c: Likewise.
25445 * elf/dl-object.c: Likewise.
25446 * grp/initgroups.c: Likewise.
25447 * hurd/Makefile: Likewise.
25448 * hurd/hurd/signal.h: Likewise.
25449 * hurd/hurdfault.c: Likewise.
25450 * hurd/hurdioctl.c: Likewise.
25451 * hurd/hurdlookup.c: Likewise.
25452 * hurd/intr-msg.c: Likewise.
25453 * iconv/gconv_open.c: Likewise.
25454 * libio/swprintf.c: Likewise.
25455 * locale/lc-ctype.c: Likewise.
25456 * locale/nl_langinfo.c: Likewise.
25457 * mach/Machrules: Likewise.
25458 * mach/Makefile: Likewise.
25459 * malloc/obstack.h: Likewise.
25460 * manual/Makefile: Likewise.
25461 * manual/tsort.awk: Likewise.
25462 * misc/bits/stab.def: Likewise.
25463 * nis/nis_print_group_entry.c: Likewise.
25464 * nis/nis_table.c: Likewise.
25465 * nis/nss_compat/compat-pwd.c: Likewise.
25466 * nis/nss_compat/compat-spwd.c: Likewise.
25467 * po/Makefile: Likewise.
25468 * posix/fnmatch.c: Likewise.
25469 * posix/regex.h: Likewise.
25470 * resolv/Makefile: Likewise.
25471 * resolv/nss_dns/dns-network.c: Likewise.
25472 * resolv/res_hconf.c: Likewise.
25473 * scripts/gen-sorted.awk: Likewise.
25474 * soft-fp/soft-fp.h: Likewise.
25475 * stdio-common/printf.h: Likewise.
25476 * stdlib/monetary.h: Likewise.
25477 * stdlib/random.c: Likewise.
25478 * stdlib/random_r.c: Likewise.
25479 * sysdeps/generic/Makefile: Likewise.
25480 * sysdeps/gnu/Makefile: Likewise.
25481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25483 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25509 * sysdeps/mach/hurd/errnos.awk: Likewise.
25510 * sysdeps/mach/hurd/fork.c: Likewise.
25511 * sysdeps/mach/hurd/getcwd.c: Likewise.
25512 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25513 * sysdeps/mach/hurd/mmap.c: Likewise.
25514 * sysdeps/mach/hurd/utimes.c: Likewise.
25515 * sysdeps/mach/hurd/xmknod.c: Likewise.
25516 * sysdeps/posix/profil.c: Likewise.
25517 * sysdeps/posix/readdir_r.c: Likewise.
25518 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25519 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25520 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25521 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25523 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25524 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25525 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25527 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25528 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25529 * sysdeps/pthread/lio_listio.c: Likewise.
25530 * sysdeps/sparc/dl-procinfo.h: Likewise.
25531 * sysdeps/unix/i386/sysdep.S: Likewise.
25532 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25533 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25534 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25535 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25537 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25538 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25539 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25540 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25541 * sysdeps/wordsize-32/divdi3.c: Likewise.
25542 * time/sys/time.h: Likewise.
25543 * wcsmbs/Makefile: Likewise.
25544
0549fbba
DM
255452013-01-01 David S. Miller <davem@davemloft.net>
25546
a141f1a7
DM
25547 * po/fr.po: Update from translation team.
25548
0549fbba
DM
25549 * catgets/gencat.c: Update copyright year.
25550 * csu/version.c: Likewise.
25551 * debug/catchsegv.sh: Likewise.
25552 * debug/pcprofiledump.c: Likewise.
25553 * debug/xtrace.sh: Likewise.
25554 * elf/ldconfig.c: Likewise.
25555 * elf/ldd.bash.in: Likewise.
25556 * elf/pldd.c: Likewise.
25557 * elf/sotruss.ksh: Likewise.
25558 * elf/sprof.c: Likewise.
25559 * iconv/iconv_prog.c: Likewise.
25560 * iconv/iconvconfig.c: Likewise.
25561 * locale/programs/locale.c: Likewise.
25562 * locale/programs/localedef.c: Likewise.
25563 * login/programs/pt_chown.c: Likewise.
25564 * malloc/memusage.sh: Likewise.
25565 * malloc/memusagestat.c: Likewise.
25566 * malloc/mtrace.pl: Likewise.
25567 * nscd/nscd.c: Likewise.
25568 * nss/getent.c: Likewise.
25569 * nss/makedb.c: Likewise.
25570 * posix/getconf.c: Likewise.
25571
18ea052c
SP
255722012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25573
25574 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25575 numbers.
25576
9c89fca6
MF
255772012-12-30 Mike Frysinger <vapier@gentoo.org>
25578
25579 * math/bits/mathcalls.h (modf): Use __nonnull.
25580
085ec079
SP
255812012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25582
25583 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25584 (split): Use macro CN instead of the bare value.
25585 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25586 could be used.
25587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25588 instead of the bare value.
25589 (power1): Likewise.
25590
6d9f97e1
SP
255912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25592
d63f73be
SP
25593 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25594 __ATAN_TWOM.
25595 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25596
6d9f97e1
SP
25597 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25598 their values.
25599 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25601 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25602 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25603
4c4febf5
AJ
256042012-12-28 Andreas Jaeger <aj@suse.de>
25605
af5843ef
AJ
25606 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25607 values are from Linux 3.7.
25608
4c4febf5
AJ
25609 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25610 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25611
99136f82
SP
256122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25613
2f216c3c 25614 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25615 TRUE case.
25616
99136f82
SP
25617 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25618 (norm): Likewise.
25619 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25620 variables with preprocessor constants.
25621 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25622 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25623 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25624
7fffbdff
BH
256252012-12-27 Bruno Haible <bruno@clisp.org>
25626
25627 [BZ #14317]
25628 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25629 only if needed.
25630
b76eb5f0
SP
256312012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25632
31a7fe5c
SP
25633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25634 and use variable directly.
25635 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25636
b76eb5f0
SP
25637 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25638 MPONE.
25639 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25640 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25641 variable MPONE.
25642 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25644 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25645 include directive. Remove local variable MPONE.
25646 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25647 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25648 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25649
2c8bfe7d
DM
256502012-12-25 David S. Miller <davem@davemloft.net>
25651
25652 * version.h (RELEASE): Set to "development".
25653 (VERSION): Set to "2.17.90".
25654 * NEWS: Add 2.18 section.
25655
147d03b0
DM
256562012-12-21 David S. Miller <davem@davemloft.net>
25657
25658 * po/hr.po: Update from translation team.
25659
a8ebb2b9
AK
256602012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25661
25662 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25663
95b4f1b6
SE
256642012-12-19 Steve Ellcey <sellcey@mips.com>
25665
b2d94007 25666 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25667
cedb2a90
MS
256682012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25669
25670 * manual/contrib.texi (Contributors): Spelling correction.
25671
bbf527d6
DM
256722012-12-15 David S. Miller <davem@davemloft.net>
25673
25674 * po/ru.po: Update from translation team.
25675
bc38c906
DM
256762012-12-13 David S. Miller <davem@davemloft.net>
25677
85429b1a
DM
25678 * NEWS: Mention IFUNC testsuite enhancements.
25679
d283e353
DM
25680 * po/pl.po: Update from translation team.
25681 * po/bg.po: Likewise.
25682
bc38c906
DM
25683 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25684 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25685
a181b0d7
DM
256862012-12-11 David S. Miller <davem@davemloft.net>
25687
4641d57e
DM
25688 * po/sv.po: Update from translation team.
25689
f7bc6495
DM
25690 * po/vi.po: Update from translation team.
25691
6fc9048f
DM
25692 * po/cs.po: Update from translation team.
25693
a181b0d7
DM
25694 * po/de.po: Update from translation team.
25695 * po/eo.po: Likewise.
25696 * po/nl.po: Likewise.
25697
f70bfe80
SP
256982012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25699
3c8b4190
SP
25700 [BZ #14246]
25701 * manual/argp.texi (Argp Helper Functions): Move node to follow
25702 Argp Parsing State.
25703
f70bfe80
SP
25704 [BZ #14872]
25705 * manual/conf.texi (Limits on File System Capacity): Mention if
25706 terminating null is included in the max size.
25707
188f0adf
AJ
257082012-12-10 Andreas Jaeger <aj@suse.de>
25709
25710 * po/cs.po: Update from translation team.
25711
56e7d3ad
SP
257122012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25713
25714 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25715 void pointer and cast to uintptr_t.
25716 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25717 path.
25718 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25719 * sysdeps/s390/s390-64/memset.S: Likewise.
25720
76f2d2ea 257212012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25722
25723 [BZ #14833]
25724 * menual/message.texi (Message Translation): Fix typos.
25725 (Helper programs for gettext): Likewise.
25726
67cbf9a2
AS
257272012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25728
25729 [BZ #14898]
25730 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25731 Change to -1.
25732
682d0e9a
DM
257332012-12-07 David S. Miller <davem@davemloft.net>
25734
25735 * po/libc.pot: Update.
25736
573cd484
RH
257372012-12-07 Richard Henderson <rth@redhat.com>
25738
7e9da188 25739 [BZ #10114]
573cd484
RH
25740 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25741 normal/normal case to before the switch.
25742 (_FP_DIV): Likewise.
25743
e933a943
MF
257442012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25745 Mike Frysinger <vapier@gentoo.org>
25746
25747 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25748 check for __NR_fadvise64_64.
25749
82123268
CM
257502012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25751
25752 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25753 0, not just to plain "0" as a statement.
25754 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25755 with cw.
25756
d9814526
JM
257572012-12-06 Joseph Myers <joseph@codesourcery.com>
25758
25759 * NEWS: Use sourceware.org in Bugzilla URL.
25760
7728c574
SP
257612012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25762
f16946dd
SP
25763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25764 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25765
5704bbcb
SP
25766 * stdio-common/tst-put-error.c (do_test): Add newline to the
25767 padded test to ensure flush.
25768
17aa0516
JL
257692012-12-05 Jeff Law <law@redhat.com>
25770
25771 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25772
363313b5
JM
257732012-12-05 Joseph Myers <joseph@codesourcery.com>
25774
effbd42a
JM
25775 * README: Don't refer to ports add-on as distributed separately.
25776 Mention AArch64 in list of systems supported in the ports add-on.
25777
87600365
JM
25778 * LICENSES: Add more non-FSF copyright and license notices.
25779
a0d7066a
JM
25780 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25781 ((unused)).
25782
66ca5a5b
JM
25783 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25784
363313b5
JM
25785 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25786 10000 as width of padded output.
25787
b37984ad
JM
257882012-12-04 Joseph Myers <joseph@codesourcery.com>
25789
9003570a
JM
25790 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25791
b37984ad
JM
25792 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25793 variable LX with __attribute__ ((unused)).
25794 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25795 Likewise.
25796 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25798 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25799 with __attribute__ ((unused)).
25800
c8df52ec
DM
258012012-12-04 David S. Miller <davem@abraco.davemloft.net>
25802
25803 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25804
b3b099af
JM
258052012-12-04 Joseph Myers <joseph@codesourcery.com>
25806
c33aa6e3
JM
25807 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25808 (CFLAGS-nldbl-acos.c): New variable.
25809 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25810 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25811 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25812 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25813 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25814 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25815 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25816 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25817 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25818 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25819 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25820 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25821 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25822 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25823 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25824 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25825 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25826 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25827 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25828 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25829 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25830 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25831 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25832 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25833 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25834 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25835 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25836 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25837 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25838 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25839 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25840 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25841 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25842 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25843 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25844 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25845 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25846 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25847 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25848 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25849 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25850 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25851 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25852 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25853 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25854 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25855 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25856 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25857 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25858 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25859 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25860 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25861 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25862 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25863 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25864 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25865 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25866 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25867 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25868 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25869 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25870 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25871 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25872 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25873 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25874 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25875 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25876 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25877 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25878 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25879 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25880 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25881 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25882 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25883 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25884 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25885 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25886 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25887 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25888 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25889 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25890 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25891 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25892 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25893 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25894 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25895 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25896 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25897 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25898 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25899 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25900 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25901 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25902 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25903 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25904 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25905 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25906
20f0018d
JM
25907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25908 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25909
b3b099af
JM
25910 [BZ #14914]
25911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25912 whole low double instead of just low 47 bits when splitting values
25913 into two parts.
25914
029264d1
AM
259152012-12-03 Allan McRae <allan@archlinux.org>
25916
25917 * manual/stdio.texi (Predefined Printf Handlers): Remove
25918 @hsep and @vsep usage.
25919
c9d6789e
MF
259202012-12-03 Mike Frysinger <vapier@gentoo.org>
25921
25922 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25923 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25924
4b7634a5
JL
259252012-12-03 Jeff Law <law@redhat.com>
25926
25927 * time/sys/time.h (settimeofday): Do not mark TV argument
25928 as __nonnull.
25929
eb6cbd24
MF
259302012-12-01 Mike Frysinger <vapier@gentoo.org>
25931
25932 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25933 when currently writing and seek to current position when not.
25934 * libio/Makefile (tests): Remove bug-fclose1.
25935 * libio/bug-fclose1.c: Delete.
25936
f638872a
JM
259372012-12-01 Joseph Myers <joseph@codesourcery.com>
25938
25939 * manual/arith.texi (feenableexcept): Fix typo.
25940 (fedisableexcept): Likewise.
25941
48085d14
RM
259422012-11-30 Roland McGrath <roland@hack.frob.com>
25943
25944 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25945 second, differently-typed declaration, rather than a cast.
25946
1a538b9f
SP
259472012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25948
25949 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25950 * include/rpc/svc.h: ... here.
25951
d07f2ff1 259522012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25953
25954 [BZ #13013]
25955 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25956 depending n and resplen2 to catch cases where answer
25957 equals answerp2.
25958
c93ec1f0
CD
259592012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25960
25961 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25962 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25963
37db69de
MF
259642012-11-29 Mike Frysinger <vapier@gentoo.org>
25965
25966 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25967
e10c4e4f
RM
259682012-11-29 Roland McGrath <roland@hack.frob.com>
25969
25970 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25971
2af1b328
JL
259722012-11-28 Jeff Law <law@redhat.com>
25973
25974 [BZ #13761]
25975 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25976 dataset_temporary. Track alloca usage into alloca_used.
25977 If dataset is large allocate and release it via malloc/free.
25978
111db5b1
FW
259792012-06-04 Florian Weimer <fweimer@redhat.com>
25980
f06cc227 25981 [BZ #14197]
111db5b1
FW
25982 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25983
dd694abd
DM
259842012-11-28 David S. Miller <davem@davemloft.net>
25985
25986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25987
9984dd01
JM
259882012-11-28 Joseph Myers <joseph@codesourcery.com>
25989
25990 [BZ #14803]
25991 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25992 of pi/2 rounded to nearest to 64 bits.
25993 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25994 nearest to 64 bits.
25995 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25996 bits.
25997
14bc93a9
JL
259982012-11-28 Jeff Law <law@redhat.com>
25999 Martin Osvald <mosvald@redhat.com>
26000
26001 [BZ #14889]
26002 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26003 * sunrpc/svc.c: Include time.h.
26004 (__svc_accept_failed): New function.
26005 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26006 any reason other than EINTR, call __svc_accept_failed.
26007 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26008 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26009
e3c6aa3a
AS
260102012-11-28 Andreas Schwab <schwab@suse.de>
26011
26012 * scripts/abilist.awk: Also handle indirect functions in .opd
26013 section.
26014
1bead169
JM
260152012-11-28 Joseph Myers <joseph@codesourcery.com>
26016
26017 [BZ #13881]
26018 * sysdeps/x86/fpu/powl_helper.c: New file.
26019 * sysdeps/x86/fpu/Makefile: Likewise.
26020 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26021 (p3): New object.
26022 (__ieee754_powl): Use __powl_helper for finite arguments except
26023 integer exponents below 8.
26024 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26025 (p3): New object.
26026 (__ieee754_powl): Use __powl_helper for finite arguments except
26027 integer exponents below 8.
26028 * math/libm-test.inc (pow_test): Add more tests and enable some
26029 previously disabled tests.
26030 * sysdeps/i386/fpu/libm-test-ulps: Update.
26031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26032
0817d63d
SP
260332012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26034 Carlos O'Donell <carlos_odonell@mentor.com>
26035
26036 * nss/makedb.c (is_prime): Assert that input is odd and greater
26037 than 4. Note that fact in a comment too.
26038 (next_prime): Add 4 to input.
26039
de2fd463
SP
260402012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26041
26042 [BZ #11741]
26043 * libio/Makefile (tests): Add test case tst-fwrite-error.
26044 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26045 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26046 * libio/tst-fwrite-error.c: New test case.
26047
c515fb51
L
260482012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26049
26050 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26051 before casting to void *.
26052 * include/libc-internal.h (__pointer_type): New macro.
26053 (__integer_if_pointer_type_sub): Likewise.
26054 (__integer_if_pointer_type): Likewise.
26055 (cast_to_integer): Likewise.
26056 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26057 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26058 before casting to atomic64_t.
26059 (atomic_exchange_acq): Likewise.
26060 (__arch_exchange_and_add_body): Likewise.
26061 (__arch_add_body): Likewise.
26062 (atomic_add_negative): Likewise.
26063 (atomic_add_zero): Likewise.
26064
4cf77aa9
JM
260652012-11-26 Joseph Myers <joseph@codesourcery.com>
26066
26067 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26068 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26069 (add_fdes): Likewise.
26070 (linear_search_fdes): Likewise.
26071 (binary_search_unencoded_fdes): Likewise.
26072
d260b3b4
AS
260732012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26074
26075 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26076
67060746
AC
260772012-11-24 Adam Conrad <adconrad@0c3.net>
26078
26079 * configure.in: Autodetect C++ header directories.
26080 * configure: Regenerated.
26081
800938a1
MF
260822012-11-23 Mike Frysinger <vapier@gentoo.org>
26083
26084 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26085
4e6e34e6
AS
260862012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26087
26088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26089
7c7feb47
JM
260902012-11-22 Joseph Myers <joseph@codesourcery.com>
26091
7184dcdf
JM
26092 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26093 LDBL_MANT_DIG == 106]: Disable some tests.
26094 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26095 Likewise.
26096 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26097 Likewise.
26098
0a42601f
JM
26099 [BZ #14871]
26100 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26101 input for small inputs. Return +/- pi/2 for large inputs.
26102 * math/libm-test.inc (atan_test): Add more tests.
26103
79c9b9fe
JM
26104 * sysdeps/generic/unwind-dw2-fde-glibc.c
26105 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26106 __attribute__ ((unused)).
26107
c60d3bf2
JM
26108 [BZ #14645]
26109 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26110 x * y if x and y are nonzero and z is zero.
26111
ef1e0867
JM
26112 [BZ #14811]
26113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26114 nonzero exponents with absolute value below 0x1p-117 to +/-
26115 0x1p-117.
26116
1468ded3
JM
26117 [BZ #14869]
26118 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26119 up arguments below 2**-450, not just those below 2**-500.
26120 * math/libm-test.inc (hypot_test): Add another test.
26121
8e27e3cc
JM
26122 [BZ #14868]
26123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26124 Return a+b for ratio over 2**120, not 2**60.
26125 * math/libm-test.inc (hypot_test): Add another test.
26126
c9c0279b
JM
26127 * math/libm-test.inc (clog_test): Use
26128 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26129 (clog10_test): Likewise.
26130
7c7feb47
JM
26131 [BZ #6778]
26132 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26133
fff1530e
AS
261342012-11-22 Andreas Schwab <schwab@suse.de>
26135
26136 * sysdeps/i386/fpu/libm-test-ulps: Update.
26137
94558d30
PT
261382012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26139
26140 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26141 printf output with newline.
26142
7e1be741
L
261432012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26144
6bfea974
L
26145 [BZ #14865]
26146 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26147 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26148 -z nodlopen, -z initfirst and -z execstack support.
26149 * configure: Regenerated.
26150
7e1be741
L
26151 * elf/elf.h (DF_1_NODIRECT): New macro.
26152 (DF_1_IGNMULDEF): Likewise.
26153 (DF_1_NOKSYMS): Likewise.
26154 (DF_1_NOHDR): Likewise.
26155 (DF_1_EDITED): Likewise.
26156 (DF_1_NORELOC): Likewise.
26157 (DF_1_SYMINTPOSE): Likewise.
26158 (DF_1_GLOBAUDIT): Likewise.
26159 (DF_1_SINGLETON): Likewise.
26160 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26161 DT_1_SUPPORTED_MASK bits.
26162 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26163
105ce2ce
CD
261642012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26165
26166 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26167
123be9de
TS
261682012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26169
d072f3f7
TS
26170 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26171 macro.
26172
123be9de
TS
26173 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26174 (sendmmsg): Move declarations...
26175 * socket/sys/socket.h: ... here.
26176 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26177 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26178 include it from...
26179 * socket/recvmmsg.c: ... this new file.
26180 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26181 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26182 definition of __sendmmsg hidden.
26183 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26184 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26185 Move ENOSYS stub into and include it from...
26186 * socket/sendmmsg.c: ... this new file.
26187 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26188 (sysdep_routines): Move recvmmsg and sendmmsg...
26189 * socket/Makefile (routines): ... here.
26190 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26191 (GLIBC_PRIVATE): Add __sendmmsg.
26192 * include/sys/socket.h (__sendmmsg): Add declarations.
26193 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26194 sendmmsg.
26195
cf9a5d18
JM
261962012-11-20 Joseph Myers <joseph@codesourcery.com>
26197
26198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26199 variable I1 with __attribute__ ((unused)).
26200 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26201
ecd4caf9
JM
262022012-11-19 Joseph Myers <joseph@codesourcery.com>
26203
be14d48f
JM
26204 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26205 DUMMY variables with __attribute__ ((unused)).
26206
ecd4caf9
JM
26207 * bits/byteswap.h: Include <bits/types.h>.
26208 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26209
986cab95
PT
262102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26211
26212 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26213 string_t. Do not manually set errno.
26214 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26215 length with __strnlen. Make sure to both set errno and return it on
26216 failure.
26217
6d33cc9d
DM
262182012-11-19 David S. Miller <davem@davemloft.net>
26219
26220 With help from Joseph Myers.
26221 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26222 very large arguments properly.
26223 * math/libm-test.inc (atan_test): New tests.
26224 (atan2_test): New tests.
26225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26227
ee663277
JM
262282012-11-19 Joseph Myers <joseph@codesourcery.com>
26229
877f2d8e
JM
26230 [BZ #14856]
26231 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26232 Define to 3.
26233
116fc08a
JM
26234 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26235 [POSIX] (EADDRNOTAVAIL): Likewise.
26236 [POSIX] (EAFNOSUPPORT): Likewise.
26237 [POSIX] (EALREADY): Likewise.
26238 [POSIX] (ECONNABORTED): Likewise.
26239 [POSIX] (ECONNREFUSED): Likewise.
26240 [POSIX] (ECONNRESET): Likewise.
26241 [POSIX] (EDESTADDRREQ): Likewise.
26242 [POSIX] (EDQUOT): Likewise.
26243 [POSIX] (EHOSTUNREACH): Likewise.
26244 [POSIX] (EIDRM): Likewise.
26245 [POSIX] (EISCONN): Likewise.
26246 [POSIX] (ELOOP): Likewise.
26247 [POSIX] (EMULTIHOP): Likewise.
26248 [POSIX] (ENETDOWN): Likewise.
26249 [POSIX] (ENETUNREACH): Likewise.
26250 [POSIX] (ENOBUFS): Likewise.
26251 [POSIX] (ENODATA): Likewise.
26252 [POSIX] (ENOLINK): Likewise.
26253 [POSIX] (ENOMSG): Likewise.
26254 [POSIX] (ENOPROTOOPT): Likewise.
26255 [POSIX] (ENOSR): Likewise.
26256 [POSIX] (ENOSTR): Likewise.
26257 [POSIX] (ENOTCONN): Likewise.
26258 [POSIX] (ENOTSOCK): Likewise.
26259 [POSIX] (EOPNOTSUPP): Likewise.
26260 [POSIX] (EOVERFLOW): Likewise.
26261 [POSIX] (EPROTO): Likewise.
26262 [POSIX] (EPROTONOSUPPORT): Likewise.
26263 [POSIX] (EPROTOTYPE): Likewise.
26264 [POSIX] (ESTALE): Likewise.
26265 [POSIX] (ETIME): Likewise.
26266 [POSIX] (ETXTBSY): Likewise.
26267 [POSIX] (EWOULDBLOCK): Likewise.
26268 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26269 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26270 [POSIX] (SEEK_CUR): Likewise.
26271 [POSIX] (SEEK_END): Likewise.
26272 [POSIX || UNIX98] (mode_t): Do not require.
26273 [POSIX] (off_t): Likewise.
26274 [POSIX] (pid_t): Likewise.
26275 [POSIX] (sys/stat.h): Do not allow header.
26276 [POSIX] (unistd.h): Likewise.
26277 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26278 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26279 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26280 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26281 require.
26282 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26283 sigevent): Specify elements.
26284 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26285 entry.
26286 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26287 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26288
a483863f
JM
26289 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26290 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26291 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26292 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26293 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26294 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26295 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26296 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26297 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26298 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26299 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26300 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26301 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26302 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26303 Likewise.
26304 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26305 Likewise.
26306 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26307 Likewise.
26308 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26309 Likewise.
26310 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26311 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26312 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26313 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26314 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26315 Specify lower bound on value.
26316 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26317 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26318 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26319 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26320 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26321 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26322 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26323 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26324 value.
26325 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26326 as optional.
26327 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26328 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26329 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26330 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26331 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26332 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26333 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26334 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26335 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26336 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26337 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26338 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26339 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26340 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26341 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26342 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26343 entry.
26344 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26345 optional.
26346 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26347 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26348 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26349 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26350 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26351 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26352 Likewise.
26353 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26354 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26355 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26356 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26357 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26358 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26359 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26360 as optional.
26361 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26362 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26363 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26364 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26365 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26366 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26367 specify as optional.
26368 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26369 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26370 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26371 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26372 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26373 [XPG3] (NL_LANGMAX): Likewise.
26374 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26375 [POSIX || XPG3] (NL_NMAX): Likewise.
26376 [POSIX || XPG3] (NL_SETMAX): Likewise.
26377 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26378 [XPG3] (NZERO): Likewise.
26379 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26380 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26381 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26382 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26383 (REG_ERANGE): Expect.
26384 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26385 optional-constant.
26386 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26387 Use (void) in prototype.
26388 [POSIX] (*_t): Allow.
26389 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26390 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26391 (WRDE_BADVAL): Expect.
26392
5ba924e3
JM
26393 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26394 expect.
26395 [XPG3 || XPG4] (O_RSYNC): Likewise.
26396 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26397 Likewise.
26398 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26399 [XPG3 || XPG4] (sigqueue): Likewise.
26400 [XPG3 || XPG4] (sigtimedwait): Likewise.
26401 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26402 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26403 [XPG3 || XPG4] (vsnprintf): Likewise.
26404 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26405 Likewise.
26406 [XPG3 || XPG4] (blksize_t): Likewise.
26407 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26408 Likewise.
26409 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26410 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26411 [XPG3 || XPG4] (struct itimerspec): Likewise.
26412 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26413 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26414 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26415 [XPG3 || XPG4] (clockid_t): Likewise.
26416 [XPG3 || XPG4] (timer_t): Likewise.
26417 [XPG3 || XPG4] (clock_getres): Likewise.
26418 [XPG3 || XPG4] (clock_gettime): Likewise.
26419 [XPG3 || XPG4] (clock_settime): Likewise.
26420 [XPG3 || XPG4] (nanosleep): Likewise.
26421 [XPG3 || XPG4] (timer_create): Likewise.
26422 [XPG3 || XPG4] (timer_delete): Likewise.
26423 [XPG3 || XPG4] (timer_gettime): Likewise.
26424 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26425 [XPG3 || XPG4] (timer_settime): Likewise.
26426 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26427 [XPG3 || XPG4] (getlogin_r): Likewise.
26428 [XPG3 || XPG4] (pread): Likewise.
26429 [XPG3 || XPG4] (pthread_atfork): Likewise.
26430 [XPG3 || XPG4] (pwrite): Likewise.
26431
ee663277
JM
26432 [BZ #14835]
26433 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26434 <bits/siginfo.h>.
26435
942caa16
PT
264362012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26437
e19af380
PT
26438 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26439 finalizing MALLSTREAM.
26440
942caa16
PT
26441 * sysdeps/mach/hurd/syncfs.c: New file.
26442
cfde9b46
SP
264432012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26444
26445 [BZ #14719]
26446 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26447 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26448 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26449 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26450 (_nss_dns_gethostbyname4_r): Likewise.
26451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26452 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26453
f6da27e5
PH
264542012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26455
26456 [BZ #13763]
26457 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26458
6665d4a2
SM
264592012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26460
1f51ee92
SM
26461 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26462 * elf/cache.c (print_entry): Print ",AArch64" for
26463 FLAG_AARCH64_LIB64
26464
6665d4a2
SM
26465 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26466 * elf/cache.c (print_entry): Print ",hard-float" for
26467 FLAG_ARM_LIBHF.
26468
05b227bd
DM
264692012-11-18 David S. Miller <davem@davemloft.net>
26470
26471 With help from Joseph Myers.
26472 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26473 cutoff to 2**-13.
26474 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26475 cutoff to 2**-25.
26476 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26477 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26478 small.
26479 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26480 * math/libm-test.inc (y0_test): New tests.
26481 (y1_test): New tests.
26482 * sysdeps/i386/fpu/libm-test-ulps: Update.
26483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26485
786b0b67
AS
264862012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26487
26488 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26489 64-bit targets.
26490 * configure: Regenerated.
26491
8e18b86d
DM
264922012-11-17 David S. Miller <davem@davemloft.net>
26493
26494 [BZ #14811]
26495 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26496 nonzero exponents with absolute value below 0x1p-128 to +/-
26497 0x1p-128.
26498
531f1ae0
JM
264992012-11-17 Joseph Myers <joseph@codesourcery.com>
26500
12df29e2
JM
26501 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26502
150dc1a0
JM
26503 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26504
531f1ae0
JM
26505 * posix/getconf-speclist.c: New file.
26506 * posix/posix-envs.def: Likewise.
26507 * posix/confstr.c (START_ENV_GROUP): New macro.
26508 (END_ENV_GROUP): Likewise.
26509 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26510 (KNOWN_PRESENT_ENV_STRING): Likewise.
26511 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26512 (UNKNOWN_ENVIRONMENT): Likewise.
26513 (confstr): Include posix-envs.def instead of handling
26514 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26515 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26516 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26517 (END_ENV_GROUP): Likewise.
26518 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26519 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26520 (UNKNOWN_ENVIRONMENT): Likewise.
26521 (__sysconf): Include posix-envs.def instead of handling associated
26522 cases directly here.
26523 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26524 preprocessing getconf-speclist.c rather than running getconf or
26525 generating empty file.
26526
a93f9cbc
PT
265272012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26528
26529 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26530
d64d9f87
AL
265312012-11-16 Andrej Lajovic <natrij@gmail.com>
26532
26533 [BZ #14672]
26534 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26535
447885eb
DM
265362012-11-16 David S. Miller <davem@davemloft.net>
26537
26538 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26539 smaller than LDBL_EPSILON/2.0L, just return xm1.
26540
bcbf9830
L
265412012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26542
26543 * elf/tst-array1.c (init): Set constructor priority to 1000.
26544 (fini): Set destructor priority to 1000.
26545 * elf/tst-array2dep.c: Likewise.
26546
2b766585
SP
265472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26548
26549 [BZ #11741]
26550 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26551 (_IO_new_file_xsputn): Also return EOF if none of the input
26552 data was written when overflow failed.
26553 * libio/iopadn.c (_IO_padn): Likewise.
26554 * libio/iowpadn.c (_IO_wpadn): Likewise.
26555 * stdio-common/tst-put-error.c: Add copyright notice.
26556 (do_test): Add case for printing padded string.
26557 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26558 _IO_padn returned error.
26559 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26560 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26561 return EOF.
26562
b1848fde
SP
265632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26564
26565 * libio/libioP.h: Add comment note that the references to C++
26566 bits are now obsolete.
26567
2fd89785
MS
265682012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26569
26570 * math/libm-test.inc (check_complex): Use asprintf.
26571
e3ea5409
JM
265722012-11-14 Joseph Myers <joseph@codesourcery.com>
26573
26574 * debug/pcprofiledump.c (print_version): Update copyright year.
26575 * malloc/memusagestat.c (print_version): Likewise.
26576
2e64d265
L
265772012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26578
26579 [BZ #14831]
26580 * elf/Makefile (tests): Add tst-audit8.
26581 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26582 ($(objpfx)tst-audit8.out): New target.
26583 (tst-audit8-ENV): New variable.
26584 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26585 audit if l_reloc_result is NULL.
26586 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26587 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26588 * elf/tst-audit8.c: New file.
26589
c485e4d2
MS
265902012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26591
26592 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26593 * misc/Makefile (CFLAGS-select.c): Define.
26594 * posix/Makefile (CFLAGS-pause.c): Define.
26595
3a0d900a
DM
265962012-11-13 David S. Miller <davem@davemloft.net>
26597
26598 * crypt/Makefile: Move test targets after toplevel Rules
26599 inclusion. Grab any necessary sysdep routines when linking.
26600 * crypt/md5.c (md5_process_block): Remove define, we will always
26601 name it __md5_process_block.
26602 (md5_finish_ctx): Update md5_process_block call.
26603 (md5_stream): Likewise.
26604 (md5_process_bytes): Likewise.
26605 (md5_process_block): Rename to __md5_process_block and move to ...
26606 * crypt/md5-block.c: ... here.
26607 * crypt/sha256.c (sha256_process_block): Move to ...
26608 * crypt/sha256-block.c: ... here.
26609 * crypt/sha512.c (sha512_process_block): Move to ...
26610 * crypt/sha512-block.c: ... here.
26611 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26612 path.
26613 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26614 * sysdeps/sparc/sparc64/multiarch/Makefile
26615 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26616 crypt subdir.
26617 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26618 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26619 multiarch changes.
26620 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26621 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26622 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26623 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26624 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26625 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26626 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26627 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26628 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26629 file.
26630 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26631 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26632 file.
26633 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26634
8ca89318
JM
266352012-11-13 Joseph Myers <joseph@codesourcery.com>
26636
e27d476a
JM
26637 * timezone/tzselect.ksh: Update from tzcode git revision
26638 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26639 * timezone/zdump.c: Likewise.
26640 * timezone/zic.c: Likewise.
26641 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26642 in TZVERSION setting, not $(PKGVERSION).
26643 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26644 REPORT_BUGS_TO settings.
26645
8ca89318
JM
26646 [BZ #14838]
26647 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26648 macro.
26649
47594329
MS
266502012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26651
26652 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26653 detection to immediately after _FP_ROUND().
26654 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26655 bits are 0.
26656
640ac3f1
DM
266572012-11-11 David S. Miller <davem@davemloft.net>
26658
26659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26660 inttypes.h
26661 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26662 __close rather than their public counterparts.
26663
3d2577bb
JM
266642012-11-10 Joseph Myers <joseph@codesourcery.com>
26665
26666 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26667 file.
26668 [UNIX98] (sem_timedwait): Do not expect.
26669 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26670 [XPG4 || UNIX98] (sockatmark): Do not expect.
26671 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26672 (clock_getcpuclockid): Do not expect.
26673 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26674 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26675 Do not expect.
26676 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26677 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26678 [UNIX98] (vwscanf): Likewise.
26679 [UNIX98] (vswscanf): Likewise.
26680
fb1ae1ee
JM
266812012-11-09 Joseph Myers <joseph@codesourcery.com>
26682
9ec6f8bd
JM
26683 * timezone/version.h: Remove file.
26684 * timezone/README: Do not refer to version.h.
26685 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26686 $(objpfx)version.h.
26687 ($(objpfx)zdump.o): Likewise.
c3f81911 26688 ($(objpfx)version.h): New target.
9ec6f8bd 26689
0aa8f8a1
JM
26690 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26691 2012i.
26692 * timezone/README: Don't mention modification to tzselect.ksh.
26693 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26694 work on unmodified tzselect.ksh. Substitute version numbers in
26695 tzselect.ksh.
26696
4e87147f
JM
26697 * Makefile (format-me): Remove.
26698 (INSTALL): Adjust indentation. Use commands directly instead of
26699 using $(format-me).
26700
8b748aed
JM
26701 * aclocal.m4 (ACX_PKGVERSION): New macro.
26702 (ACX_BUGURL): Likewise.
26703 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26704 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26705 (REPORT_BUGS_TO): Likewise.
26706 * configure: Regenerated.
26707 * config.h.in (PKGVERSION): New macro.
26708 (REPORT_BUGS_TO): Likewise.
26709 * config.make.in (PKGVERSION): New variable.
26710 (PKGVERSION_TEXI): Likewise.
26711 (REPORT_BUGS_TO): Likewise.
26712 (REPORT_BUGS_TEXI): Likewise.
26713 * Makefile (format-me): Use -I$(common-objpfx)manual.
26714 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26715 ($(common-objpfx)manual/%): New target.
26716 (manual/%): Remove target.
26717 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26718 (print_version): Use PKGVERSION.
26719 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26720 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26721 and REPORT_BUGS_TO.
26722 ($(objpfx)xtrace): Likewise.
26723 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26724 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26725 (print_version): Use PKGVERSION.
26726 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26727 (do_version): Use PKGVERSION.
26728 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26729 REPORT_BUGS_TO.
26730 (common-ldd-rewrite): Likewise.
26731 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26732 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26733 (print_version): Use PKGVERSION.
26734 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26735 * elf/pldd.c (argp_program_bug_address): Remove variable.
26736 (more_help): New function.
26737 (argp): Use more_help.
26738 (print_version): Use PKGVERSION.
26739 * elf/sln.c (main): Use PKGVERSION.
26740 (usage): Use REPORT_BUGS_TO.
26741 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26742 (top level): Use PKGVERSION.
26743 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26744 (print_version): Use PKGVERSION.
26745 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26746 (print_version): Use PKGVERSION.
26747 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26748 (print_version): Use PKGVERSION.
26749 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26750 (print_version): Use PKGVERSION.
26751 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26752 (print_version): Use PKGVERSION.
26753 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26754 (print_version): Use PKGVERSION.
26755 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26756 and BUGURL.
26757 ($(objpfx)memusage): Likewise.
26758 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26759 (do_version): Use PKGVERSION.
26760 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26761 (print_version): Use PKGVERSION.
26762 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26763 ($PKGVERSION): New variable.
26764 ($REPORT_BUGS_TO): Likewise.
26765 (usage): Use $REPORT_BUGS_TO.
26766 (top level): Use $PKGVERSION.
26767 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26768 ($(objpfx)pkgvers.texi): New rule.
26769 ($(objpfx)stamp-pkgvers): Likewise.
26770 * manual/install.texi: Include pkgvers.texi.
26771 (--with-pkgversion): Document new configure option.
26772 (--with-bugurl): Likewise.
26773 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26774 than necessarily for this particular distribution. Use
26775 REPORT_BUGS_TO for where to report bugs.
26776 * INSTALL: Regenerated.
26777 * manual/libc.texinfo: Include pkgvers.texi.
26778 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26779 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26780 (print_version): Use PKGVERSION.
26781 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26782 (print_version): Use PKGVERSION.
26783 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26784 (print_version): Use PKGVERSION.
26785 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26786 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26787 macro.
26788 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26789 (print_version): Use PKGVERSION.
26790 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26791 (print_version): Use PKGVERSION.
26792 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26793 and PKGVERSION.
26794
92e4b6a9
JM
26795 * timezone/checktab.awk: Update from tzcode 2012i.
26796 * timezone/ialloc.c: Likewise.
26797 * timezone/private.h: Likewise.
26798 * timezone/scheck.c: Likewise.
26799 * timezone/tzfile.h: Likewise.
26800 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26801 (TZVERSION): Hardcode tzcode version number.
26802 * timezone/zdump.c: Update from tzcode 2012i.
26803 * timezone/zic.c: Likewise.
26804 * timezone/version.h: New file.
26805 * timezone/README: Describe version.h. Update upstream location.
26806
9bde902c
JM
26807 [BZ #14824]
26808 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26809 (mktemp): Enable declaration.
26810 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26811 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26812 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26813 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26814 Likewise.
26815 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26816 Likewise.
26817 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26818 Likewise.
26819 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26820 Likewise.
26821 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26822 Likewise.
26823 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26824 Likewise.
26825
fb1ae1ee
JM
26826 [BZ #14821]
26827 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26828 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26829 for copies of such integer values.
26830 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26831 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26832
2c1adbcb
AJ
268332012-11-09 Andreas Jaeger <aj@suse.de>
26834
26835 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26836 definitions and declarations that are provided by
26837 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26838
d0f8457e
AK
268392012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26840
3a235abb 26841 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26842 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26843 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26844 definition.
26845
57241e26
MS
268462012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26847
26848 * elf/elf.h: Update comment before AArch64 relocations.
26849
60e8270d
DM
268502012-11-07 David S. Miller <davem@davemloft.net>
26851
26852 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26853 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26854 (__start_context): Declare.
26855 (__makecontext_ret): Delete.
26856 (__makecontext): Hook up __start_context instead of
26857 __makecontext_ret.
26858 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26859 (sysdep_routines): Add __start_context when in stdlib.
26860
0fbb0fbc
JM
268612012-11-07 Joseph Myers <joseph@codesourcery.com>
26862
26863 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26864 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26865 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26866 hardcoded "nm".
26867 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26868 (READELF): New variable. Use it instead of hardcoded "readelf".
26869
eb48db7e
L
268702012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26871
26872 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26873 * sysdeps/x86/Makefile: Here.
26874 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26875 * sysdeps/x86/tst-xmmymm.sh: This.
26876
05bcf62a
JM
268772012-11-07 Joseph Myers <joseph@codesourcery.com>
26878
c4b6cf53
JM
26879 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26880 expectations.
26881 [UNIX98] (pthread_barrier_t): Do not expect.
26882 [UNIX98] (pthread_barrierattr_t): Likewise.
26883 [UNIX98] (pthread_spinlock_t): Likewise.
26884 [UNIX98] (pthread_barrier_destroy): Likewise.
26885 [UNIX98] (pthread_barrier_init): Likewise.
26886 [UNIX98] (pthread_barrier_wait): Likewise.
26887 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26888 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26889 [UNIX98] (pthread_barrierattr_init): Likewise.
26890 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26891 [UNIX98] (pthread_getcpuclockid): Likewise.
26892 [UNIX98] (pthread_mutex_timedlock): Likewise.
26893 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26894 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26895 [UNIX98] (pthread_sigmask): Likewise.
26896 [UNIX98] (pthread_spin_destroy): Likewise.
26897 [UNIX98] (pthread_spin_init): Likewise.
26898 [UNIX98] (pthread_spin_lock): Likewise.
26899 [UNIX98] (pthread_spin_trylock): Likewise.
26900 [UNIX98] (pthread_spin_unlock): Likewise.
26901 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26902 Do not expect.
26903 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26904 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26905 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26906 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26907 [XPG3 || XPG4] (pthread_key_t): Likewise.
26908 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26909 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26910 [XPG3 || XPG4] (pthread_once_t): Likewise.
26911 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26912 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26913 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26914 [XPG3 || XPG4] (pthread_t): Likewise.
26915
cbe6e120
JM
26916 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26917 not expect.
26918 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26919
1b126443
JM
26920 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26921 Change function return type to int.
26922
b961a573
JM
26923 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26924 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26925 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26926 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26927 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26928 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26929 [!POSIX] (posix_madvise): Likewise.
26930 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26931 && !UNIX98].
26932 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26933 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26934 (mode_t): Likewise.
26935 (posix_mem_offset): Likewise.
26936 (posix_typed_mem_get_info): Likewise.
26937 (posix_typed_mem_open): Likewise.
26938
9e188909
JM
26939 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26940 Change condition to [XOPEN2K8].
26941
05bcf62a
JM
26942 * conform/conformtest.pl: Preprocess allow-header data with -x c
26943 instead of from stdin.
26944 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26945 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26946 [C99-based standards] (cerfc): Likewise.
26947 [C99-based standards] (cexp2): Likewise.
26948 [C99-based standards] (cexpm1): Likewise.
26949 [C99-based standards] (clog10): Likewise.
26950 [C99-based standards] (clog1p): Likewise.
26951 [C99-based standards] (clog2): Likewise.
26952 [C99-based standards] (clgamma): Likewise.
26953 [C99-based standards] (ctgamma): Likewise.
26954 [C99-based standards] (cerff): Likewise.
26955 [C99-based standards] (cerfcf): Likewise.
26956 [C99-based standards] (cexp2f): Likewise.
26957 [C99-based standards] (cexpm1f): Likewise.
26958 [C99-based standards] (clog10f): Likewise.
26959 [C99-based standards] (clog1pf): Likewise.
26960 [C99-based standards] (clog2f): Likewise.
26961 [C99-based standards] (clgammaf): Likewise.
26962 [C99-based standards] (ctgammaf): Likewise.
26963 [C99-based standards] (cerfl): Likewise.
26964 [C99-based standards] (cerfcl): Likewise.
26965 [C99-based standards] (cexp2l): Likewise.
26966 [C99-based standards] (cexpm1l): Likewise.
26967 [C99-based standards] (clog10l): Likewise.
26968 [C99-based standards] (clog1pl): Likewise.
26969 [C99-based standards] (clog2l): Likewise.
26970 [C99-based standards] (clgammal): Likewise.
26971 [C99-based standards] (ctgammal): Likewise.
26972 * conform/data/inttypes.h-data [C99-based standards]: Include
26973 stdint.h-data. Remove all expectations for stdint.h contents.
26974 [C99-based standards] (PRI*): Do not allow.
26975 [C99-based standards] (SCN*): Likewise.
26976 [C99-based standards] (*_t): Likewise.
26977 [C99-based-standards] (PRId8): Expect macro.
26978 [C99-based-standards] (PRIi8): Likewise.
26979 [C99-based-standards] (PRIo8): Likewise.
26980 [C99-based-standards] (PRIu8): Likewise.
26981 [C99-based-standards] (PRIx8): Likewise.
26982 [C99-based-standards] (PRIX8): Likewise.
26983 [C99-based-standards] (SCNd8): Likewise.
26984 [C99-based-standards] (SCNi8): Likewise.
26985 [C99-based-standards] (SCNo8): Likewise.
26986 [C99-based-standards] (SCNu8): Likewise.
26987 [C99-based-standards] (SCNx8): Likewise.
26988 [C99-based-standards] (PRIdLEAST8): Likewise.
26989 [C99-based-standards] (PRIiLEAST8): Likewise.
26990 [C99-based-standards] (PRIoLEAST8): Likewise.
26991 [C99-based-standards] (PRIuLEAST8): Likewise.
26992 [C99-based-standards] (PRIxLEAST8): Likewise.
26993 [C99-based-standards] (PRIXLEAST8): Likewise.
26994 [C99-based-standards] (SCNdLEAST8): Likewise.
26995 [C99-based-standards] (SCNiLEAST8): Likewise.
26996 [C99-based-standards] (SCNoLEAST8): Likewise.
26997 [C99-based-standards] (SCNuLEAST8): Likewise.
26998 [C99-based-standards] (SCNxLEAST8): Likewise.
26999 [C99-based-standards] (PRIdFAST8): Likewise.
27000 [C99-based-standards] (PRIiFAST8): Likewise.
27001 [C99-based-standards] (PRIoFAST8): Likewise.
27002 [C99-based-standards] (PRIuFAST8): Likewise.
27003 [C99-based-standards] (PRIxFAST8): Likewise.
27004 [C99-based-standards] (PRIXFAST8): Likewise.
27005 [C99-based-standards] (SCNdFAST8): Likewise.
27006 [C99-based-standards] (SCNiFAST8): Likewise.
27007 [C99-based-standards] (SCNoFAST8): Likewise.
27008 [C99-based-standards] (SCNuFAST8): Likewise.
27009 [C99-based-standards] (SCNxFAST8): Likewise.
27010 [C99-based-standards] (PRId16): Likewise.
27011 [C99-based-standards] (PRIi16): Likewise.
27012 [C99-based-standards] (PRIo16): Likewise.
27013 [C99-based-standards] (PRIu16): Likewise.
27014 [C99-based-standards] (PRIx16): Likewise.
27015 [C99-based-standards] (PRIX16): Likewise.
27016 [C99-based-standards] (SCNd16): Likewise.
27017 [C99-based-standards] (SCNi16): Likewise.
27018 [C99-based-standards] (SCNo16): Likewise.
27019 [C99-based-standards] (SCNu16): Likewise.
27020 [C99-based-standards] (SCNx16): Likewise.
27021 [C99-based-standards] (PRIdLEAST16): Likewise.
27022 [C99-based-standards] (PRIiLEAST16): Likewise.
27023 [C99-based-standards] (PRIoLEAST16): Likewise.
27024 [C99-based-standards] (PRIuLEAST16): Likewise.
27025 [C99-based-standards] (PRIxLEAST16): Likewise.
27026 [C99-based-standards] (PRIXLEAST16): Likewise.
27027 [C99-based-standards] (SCNdLEAST16): Likewise.
27028 [C99-based-standards] (SCNiLEAST16): Likewise.
27029 [C99-based-standards] (SCNoLEAST16): Likewise.
27030 [C99-based-standards] (SCNuLEAST16): Likewise.
27031 [C99-based-standards] (SCNxLEAST16): Likewise.
27032 [C99-based-standards] (PRIdFAST16): Likewise.
27033 [C99-based-standards] (PRIiFAST16): Likewise.
27034 [C99-based-standards] (PRIoFAST16): Likewise.
27035 [C99-based-standards] (PRIuFAST16): Likewise.
27036 [C99-based-standards] (PRIxFAST16): Likewise.
27037 [C99-based-standards] (PRIXFAST16): Likewise.
27038 [C99-based-standards] (SCNdFAST16): Likewise.
27039 [C99-based-standards] (SCNiFAST16): Likewise.
27040 [C99-based-standards] (SCNoFAST16): Likewise.
27041 [C99-based-standards] (SCNuFAST16): Likewise.
27042 [C99-based-standards] (SCNxFAST16): Likewise.
27043 [C99-based-standards] (PRId32): Likewise.
27044 [C99-based-standards] (PRIi32): Likewise.
27045 [C99-based-standards] (PRIo32): Likewise.
27046 [C99-based-standards] (PRIu32): Likewise.
27047 [C99-based-standards] (PRIx32): Likewise.
27048 [C99-based-standards] (PRIX32): Likewise.
27049 [C99-based-standards] (SCNd32): Likewise.
27050 [C99-based-standards] (SCNi32): Likewise.
27051 [C99-based-standards] (SCNo32): Likewise.
27052 [C99-based-standards] (SCNu32): Likewise.
27053 [C99-based-standards] (SCNx32): Likewise.
27054 [C99-based-standards] (PRIdLEAST32): Likewise.
27055 [C99-based-standards] (PRIiLEAST32): Likewise.
27056 [C99-based-standards] (PRIoLEAST32): Likewise.
27057 [C99-based-standards] (PRIuLEAST32): Likewise.
27058 [C99-based-standards] (PRIxLEAST32): Likewise.
27059 [C99-based-standards] (PRIXLEAST32): Likewise.
27060 [C99-based-standards] (SCNdLEAST32): Likewise.
27061 [C99-based-standards] (SCNiLEAST32): Likewise.
27062 [C99-based-standards] (SCNoLEAST32): Likewise.
27063 [C99-based-standards] (SCNuLEAST32): Likewise.
27064 [C99-based-standards] (SCNxLEAST32): Likewise.
27065 [C99-based-standards] (PRIdFAST32): Likewise.
27066 [C99-based-standards] (PRIiFAST32): Likewise.
27067 [C99-based-standards] (PRIoFAST32): Likewise.
27068 [C99-based-standards] (PRIuFAST32): Likewise.
27069 [C99-based-standards] (PRIxFAST32): Likewise.
27070 [C99-based-standards] (PRIXFAST32): Likewise.
27071 [C99-based-standards] (SCNdFAST32): Likewise.
27072 [C99-based-standards] (SCNiFAST32): Likewise.
27073 [C99-based-standards] (SCNoFAST32): Likewise.
27074 [C99-based-standards] (SCNuFAST32): Likewise.
27075 [C99-based-standards] (SCNxFAST32): Likewise.
27076 [C99-based-standards] (PRId64): Likewise.
27077 [C99-based-standards] (PRIi64): Likewise.
27078 [C99-based-standards] (PRIo64): Likewise.
27079 [C99-based-standards] (PRIu64): Likewise.
27080 [C99-based-standards] (PRIx64): Likewise.
27081 [C99-based-standards] (PRIX64): Likewise.
27082 [C99-based-standards] (SCNd64): Likewise.
27083 [C99-based-standards] (SCNi64): Likewise.
27084 [C99-based-standards] (SCNo64): Likewise.
27085 [C99-based-standards] (SCNu64): Likewise.
27086 [C99-based-standards] (SCNx64): Likewise.
27087 [C99-based-standards] (PRIdLEAST64): Likewise.
27088 [C99-based-standards] (PRIiLEAST64): Likewise.
27089 [C99-based-standards] (PRIoLEAST64): Likewise.
27090 [C99-based-standards] (PRIuLEAST64): Likewise.
27091 [C99-based-standards] (PRIxLEAST64): Likewise.
27092 [C99-based-standards] (PRIXLEAST64): Likewise.
27093 [C99-based-standards] (SCNdLEAST64): Likewise.
27094 [C99-based-standards] (SCNiLEAST64): Likewise.
27095 [C99-based-standards] (SCNoLEAST64): Likewise.
27096 [C99-based-standards] (SCNuLEAST64): Likewise.
27097 [C99-based-standards] (SCNxLEAST64): Likewise.
27098 [C99-based-standards] (PRIdFAST64): Likewise.
27099 [C99-based-standards] (PRIiFAST64): Likewise.
27100 [C99-based-standards] (PRIoFAST64): Likewise.
27101 [C99-based-standards] (PRIuFAST64): Likewise.
27102 [C99-based-standards] (PRIxFAST64): Likewise.
27103 [C99-based-standards] (PRIXFAST64): Likewise.
27104 [C99-based-standards] (SCNdFAST64): Likewise.
27105 [C99-based-standards] (SCNiFAST64): Likewise.
27106 [C99-based-standards] (SCNoFAST64): Likewise.
27107 [C99-based-standards] (SCNuFAST64): Likewise.
27108 [C99-based-standards] (SCNxFAST64): Likewise.
27109 [C99-based-standards] (PRIdMAX): Likewise.
27110 [C99-based-standards] (PRIiMAX): Likewise.
27111 [C99-based-standards] (PRIoMAX): Likewise.
27112 [C99-based-standards] (PRIuMAX): Likewise.
27113 [C99-based-standards] (PRIxMAX): Likewise.
27114 [C99-based-standards] (PRIXMAX): Likewise.
27115 [C99-based-standards] (SCNdMAX): Likewise.
27116 [C99-based-standards] (SCNiMAX): Likewise.
27117 [C99-based-standards] (SCNoMAX): Likewise.
27118 [C99-based-standards] (SCNuMAX): Likewise.
27119 [C99-based-standards] (SCNxMAX): Likewise.
27120 [C99-based-standards] (PRIdPTR): Likewise.
27121 [C99-based-standards] (PRIiPTR): Likewise.
27122 [C99-based-standards] (PRIoPTR): Likewise.
27123 [C99-based-standards] (PRIuPTR): Likewise.
27124 [C99-based-standards] (PRIxPTR): Likewise.
27125 [C99-based-standards] (PRIXPTR): Likewise.
27126 [C99-based-standards] (SCNdPTR): Likewise.
27127 [C99-based-standards] (SCNiPTR): Likewise.
27128 [C99-based-standards] (SCNoPTR): Likewise.
27129 [C99-based-standards] (SCNuPTR): Likewise.
27130 [C99-based-standards] (SCNxPTR): Likewise.
27131 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27132 allow.
27133 * conform/data/stdint.h-data: Update comments to clarify
27134 requirements.
27135 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27136 type.
27137 [C99-based standards] (INT8_MAX): Likewise.
27138 [C99-based standards] (INT16_MIN): Likewise.
27139 [C99-based standards] (INT16_MAX): Likewise.
27140 [C99-based standards] (INT32_MIN): Likewise.
27141 [C99-based standards] (INT32_MAX): Likewise.
27142 [C99-based standards] (INT64_MIN): Likewise.
27143 [C99-based standards] (INT64_MAX): Likewise.
27144 [C99-based standards] (UINT8_MAX): Likewise.
27145 [C99-based standards] (UINT16_MAX): Likewise.
27146 [C99-based standards] (UINT32_MAX): Likewise.
27147 [C99-based standards] (UINT64_MAX): Likewise.
27148 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27149 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27150 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27151 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27152 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27153 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27154 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27155 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27156 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27157 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27158 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27159 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27160 [C99-based standards] (INT_FAST8_MIN): Likewise.
27161 [C99-based standards] (INT_FAST8_MAX): Likewise.
27162 [C99-based standards] (INT_FAST16_MIN): Likewise.
27163 [C99-based standards] (INT_FAST16_MAX): Likewise.
27164 [C99-based standards] (INT_FAST32_MIN): Likewise.
27165 [C99-based standards] (INT_FAST32_MAX): Likewise.
27166 [C99-based standards] (INT_FAST64_MIN): Likewise.
27167 [C99-based standards] (INT_FAST64_MAX): Likewise.
27168 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27169 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27170 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27171 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27172 [C99-based standards] (INTPTR_MIN): Likewise.
27173 [C99-based standards] (INTPTR_MAX): Likewise.
27174 [C99-based standards] (UINTPTR_MAX): Likewise.
27175 [C99-based standards] (INTMAX_MIN): Likewise.
27176 [C99-based standards] (INTMAX_MAX): Likewise.
27177 [C99-based standards] (UINTMAX_MAX): Likewise.
27178 [C99-based standards] (PTRDIFF_MIN): Likewise.
27179 [C99-based standards] (PTRDIFF_MAX): Likewise.
27180 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27181 [C99-based standards] (SIZE_MAX): Likewise.
27182 [C99-based standards] (WCHAR_MAX): Likewise.
27183 [C99-based standards] (WINT_MAX): Likewise.
27184 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27185 constraint on value.
27186 [C99-based standards] (WCHAR_MIN): Likewise.
27187 [C99-based standards] (WINT_MIN): Likewise.
27188 [C99-based standards] (*_t): Allow.
27189 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27190 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27191 Include math.h-data and complex.h-data. Remove all expectations
27192 of math.h and complex.h contents.
27193 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27194 at end of line.
27195 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27196 (struct tm): Expect tag.
27197 [C99-based-standards] (wcstof): Expect function.
27198 [C99-based-standards] (wcstold): Likewise.
27199 [C99-based-standards] (wcstoll): Likewise.
27200 [C99-based-standards] (wcstoull): Likewise.
27201 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27202 macro-int-constant. Specify type.
27203 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27204 constraint on value.
27205 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27206 Specify type.
27207 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27208 Specify value.
27209 [ISO C standards]: Do not allow headers.
27210 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27211 wcs[abcdefghijklmnopqrstuvwxyz]*.
27212 [ISO C standards] (*_t): Do not allow.
27213 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27214 Expect function.
27215 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27216 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27217 Specify type.
27218 [ISO C standards]: Do not allow headers.
27219 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27220 is[abcdefghijklmnopqrstuvwxyz]*.
27221 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27222 to[abcdefghijklmnopqrstuvwxyz]*.
27223 [ISO C standards] (*_t): Do not allow.
27224 * conform/data/stdalign.h-data: New file.
27225 * conform/data/stdbool.h-data: Likewise.
27226 * conform/data/stdnoreturn.h-data: Likewise.
27227
7514feb8
RM
272282012-11-07 Roland McGrath <roland@hack.frob.com>
27229
27230 [BZ #14815]
27231 * manual/filesys.texi (Directory Entries): Typo fix.
27232 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27233
19b2ecfc
MS
272342012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27235
27236 * elf/elf.h (EM_AARCH64): New macro.
27237 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27238 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27239 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27240 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27241 (R_AARCH64_TLSDESC): Likewise.
27242 (NT_ARM_TLS): Likewise.
27243 (NT_ARM_HW_BREAK): Likewise.
27244 (NT_ARM_HW_WATCH): Likewise.
27245
60e235ee
JM
272462012-11-07 Joseph Myers <joseph@codesourcery.com>
27247
27248 [BZ #14811]
27249 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27250 (__ieee754_powl): Saturate nonzero exponents with absolute value
27251 below 0x1p-79 to +/- 0x1p-79.
27252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27253 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27254 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27255 nonzero exponents with absolute value below 0x1p-32 to +/-
27256 0x1p-32.
27257 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27258 (__ieee754_powl): Saturate nonzero exponents with absolute value
27259 below 0x1p-79 to +/- 0x1p-79.
27260 * math/libm-test.inc (pow_test): Add more tests.
27261
0ab234b7
AK
272622012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27263
27264 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27265 _dl_s390_cap_flags with kernel. Increase string length.
27266 (_dl_s390_platforms): Add z196 and zEC12.
27267
45832f74
JM
272682012-11-07 Joseph Myers <joseph@codesourcery.com>
27269
27270 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27271 Change XOPEN21K to XOPEN2K.
27272
19218757
MK
272732012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27274
27275 * string/memmove.c: Use memcpy when possible.
27276
c5f45721
AJ
272772012-11-06 Andreas Jaeger <aj@suse.de>
27278
27279 * po/eo.po: Update from translation team.
27280
82477c28
JM
272812012-11-06 Joseph Myers <joseph@codesourcery.com>
27282
27283 [BZ #14793]
27284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27285 exponent and small x and y exponents, scale x or y up. Increase
27286 by 2 the exponent used in scaling up.
27287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27289 * math/libm-test.inc (fma_test): Add more tests.
27290 (fma_test_towardzero): Likewise.
27291 (fma_test_downward): Likewise.
27292 (fma_test_upward): Likewise.
27293
99252c8c
JM
272942012-11-05 Joseph Myers <joseph@codesourcery.com>
27295
acfa885f
JM
27296 [BZ #14805]
27297 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27298 fenv_t *.
27299
99252c8c
JM
27300 [BZ #14801]
27301 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27302 namespace for names of struct fields.
27303 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27304 fenv_t fields.
27305 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27306 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27307
d6d98dea
ST
273082012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27309
27310 [BZ #3665]
27311 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27312
e10bb107
TS
273132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27314
27315 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27316 PTR_DEMANGLE.
27317
27318 [BZ #5246]
27319 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27320 PTR_DEMANGLE.
27321
a0c2940d
JM
273222012-11-04 Joseph Myers <joseph@codesourcery.com>
27323
27324 [BZ #14797]
27325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27326 definitely overflow as x * y not x * y + z.
27327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27329 * math/libm-test.inc (fma_test): Add more tests.
27330 (fma_test_towardzero): Likewise.
27331 (fma_test_downward): Likewise.
27332 (fma_test_upward): Likewise.
27333
b830319d
TS
273342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27335
27336 [BZ #157]
27337
27338 * include/stub-tag.h: Remove file.
27339 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27340 '#include' of it.
27341 * manual/maint.texi (Porting): Don't reference it.
27342 * Makerules ($(objpfx)stubs): Likewise.
27343 * dirent/closedir.c: Don't include <stub-tag.h>.
27344 * dirent/dirfd.c: Likewise.
27345 * dirent/fdopendir.c: Likewise.
27346 * dirent/getdents.c: Likewise.
27347 * dirent/getdents64.c: Likewise.
27348 * dirent/opendir.c: Likewise.
27349 * dirent/readdir.c: Likewise.
27350 * dirent/readdir64.c: Likewise.
27351 * dirent/readdir64_r.c: Likewise.
27352 * dirent/readdir_r.c: Likewise.
27353 * dirent/rewinddir.c: Likewise.
27354 * dirent/seekdir.c: Likewise.
27355 * dirent/telldir.c: Likewise.
27356 * gmon/profil.c: Likewise.
27357 * grp/setgroups.c: Likewise.
27358 * inet/if_index.c: Likewise.
27359 * io/access.c: Likewise.
27360 * io/chdir.c: Likewise.
27361 * io/chmod.c: Likewise.
27362 * io/chown.c: Likewise.
27363 * io/close.c: Likewise.
27364 * io/dup.c: Likewise.
27365 * io/dup2.c: Likewise.
27366 * io/dup3.c: Likewise.
27367 * io/euidaccess.c: Likewise.
27368 * io/faccessat.c: Likewise.
27369 * io/fchdir.c: Likewise.
27370 * io/fchmod.c: Likewise.
27371 * io/fchmodat.c: Likewise.
27372 * io/fchown.c: Likewise.
27373 * io/fchownat.c: Likewise.
27374 * io/fcntl.c: Likewise.
27375 * io/flock.c: Likewise.
27376 * io/fstatfs.c: Likewise.
27377 * io/fstatfs64.c: Likewise.
27378 * io/fstatvfs.c: Likewise.
27379 * io/fstatvfs64.c: Likewise.
27380 * io/futimens.c: Likewise.
27381 * io/fxstat.c: Likewise.
27382 * io/fxstat64.c: Likewise.
27383 * io/fxstatat.c: Likewise.
27384 * io/fxstatat64.c: Likewise.
27385 * io/getcwd.c: Likewise.
27386 * io/isatty.c: Likewise.
27387 * io/lchmod.c: Likewise.
27388 * io/lchown.c: Likewise.
27389 * io/link.c: Likewise.
27390 * io/linkat.c: Likewise.
27391 * io/lseek.c: Likewise.
27392 * io/lseek64.c: Likewise.
27393 * io/lxstat64.c: Likewise.
27394 * io/mkdir.c: Likewise.
27395 * io/mkdirat.c: Likewise.
27396 * io/mkfifo.c: Likewise.
27397 * io/mkfifoat.c: Likewise.
27398 * io/open.c: Likewise.
27399 * io/open64.c: Likewise.
27400 * io/openat.c: Likewise.
27401 * io/openat64.c: Likewise.
27402 * io/pipe.c: Likewise.
27403 * io/pipe2.c: Likewise.
27404 * io/poll.c: Likewise.
27405 * io/posix_fadvise.c: Likewise.
27406 * io/posix_fadvise64.c: Likewise.
27407 * io/posix_fallocate.c: Likewise.
27408 * io/posix_fallocate64.c: Likewise.
27409 * io/read.c: Likewise.
27410 * io/readlink.c: Likewise.
27411 * io/readlinkat.c: Likewise.
27412 * io/rmdir.c: Likewise.
27413 * io/sendfile.c: Likewise.
27414 * io/sendfile64.c: Likewise.
27415 * io/statfs.c: Likewise.
27416 * io/statfs64.c: Likewise.
27417 * io/statvfs.c: Likewise.
27418 * io/statvfs64.c: Likewise.
27419 * io/symlink.c: Likewise.
27420 * io/symlinkat.c: Likewise.
27421 * io/ttyname.c: Likewise.
27422 * io/ttyname_r.c: Likewise.
27423 * io/umask.c: Likewise.
27424 * io/unlink.c: Likewise.
27425 * io/unlinkat.c: Likewise.
27426 * io/utime.c: Likewise.
27427 * io/utimensat.c: Likewise.
27428 * io/write.c: Likewise.
27429 * io/xmknod.c: Likewise.
27430 * io/xmknodat.c: Likewise.
27431 * io/xstat.c: Likewise.
27432 * io/xstat64.c: Likewise.
27433 * login/getpt.c: Likewise.
27434 * login/grantpt.c: Likewise.
27435 * login/unlockpt.c: Likewise.
27436 * math/e_acoshl.c: Likewise.
27437 * math/e_acosl.c: Likewise.
27438 * math/e_asinl.c: Likewise.
27439 * math/e_atan2l.c: Likewise.
27440 * math/e_atanhl.c: Likewise.
27441 * math/e_coshl.c: Likewise.
27442 * math/e_expl.c: Likewise.
27443 * math/e_fmodl.c: Likewise.
27444 * math/e_gammal_r.c: Likewise.
27445 * math/e_hypotl.c: Likewise.
27446 * math/e_j0l.c: Likewise.
27447 * math/e_j1l.c: Likewise.
27448 * math/e_jnl.c: Likewise.
27449 * math/e_lgammal_r.c: Likewise.
27450 * math/e_log10l.c: Likewise.
27451 * math/e_log2l.c: Likewise.
27452 * math/e_logl.c: Likewise.
27453 * math/e_powl.c: Likewise.
27454 * math/e_rem_pio2l.c: Likewise.
27455 * math/e_sinhl.c: Likewise.
27456 * math/e_sqrtl.c: Likewise.
27457 * math/fclrexcpt.c: Likewise.
27458 * math/fedisblxcpt.c: Likewise.
27459 * math/feenablxcpt.c: Likewise.
27460 * math/fegetenv.c: Likewise.
27461 * math/fegetexcept.c: Likewise.
27462 * math/fegetround.c: Likewise.
27463 * math/feholdexcpt.c: Likewise.
27464 * math/fesetenv.c: Likewise.
27465 * math/fesetround.c: Likewise.
27466 * math/feupdateenv.c: Likewise.
27467 * math/fgetexcptflg.c: Likewise.
27468 * math/fraiseexcpt.c: Likewise.
27469 * math/fsetexcptflg.c: Likewise.
27470 * math/ftestexcept.c: Likewise.
27471 * math/k_cosl.c: Likewise.
27472 * math/k_rem_pio2l.c: Likewise.
27473 * math/k_sinl.c: Likewise.
27474 * math/k_tanl.c: Likewise.
27475 * math/s_asinhl.c: Likewise.
27476 * math/s_atanl.c: Likewise.
27477 * math/s_cbrtl.c: Likewise.
27478 * math/s_erfl.c: Likewise.
27479 * math/s_expm1l.c: Likewise.
27480 * math/s_log1pl.c: Likewise.
27481 * math/s_tanhl.c: Likewise.
27482 * misc/acct.c: Likewise.
27483 * misc/brk.c: Likewise.
27484 * misc/chflags.c: Likewise.
27485 * misc/chroot.c: Likewise.
27486 * misc/fchflags.c: Likewise.
27487 * misc/fgetxattr.c: Likewise.
27488 * misc/flistxattr.c: Likewise.
27489 * misc/fremovexattr.c: Likewise.
27490 * misc/fsetxattr.c: Likewise.
27491 * misc/fsync.c: Likewise.
27492 * misc/ftruncate.c: Likewise.
27493 * misc/futimes.c: Likewise.
27494 * misc/futimesat.c: Likewise.
27495 * misc/getdomain.c: Likewise.
27496 * misc/getdtsz.c: Likewise.
27497 * misc/gethostid.c: Likewise.
27498 * misc/gethostname.c: Likewise.
27499 * misc/getloadavg.c: Likewise.
27500 * misc/getpagesize.c: Likewise.
27501 * misc/getsysstats.c: Likewise.
27502 * misc/getxattr.c: Likewise.
27503 * misc/gtty.c: Likewise.
27504 * misc/ioctl.c: Likewise.
27505 * misc/lgetxattr.c: Likewise.
27506 * misc/listxattr.c: Likewise.
27507 * misc/llistxattr.c: Likewise.
27508 * misc/lremovexattr.c: Likewise.
27509 * misc/lsetxattr.c: Likewise.
27510 * misc/lutimes.c: Likewise.
27511 * misc/madvise.c: Likewise.
27512 * misc/mincore.c: Likewise.
27513 * misc/mlock.c: Likewise.
27514 * misc/mlockall.c: Likewise.
27515 * misc/mmap.c: Likewise.
27516 * misc/mprotect.c: Likewise.
27517 * misc/msync.c: Likewise.
27518 * misc/munlock.c: Likewise.
27519 * misc/munlockall.c: Likewise.
27520 * misc/munmap.c: Likewise.
27521 * misc/preadv.c: Likewise.
27522 * misc/preadv64.c: Likewise.
27523 * misc/ptrace.c: Likewise.
27524 * misc/pwritev.c: Likewise.
27525 * misc/pwritev64.c: Likewise.
27526 * misc/readv.c: Likewise.
27527 * misc/reboot.c: Likewise.
27528 * misc/remap_file_pages.c: Likewise.
27529 * misc/removexattr.c: Likewise.
27530 * misc/revoke.c: Likewise.
27531 * misc/select.c: Likewise.
27532 * misc/setdomain.c: Likewise.
27533 * misc/setegid.c: Likewise.
27534 * misc/seteuid.c: Likewise.
27535 * misc/sethostid.c: Likewise.
27536 * misc/sethostname.c: Likewise.
27537 * misc/setregid.c: Likewise.
27538 * misc/setreuid.c: Likewise.
27539 * misc/setxattr.c: Likewise.
27540 * misc/sstk.c: Likewise.
27541 * misc/stty.c: Likewise.
27542 * misc/swapoff.c: Likewise.
27543 * misc/swapon.c: Likewise.
27544 * misc/sync.c: Likewise.
27545 * misc/syncfs.c: Likewise.
27546 * misc/syscall.c: Likewise.
27547 * misc/truncate.c: Likewise.
27548 * misc/ualarm.c: Likewise.
27549 * misc/usleep.c: Likewise.
27550 * misc/ustat.c: Likewise.
27551 * misc/utimes.c: Likewise.
27552 * misc/vhangup.c: Likewise.
27553 * misc/writev.c: Likewise.
27554 * posix/_exit.c: Likewise.
27555 * posix/alarm.c: Likewise.
27556 * posix/execve.c: Likewise.
27557 * posix/fexecve.c: Likewise.
27558 * posix/fork.c: Likewise.
27559 * posix/fpathconf.c: Likewise.
27560 * posix/getaddrinfo.c: Likewise.
27561 * posix/getegid.c: Likewise.
27562 * posix/geteuid.c: Likewise.
27563 * posix/getgid.c: Likewise.
27564 * posix/getgroups.c: Likewise.
27565 * posix/getlogin.c: Likewise.
27566 * posix/getlogin_r.c: Likewise.
27567 * posix/getpgid.c: Likewise.
27568 * posix/getpid.c: Likewise.
27569 * posix/getppid.c: Likewise.
27570 * posix/getresgid.c: Likewise.
27571 * posix/getresuid.c: Likewise.
27572 * posix/getsid.c: Likewise.
27573 * posix/getuid.c: Likewise.
27574 * posix/glob64.c: Likewise.
27575 * posix/nanosleep.c: Likewise.
27576 * posix/pathconf.c: Likewise.
27577 * posix/pause.c: Likewise.
27578 * posix/posix_madvise.c: Likewise.
27579 * posix/pread.c: Likewise.
27580 * posix/pread64.c: Likewise.
27581 * posix/pwrite.c: Likewise.
27582 * posix/pwrite64.c: Likewise.
27583 * posix/sched_getaffinity.c: Likewise.
27584 * posix/sched_getp.c: Likewise.
27585 * posix/sched_gets.c: Likewise.
27586 * posix/sched_primax.c: Likewise.
27587 * posix/sched_primin.c: Likewise.
27588 * posix/sched_rr_gi.c: Likewise.
27589 * posix/sched_setaffinity.c: Likewise.
27590 * posix/sched_setp.c: Likewise.
27591 * posix/sched_sets.c: Likewise.
27592 * posix/sched_yield.c: Likewise.
27593 * posix/setgid.c: Likewise.
27594 * posix/setlogin.c: Likewise.
27595 * posix/setpgid.c: Likewise.
27596 * posix/setresgid.c: Likewise.
27597 * posix/setresuid.c: Likewise.
27598 * posix/setsid.c: Likewise.
27599 * posix/setuid.c: Likewise.
27600 * posix/sleep.c: Likewise.
27601 * posix/spawni.c: Likewise.
27602 * posix/sysconf.c: Likewise.
27603 * posix/times.c: Likewise.
27604 * posix/wait.c: Likewise.
27605 * posix/wait3.c: Likewise.
27606 * posix/wait4.c: Likewise.
27607 * posix/waitpid.c: Likewise.
27608 * resolv/gai_sigqueue.c: Likewise.
27609 * resource/getpriority.c: Likewise.
27610 * resource/getrlimit.c: Likewise.
27611 * resource/getrusage.c: Likewise.
27612 * resource/nice.c: Likewise.
27613 * resource/setpriority.c: Likewise.
27614 * resource/setrlimit.c: Likewise.
27615 * resource/ulimit.c: Likewise.
27616 * rt/aio_cancel.c: Likewise.
27617 * rt/aio_fsync.c: Likewise.
27618 * rt/aio_read.c: Likewise.
27619 * rt/aio_sigqueue.c: Likewise.
27620 * rt/aio_suspend.c: Likewise.
27621 * rt/aio_write.c: Likewise.
27622 * rt/clock_getres.c: Likewise.
27623 * rt/clock_gettime.c: Likewise.
27624 * rt/clock_nanosleep.c: Likewise.
27625 * rt/clock_settime.c: Likewise.
27626 * rt/lio_listio.c: Likewise.
27627 * rt/mq_close.c: Likewise.
27628 * rt/mq_getattr.c: Likewise.
27629 * rt/mq_notify.c: Likewise.
27630 * rt/mq_open.c: Likewise.
27631 * rt/mq_receive.c: Likewise.
27632 * rt/mq_send.c: Likewise.
27633 * rt/mq_setattr.c: Likewise.
27634 * rt/mq_timedreceive.c: Likewise.
27635 * rt/mq_timedsend.c: Likewise.
27636 * rt/mq_unlink.c: Likewise.
27637 * rt/shm_open.c: Likewise.
27638 * rt/shm_unlink.c: Likewise.
27639 * rt/timer_create.c: Likewise.
27640 * rt/timer_delete.c: Likewise.
27641 * rt/timer_getoverr.c: Likewise.
27642 * rt/timer_gettime.c: Likewise.
27643 * rt/timer_settime.c: Likewise.
27644 * setjmp/__longjmp.c: Likewise.
27645 * setjmp/setjmp.c: Likewise.
27646 * signal/kill.c: Likewise.
27647 * signal/killpg.c: Likewise.
27648 * signal/raise.c: Likewise.
27649 * signal/sigaction.c: Likewise.
27650 * signal/sigaltstack.c: Likewise.
27651 * signal/sigblock.c: Likewise.
27652 * signal/sigignore.c: Likewise.
27653 * signal/sigintr.c: Likewise.
27654 * signal/signal.c: Likewise.
27655 * signal/sigpause.c: Likewise.
27656 * signal/sigpending.c: Likewise.
27657 * signal/sigqueue.c: Likewise.
27658 * signal/sigreturn.c: Likewise.
27659 * signal/sigset.c: Likewise.
27660 * signal/sigsetmask.c: Likewise.
27661 * signal/sigstack.c: Likewise.
27662 * signal/sigsuspend.c: Likewise.
27663 * signal/sigtimedwait.c: Likewise.
27664 * signal/sigvec.c: Likewise.
27665 * signal/sigwait.c: Likewise.
27666 * signal/sigwaitinfo.c: Likewise.
27667 * signal/sysv_signal.c: Likewise.
27668 * socket/accept.c: Likewise.
27669 * socket/accept4.c: Likewise.
27670 * socket/bind.c: Likewise.
27671 * socket/connect.c: Likewise.
27672 * socket/getpeername.c: Likewise.
27673 * socket/getsockname.c: Likewise.
27674 * socket/getsockopt.c: Likewise.
27675 * socket/isfdtype.c: Likewise.
27676 * socket/listen.c: Likewise.
27677 * socket/recv.c: Likewise.
27678 * socket/recvfrom.c: Likewise.
27679 * socket/recvmsg.c: Likewise.
27680 * socket/send.c: Likewise.
27681 * socket/sendmsg.c: Likewise.
27682 * socket/sendto.c: Likewise.
27683 * socket/setsockopt.c: Likewise.
27684 * socket/shutdown.c: Likewise.
27685 * socket/sockatmark.c: Likewise.
27686 * socket/socket.c: Likewise.
27687 * socket/socketpair.c: Likewise.
27688 * stdio-common/ctermid.c: Likewise.
27689 * stdio-common/cuserid.c: Likewise.
27690 * stdio-common/remove.c: Likewise.
27691 * stdio-common/rename.c: Likewise.
27692 * stdio-common/renameat.c: Likewise.
27693 * stdio-common/tempname.c: Likewise.
27694 * stdlib/getcontext.c: Likewise.
27695 * stdlib/makecontext.c: Likewise.
27696 * stdlib/setcontext.c: Likewise.
27697 * stdlib/swapcontext.c: Likewise.
27698 * stdlib/system.c: Likewise.
27699 * streams/fattach.c: Likewise.
27700 * streams/fdetach.c: Likewise.
27701 * streams/getmsg.c: Likewise.
27702 * streams/getpmsg.c: Likewise.
27703 * streams/putmsg.c: Likewise.
27704 * streams/putpmsg.c: Likewise.
27705 * sysdeps/unix/bsd/getpt.c: Likewise.
27706 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27707 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27708 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27710 Likewise.
27711 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27712 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27713 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27714 * sysvipc/msgctl.c: Likewise.
27715 * sysvipc/msgget.c: Likewise.
27716 * sysvipc/msgrcv.c: Likewise.
27717 * sysvipc/msgsnd.c: Likewise.
27718 * sysvipc/semctl.c: Likewise.
27719 * sysvipc/semget.c: Likewise.
27720 * sysvipc/semop.c: Likewise.
27721 * sysvipc/semtimedop.c: Likewise.
27722 * sysvipc/shmat.c: Likewise.
27723 * sysvipc/shmctl.c: Likewise.
27724 * sysvipc/shmdt.c: Likewise.
27725 * sysvipc/shmget.c: Likewise.
27726 * termios/tcdrain.c: Likewise.
27727 * termios/tcflow.c: Likewise.
27728 * termios/tcflush.c: Likewise.
27729 * termios/tcgetattr.c: Likewise.
27730 * termios/tcgetpgrp.c: Likewise.
27731 * termios/tcsendbrk.c: Likewise.
27732 * termios/tcsetattr.c: Likewise.
27733 * termios/tcsetpgrp.c: Likewise.
27734 * time/adjtime.c: Likewise.
27735 * time/clock.c: Likewise.
27736 * time/getitimer.c: Likewise.
27737 * time/gettimeofday.c: Likewise.
27738 * time/setitimer.c: Likewise.
27739 * time/settimeofday.c: Likewise.
27740 * time/stime.c: Likewise.
27741 * time/time.c: Likewise.
27742
277432012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27744
a20492cf
PT
27745 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27746 /usr/old/bin.
27747
72e182e3
PT
27748 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27749 instead of spaces.
27750 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27751
fbeafede
JM
277522012-11-03 Joseph Myers <joseph@codesourcery.com>
27753
5b5b04d6
JM
27754 [BZ #14796]
27755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27756 FE_TONEAREST before applying Dekker multiplication and Knuth
27757 addition. Clear inexact exceptions and check for exact zero
27758 results afterwards.
27759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27760 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27761 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27762 * math/libm-test.inc (fma_test): Add more tests.
27763 (fma_test_towardzero): Likewise.
27764 (fma_test_downward): Likewise.
27765 (fma_test_upward): Likewise.
27766 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27767 function.
27768 (libc_fesetround): New macro.
27769 (libc_fesetroundf): Likewise.
27770 (libc_fesetroundl): Likewise.
27771 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27772 function.
27773 (libc_fesetround_387): Likewise.
27774 (libc_fesetroundf): New macro.
27775 (libc_fesetround): Likewise.
27776 (libc_fesetroundl): Likewise.
27777 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27778 function.
27779 (libc_fesetroundf): New macro.
27780 (libc_fesetround): Likewise.
27781 (libc_fesetroundl): Likewise.
27782 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27783 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27784 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27785 libm_hidden_ver.
27786 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27787 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27788 libm_hidden_def.
27789 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27790 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27791 libm_hidden_ver.
27792 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27793 libm_hidden_def.
27794
fbeafede
JM
27795 [BZ #3439]
27796 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27797 integer constant usable in #if and use that to give value to enum
27798 constant.
27799 (FE_DIVBYZERO): Likewise.
27800 (FE_UNDERFLOW): Likewise.
27801 (FE_OVERFLOW): Likewise.
27802 (FE_INVALID): Likewise.
27803 (FE_INVALID_SNAN): Likewise.
27804 (FE_INVALID_ISI): Likewise.
27805 (FE_INVALID_IDI): Likewise.
27806 (FE_INVALID_ZDZ): Likewise.
27807 (FE_INVALID_IMZ): Likewise.
27808 (FE_INVALID_COMPARE): Likewise.
27809 (FE_INVALID_SOFTWARE): Likewise.
27810 (FE_INVALID_SQRT): Likewise.
27811 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27812 (FE_TONEAREST): Likewise.
27813 (FE_TOWARDZERO): Likewise.
27814 (FE_UPWARD): Likewise.
27815 (FE_DOWNWARD): Likewise.
27816 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27817 (FE_DIVBYZERO): Likewise.
27818 (FE_OVERFLOW): Likewise.
27819 (FE_UNDERFLOW): Likewise.
27820 (FE_INEXACT): Likewise.
27821 (FE_TONEAREST): Likewise.
27822 (FE_DOWNWARD): Likewise.
27823 (FE_UPWARD): Likewise.
27824 (FE_TOWARDZERO): Likewise.
27825 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27826 (FE_UNDERFLOW): Likewise.
27827 (FE_OVERFLOW): Likewise.
27828 (FE_DIVBYZERO): Likewise.
27829 (FE_INVALID): Likewise.
27830 (FE_TONEAREST): Likewise.
27831 (FE_TOWARDZERO): Likewise.
27832 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27833 (FE_OVERFLOW): Likewise.
27834 (FE_UNDERFLOW): Likewise.
27835 (FE_DIVBYZERO): Likewise.
27836 (FE_INEXACT): Likewise.
27837 (FE_TONEAREST): Likewise.
27838 (FE_TOWARDZERO): Likewise.
27839 (FE_UPWARD): Likewise.
27840 (FE_DOWNWARD): Likewise.
27841 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27842 (FE_DIVBYZERO): Likewise.
27843 (FE_OVERFLOW): Likewise.
27844 (FE_UNDERFLOW): Likewise.
27845 (FE_INEXACT): Likewise.
27846 (FE_TONEAREST): Likewise.
27847 (FE_DOWNWARD): Likewise.
27848 (FE_UPWARD): Likewise.
27849 (FE_TOWARDZERO): Likewise.
27850
105ca950
CM
278512012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27852
27853 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27854
a542b389
AS
278552012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27856
27857 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27858 commands. Quote $PWD.
27859 (blacklist_exports): Don't use remove_newlines. Replace "declare
27860 -x" by "export".
27861 (remove_newlines): Remove.
27862
f62c8abc
L
278632012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27864
27865 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27866 * stdlib/stdlib.h (atof): Moved to ...
27867 * include/bits/stdlib-float.h: Here. New file.
27868 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27869 * stdlib/bits/stdlib-float.h: New file.
27870 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27871 -mno-sse -mno-mmx.
27872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27873 <xmmintrin.h>.
27874
0155d5b2
JM
278752012-11-02 Joseph Myers <joseph@codesourcery.com>
27876
a68d0680
JM
27877 * conform/conformtest.pl (@headers): Add fenv.h.
27878 * conform/data/fenv.h-data: New file.
27879 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27880 include of <math/fenv.h>.
27881
caf7f573
JM
27882 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27883 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27884 && !UNIX98]. Enables tests for XOPEN2K8.
27885 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27886 POSIX2008]: Likewise.
27887
6c073ad6
JM
27888 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27889 (struct rusage): Do not expect type or its members.
27890
0155d5b2
JM
27891 [BZ #3439]
27892 * math/math.h (FP_NAN): Define macro to integer constant usable in
27893 #if and use that to give value to enum constant.
27894 (FP_INFINITE): Likewise.
27895 (FP_ZERO): Likewise.
27896 (FP_SUBNORMAL): Likewise.
27897 (FP_NORMAL): Likewise.
27898
b5dcacb4
AS
278992012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27900
27901 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27902 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27903 arguments.
27904
f7934be8
RM
279052012-11-02 Roland McGrath <roland@hack.frob.com>
27906
27907 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27908 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27909 autoconf-time if not.
27910 * configure.in: Remove AC_PREREQ.
27911
d7d08bde
TMQMF
279122012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27913
27914 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27915 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27916 of the internal implementation.
27917
dcdae19a
JM
279182012-11-02 Joseph Myers <joseph@codesourcery.com>
27919
27920 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27921 except include of <misc/sys/syslog.h>.
27922
d6cffd3e
AS
279232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27924
27925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27926 function returns with a NULL context exit with zero.
27927
b3563932
TMQMF
279282012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27929
27930 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27931
b288a93d
L
279322012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27933
27934 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27935 (run_program_cmd): This.
27936 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27937 (tst_langinfo): New variable. Use it.
27938
a2421a68
SAS
279392012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27940
27941 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27942 floating point opcodes.
27943
6f796e1b
TS
279442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27945
7402596b
TS
27946 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27947 variable.
27948
d0d4f868
TS
27949 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27950
6f796e1b
TS
27951 * sysdeps/mach/hurd/powerpc: Remove directory.
27952 * sysdeps/mach/powerpc: Likewise.
27953
4da224a2
AS
279542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27955
27956 * scripts/check-local-headers.sh: Ignore c++ headers.
27957
341dd673
TS
279582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27959
27960 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27961 __libc_cleanup_region_start argument.
27962
473611b2
JM
279632012-11-01 Joseph Myers <joseph@codesourcery.com>
27964
27965 [BZ #14784]
27966 [BZ #14785]
27967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27968 x * y using scaling, not as x * y + z.
27969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27970 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27971 * math/libm-test.inc (fma_test): Add more tests.
27972 (fma_test_towardzero): Likewise.
27973 (fma_test_downward): Likewise.
27974 (fma_test_upward): Likewise.
27975
4078da3d
TS
279762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27977
27978 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27979
903252aa
JM
279802012-10-31 Joseph Myers <joseph@codesourcery.com>
27981
27982 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27983 New variable.
27984
cbc818d0
TS
279852012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27986
27987 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27988
5a03cb1e
AS
279892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27990
27991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27992 Fix sort order.
27993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27994 Likewise.
27995
90aff2ff
TMQMF
279962012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27997
27998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27999 Fix the order of the list for glibc 2.17.
28000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28001 Likewise.
28002
1818fcb7
AS
280032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28004
28005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28006
ef82f4da
JM
280072012-10-31 Joseph Myers <joseph@codesourcery.com>
28008
16a0e2ec
JM
28009 [BZ #14610]
28010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28011 for low part of x being zero before using __atanl (y).
28012 * math/libm-test.inc (atan2_test): Add another test.
28013
0eb69512
JM
28014 * manual/install.texi (Configuring and compiling): Document
28015 general use of test-wrapper and test-wrapper-env.
28016 * INSTALL: Regenerated.
28017
ef82f4da
JM
28018 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28019 (__fma): Do not extract and scale down low bits on after-rounding
28020 systems when result rounded to normal precision would have normal
28021 exponent.
28022 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28023 (__fmal): Do not extract and scale down low bits on after-rounding
28024 systems when result rounded to normal precision would have normal
28025 exponent.
28026 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28027 (__fmal): Do not extract and scale down low bits on after-rounding
28028 systems when result rounded to normal precision would have normal
28029 exponent.
28030 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28031 macro.
28032 (fma_test): Add more tests.
28033 (fma_test_towardzero): Likewise.
28034 (fma_test_downward): Likewise.
28035 (fma_test_upward): Likewise.
28036
954ef0d9
L
280372012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28038
28039 * sysdeps/i386/tininess.h: Renamed to ...
28040 * sysdeps/x86/tininess.h: This.
28041 * sysdeps/x86_64/tininess.h: Removed.
28042
df61ffb2
JM
280432012-10-30 Joseph Myers <joseph@codesourcery.com>
28044
28045 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28046 input. Use $(build-program-cmd).
28047 ($(objpfx)tst-array1-static.out): Likewise.
28048 ($(objpfx)tst-array2.out): Likewise.
28049 ($(objpfx)tst-array3.out): Likewise.
28050 ($(objpfx)tst-array4.out): Likewise.
28051 ($(objpfx)tst-array5.out): Likewise.
28052 ($(objpfx)tst-array5-static.out): Likewise.
28053
01767843
CM
280542012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28055
47cc1490
CM
28056 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28057 if defined.
28058
01767843
CM
28059 * nss/nsswitch.h (nss_interface_function): Provide new
28060 macro for use with NSS functions.
28061 * grp/initgroups.c: Use new macro.
28062 * nss/getXXbyYY.c: Likewise.
28063 * nss/getXXbyYY_r.c: Likewise.
28064 * nss/getXXent.c: Likewise.
28065 * nss/getXXent_r.c: Likewise.
28066 * sysdeps/posix/getaddrinfo.c: Likewise.
28067
8321aa97
AJ
280682012-10-30 Andreas Jaeger <aj@suse.de>
28069
28070 * po/ru.po: Update Russion translation from translation project.
28071
2a27fd6d
JM
280722012-10-30 Joseph Myers <joseph@codesourcery.com>
28073
8627a232
JM
28074 [BZ #14152]
28075 [BZ #14783]
28076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28077 result and shift together with sticky bit instead of replicating
28078 round-to-nearest rounding.
28079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28081 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28082 missing underflow exceptions.
28083 (fma_test_towardzero): Add more tests.
28084 (fma_test_downward): Likewise.
28085 (fma_test_upward): Likewise.
28086
2a27fd6d
JM
28087 [BZ #14047]
28088 * sysdeps/generic/tininess.h: New file.
28089 * sysdeps/i386/tininess.h: Likewise.
28090 * sysdeps/sh/tininess.h: Likewise.
28091 * sysdeps/x86_64/tininess.h: Likewise.
28092 * stdlib/tst-strtod-underflow.c: Likewise.
28093 * stdlib/tst-tininess.c: Likewise.
28094 * stdlib/strtod_l.c: Include <tininess.h>.
28095 (round_and_return): Do not set errno for exact underflow cases.
28096 Force an underflow exception when setting errno for underflow.
28097 Determine underflow based on rounding to normal precision if
28098 TININESS_AFTER_ROUNDING.
28099 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28100 ERANGE for exact underflow cases.
28101 * stdlib/Makefile (tests): Add tst-tininess and
28102 tst-strtod-underflow.
28103 ($(objpfx)tst-tininess): Use $(link-libm).
28104 ($(objpfx)tst-strtod-underflow): Likewise.
28105
e7170363
AJ
281062012-10-30 Andreas Jaeger <aj@suse.de>
28107
e5088dc6
AJ
28108 [BZ#14767]
28109 * elf/Makefile (tests): Remove conditional for have-initfini-array
28110 since this is now always required and the variable does not exist
28111 anymore.
28112 (tests-static): Likewise.
28113 (modules-names): Likewise.
28114
e7170363 28115 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28116
28117 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28118 merged with constructor/destructor.
28119 (init_array): Likewise.
28120 * elf/tst-array2dep.c (fini_array): Likewise.
28121 (init_array): Likewise.
28122
60457d8a
MF
281232012-10-29 Mike Frysinger <vapier@gentoo.org>
28124
28125 * manual/message.texi: Delete @cartouche tags.
28126
8bece752
PT
281272012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28128
94ce799f
PT
28129 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28130 EOPNOTSUPP.
28131 * sysdeps/mach/hurd/fsync.c: Likewise.
28132
8bece752
PT
28133 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28134 [_POSIX_REALTIME_SIGNALS]: Change condition to
28135 [_POSIX_REALTIME_SIGNALS > 0].
28136
86ebe6b1
AJ
281372012-10-27 Andreas Jaeger <aj@suse.de>
28138
28139 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28140 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28142 [__WORDSIZE != 64]: Likewise.
28143
54399c08
L
281442012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28145
28146 * iconvdata/tst-table.sh: Remove ${SHELL}.
28147 * iconvdata/tst-tables.sh: Likewise.
28148
e2211bed
DM
281492012-10-25 David S. Miller <davem@davemloft.net>
28150
28151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28152 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28153 of strtoull.
28154
f303f97c
DM
28155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28156 ifunc-impl-list.c
28157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28158 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28159 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28160 file.
28161
1e9d84cd
RM
281622012-10-25 Roland McGrath <roland@hack.frob.com>
28163
28164 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28165 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28166 __getdirentries.
28167
df381762
JM
281682012-10-25 Joseph Myers <joseph@codesourcery.com>
28169 Jim Blandy <jimb@codesourcery.com>
28170
28171 * scripts/cross-test-ssh.sh: New file.
28172 * manual/install.texi (Configuring and compiling): Document use of
28173 cross-test-ssh.sh.
28174 * INSTALL: Regenerated.
28175
bff64913
PT
281762012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28177
28178 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28179 EOPNOTSUPP.
28180
25fe8932
JM
281812012-10-25 Joseph Myers <joseph@codesourcery.com>
28182
28183 * Makeconfig (run-program-prefix): Fix comment.
28184
cc1290d0
JM
281852012-10-24 Joseph Myers <joseph@codesourcery.com>
28186 Jim Blandy <jimb@codesourcery.com>
28187
28188 * Makeconfig (test-wrapper): New variable,
28189 (test-wrapper-env): Likewise.
28190 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28191 (run-built-tests): Define to yes.
28192 (run-program-prefix): Use $(test-wrapper).
28193 (built-program-cmd): Likewise.
28194 * Rules (make-test-out): Use $(test-wrapper-env) and
28195 $(host-built-program-cmd).
28196 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28197 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28198 tst-pathopt.sh.
28199 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28200 $(test-wrapper-env) to tst-rtld-load-self.sh.
28201 ($(objpfx)order2.out): Use $(test-wrapper).
28202 ($(objpfx)tst-initorder.out): Likewise.
28203 ($(objpfx)tst-initorder2.out): Likewise.
28204 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28205 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28206 (test_wrapper_env): New variable. Use it to run ld.so.
28207 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28208 Use it to run ld.so.
28209 (test_wrapper_env): Likewise.
28210 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28211 $(test-wrapper) to run-iconv-test.sh.
28212 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28213 (ICONV): Use $test_wrapper.
28214 * posix/Makefile ($(objpfx)globtest.out): Pass
28215 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28216 globtest.sh, not $(run-program-prefix).
28217 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28218 (test_wrapper): Likewise.
28219 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28220 set together with run_via_rtld_prefix.
28221 (run_program_prefix): Define in terms of test_wrapper and
28222 run_via_rtld_prefix.
28223
6e6249d0
RM
282242012-10-24 Roland McGrath <roland@hack.frob.com>
28225
28226 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28227 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28228 Targets removed.
28229
28230 [BZ #14743]
28231 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28232 Declare __clock_getres, __clock_gettime, __clock_settime,
28233 __clock_nanosleep, and __clock_getcpuclockid.
28234 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28235 Remove librt_hidden_def (clock_gettime).
28236 * sysdeps/unix/clock_gettime.c: Likewise.
28237 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28238 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28239 * rt/clock_getres.c: Define __clock_getres as an alias.
28240 * sysdeps/posix/clock_getres.c: Likewise.
28241 * rt/clock_settime.c: Define __clock_settime as an alias.
28242 * sysdeps/unix/clock_settime.c: Likewise.
28243 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28244 * sysdeps/unix/clock_nanosleep.c: Likewise.
28245 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28246 * rt/clock-compat.c: New file.
28247 * rt/Makefile (librt-routines): Add clock-compat and move
28248 $(clock-routines) to ...
28249 (routines): ... here, new variable.
28250 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28251 Don't add get_clockfreq here.
28252 * rt/Versions (libc: GLIBC_2.17): New version set.
28253 Add clock_* symbols here.
28254 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28256 (GLIBC_2.17): Add clock_* symbols.
28257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28261 Likewise.
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28263 Likewise.
28264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28268 * NEWS: Mention the move.
28269
28270 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28271 Use __open, __read, __close rather than their public counterparts.
28272 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28273 (__get_clockfreq_via_cpuinfo): Likewise.
28274 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28275 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28276
28277 * config.h.in (HAVE_IFUNC): New #undef.
28278 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28279 was successful.
28280 * configure: Regenerated.
28281
0cae3f4b
MF
282822012-10-24 Mike Frysinger <vapier@gentoo.org>
28283
28284 * configure.in: Move READELF check to start of file.
28285 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28286 libc_cv_asm_gnu_indirect_function in the process.
28287 * configure: Regenerated.
28288
8175a253
MF
282892012-10-24 Mike Frysinger <vapier@gentoo.org>
28290
28291 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28292 send the output to /dev/null.
28293 (libc_cv_cc_with_libunwind): Likewise.
28294 (libc_cv_as_noexecstack): Likewise.
28295 * configure: Regenerate.
28296
0708a7d1
JM
282972012-10-24 Joseph Myers <joseph@codesourcery.com>
28298
10b40d85
JM
28299 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28300
0708a7d1
JM
28301 * posix/globtest.sh (TMPDIR): Do not set.
28302 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28303 (testout): Likewise.
28304
9fddec1a
AJ
283052012-10-24 Andreas Jaeger <aj@suse.de>
28306
3a8db22f
AJ
28307 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28308 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28309 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28310 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28311 posix_fadvise64, posix_fallocate64.
28312
9fddec1a
AJ
28313 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28314 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28315 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28316 Likewise.
28317 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28318 Likewise.
28319 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28320
28321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28322 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28323 <bits/fcntl-linux.h>.
28324 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28325
28326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28327 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28328 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28329 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28330 [__WORDSIZE != 64]: Likewise.
28331
ebfd1bbd
JM
283322012-10-23 Joseph Myers <joseph@codesourcery.com>
28333
03ac099f
JM
28334 * Makeconfig (run-built-tests): New variable.
28335 * Rules [$(cross-compiling) = yes]: Change condition to
28336 [$(run-built-tests) = no].
28337 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28338 to [$(run-built-tests) = yes].
28339 * elf/Makefile [$(cross-compiling) = no]: Likewise
28340 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28341 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28342 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28343 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28344 * io/Makefile [$(cross-compiling) = no]: Likewise.
28345 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28346 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28347 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28348 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28349 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28350 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28351 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28352 * string/Makefile [$(cross-compiling) = no]: Likewise.
28353
ebfd1bbd
JM
28354 * posix/Makefile ($(objpfx)globtest.out): Pass
28355 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28356 $(rtld-installed-name).
28357 * posix/globtest.sh (elf_objpfx): Remove variable.
28358 (rtld_installed_name): Likewise.
28359 (library_path): Likewise.
28360 (run_program_prefix): New variable. Use for running globtest
28361 binary.
28362
166bca24
JB
283632012-10-23 Jim Blandy <jimb@codesourcery.com>
28364 Joseph Myers <joseph@codesourcery.com>
28365
28366 * Makeconfig (host-built-program-cmd): New variable.
28367 * elf/Makefile (tst-stackguard1-ARGS): Use
28368 $(host-built-program-cmd).
28369 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28370 (tst-spawn-ARGS): Likewise.
28371 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28372
88866099
JM
283732012-10-23 Joseph Myers <joseph@codesourcery.com>
28374 Jim Blandy <jimb@codesourcery.com>
28375
28376 * Makeconfig (run-via-rtld-prefix): New variable.
28377 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28378 (built-program-cmd): Likewise.
28379
b4b4c296
AJ
283802012-10-22 Andreas Jaeger <aj@suse.de>
28381
28382 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28383 __O_RSYNC if it exists, otherwise to O_SYNC.
28384
6fb54a22
JB
283852012-10-22 Jim Blandy <jimb@codesourcery.com>
28386 Joseph Myers <joseph@codesourcery.com>
28387
28388 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28389 /dev/null.
28390 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28391 from /dev/null
28392 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28393 /dev/null.
28394
481b90b9
AJ
283952012-10-22 Andreas Jaeger <aj@suse.de>
28396
2a0e2669
AJ
28397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28398 Define always.
28399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28400
76e38f9a
AJ
28401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28402 bits/fcntl-linux.h.
28403
7cd37b43
AJ
28404 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28405 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28406
481b90b9
AJ
28407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28408 to __O_LARGEFILE.
28409 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28410 to __O_LARGEFILE.
28411
aba75984
JB
284122012-10-21 Jim Blandy <jimb@codesourcery.com>
28413 Joseph Myers <joseph@codesourcery.com>
28414
28415 * config.make.in (NM): New variable.
28416
88d4247f
AJ
284172012-10-21 Andreas Jaeger <aj@suse.de>
28418
28419 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28420 definitions and declarations that are provided by
28421 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28422
f2eed205
L
284232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28424
28425 [BZ #14683]
28426 * elf/Makefile (tests-static): Add tst-leaks1-static.
28427 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28428 ($(objpfx)tst-leaks1-static): New rule.
28429 ($(objpfx)tst-leaks1-static-mem): Likewise.
28430 (tst-leaks1-static-ENV): New macro.
28431 * elf/dl-open.c (dl_open_worker): Check the main application
28432 only if SHARED is defined.
28433 * elf/tst-leaks1-static.c: New file.
28434
335e6931
AJ
284352012-10-20 Andreas Jaeger <aj@suse.de>
28436
28437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28438 generic values for Linux.
28439 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28440 and declarations that are provided by <bits/fcntl-linux.h> and
28441 include <bits/fcntl-linux.h>.
28442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28444
ac5c94d3
RM
284452012-10-20 Roland McGrath <roland@hack.frob.com>
28446
28447 * io/fcntl.h: Move include of <bits/types.h> to the top and
28448 include it unconditionally.
28449
de54b33a
L
284502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28451
228cfb01
L
28452 * wcsmbs/Makefile (tests-ifunc): New variable.
28453 (tests): Add $(tests-ifunc).
28454 * wcsmbs/test-wcschr-ifunc.c: New file.
28455 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28456 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28457 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28458 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28459 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28460
69f07e5f
L
28461 * string/Makefile (tests-ifunc): New variable.
28462 (tests): Add $(tests-ifunc).
28463 * string/test-memccpy.c (TEST_NAME): New macro.
28464 * string/test-memchr.c (TEST_NAME): Likewise.
28465 * string/test-memcmp.c (TEST_NAME): Likewise.
28466 * string/test-memcpy.c (TEST_NAME): Likewise.
28467 * string/test-memmem.c (TEST_NAME): Likewise.
28468 * string/test-memmove.c (TEST_NAME): Likewise.
28469 * string/test-memset.c (TEST_NAME): Likewise.
28470 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28471 * string/test-stpcpy.c (TEST_NAME): Likewise.
28472 * string/test-stpncpy.c (TEST_NAME): Likewise.
28473 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28474 * string/test-strcasestr.c (TEST_NAME): Likewise.
28475 * string/test-strcat.c (TEST_NAME): Likewise.
28476 * string/test-strchr.c (TEST_NAME): Likewise.
28477 * string/test-strcmp.c(TEST_NAME): Likewise.
28478 * string/test-strcpy.c (TEST_NAME): Likewise.
28479 * string/test-strcspn.c (TEST_NAME): Likewise.
28480 * string/test-strlen.c (TEST_NAME): Likewise.
28481 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28482 * string/test-strncmp.c (TEST_NAME): Likewise.
28483 * string/test-strncpy.c (TEST_NAME): Likewise.
28484 * string/test-strnlen.c (TEST_NAME): Likewise.
28485 * string/test-strpbrk.c (TEST_NAME): Likewise.
28486 * string/test-strrchr.c (TEST_NAME): Likewise.
28487 * string/test-strspn.c (TEST_NAME): Likewise.
28488 * string/test-strstr.c (TEST_NAME): Likewise.
28489 * string/test-bcopy-ifunc.c: New file.
28490 * string/test-bzero-ifunc.c: Likewise.
28491 * string/test-memccpy-ifunc.c: Likewise.
28492 * string/test-memchr-ifunc.c: Likewise.
28493 * string/test-memcmp-ifunc.c: Likewise.
28494 * string/test-memcpy-ifunc.c: Likewise.
28495 * string/test-memmem-ifunc.c: Likewise.
28496 * string/test-memmove-ifunc.c: Likewise.
28497 * string/test-mempcpy-ifunc.c: Likewise.
28498 * string/test-memset-ifunc.c: Likewise.
28499 * string/test-rawmemchr-ifunc.c: Likewise.
28500 * string/test-stpcpy-ifunc.c: Likewise.
28501 * string/test-stpncpy-ifunc.c: Likewise.
28502 * string/test-strcasecmp-ifunc.c: Likewise.
28503 * string/test-strcasestr-ifunc.c: Likewise.
28504 * string/test-strcat-ifunc.c: Likewise.
28505 * string/test-strchr-ifunc.c: Likewise.
28506 * string/test-strchrnul-ifunc.c: Likewise.
28507 * string/test-strcmp-ifunc.c: Likewise.
28508 * string/test-strcpy-ifunc.c: Likewise.
28509 * string/test-strcspn-ifunc.c: Likewise.
28510 * string/test-strlen-ifunc.c: Likewise.
28511 * string/test-strncasecmp-ifunc.c: Likewise.
28512 * string/test-strncat-ifunc.c: Likewise.
28513 * string/test-strncmp-ifunc.c: Likewise.
28514 * string/test-strncpy-ifunc.c: Likewise.
28515 * string/test-strnlen-ifunc.c: Likewise.
28516 * string/test-strpbrk-ifunc.c: Likewise.
28517 * string/test-strrchr-ifunc.c: Likewise.
28518 * string/test-strspn-ifunc.c: Likewise.
28519 * string/test-strstr-ifunc.c: Likewise.
28520
de54b33a
L
28521 * debug/Makefile (tests-ifunc): New variable.
28522 (tests): Add $(tests-ifunc).
28523 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28524 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28525 * debug/test-stpcpy_chk-ifunc.c: New file.
28526 * debug/test-strcpy_chk-ifunc.c: Likewise.
28527
88481c16
SP
285282012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28529
28530 [BZ #13601]
28531 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28532 header is not read in.
28533
135948bd
JM
285342012-10-19 Joseph Myers <joseph@codesourcery.com>
28535
89f1c388
JM
28536 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28537 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28538 directly. Pass built executable to script as
28539 $(built-program-cmd).
28540 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28541 $testprogram without using LD_LIBRARY_PATH and $ldso.
28542
e40a0d21
JM
28543 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28544 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28545 $(rtld-installed-name).
28546 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28547 (rtld_installed_name): Likewise.
28548 (library_path): Likewise.
28549 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28550 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28551 $(run-program-prefix) to tst-tables.sh.
28552 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28553 it to run tst-table-from and tst-table-to.
28554 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28555 Pass it to tst-table.sh.
28556 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28557 $(run-program-prefix) to tst-gettext.sh.
28558 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28559 tst-translit.sh.
28560 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28561 tst-gettext2.sh.
28562 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28563 to run tst-gettext.
28564 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28565 to run tst-gettext2.
28566 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28567 to run tst-translit.
28568 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28569 $(run-program-prefix) to tst-mtrace.sh.
28570 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28571 to run tst-mtrace.
28572 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28573 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28574 $(rtld-installed-name).
28575 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28576 (rtld_installed_name): Likewise.
28577 (run_program_prefix): New variable. Use it to run wordexp-test.
28578
728e272a
JM
28579 * Makeconfig (ARCH): Remove all definitions.
28580 (machine): Likewise.
28581 [ARCH]: Remove conditional code.
28582 [!objdir]: Give error.
28583 [!objdir] (objpfx): Remove.
28584 [!objdir] (common-objpfx): Likewise.
28585 [!objdir] (common-objdir): Likewise.
28586 * configure.in (config_makefile): Remove. Hardcode Makefile in
28587 AC_CONFIG_FILES call.
28588 * configure: Regenerated.
28589
d528cdcf
JM
28590 [BZ #13888]
28591 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28592 or TMPDIR.
28593 (testout): Likewise.
28594
135948bd
JM
28595 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28596 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28597 $(rtld-installed-name).
28598 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28599 (rtld_installed_name): Likwise.
28600 (runit): Remove function.
28601 (run_getconf): New variable, Use it for running getconf binary.
28602
38c78296
L
286032012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28604
28605 [BZ #14716]
28606 * string/test-memmem.c (check_result): New function.
28607 (do_one_test): Use it.
28608 (check1): New function.
28609 (test_main): Use it.
28610
d077f65f
MT
286112012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28612
28613 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28614
ced52c71
JM
286152012-10-18 Joseph Myers <joseph@codesourcery.com>
28616
28617 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28618 (_G_LSEEK64): Likewise.
28619 (_G_MMAP64): Likewise.
28620 (_G_FSTAT64): Likewise.
28621 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28622 (_G_LSEEK64): Likewise.
28623 (_G_MMAP64): Likewise.
28624 (_G_FSTAT64): Likewise.
28625 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28626 unconditional. Call __mmap64 directly.
28627 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28628 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28629 __lseek64 directly.
28630 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28631 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28632 __mmap64 directly.
28633 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28634 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28635 __lseek64 directly.
28636 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28637 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28638 __lseek64 directly.
28639 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28640 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28641 __lseek64 directly.
28642 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28643 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28644 __fxstat64 directly.
28645 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28646 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28647 unconditional.
28648 (freopen64) [!_G_OPEN64]: Remove conditional code.
28649 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28650 unconditional.
28651 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28652 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28653 unconditional.
28654 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28655 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28656 unconditional.
28657 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28658 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28659 unconditional.
28660 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28661 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28662 unconditional.
28663 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28664 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28665 unconditional.
28666 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28667 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28668 unconditional.
28669 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28670
b741de23
SP
286712012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28672
28673 [BZ #12140]
28674 * manual/memory.texi (Malloc Tunable Parameters): Add note
28675 about free list pointers overwriting some perturb bytes.
28676 Wording suggested by Roland McGrath.
28677
f9b9d9c9
JM
286782012-10-17 Joseph Myers <joseph@codesourcery.com>
28679
28680 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28681 (lgamma_test): Likewise.
28682 (tgamma_test): Likewise.
28683
172a631a
FW
286842012-10-16 Florian Weimer <fweimer@redhat.com>
28685
28686 [BZ #14700]
28687 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28688 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28689
e9f37252
MK
286902012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28691
28692 * NEWS: Mention BZ #14716.
28693 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28694 when removing AVAILABLE1_USES_J macro.
28695
d394eb74
L
286962012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28697
28698 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28699 (__bswap_64): __uint64_t for unsigned 64-bit int.
28700
ca38dc17
AS
287012012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28702
28703 * include/string.h (memmem): Declare libc hidden alias.
28704 * string/memmem.c (memmem): Define libc hidden alias.
28705 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28706 __read, __close instead of open, read, close.
28707
9a387d1f
L
287082012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28709
ac49ecaf
L
28710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28711 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28712 global and hidden.
28713 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28714 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28715 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28716 Likewise.
28717 (__rawmemchr_sse2): Likewise.
28718 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28719 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28720 (__strchr_sse2): Likewise.
28721 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28722 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28723 (__strcasecmp_sse2): Likewise.
28724 (__strncasecmp_sse2): Likewise.
28725 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28726 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28727 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28728 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28729 (__strrchr_sse2): Likewise.
28730 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28731 ifunc-impl-list.c.
28732 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28733 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28734 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28735 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28736 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28737 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28738 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28739 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28740 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28741 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28742 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28743 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28744 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28745 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28746 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28747 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28748 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28749 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28750 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28751 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28752 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28753 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28754 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28755 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28756 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28757 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28758 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28759 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28760 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28761 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28762
b090e8ea
L
28763 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28764 global and hidden.
28765 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28766 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28767 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28768 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28769 Likewise.
28770 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28771 Likewise.
28772 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28773 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28774 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28775 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28776 ifunc-impl-list.c.
28777 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28778 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28779 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28780 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28781 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28782 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28783 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28784 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28785 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28786 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28787 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28788 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28789 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28790 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28791 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28792 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28793 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28794 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28795 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28796 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28797 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28798 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28799 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28800 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28801 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28802 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28803 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28804 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28805 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28806 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28807 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28808 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28809 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28810 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28811 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28812 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28813 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28814 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28815 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28816 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28817 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28818
11dd4af6
L
28819 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28820 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28821 * include/ifunc-impl-list.h: New file.
28822 * misc/ifunc-impl-list.c: Likewise.
28823 * misc/Makefile (routines): Add ifunc-impl-list.
28824 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28825 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28826 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28827 TEST_NAME]: New variables.
11dd4af6
L
28828 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28829 are defined.
28830 (test_init): Call __libc_ifunc_impl_list to initialize
28831 func_list if TEST_IFUNC and TEST_NAME are defined.
28832
9a387d1f
L
28833 * string/Makefile (strop-tests): Add bcopy and bzero.
28834 * string/test-bcopy.c: New file.
28835 * string/test-bzero.c: Likewise.
28836 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28837 defined.
28838 * string/test-memset.c: Support bzero test if TEST_BZERO is
28839 defined.
28840 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28841 __libc_memmove.
28842 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28843 __libc_memset.
28844 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28845 of memset.
28846
472371b9
JM
288472012-10-10 Joseph Myers <joseph@codesourcery.com>
28848
1e4a9536
JM
28849 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28850 * configure: Regenerated.
28851
d173d12e
JM
28852 * Makeconfig (+link-static-before-libc): Don't include
28853 $(link-static-libc).
28854
472371b9
JM
28855 * libio/libio.h (_IO_pos_t): Remove.
28856
89a3ad0b
AO
288572012-10-10 Alexandre Oliva <aoliva@redhat.com>
28858
28859 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28860 McGrath.
28861
e7451425
AO
288622012-10-10 Alexandre Oliva <aoliva@redhat.com>
28863
28864 * crypt/crypt-entry.c: Include fips-private.h.
28865 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28866 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28867 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28868 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28869
4ba74a35
AO
288702012-10-10 Alexandre Oliva <aoliva@redhat.com>
28871
28872 * crypt/crypt-private.h: Include stdbool.h.
28873 (_ufc_setup_salt_r): Return bool.
28874 * crypt/crypt-entry.c: Include errno.h.
28875 (__crypt_r): Return NULL with EINVAL for bad salt.
28876 * crypt/crypt_util.c (bad_for_salt): New.
28877 (_ufc_setup_salt_r): Check that salt is long enough and within
28878 the specified alphabet.
28879 * crypt/badsalttest.c: New file.
28880 * crypt/Makefile (tests): Add it.
28881 ($(objpfx)badsalttest): New.
28882
f96f1242
MK
288832012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28884
28885 * NEWS: Add entry for BZ #14602.
28886
0e8e0c1c
JM
288872012-10-09 Joseph Myers <joseph@codesourcery.com>
28888
28889 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28890 type-generic.
28891 * math/libm-test.inc: Update comment listing what functions and
28892 macros are tested.
28893 (isgreater_test): New function.
28894 (isgreaterequal_test): Likewise.
28895 (isless_test): Likewise.
28896 (islessequal_test): Likewise.
28897 (islessgreater_test): Likewise.
28898 (isunordered_test): Likewise.
28899 (main): Call the new functions.
28900
273edc5e
RM
289012012-10-09 Roland McGrath <roland@hack.frob.com>
28902
b8493de0
RM
28903 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28904 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28905 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28906 * sysdeps/i386/configure: Regenerated.
28907 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28908 * sysdeps/mach/configure: Regenerated.
28909 * sysdeps/mach/hurd/configure: Regenerated.
28910 * sysdeps/powerpc/configure: Regenerated.
28911 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28912 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28913 * sysdeps/s390/s390-32/configure: Regenerated.
28914 * sysdeps/s390/s390-64/configure: Regenerated.
28915 * sysdeps/sh/configure: Regenerated.
28916 * sysdeps/sparc/configure: Regenerated.
28917 * sysdeps/unix/sysv/linux/configure: Regenerated.
28918 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28919 * sysdeps/x86_64/configure: Regenerated.
28920
273edc5e
RM
28921 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28922 defined. Don't check if MAP is NULL.
28923
c8450f70
JM
289242012-10-09 Joseph Myers <joseph@codesourcery.com>
28925
28926 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28927 (_G_stat64): Likewise.
28928 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28929 (_G_stat64): Likewise.
28930 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28931 instead of struct _G_stat64.
28932 * libio/fileops.c (mmap_remap_check): Likewise.
28933 (decide_maybe_mmap): Likewise.
28934 (_IO_new_file_seekoff): Likewise.
28935 (_IO_file_stat): Likewise.
28936 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28937 _G_off64_t.
28938 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28939 instead of struct _G_stat64.
28940 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28941
57e605ba
MK
289422012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28943
28944 [BZ #14602]
28945 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28946 Replace with ...
28947 (CHECK_EOL): New macro.
28948 (two_way_short_needle): Check beginning of haystack for EOL. Use
28949 CHECK_EOL.
28950 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28951 Replace with CHECK_EOL.
28952 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28953 Replace with CHECK_EOL.
28954
ef1bb361
JM
289552012-10-08 Joseph Myers <joseph@codesourcery.com>
28956
28957 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28958 type-generic.
28959 * math/libm-test.inc: Update comment listing what functions and
28960 macros are tested.
28961 (finite_test): New function.
28962 (isinf_test): Likewise.
28963 (isnan_test): Likewise.
28964 (fpclassify_test): Test subnormal input.
28965 (isfinite_test): Likewise.
28966 (isnormal_test): Likewise.
28967 (main): Call the new functions.
28968
55f11534
JN
289692012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28970
28971 [BZ #14660]
28972 * Makerules (%.dynsym): Force C locale when running
28973 $(OBJDUMP) --dynamic-syms.
28974
1ab29350
AS
289752012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28976
28977 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28978 <stdint.h>.
28979
f1ecb7ef
DM
289802012-10-06 David S. Miller <davem@davemloft.net>
28981
28982 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28983 upper 32-bits of the length value in %o2 since we use branch-on-register
28984 tests which consider the entire 64-bit register.
28985
5d41d91a
L
289862012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28987
28988 * string/test-strstr.c (check2): Add a test for page boundary.
28989
3baddb72
DM
289902012-10-05 David S. Miller <davem@davemloft.net>
28991
28992 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28993 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28994 file.
28995 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28996 sysdep_routines.
28997 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28998 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28999 and bzero when HWCAP_SPARC_CRYPTO is present.
29000
9cee5585
L
290012012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29002
d7e0dab9
L
29003 [BZ #14602]
29004 * string/test-strstr.c (check2): New function.
29005 (test_main): Call check2.
29006
03759f47
L
29007 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29008 and bug-strchr1.
29009 * string/bug-strcasestr1.c (do_test): Moved to ...
29010 * string/test-strcasestr.c (check1): Here. New function.
29011 (do_one_test): Break out result checking code into ...
29012 (check_result): This. New function.
29013 (do_one_test): Call check_result.
29014 (test_main): Call check1.
29015 * string/bug-strchr1.c (do_test): Moved to ...
29016 * string/test-strchr.c (check1): Here. New function.
29017 (do_one_test): Break out result checking code into ...
29018 (check_result): This. New function.
29019 (do_one_test): Call check_result.
29020 (test_main): Call check1.
29021 * string/bug-strstr1.c (main): Moved to ...
046f153e 29022 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29023 (do_one_test): Break out result checking code into ...
29024 (check_result): This. New function.
29025 (do_one_test): Call check_result.
29026 (test_main): Call check1.
29027 * string/bug-strcasestr1.c: Removed.
29028 * string/bug-strchr1.c: Likewise.
29029 * string/bug-strstr1.c: Likewise.
29030
53cea63e
L
29031 * elf/Makefile (dl-routines): Add hwcaps.
29032 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29033 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29034 (_dl_important_hwcaps): Moved to ...
29035 * elf/dl-hwcaps.c: Here. New file.
29036 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29037
9cee5585 29038 [BZ #14557]
bb859b06
L
29039 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29040 if IS_IN_rtld isn't defined.
29041
9cee5585
L
29042 * elf/dl-support.c (_dl_sysinfo_map): New.
29043 Include "get-dynamic-info.h" and "setup-vdso.h".
29044 (_dl_non_dynamic_init): Call setup_vdso.
29045 * elf/dynamic-link.h: Don't include <assert.h>.
29046 (elf_get_dynamic_info): Moved to ...
29047 * elf/get-dynamic-info.h: Here. New file.
29048 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29049 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29050 * elf/setup-vdso.h: Here. New file.
29051 * elf/rtld.c: Include "setup-vdso.h".
29052 (dl_main): Call setup_vdso.
29053
23c31b76
JM
290542012-10-05 Joseph Myers <joseph@codesourcery.com>
29055
28234b07
JM
29056 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29057 creal in comment listing functions tested. List finite, isinf,
29058 isnan, isless, islessequal, isgreater, isgreaterequal,
29059 islessgreater, isunordered, lgamma_r and pow10 as functions and
29060 macros not tested. Mention which functions not tested are aliases
29061 for other functions. Fix typo. Note that signs of NaNs are not
29062 tested.
29063
23c31b76
JM
29064 * scripts/config.guess: Update from config.git.
29065 * scripts/config.sub: Likewise.
29066
9043e228
RM
290672012-10-04 Roland McGrath <roland@hack.frob.com>
29068
29069 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29070 * misc/madvise.c (madvise): Renamed to __madvise.
29071 Make madvise a weak alias.
29072 * include/sys/mman.h: Declare __madvise.
29073 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29074 * sysdeps/unix/syscalls.list
29075 (madvise): Make __madvise the strong name, and madvise a weak alias.
29076 * sysdeps/unix/sysv/linux/syscalls.list
29077 (madvise, mmap): Remove redundant entries.
29078 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29079 * malloc/malloc.c (mtrim): Likewise.
29080 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29081
f57f8055
RM
290822012-10-03 Roland McGrath <roland@hack.frob.com>
29083
29084 * sysdeps/mach/hurd/dl-cache.c: File removed.
29085 * config.h.in (USE_LDCONFIG): New #undef.
29086 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29087 * configure: Regenerated.
29088 * elf/Makefile (dl-routines): Add dl-cache only under
29089 [$(use-ldconfig) = yes].
29090 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29091 cache on [USE_LDCONFIG].
29092 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29093 [USE_LDCONFIG].
29094 * elf/rtld.c (dl_main): Likewise.
29095
5bb0c10a
PT
290962012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29097
29098 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29099 _SC_LEVEL4_CACHE_LINESIZE.
29100
010188c6
RM
291012012-10-03 Roland McGrath <roland@hack.frob.com>
29102
29103 * sysdeps/unix/bsd/confstr.h: File removed.
29104
b6c5ec07
AO
291052012-10-02 Alexandre Oliva <aoliva@redhat.com>
29106
29107 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29108 sys/sdt-config.h.
29109
408223d4
RM
291102012-10-02 Roland McGrath <roland@hack.frob.com>
29111
29112 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29113 Make 'mapoff' field ElfW(Off) rather than off_t.
29114
bb9510dc
DL
291152012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29116
fc997c6e
DL
29117 * nscd/Makefile: Remove nscd-cflags and all its users.
29118 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29119 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29120
bb9510dc
DL
29121 [BZ #10631]
29122 * malloc.c (malloc_printerr): Clarify error message.
29123
05699367
L
291242012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29125
29126 [BZ #14648]
29127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29128 Set bit_FMA_Usable if FMA is supported.
29129 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29130 macro.
29131 (bit_FMA4_Usable): Updated.
29132 (index_FMA_Usable): New macro.
29133 (CPUID_FMA): Likewise
29134 (HAS_FMA): Defined with bit_FMA_Usable.
29135
51367701
RM
291362012-10-01 Roland McGrath <roland@hack.frob.com>
29137
29138 * bits/types.h (__swblk_t): Type removed.
29139 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29140 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29142 (__SWBLK_T_TYPE): Likewise.
29143 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29144 (__SWBLK_T_TYPE): Likewise.
29145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29146 (__SWBLK_T_TYPE): Likewise.
29147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29148 (__SWBLK_T_TYPE): Likewise.
29149
4d57bf63 291502012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29151 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29152
29153 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29154 (xdr_mapname): Use YPMAXMAP as maxsize.
29155 (xdr_peername): Use YPMAXPEER as maxsize.
29156 (xdr_keydat): Use YPAXRECORD as maxsize.
29157 (xdr_valdat): Use YPMAXRECORD as maxsize.
29158
93c65d43
RM
291592012-10-01 Roland McGrath <roland@hack.frob.com>
29160
497a03d6
RM
29161 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29162
93c65d43
RM
29163 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29164 * csu/init-first.c: ... here.
29165 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29166 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29167 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29168 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29169 * sysdeps/i386/init-first.c: File removed.
29170 * sysdeps/sh/init-first.c: File removed.
29171
bec749fd
JM
291722012-10-01 Joseph Myers <joseph@codesourcery.com>
29173
29174 [BZ #14645]
29175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29176 if x * y might underflow to zero and z is zero.
29177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29179 * math/libm-test.inc (min_subnorm_value): New variable.
29180 (fma_test): Add more tests.
29181 (fma_test_towardzero): Likewise.
29182 (fma_test_downward): Likewise
29183 (fma_test_upward): Likewise.
29184 (initialize): Set min_subnorm_value.
29185
8ec5b013
JM
291862012-09-29 Joseph Myers <joseph@codesourcery.com>
29187
29188 [BZ #14638]
29189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29190 0 + 0.
29191 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29192 mode for addition resulting in exact zero.
29193 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29195 exact 0 + 0.
29196 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29198 * math/libm-test.inc (fma_test): Add more tests.
29199 (fma_test_towardzero): New function.
29200 (fma_test_downward): Likewise.
29201 (fma_test_upward): Likewise.
29202 (main): Call the new functions.
29203
b1fa802e
DM
292042012-09-28 David S. Miller <davem@davemloft.net>
29205
29206 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29207
d3b9fd9e
RM
292082012-09-28 Roland McGrath <roland@hack.frob.com>
29209
ea4d37b3
RM
29210 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29211 instead of SIGALRM.
29212
ac51c949
RM
29213 * sysdeps/gnu/_G_config.h: Moved to ...
29214 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29215 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29216 * sysdeps/generic/_G_config.h: ... here.
29217
28c195f7
RM
29218 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29219
848917f9
RM
29220 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29221
6bacf05b
RM
29222 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29223 Conditionalize target on [libnss_test1.so-version].
29224
91363dbb
RM
29225 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29226
cc87f7d8
RM
29227 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29228 (elfobjdir): Move out of conditionals.
29229
b1c608fe
RM
29230 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29231 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29232 (__nss_lookup_function): Conditionalize label remove_from_tree on
29233 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29234
1d9a6d96
DM
292352012-09-28 David S. Miller <davem@davemloft.net>
29236
29237 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29238 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29239 file.
29240 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29241 sysdep_routines.
29242 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29244 when HWCAP_SPARC_CRYPTO is present.
29245
72581615
PT
292462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29247
29248 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29249
715a900c
JL
292502012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29251
29252 [BZ #6530]
29253 * stdio-common/vfprintf.c (process_string_arg): Revert
29254 2000-07-22 change.
29255
292562011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29257
29258 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29259 for testcase.
29260 * stdio-common/tst-sprintf.c: Include <locale.h>
29261 (main): Test sprintf's handling of incomplete multibyte
29262 characters.
29263
9bac1d86
L
292642012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29265
29266 * elf/dl-runtime.c (VERSYMIDX): Removed.
29267 * elf/dl-version.c (VERSYMIDX): Likewise.
29268 * elf/do-rel.h (VERSYMIDX): Likewise.
29269 (VALIDX): Likewise.
29270 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29271 * elf/rtld.c (VALIDX): Likewise.
29272 (ADDRIDX): Likewise.
9bac1d86
L
29273 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29274 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29275 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29276 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29277 (VALIDX): Likewise.
29278 (ADDRIDX): Likewise.
9bac1d86 29279
b31606c0
PT
292802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29281
29282 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29283
11541177
JL
292842012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29285
29286 [BZ #11438]
29287 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29288 to global scope.
29289 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29290 addresses are in the same scope as 192.0.2/24.
29291 * posix/gai.conf: Document new scope table defaults.
29292
adb26fae
SP
292932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29294
29295 [BZ #5298]
29296 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29297 for ftell. Compute offsets from write pointers instead.
29298 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29299
4573c6b0
SP
293002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29301
29302 [BZ #14543]
29303 * libio/Makefile (tests): New test case tst-fseek.
29304 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29305 combination works in wide mode.
29306 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29307 state when the external buffer state changes.
29308
aa9bbfe6
DM
293092012-09-27 David S. Miller <davem@davemloft.net>
29310
29311 [BZ #14376]
29312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29313 pass reloc->r_addend in as the 'high' argument to
29314 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29315
784421e7
DM
29316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29317
c39bc8b8
PT
293182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29319
29320 * rt/tst-aio2.c: Include <pthread.h>.
29321 * rt/tst-aio3.c: Likewise.
29322
1ccc2399
SE
293232012-09-27 Steve Ellcey <sellcey@mips.com>
29324
29325 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29326
31ed4153
L
293272012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29328
25f5f885
L
29329 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29330 contents on [SHARED].
31ed4153 29331
b7bfe116
MP
293322012-09-26 Marek Polacek <polacek@redhat.com>
29333
29334 [BZ #14530]
29335 [BZ #13741]
29336 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29337 for C++ and GCC <4.3 as well as for non GCC compilers.
29338
43c4edba
MT
293392012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29340
29341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29342
6a1bf82f
RM
293432012-09-25 Roland McGrath <roland@hack.frob.com>
29344
29345 * Makefile.in (all, install): Declare with .PHONY.
29346 Reported by Michael Hope <michael.hope@linaro.org>.
29347
8ad11b9a
TMQMF
293482012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29349
29350 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29351 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29352 system header.
29353 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29354 Likewise.
29355 (sydep_routines): Add the new and the internal functions.
29356 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29357 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29359 (GLIBC_2.17): Add the new function.
29360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29361 (GLIBC_2.17): Likewise.
29362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29363 (GLIBC_2.17): Likewise.
29364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29365 (GLIBC_2.17): Likewise.
29366 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29367
7e2fca8d
AM
293682012-09-25 Alan Modra <amodra@gmail.com>
29369
29370 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29371 Add release barrier before setting once_control to say
29372 initialisation is done. Add hints on lwarx. Use macro in
29373 place of isync.
29374 (clear_once_control): Add release barrier.
29375
b87c4b24
JM
293762012-09-25 Joseph Myers <joseph@codesourcery.com>
29377
d032e0d2
JM
29378 [BZ #13629]
29379 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29380 specially.
29381 * math/s_clog10.c (__clog10): Likewise.
29382 * math/s_clog10f.c (__clog10f): Likewise.
29383 * math/s_clog10l.c (__clog10l): Likewise.
29384 * math/s_clogf.c (__clogf): Likewise.
29385 * math/s_clogl.c (__clogl): Likewise.
29386 * math/Makefile (libm-calls): Add x2y2m1.
29387 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29388 (__x2y2m1): Likewise.
29389 (__x2y2m1l): Likewise.
29390 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29391 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29392 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29393 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29394 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29395 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29396 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29397 * sysdeps/i386/fpu/libm-test-ulps: Update.
29398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29399
b87c4b24
JM
29400 [BZ #14621]
29401 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29402 int as type of variable DEPTH.
29403 (glob): Use size_t instead of int as type of variables NEWCOUNT
29404 and OLD_PATHC.
29405
6d3bf199
LD
294062012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29407
22bf5c17
LD
29408 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29409 Add s_sincosf-sse2.
29410 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29411 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29412 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29413 macros for using routine as __sincosf_ia32.
29414 Use macro for function declaration and weak_alias.
29415 * sysdeps/i386/fpu/libm-test-ulps: Update.
29416
29417 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29419
29420 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
29421 subnormal argument.
29422 * math/s_cexpf.c (__cexpf): Likewise.
29423 * math/s_csinf.c (__csinf): Likewise.
29424 * math/s_csinhf.c (__csinhf): Likewise.
29425 * math/s_ctanf.c (__ctanf): Likewise.
29426 * math/s_ctanhf.c (__ctanhf): Likewise.
29427 * math/s_ccosh.c (__ccoshf): Likewise.
29428 * math/s_cexp.c (__cexpl): Likewise.
29429 * math/s_csin.c (__csin): Likewise.
29430 * math/s_csinh.c (__csinh): Likewise.
29431 * math/s_ctan.c (__ctan): Likewise.
29432 * math/s_ctanh.c (ctanh): Likewise.
29433 * math/s_ccoshl.c (__ccoshl): Likewise.
29434 * math/s_cexpl.c (__cexpl): Likewise.
29435 * math/s_csinl.c (__csinl): Likewise.
29436 * math/s_csinhl.c (__csinhl): Likewise.
29437 * math/s_ctanl.c (__ctanl): Likewise.
29438 * math/s_ctanhl.c (__ctanhl): Likewise.
29439
203e5603
JM
294402012-09-25 Joseph Myers <joseph@codesourcery.com>
29441
29442 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29443 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29444 (_IO_off_t): Define to __off_t, not _G_off_t.
29445 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29446 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29447 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29448 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29449 type of __dummy and __dummy2 fields.
29450 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29451 (_G_ssize_t): Likewise.
29452 (_G_off_t): Likewise.
29453 (_G_pid_t): Likewise.
29454 (_G_uid_t): Likewise.
29455 (_G_wchar_t): Likewise.
29456 (_G_wint_t): Likewise.
29457 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29458 (_G_ssize_t): Likewise.
29459 (_G_off_t): Likewise.
29460 (_G_pid_t): Likewise.
29461 (_G_uid_t): Likewise.
29462 (_G_wchar_t): Likewise.
29463 (_G_wint_t): Likewise.
29464 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29465 (_G_ssize_t): Likewise.
29466 (_G_off_t): Likewise.
29467 (_G_pid_t): Likewise.
29468 (_G_uid_t): Likewise.
29469 (_G_wchar_t): Likewise.
29470 (_G_wint_t): Likewise.
29471
9fab36eb
SP
294722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29473
29474 * malloc/arena.c: Include malloc-sysdep.h.
29475 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29476 is sufficient to shrink the heap or an unmap is needed.
29477 * sysdeps/generic/malloc-sysdep.h: New file. Define
29478 new function check_may_shrink_heap.
29479 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29480 new function check_may_shrink_heap.
29481
2b4f00d1
SP
294822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29483
29484 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29485 comments.
29486
9a9028b1
DL
294872012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29488
57c69bef
DL
29489 * catgets/test-gencat.sh: Add "set -e".
29490 * elf/tst-pathopt.sh: Likewise.
29491 * grp/tst_fgetgrent.sh: Likewise.
29492 * iconvdata/run-iconv-test.sh: Likewise.
29493 * intl/tst-gettext.sh: Likewise.
29494 * intl/tst-gettext2.sh: Likewise.
29495 * intl/tst-gettext4.sh: Likewise.
29496 * intl/tst-gettext6.sh: Likewise.
29497 * intl/tst-translit.sh: Likewise.
29498 * io/ftwtest-sh: Likewise.
29499 * libio/test-freopen.sh: Likewise.
29500 * malloc/tst-mtrace.sh: Likewise.
29501 * posix/globtest.sh: Likewise.
29502 * posix/tst-getconf.sh: Likewise.
29503 * posix/wordexp-tst.sh: Likewise.
29504 * stdio-common/tst-printf.sh: Likewise.
29505 * stdio-common/tst-unbputc.sh: Likewise.
29506 * stdlib/tst-fmtmsg.sh: Likewise.
29507 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29508 * catgets/Makefile: Do not specify -e option when running
29509 testsuite shell scripts.
29510 * elf/Makefile: Likewise.
29511 * grp/Makefile: Likewise.
29512 * iconvdata/Makefile: Likewise.
29513 * intl/Makefile: Likewise.
29514 * io/Makefile: Likewise.
29515 * libio/Makefile: Likewise.
29516 * malloc/Makefile: Likewise.
29517 * posix/Makefile: Likewise.
29518 * stdio-common/Makefile: Likewise.
29519 * stdlib/Makefile: Likewise.
29520 * sysdeps/x86_64/Makefile: Likewise.
29521
9a9028b1
DL
29522 * io/ftwtest-sh: Add copyright header.
29523 * posix/globtest.sh: Likewise.
29524 * posix/tst-getconf.sh: Likewise.
29525 * posix/wordexp-tst.sh: Likewise.
29526 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29527
ced6f16e
L
295282012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29529
94b32c39
L
29530 [BZ #13679]
29531 * Makeconfig (+link): Defined as $(+link-static) if
29532 $(build-shared) isn't yes.
29533 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29534 isn't yes.
29535 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29536
189e935b
L
29537 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29538
ced6f16e
L
29539 [BZ #14562]
29540 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29541 new chunk size with MALLOC_ALIGN_MASK.
29542
a9f8e53a
JM
295432012-09-24 Joseph Myers <joseph@codesourcery.com>
29544
29545 [BZ #5044]
29546 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29547 <rounding-mode.h>.
29548 (__printf_fphex): Determine rounding using get_rounding_mode and
29549 round_away.
29550 * stdio-common/tst-printf-round.c (struct hex_test): New
29551 structure.
29552 (hex_tests): New variable.
29553 (test_hex_in_one_mode): New function.
29554 (do_test): Also run tests for hex float output.
29555
43153109
JM
295562012-09-21 Joseph Myers <joseph@codesourcery.com>
29557
29558 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29559 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29560 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29561 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29562 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29563 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29564 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29565 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29566
8a26625d
JM
295672012-09-20 Joseph Myers <joseph@codesourcery.com>
29568
29569 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29570 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29571 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29572 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29573
f3fd569c
DL
295742012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29575
29576 [BZ #14579]
29577 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29578 mode only.
29579 * elf/tst-rtld-load-self.sh: New test.
29580 * elf/Makefile: Run it.
29581
63bbedd4
JM
295822012-09-18 Joseph Myers <joseph@codesourcery.com>
29583
29584 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29585 (tst-writev-ENV): Remove.
29586 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29587
626f8b6a
CM
295882012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29589
29590 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29591
b7aaa4d6
JM
295922012-09-17 Joseph Myers <joseph@codesourcery.com>
29593
29594 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29595 unconditional.
29596 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29597 Likewise.
29598 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29599 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29600 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29601 Likewise.
29602
65513990
L
296032012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29604
29605 [BZ #14587]
29606 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29607 * config.make.in (have-cpp-asm-debuginfo): Removed.
29608 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29609 * configure: Regenerated.
29610
784761be
JM
296112012-09-14 Joseph Myers <joseph@codesourcery.com>
29612
29613 [BZ #5044]
29614 * stdio-common/printf_fp.c: Include <stdbool.h> and
29615 <rounding-mode.h>.
29616 (___printf_fp): Determine rounding using get_rounding_mode and
29617 round_away.
29618 * stdio-common/tst-printf-round.c: New file.
29619 * stdio-common/Makefile (tests): Add tst-printf-round.
29620 (link-libm): New variable.
29621 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29622
9503345f
L
296232012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29624
29625 [BZ #14576]
29626 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29627 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29628 Likewise.
29629 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29630 Likewise.
29631
ad35fc00
JM
296322012-09-13 Joseph Myers <joseph@codesourcery.com>
29633
29634 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29635 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29636 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29637 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29638
6c9b0f68
JM
296392012-09-12 Joseph Myers <joseph@codesourcery.com>
29640
29641 [BZ #14518]
29642 * include/rounding-mode.h: New file.
29643 * sysdeps/generic/get-rounding-mode.h: Likewise.
29644 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29645 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29646 (MAX_VALUE): New macro.
29647 (MIN_VALUE): Likewise.
29648 (overflow_value): New function.
29649 (underflow_value): Likewise.
29650 (round_and_return): Use overflow_value and underflow_value to
29651 determine return values in overflow and underflow cases. Use
29652 round_away to determine rounding depending on rounding mode.
29653 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29654 determine return values in overflow and underflow cases.
29655 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29656 (struct test_results): New structure.
29657 (struct test): Use struct test_results to store expected results
29658 for all rounding modes.
29659 (TEST): Include expected results for all rounding modes.
29660 (test_in_one_mode): New function.
29661 (do_test): Use test_in_one_mode to compute and check results.
29662 Check results for all rounding modes.
29663 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29664 $(link-libm).
29665
19fcedd5
AM
296662012-12-09 Allan McRae <allan@archlinux.org>
29667
1e9d84cd 29668 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29669
8bbfd2f1
JM
296702012-09-11 Joseph Myers <joseph@codesourcery.com>
29671
29672 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29673 (_G_int32_t): Likewise.
29674 (_G_uint16_t): Likewise.
29675 (_G_uint32_t): Likewise.
29676 (_G_HAVE_BOOL): Likewise.
29677 (_G_HAVE_ATEXIT): Likewise.
29678 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29679 (_G_HAVE_IO_FILE_OPEN): Likewise.
29680 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29681 (_G_int32_t): Likewise.
29682 (_G_uint16_t): Likewise.
29683 (_G_uint32_t): Likewise.
29684 (_G_HAVE_BOOL): Likewise.
29685 (_G_HAVE_ATEXIT): Likewise.
29686 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29687 (_G_HAVE_IO_FILE_OPEN): Likewise.
29688 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29689 (_G_int32_t): Likewise.
29690 (_G_uint16_t): Likewise.
29691 (_G_uint32_t): Likewise.
29692 (_G_HAVE_BOOL): Likewise.
29693 (_G_HAVE_ATEXIT): Likewise.
29694 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29695 (_G_HAVE_IO_FILE_OPEN): Likewise.
29696
b1dc5912
L
296972012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29698
29699 * csu/libc-tls.c: Update copyright years.
29700
0e886ef9
JM
297012012-09-10 Joseph Myers <joseph@codesourcery.com>
29702
28361c5e
JM
29703 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29704 [!_G_USING_THUNKS]: Remove conditional code.
29705 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29706 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29707
0e886ef9
JM
29708 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29709 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29710 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29711 (_G_VTABLE_LABEL_PREFIX): Likewise.
29712 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29713 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29714 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29715 (_G_VTABLE_LABEL_PREFIX): Likewise.
29716 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29717 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29718 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29719 (_G_VTABLE_LABEL_PREFIX): Likewise.
29720 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29721
bcba7aa2
L
297222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29723
29724 * libio/Makefile: Include ../Makeconfig before tests.
29725 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29726 only if $(build-shared) is yes.
29727
06585ee8
L
29728 * iconv/gconv_db.c: Update copyright years.
29729
80ccd52c
LD
297302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29731
29732 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29733 unwind info if defined PIC. Fix special cases description.
29734 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29735
29736 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29737 DP_HI_MASK entry.
29738 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29739
691bc9c1
L
297402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29741
3d9b46b3
L
29742 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29743
de2139a9
L
29744 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29745 is NULL.
29746
5ca78dd0
L
29747 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29748 (LDLIBS-tst-chk4): This.
29749 (LDFLAGS-tst-chk5): Renamed to ...
29750 (LDLIBS-tst-chk5): This.
29751 (LDFLAGS-tst-chk6): Renamed to ...
29752 (LDLIBS-tst-chk6): This.
29753 (LDFLAGS-tst-lfschk4): Renamed to ...
29754 (LDLIBS-tst-lfschk4): This.
29755 (LDFLAGS-tst-lfschk5): Renamed to ...
29756 (LDLIBS-tst-lfschk5): This.
29757 (LDFLAGS-tst-lfschk6): Renamed to ...
29758 (LDLIBS-tst-lfschk6): This.
29759
691bc9c1
L
29760 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29761 on $(common-objpfx)soversions.mk.
29762
65cafb1c
JM
297632012-09-07 Joseph Myers <joseph@codesourcery.com>
29764
29765 [BZ #10014]
29766 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29767 example host name.
29768
c78ab094
SP
297692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29770
29771 * malloc/arena.c (arena_get_retry): New function that gets
29772 another arena for the caller to try its request on.
29773 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29774 current arena cannot fulfill the request.
29775 (__libc_memalign): Likewise.
29776 (__libc_memalign): Likewise.
29777 (__libc_pvalloc): Likewise.
29778 (__libc_calloc): Likewise.
29779
01f49f59
JT
297802012-09-05 John Tobey <john.tobey@gmail.com>
29781
29782 [BZ #13542]
29783 * manual/arith.texi (Operations on Complex): Fix description
29784 of carg branch cut.
29785
4c23fed5
JM
297862012-09-06 Joseph Myers <joseph@codesourcery.com>
29787
1d3c8572
JM
29788 [BZ #10014]
29789 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29790 host name.
29791
4c23fed5
JM
29792 [BZ #10038]
29793 * manual/memory.texi (Memory): Make order of menu items match
29794 order of sections.
29795
04570aaa
L
297962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29797
29798 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29799 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29800 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29801
b80af2f4
L
298022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29803
29804 * csu/libc-tls.c (static_dtv): Renamed to ...
29805 (_dl_static_dtv): This. Make it global.
29806 (_dl_initial_dtv): Removed.
29807 (__libc_setup_tls): Updated.
29808 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29809 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29810 DL_INITIAL_DTV.
29811
2abe9f15
PM
298122012-09-06 Petr Machata <pmachata@redhat.com>
29813
29814 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29815 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29816 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29817 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29818
0948c3af
L
298192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29820
29821 [BZ #14545]
29822 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29823 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29824 freeing dtv[-1].
29825
a5055ad1
L
298262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29827
29828 [BZ #14544]
29829 * Makeconfig (link-static-before-libc): Replace $(+prector)
29830 with $(+prectorT).
29831 (link-static-after-libc): Replace $(+postctor) with
29832 $(+postctorT).
29833 (link-bounded): Replace $(+prector)/$(+postctor) with
29834 $(+prectorT)/$(+postctorT).
29835 (+prectorT): New macro.
29836 (+postctorT): Likewise.
29837
ed8c2ecd
JM
298382012-09-06 Joseph Myers <joseph@codesourcery.com>
29839
29840 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29841 (round_str): Handle values above the maximum for IBM long double
29842 as inexact.
29843 * stdlib/tst-strtod-round.c (tests): Regenerated.
29844
14c996c8
AK
298452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29846
29847 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29848 assembler flag.
29849 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29850 zarch_nohighgprs around the zarch optimized routines.
29851 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29852 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29853 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29854 for zarch.
29855
430d6ce6
DM
298562012-09-05 David S. Miller <davem@davemloft.net>
29857
29858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29859
57f41c40
AS
29860 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29861 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29862 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29863 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29864 entries.
29865
24d4e01b
AO
298662012-09-05 Alexandre Oliva <aoliva@redhat.com>
29867
29868 * malloc/arena.c: Fold copyright years.
29869 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29870
61d58174
AO
298712012-09-05 Alexandre Oliva <aoliva@redhat.com>
29872
29873 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29874
20196a5e
AO
298752012-09-05 Alexandre Oliva <aoliva@redhat.com>
29876
29877 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29878
5c447383
AO
298792012-09-05 Alexandre Oliva <aoliva@redhat.com>
29880
29881 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29882 change internal state upon failure.
29883
fad64255
AO
298842012-09-05 Alexandre Oliva <aoliva@redhat.com>
29885
29886 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29887 * malloc/memusage.c (mmap): Likewise.
29888 (mmap64, mremap): Likewise. Adjust name in comment.
29889
1ffb8c90
SP
298902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29891
29892 * libio/fileops.c: Fix typos in comments.
29893 * libio/oldfileops.c: Likewise.
29894 * libio/wfileops.c: Likewise.
29895
6ef9cc37
SP
298962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29897
29898 [BZ #1349]
29899 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29900 (tst-malloc-usable-ENV): Set environment for test case.
29901 * malloc/hooks.c (malloc_check_get_size): New function to get
29902 requested size.
29903 * malloc/malloc.c (musable): Use malloc_check_get_size.
29904 * malloc/tst-malloc-usable.c: New test case.
29905
4d038ae3
AS
299062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29907
29908 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29909
c4e85184
AM
299102012-09-05 Allan McRae <allan@archlinux.org>
29911
b9dafc56 29912 [BZ #13966]
c4e85184
AM
29913 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29914 determine header location.
29915 * configure: Regenerated.
29916
e1343020
AS
299172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29918
29919 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29920 float format.
29921 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
29922 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29923 format.
e1343020
AS
29924 (test): Regenerate.
29925
0a9f1987
DM
299262012-09-04 David S. Miller <davem@davemloft.net>
29927
29928 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29929 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29930 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29931
29237804
FW
299322012-09-04 Florian Weimer <fweimer@redhat.com>
29933
29934 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29935 failures.
29936
edb3cb88
FW
29937 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29938
60160d83
JM
299392012-09-04 Joseph Myers <joseph@codesourcery.com>
29940
29941 [BZ #9914]
29942 * libio/iogetdelim.c: Include <limits.h>.
29943 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29944 + len + 1 would overflow.
29945
bcd6c8dc
AJ
299462012-09-03 Andreas Jaeger <aj@suse.de>
29947
29948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29949 * sysdeps/i386/fpu/libm-test-ulps: Update.
29950
4ffffbd2
LD
299512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29952
29953 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29954 Add s_sinf-sse2, s_conf-sse2.
29955
29956 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29957 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29958 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29959 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29960
29961 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29962 for using routine as __sinf_ia32.
29963 Use macro for function declaration and weak_alias.
29964 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29965 for using routine as __cosf_ia32.
29966 Use macro for function declaration and weak_alias.
29967
29968 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29969 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29970
29971 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29972 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29974
29975 * math/libm-test.inc (cos_test): Add more test cases.
29976 (sin_test): Likewise.
29977 (sincos_test): Likewise.
29978
511fa286
AK
299792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29980
29981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29982 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29983 hidden.
29984 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29985
5f30cfec
L
299862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29987
29988 [BZ #14538]
29989 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29990 first element of the GOT.
29991 (elf_machine_load_address): Return the difference between
29992 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29993
0786794f
AM
299942012-09-01 Allan McRae <allan@archlinux.org>
29995
5f30cfec
L
29996 [BZ #13412]
29997 * configure.in (AWK): Require gawk version 3.0 or later.
29998 * configure: Regenerated.
0786794f 29999
26889eac
JM
300002012-09-01 Joseph Myers <joseph@codesourcery.com>
30001
30002 * sysdeps/unix/sysv/linux/kernel-features.h
30003 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30004 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30005 [__NR_clock_getres]: Make code unconditional.
30006 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30007 (clock_getcpuclockid): Remove code left unreachable by removal of
30008 conditionals.
30009 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30010 code unconditional.
30011 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30012 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30013 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30014 Make code unconditional.
30015 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30016 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30017 * sysdeps/unix/sysv/linux/clock_settime.c
30018 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30019 conditional code.
30020 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30021 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30022
d22e28b0
L
300232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30024
30025 [BZ #14476]
30026 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30027 scripts/test-installation.pl.
30028
30029 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30030 and $ld_so_version if it is set.
30031
050af9c4
SP
300322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30033
30034 [BZ #14516]
30035 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30036 failure if reading from procfs failed.
30037 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30038
ad845c0b
JM
300392012-08-27 Joseph Myers <joseph@codesourcery.com>
30040
30041 * sysdeps/unix/sysv/linux/kernel-features.h
30042 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30043 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30044 Remove conditional code.
30045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30046 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30047 Remove conditional code.
30048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30049 * sysdeps/unix/sysv/linux/i386/fxstat.c
30050 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30051 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30052 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30053 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30054 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30055 * sysdeps/unix/sysv/linux/i386/lxstat.c
30056 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30057 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30058 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30059 Remove conditional code.
30060 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30061 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30062 Remove conditional code.
30063 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30064 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30065 <kernel-features.h>.
30066 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30067 Remove.
30068 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30069 Remove conditional code.
30070 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30071 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30072 Remove conditional.
30073
5dbf56af
MF
300742012-08-27 Mike Frysinger <vapier@gentoo.org>
30075
30076 [BZ #5400]
30077 * NEWS: Add fixed bug number.
30078
d6e70f43
JM
300792012-08-27 Joseph Myers <joseph@codesourcery.com>
30080
7efb4737
JM
30081 [BZ #14519]
30082 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30083 underflowing exponent in case of negative sign.
30084 * stdlib/tst-strtod-round-data: Add more tests.
30085 * stdlib/tst-strtod-round.c (tests): Regenerated.
30086
af92131a
JM
30087 [BZ #3479]
30088 * stdlib/strtod_l.c (NDIG): Remove.
30089 (HEXNDIG): Likewise.
30090 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30091 smallest representable value.
30092 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30093 lie within an exact representation of 1/2 ulp of the result.
30094 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30095 unconditionally.
30096 (TENS_P9_IDX): Define unconditionally.
30097 (TENS_P9_SIZE): Likewise.
30098 (TENS_P10_IDX): Likewise.
30099 (TENS_P10_SIZE): Likewise.
30100 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30101 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30102 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30103 entries for 10^2^13 and 10^2^14.
30104 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30105 (TENS_P13_IDX): Define.
30106 (TENS_P13_SIZE): Likewise.
30107 (TENS_P14_IDX): Likewise.
30108 (TENS_P14_SIZE): Likewise.
30109 (_fpioconst_pow10): Change array size to
30110 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30111 unconditional.
30112 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30113 1024]: Add entries for 10^2^13 and 10^2^14.
30114 [LAST_POW10 > _LAST_POW10]: Remove #error.
30115 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30116 (_fpioconst_pow10): Change array size to
30117 FPIOCONST_POW10_ARRAY_SIZE.
30118 * stdlib/gen-fpioconst.c: New file.
30119 * stdlib/gen-tst-strtod-round.c: Likewise.
30120 * stdlib/tst-strtod-round-data: Likewise.
30121 * stdlib/tst-strtod-round.c: Likewise.
30122 * stdlib/Makefile (tests): Add tst-strtod-round.
30123
d6e70f43
JM
30124 [BZ #14459]
30125 * stdlib/strtod_l.c: Include <stdint.h>.
30126 (NDEBUG): Do not define.
30127 (round_and_return): Change EXPONENT parameter to type intmax_t.
30128 Rearrange calculations to avoid internal overflow possibilities.
30129 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30130 Rearrange calculations to avoid internal overflow possibilities.
30131 Assert that number fits inside MPNSIZE limbs.
30132 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30133 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30134 calculations and add assertions to avoid internal overflow
30135 possibilities. Add casts to avoid signed/unsigned operations.
30136 * stdlib/tst-strtod-overflow.c: New file.
30137 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30138
1f529f7d
MP
301392012-08-25 Marek Polacek <polacek@redhat.com>
30140
30141 * time/time.h: Fix some typos in comments.
30142
59a629f1
RM
301432012-08-23 Roland McGrath <roland@hack.frob.com>
30144
30145 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30146 * posix/tst-rfc3484-2.c: Likewise.
30147 * posix/tst-rfc3484-3.c: Likewise.
30148
d3bafbc9
SM
301492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30150
30151 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30152 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30153
4efcc022
JM
301542012-08-23 Joseph Myers <joseph@codesourcery.com>
30155
30156 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30157 #include of fxstatat64.c.
30158
3cc3ef96
RM
301592012-08-22 Roland McGrath <roland@hack.frob.com>
30160
f04e2132
RM
30161 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30162 * shadow/getspent_r.c: Likewise.
30163 * shadow/getspnam.c: Likewise.
30164 * shadow/getspnam_r.c: Likewise.
30165 * gshadow/getsgent.c: Likewise.
30166 * gshadow/getsgent_r.c: Likewise.
30167 * gshadow/getsgnam.c: Likewise.
30168 * gshadow/getsgnam_r.c: Likewise.
30169 * inet/getnetbyad.c: Likewise.
30170 * inet/getnetbyad_r.c: Likewise.
30171 * inet/getnetbynm.c: Likewise.
30172 * inet/getnetbynm_r.c: Likewise.
30173 * inet/getnetent.c: Likewise.
30174 * inet/getnetent_r.c: Likewise.
30175 * inet/getproto.c: Likewise.
30176 * inet/getproto_r.c: Likewise.
30177 * inet/getprtent.c: Likewise.
30178 * inet/getprtent_r.c: Likewise.
30179 * inet/getprtname.c: Likewise.
30180 * inet/getprtname_r.c: Likewise.
30181 * inet/getrpcbyname.c: Likewise.
30182 * inet/getrpcbyname_r.c: Likewise.
30183 * inet/getrpcbynumber.c: Likewise.
30184 * inet/getrpcbynumber_r.c: Likewise.
30185 * inet/getrpcent.c: Likewise.
30186 * inet/getrpcent_r.c: Likewise.
30187 * inet/getaliasent.c: Likewise.
30188 * inet/getaliasent_r.c: Likewise.
30189 * inet/getaliasname.c: Likewise.
30190 * inet/getaliasname_r.c: Likewise.
30191 * nscd/getgrgid_r.c: Likewise.
30192 * nscd/getgrnam_r.c: Likewise.
30193 * nscd/gethstbyad_r.c: Likewise.
30194 * nscd/gethstbynm3_r.c: Likewise.
30195 * nscd/getpwnam_r.c: Likewise.
30196 * nscd/getpwuid_r.c: Likewise.
30197 * nscd/getsrvbynm_r.c: Likewise.
30198 * nscd/getsrvbypt_r.c: Likewise.
30199 * nscd/gai.c: Likewise.
30200
c53d909c
RM
30201 * configure.in (build_nscd): New substituted variable, set
30202 by --disable-build-nscd and defaults to $use_nscd.
30203 * configure: Regenerated.
30204 * config.make.in (build-nscd): New substituted variable.
30205 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30206 Change conditional to require [$(build-nscd) = yes] as well.
30207 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30208
3cc3ef96
RM
30209 [BZ# 13696]
30210 * configure.in (use_nscd): New substituted variable, set by
30211 --disable-nscd. If enabled, define USE_NSCD.
30212 * configure: Regenerated.
30213 * config.h.in: Add USE_NSCD.
30214 * config.make.in (use-nscd): New substituted variable.
30215 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30216 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30217 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30218 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30219 (CFLAGS-getgrnam_r.c): Likewise.
30220 (CFLAGS-initgroups.c): Likewise.
30221 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30222 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30223 Variables removed.
30224 * inet/getnetgrent_r.c
30225 (nscd_setnetgrent): New function, broken out of ...
30226 (setnetgrent): ... here. Call it.
30227 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30228 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30229 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30230 * nscd/Makefile (routines, aux): Move definitions after include of
30231 Makeconfig. Conditionalize on [$(use-nscd) != no].
30232 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30233 Conditionalize on [USE_NSCD].
30234 (is_nscd, nscd_init_cb): Likewise.
30235 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30236 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30237 * nss/nss_db/db-init.c: Likewise.
30238 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30239 [USE_NSCD].
30240 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30241 (make_request): Use it.
30242 (cache_valid_p): New function.
30243 (__check_pf): Use it.
30244 * NEWS: Add item for --disable-nscd.
30245
07e51550
DL
302462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30247
30248 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30249 to support sed >= 4.2.1-20-ga9bf076.
30250 * configure: Regenerated.
30251
35a5b08b
RM
302522012-08-22 Roland McGrath <roland@hack.frob.com>
30253
30254 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30255 Conditionalize whole body on [IREL].
30256
8479f23a
JL
302572012-08-22 Jeff Law <law@redhat.com>
30258
30259 [BZ #14505]
30260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30261 if the family is PF_UNSPEC.
30262
48da0b21
MF
302632012-08-22 Mike Frysinger <vapier@gentoo.org>
30264
30265 * Makerules (lib-version): Rename from V.
30266 (install-lib-nosubdir): Change V to lib-version.
30267
15d0da8c
WS
302682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30269
30270 [BZ #14252]
30271 * powerpc32/power6/wcschr.c: New file.
30272 * powerpc32/power6/wcscpy.c: New file.
30273 * powerpc32/power6/wcsrchr.c: New file.
30274 * powerpc64/power6/wcschr.c: New file.
30275 * powerpc64/power6/wcscpy.c: New file.
30276 * powerpc64/power6/wcsrchr.c: New file.
30277
bcca0895
MK
302782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30279
30280 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30281 (two_way_short_needle): Use it.
5a4aaa33
RM
30282 * string/strstr.c (AVAILABLE1_USES_J): Define.
30283 * string/strcasestr.c: Likewise.
99677e57
MK
30284
30285 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30286 array references.
30287 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30288
400726de
MK
30289 [BZ #11607]
30290 * NEWS: Add an entry.
30291 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30292 define their defaults.
30293 (two_way_short_needle): Detect end-of-string on-the-fly.
30294 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30295 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30296 * string/bug-strcasestr1.c: New test.
30297 * string/Makefile: Run it.
30298
20a71f2c
MK
302992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30300
30301 [BZ #11607]
30302 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30303 the first character.
30304
21ad0558
RM
303052012-08-21 Roland McGrath <roland@hack.frob.com>
30306
30307 * csu/elf-init.c (__libc_csu_irel): Function removed.
30308 * csu/libc-start.c (apply_irel): New function.
30309 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30310
0e1d9911
JM
303112012-08-21 Joseph Myers <joseph@codesourcery.com>
30312
30313 * sysdeps/unix/sysv/linux/kernel-features.h
30314 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30315 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30316 <kernel-features.h>.
30317 [__NR_fadvise64_64]: Make code unconditional.
30318 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30319 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30320 !__NR_fadvise64_64)]: Likewise.
30321 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30322 !__NR_fadvise64_64))]: Likewise.
30323 [__NR_fadvise64]: Make code unconditional.
30324 [!__NR_fadvise64]: Remove conditional code.
30325 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30326 <kernel-features.h>.
30327 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30328 unconditional.
30329 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30330 conditional code.
30331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30332 not include <kernel-features.h>.
30333 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30334 unconditional.
30335 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30336 conditional code.
30337 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30338 include <kernel-features.h>.
30339 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30340 unconditional.
30341 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30342 conditional code.
30343
14a50c9d
WS
303442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30345
30346 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30347 slight instruction rearrangements per scrollpipe analysis.
30348 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30349
c0f4faf0
RM
303502012-08-20 Roland McGrath <roland@hack.frob.com>
30351
696da859
RM
30352 * manual/syslog.texi (syslog; vsyslog, closelog):
30353 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30354 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30355
c0f4faf0
RM
30356 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30357 DSOCAPS to match condition on defining it.
30358
348363b2
JM
303592012-08-20 Joseph Myers <joseph@codesourcery.com>
30360
a35cbf28
JM
30361 * sysdeps/unix/sysv/linux/kernel-features.h
30362 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30364 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30365 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30367 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30368 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30370 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30371 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30372
445f7ecd
JM
30373 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30374 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30375
348363b2
JM
30376 * sysdeps/unix/sysv/linux/kernel-features.h
30377 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30378 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30379 unconditional.
30380 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30381 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30382 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30383 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30384 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30385 Make code unconditional.
30386 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30387 (__mmap64) [!__NR_mmap2]: Likewise.
30388 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30389 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30390 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30391 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30392 [__NR_mmap2]: Make code unconditional.
30393 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30394 (__mmap64) [!__NR_mmap2]: Likewise.
30395
bc5bc0e5
AK
303962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30397
30398 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30399
88d506de
AJ
304002012-08-18 Andreas Jaeger <aj@suse.de>
30401
30402 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30403
493387d2
MF
304042012-08-18 Mike Frysinger <vapier@gentoo.org>
30405
30406 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30407 * include/unistd.h (__have_sock_cloexec): Likewise.
30408 (__have_pipe2): Likewise.
30409 (__have_dup3): Likewise.
30410
a277af22
MF
304112012-08-18 Mike Frysinger <vapier@gentoo.org>
30412
30413 [BZ #9685]
30414 * include/unistd.h (__have_pipe2): Change define into an extern int.
30415 (__have_dup3): Likewise.
30416 * socket/have_sock_cloexec.c: Include fcntl.h.
30417 (__have_pipe2): New variable.
30418 (__have_dup3): Likewise.
30419
fdab8fd3
MF
304202012-08-17 Mike Frysinger <vapier@gentoo.org>
30421
30422 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30423
31035e80
MP
304242012-08-17 Marek Polacek <polacek@redhat.com>
30425
30426 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30427 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30428
3bd9e993
RM
304292012-08-17 Roland McGrath <roland@hack.frob.com>
30430
c91c505f
RM
30431 * configure.in: Add AC_SUBST for sysheaders.
30432 * configure: Regenerated.
30433 * config.make.in (sysheaders): New substituted variable.
30434
7c6f9d53
RM
30435 * sysdeps/unix/mkfifo.c: Moved ...
30436 * sysdeps/posix/mkfifo.c: ... here.
30437 * sysdeps/unix/mkfifoat.c: Moved ...
30438 * sysdeps/posix/mkfifoat.c: ... here.
30439
30440 * sysdeps/unix/utime.c: Moved ...
30441 * sysdeps/posix/utime.c: ... here.
30442
30443 * sysdeps/unix/time.c: Moved ...
30444 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
30445 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30446 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
30447
30448 * sysdeps/unix/nice.c: Moved ...
30449 * sysdeps/posix/nice.c: ... here.
30450
30451 * sysdeps/unix/alarm.c: Moved ...
30452 * sysdeps/posix/alarm.c: ... here.
30453
3bd9e993
RM
30454 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30455
d1f09384
JL
304562012-08-17 Jeff Law <law@redhat.com>
30457
30458 * intl/Makefile (codeset_mo): New variable.
30459 ($(codeset_mo)): New target.
30460 (tst-codeset.out): Depend on that. Remove explicit rule.
30461 (tst-gettext3.out, tst-gettext5.out): Likewise.
30462 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30463 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30464 * intl/tst-codeset.sh: Remove.
30465 * intl/tst-gettext3.sh: Likewise.
30466 * intl/tst-gettext5.sh: Likewise.
30467
2ae1ae5c
RM
304682012-08-17 Roland McGrath <roland@hack.frob.com>
30469
c31fdb83
RM
30470 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30471 * sysdeps/unix/syscalls.list: ... here.
30472
a0844057
RM
30473 * sysdeps/posix/getaddrinfo.c
30474 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30475 (gaiconf_init, gaiconf_reload): Use them.
30476 [!_STATBUF_ST_NSEC]
30477 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30478 Define using time_t rather than struct timespec.
30479
750c1f2a
RM
30480 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30481 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30482 Macros removed.
30483 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30484 [!NO_THREADS].
30485 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30486 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30487 Likewise.
30488
2ae1ae5c
RM
30489 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30490 __libc_cleanup_push argument.
30491
e66a42f5
RM
30492 * bits/param.h: New file.
30493 * misc/sys/param.h: New file.
30494 * include/sys/param.h: New file.
30495 * misc/Makefile (headers): Add bits/param.h.
30496 * sysdeps/generic/sys/param.h: File removed.
30497 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30498 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30499 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30500 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30501
b7c08a66
RM
30502 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30503 last change.
30504
b2e1c562
RM
30505 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30506 [_IO_MTSAFE_IO].
30507 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30508 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30509 New macros.
30510
c75ccd4c
RM
30511 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30512 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30513 rather than -D_IO_MTSAFE_IO conditionally.
30514 * stdio-common/Makefile (CPPFLAGS): Likewise.
30515 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30516 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30517 Use $(libio-mtsafe).
30518 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30519 of -D_IO_MTSAFE_IO.
30520 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30521 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30522 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30523 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30524 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30525 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30526 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30527 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30528 (CFLAGS-fread_u_chk.c): Likewise.
30529 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30530 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30531 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30532 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30533 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30534 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30535 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30536 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30537 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30538
30539 * libio/Makefile: Test [$(libc-reentrant) = yes]
30540 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30541
30542 * Makeconfig
30543 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30544 * sysdeps/pthread/configure: File removed.
30545 * sysdeps/pthread/Makeconfig: New file.
30546 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30547 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30548
d9195db8
GB
305492012-08-16 Gary Benson <gbenson@redhat.com>
30550
30551 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30552 unmapping the first object in a namespace.
30553
86466cd9
RM
305542012-08-16 Roland McGrath <roland@hack.frob.com>
30555
30556 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30557 (__internal_setnetgrent): ... this. Add internal_function to
30558 definition. Add libc_hidden_def.
30559 (setnetgrent): Update caller.
30560 (internal_endnetgrent): Renamed to ...
30561 (__internal_endnetgrent): ... this. Add internal_function to
30562 definition. Add libc_hidden_def.
30563 (endnetgrent): Update caller.
30564 (internal_getnetgrent_r): Renamed to ...
30565 (__internal_getnetgrent_r): ... this. Add internal_function to
30566 definition. Add libc_hidden_def.
30567 (__getnetgrent_r): Update caller.
30568 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30569
c3c8283c
JM
305702012-08-16 Joseph Myers <joseph@codesourcery.com>
30571
30572 * stdlib/longlong.h: Update from GCC.
30573
db1ee0a8
RM
305742012-08-16 Roland McGrath <roland@hack.frob.com>
30575
30576 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30577 on _QL, which is set by umul_ppmm but never used.
30578 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30579 variables, which are set by GMP macros but never used.
30580 * stdio-common/_itowa.c (_itowa): Likewise.
30581 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30582 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30583
30f69637
CD
305842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30585
30586 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30587 struct La_sh_regs is not constant.
30588 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30589 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30590 and struct La_sparc64_regs are not constant.
30591
93a78ac4
JM
305922012-08-16 Joseph Myers <joseph@codesourcery.com>
30593
30594 * sysdeps/unix/sysv/linux/kernel-features.h
30595 (__ASSUME_POSIX_TIMERS): Remove.
30596 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30597 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30598 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30599 Make code unconditional.
30600 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30601 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30602 Make code unconditional.
30603 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30604 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30605 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30606 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30607 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30608 Make code unconditional.
30609 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30610 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30611 (__libc_missing_posix_timers): Remove.
30612
dd924cd7
RM
306132012-08-15 Roland McGrath <roland@hack.frob.com>
30614
4b4f2771
RM
30615 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30616 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30617
601c888b
RM
30618 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30619
176790a7
RM
30620 * elf/dl-sym.c: Include <stdlib.h>.
30621
329bc018
RM
30622 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30623 constants, which avoids warnings in 32-bit builds.
30624
e04e272d
RM
30625 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30626 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30627
952bf94a
RM
30628 * misc/lseek.c: File moved to ...
30629 * io/lseek.c: ... here.
30630
7c99b50a
RM
30631 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30632
dd924cd7
RM
30633 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30634 shifting LEN more than 31 bits at once.
30635
b3f479a8
LD
306362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30637
30638 [BZ #14195]
8c4ae0d4
RM
30639 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30640 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30641 * string/test-strncasecmp.c (check1): Renamed to...
30642 (bz12205): ...this.
30643 (bz14195): Add new testcase for two empty input strings and N > 0.
30644 (test_main): Call new testcase, adapt for renamed function.
30645
9c55864e
AJ
306462012-08-15 Andreas Jaeger <aj@suse.de>
30647
30648 [BZ #14090]
30649 * crypt/md5test2.c: New test, based on test supplied by Serge
30650 Belyshev <belyshev@depni.sinp.msu.ru>.
30651 * crypt/Makefile (xtests): Add md5test-giant..
30652 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30653
02dcb6c5
PE
306542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30655
30656 [BZ #14090]
30657 * crypt/md5.c (md5_process_block): Don't assume the buffer
30658 length is less than 2**32.
30659 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30660 length is less than 2**64.
30661
a3f95dcc
RM
306622012-08-15 Roland McGrath <roland@hack.frob.com>
30663
be75d758
RM
30664 * string/str-two-way.h: Include <sys/param.h>.
30665 (MAX): Macro removed.
30666
7312ca90
RM
30667 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30668 Move #define and #undef of memmove to just before and after
30669 including <string.h>.
30670
9a0a5486
RM
30671 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30672 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30673 and after including <string.h>. Move declarations of
30674 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30675 to before #include "string/memmove.c".
30676
67cc348d
RM
30677 * include/dirent.h: Declare __getdirentries.
30678
a3f95dcc
RM
30679 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30680 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30681
ca98e171
MF
306822012-08-14 Mike Frysinger <vapier@gentoo.org>
30683
30684 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30685 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30686 * sysdeps/i386/configure: Regenerated.
30687 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30688 STABS_CURRENT_FILE, and STABS_FUN.
30689 (END): Remove call to STABS_FUN_END.
30690 (STABS_CURRENT_FILE1): Delete.
30691 (STABS_CURRENT_FILE): Likewise.
30692 (STABS_FUN): Likewise.
30693 (STABS_FUN_END): Likewise.
30694 (STABS_FUN2): Likewise.
30695 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30696 * sysdeps/x86_64/configure: Regenerated.
30697
5908bf46
RM
306982012-08-14 Roland McGrath <roland@hack.frob.com>
30699
30700 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30701 * elf/dl-lookup.c: Likewise.
5908bf46 30702
f2c05b9e
JM
307032012-08-14 Joseph Myers <joseph@codesourcery.com>
30704
30705 * sysdeps/unix/sysv/linux/kernel-features.h
30706 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30707 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30708 unconditionally.
30709 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30710 unconditionally.
30711 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30712 condition on __ASSUME_CLONE_THREAD_FLAGS.
30713
e11f5155
AJ
307142012-08-14 Andreas Jaeger <aj@suse.de>
30715
30716 * sysdeps/i386/fpu/libm-test-ulps: Update.
30717
51a9ba86
MK
307182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30719
2fdd4f78
AJ
30720 * include/atomic.h (atomic_exchange_and_add): Split into ...
30721 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30722 New atomic macros.
51a9ba86 30723
ba6cba9e
MT
307242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30725
30726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30727
42443a47
JL
307282012-08-13 Jeff Law <law@redhat.com>
30729
30730 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30731 null byte in the output string.
30732
121dce05
JM
307332012-08-10 Joseph Myers <joseph@codesourcery.com>
30734
30735 * sysdeps/unix/sysv/linux/kernel-features.h
30736 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30737 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30738 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30739 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30740 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30741 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30742 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30743
bf51f568
JL
307442012-08-09 Jeff Law <law@redhat.com>
30745
30746 [BZ #13939]
30747 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30748 When avoid_arena is set, don't retry in the that arena. Pick the
30749 next one, whatever it might be.
30750 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30751 (arena_lock): Pass in new parameter to arena_get2.
30752 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30753 arena_get2.
30754 (__libc_malloc): Unify retrying after main arena failure with
30755 __libc_memalign version.
30756 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30757
f85fa270
L
307582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30759
30760 [BZ #14166]
30761 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30762 to __redirect_strstr.
30763 (__strstr_sse42): Use typeof __redirect_strstr.
30764 (__strstr_ia32): Likewise.
30765 (__libc_strstr): New prototype.
30766 (strstr): Renamed to ...
30767 (__libc_strstr): This.
30768 (strstr): New strong alias of __libc_strstr.
30769 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30770 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30771 __redirect_time.
30772 Include <time.h>.
30773 (__libc_time): New prototype.
30774 (time_ifunc): Replace time with __libc_time.
30775 (time): New strong alias and hidden definition of __libc_time.
30776 (__GI_time): Remove strong alias.
30777 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30778 Include <stddef.h>.
30779 (memmove): Redefined to __redirect_memmove.
30780 (__memmove_sse2): Use typeof __redirect_memmove.
30781 (__memmove_ssse3): Likewise.
30782 (__memmove_ssse3_back): Likewise.
30783 (__libc_memmove): New prototype.
30784 (memmove): Renamed to ...
30785 (__libc_memmove): This.
30786 (memmove): New strong alias of __libc_memmove.
30787
33b4a91e
MS
307882012-08-08 Mark Salter <msalter@redhat.com>
30789
30790 * elf/elf.h
30791 (R_MN10300_TLS_GD): Define.
30792 (R_MN10300_TLS_LD): Likewise.
30793 (R_MN10300_TLS_LDO): Likewise.
30794 (R_MN10300_TLS_GOTIE): Likewise.
30795 (R_MN10300_TLS_IE): Likewise.
30796 (R_MN10300_TLS_LE): Likewise.
30797 (R_MN10300_TLS_DTPMOD): Likewise.
30798 (R_MN10300_TLS_DTPOFF): Likewise.
30799 (R_MN10300_TLS_TPOFF): Likewise.
30800 (R_MN10300_SYM_DIFF): Likewise.
30801 (R_MN10300_ALIGN): Likewise.
30802 (R_MN10300_NUM): Update.
30803
b36137f1
JM
308042012-08-08 Joseph Myers <joseph@codesourcery.com>
30805
30806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30807 Remove.
30808
cdd915fd
RM
308092012-08-08 Roland McGrath <roland@hack.frob.com>
30810
a2433aac
RM
30811 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30812
cdd915fd
RM
30813 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30814 sysdeps/unix -> sysdeps/posix move.
30815 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30816
bf9b740a
AM
308172012-08-07 Allan McRae <allan@archlinux.org>
30818
30819 [BZ #14303]
30820 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30821 (SUNOS_CPP): Likewise.
30822 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30823 not found.
30824 (open_input): Call CPP using execvp.
30825
93df14ee
JM
308262012-08-07 Joseph Myers <joseph@codesourcery.com>
30827
30828 * sysdeps/unix/sysv/linux/kernel-features.h
30829 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30830 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30831 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30832 (__ASSUME_WAITID_SYSCALL): Likewise.
30833 * sysdeps/unix/sysv/linux/dl-execstack.c
30834 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30835 code unconditional.
30836 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30837 conditional code.
30838 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30839 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30840 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30841 code.
30842 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30843 unconditional.
30844 [__ASSUME_WAITID_SYSCALL]: Likewise.
30845 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30846
d34689de
RM
308472012-08-07 Roland McGrath <roland@hack.frob.com>
30848
a281decc
RM
30849 * sysdeps/unix/closedir.c: Renamed to ...
30850 * sysdeps/posix/closedir.c: ... here.
30851 * sysdeps/unix/dirfd.c: Renamed to ...
30852 * sysdeps/posix/dirfd.c: ... here.
30853 * sysdeps/unix/dirstream.h: Renamed to ...
30854 * sysdeps/posix/dirstream.h: ... here.
30855 * sysdeps/unix/fdopendir.c: Renamed to ...
30856 * sysdeps/posix/fdopendir.c: ... here.
30857 * sysdeps/unix/opendir.c: Renamed to ...
30858 * sysdeps/posix/opendir.c: ... here.
30859 * sysdeps/unix/readdir.c: Renamed to ...
30860 * sysdeps/posix/readdir.c: ... here.
30861 * sysdeps/unix/readdir_r.c: Renamed to ...
30862 * sysdeps/posix/readdir_r.c: ... here.
30863 * sysdeps/unix/rewinddir.c: Renamed to ...
30864 * sysdeps/posix/rewinddir.c: ... here.
30865 * sysdeps/unix/seekdir.c: Renamed to ...
30866 * sysdeps/posix/seekdir.c: ... here.
30867 * sysdeps/unix/telldir.c: Renamed to ...
30868 * sysdeps/posix/telldir.c: ... here.
30869 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30870 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30871 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30872 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30873
22895b47
RM
30874 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30875 * bits/fcntl.h: ... here.
30876
707a53b6
RM
30877 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30878 not 0.
30879 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30880 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30881 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30882 (struct flock): Move l_start, l_len to the beginning.
30883 Use __pid_t for l_pid.
30884 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30885 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30886 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30887 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30888 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30889 [__USE_LARGEFILE64] (struct flock64): New type.
30890 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30891
f0bd3e25
RM
30892 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30893 * bits/dirent.h: ... here.
30894
d34689de
RM
30895 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30896 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30897
6dad2c06
JM
308982012-08-07 Joseph Myers <joseph@codesourcery.com>
30899
30900 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30901 Change from 2.6.0 to 2.6.16.
30902 * sysdeps/unix/sysv/linux/configure: Regenerated.
30903 * sysdeps/unix/sysv/linux/kernel-features.h
30904 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30905 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30906 version.
30907 (__ASSUME_UTIMES): Likewise.
30908 (__ASSUME_CLONE_STOPPED): Remove.
30909 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30910 architectures, not kernel version.
30911 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30912 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30913 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30914 (__ASSUME_WAITID_SYSCALL): Likewise.
30915 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30916 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30917 * README: State 2.6.16 as minimum Linux kernel version. Do not
30918 refer to older versions.
30919
03af9520
RM
309202012-08-06 Roland McGrath <roland@hack.frob.com>
30921
8e49df1d
RM
30922 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30923 Define alphasort64 as an alias.
30924 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30925 Define versionsort64 as an alias.
30926 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30927 Define scandir64 as an alias.
30928 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30929 Define scandirat64 as an alias.
30930 * dirent/alphasort64.c (alphasort64):
30931 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30932 * dirent/versionsort64.c: Likewise.
30933 * dirent/scandir64.c: Likewise.
30934 * dirent/scandirat64.c: Likewise.
30935 * sysdeps/wordsize-64/alphasort.c: File removed.
30936 * sysdeps/wordsize-64/alphasort64.c: File removed.
30937 * sysdeps/wordsize-64/scandir.c: File removed.
30938 * sysdeps/wordsize-64/scandir64.c: File removed.
30939 * sysdeps/wordsize-64/scandirat.c: File removed.
30940 * sysdeps/wordsize-64/scandirat64.c: File removed.
30941 * sysdeps/wordsize-64/versionsort.c: File removed.
30942 * sysdeps/wordsize-64/versionsort64.c: File removed.
30943 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30944 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30945 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30946 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30947 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30948 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30949 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30950 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30951
30952 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30954 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30956 [defined __arch64__ || defined __sparcv9]
30957 (__INO_T_MATCHES_INO64_T): New macro.
30958 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30959 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30960 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30961 * sysdeps/unix/sysv/linux/bits/dirent.h
30962 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30963 (_DIRENT_MATCHES_DIRENT64): New macro.
30964
03af9520
RM
30965 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30966 Define lockf64 as an alias.
30967 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30968 Define fseeko64 as an alias.
30969 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30970 Define ftello64 as an alias.
30971 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30972 Define _IO_fgetpos64 and fgetpos64 as aliases.
30973 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30974 Define _IO_fsetpos64 and fsetpos64 as aliases.
30975 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30976 Conditionalize body on this.
30977 * libio/fseeko64.c: Likewise.
30978 * libio/ftello64.c: Likewise.
30979 * libio/iofgetpos64.c: Likewise.
30980 * libio/iofsetpos64.c: Likewise.
30981 * sysdeps/wordsize-64/lockf.c: File removed.
30982 * sysdeps/wordsize-64/lockf64.c: File removed.
30983 * sysdeps/wordsize-64/fseeko.c: File removed.
30984 * sysdeps/wordsize-64/fseeko64.c: File removed.
30985 * sysdeps/wordsize-64/ftello.c: File removed.
30986 * sysdeps/wordsize-64/ftello64.c: File removed.
30987 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30988 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30989 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30990 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30991 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30992 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30993 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30994 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30995 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30996 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30997 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30998 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30999 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31000 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31001
31002 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31004 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31006 [defined __arch64__ || defined __sparcv9]
31007 (__OFF_T_MATCHES_OFF64_T): New macro.
31008 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31009 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31011 (__OFF_T_MATCHES_OFF64_T): New macro.
31012
c5757acd
L
310132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31014
31015 * stdlib/secure-getenv.c (__secure_getenv): Replace
31016 GLIBC_2_16 with GLIBC_2_17.
31017
3a31811e
L
310182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31019
31020 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31021 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31022
faa2bccb
DM
310232012-08-03 David S. Miller <davem@davemloft.net>
31024
31025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31026
85fe1997
JM
310272012-08-03 Joseph Myers <joseph@codesourcery.com>
31028
31029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31030 Remove.
31031 (__ASSUME_CORRECT_SI_PID): Likewise.
31032 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31033 (__ASSUME_TMPFS_NAME): Likewise.
31034 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31035 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31036 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31037 (HAVE_AUX_SECURE): Make definition unconditional.
31038 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31039 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31040
4f75b7a0
RM
310412012-08-03 Roland McGrath <roland@hack.frob.com>
31042
31043 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31044 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31045 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31046 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31047 __eloop_threshold instead of SYMLOOP_MAX.
31048
31049 * sysdeps/generic/eloop-threshold.h: New file.
31050 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31051 of MAXSYMLINKS.
31052 * elf/chroot_canon.c (chroot_canon): Likewise.
31053
7aab07e4
JM
310542012-08-03 Joseph Myers <joseph@codesourcery.com>
31055
31056 [BZ #13717]
31057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31058 Change to 2.6.0 everywhere.
31059 * sysdeps/unix/sysv/linux/configure: Regenerated.
31060 * sysdeps/unix/sysv/linux/kernel-features.h
31061 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31062 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31063 kernel versions.
31064 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31065 (__ASSUME_FUTEX_REQUEUE): Remove.
31066 (__ASSUME_STATFS64): Define unconditionally.
31067 (__ASSUME_AT_SECURE): Likewise.
31068 (__ASSUME_CORRECT_SI_PID): Likewise.
31069 (__ASSUME_TGKILL): Define without depending on kernel version for
31070 i386.
31071 (__ASSUME_UTIMES): Likewise.
31072 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31073 kernel version.
31074 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31075 (__ASSUME_TMPFS_NAME): Likewise.
31076 * README: Update reference to Linux kernel versions.
31077
b67e9372
MP
310782012-08-02 Marek Polacek <polacek@redhat.com>
31079
1f529f7d 31080 [BZ# 14150]
b67e9372
MP
31081 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31082 libc_cv_asm_type_prefix with %.
31083 * configure: Regenerated.
d2441631
RM
31084 * include/libc-symbols.h: Remove comment about
31085 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31086 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31087 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31088 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31089 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31090 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31091 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31092 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31093 * elf/tst-unique2mod1.c: Likewise.
31094 * elf/tst-unique1mod2.c: Likewise.
31095 * elf/tst-unique1mod1.c: Likewise.
31096 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31097 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31098 Replace ASM_TYPE_DIRECTIVE with .type.
31099 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31100 * sysdeps/i386/sysdep.h: Likewise.
31101 * sysdeps/x86_64/sysdep.h: Likewise.
31102 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31104 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31105 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31106 * sysdeps/powerpc/powerpc32/sysdep.h:
31107 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31108 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31109 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31110 * sysdeps/i386/fpu/e_powf.S: Likewise.
31111 * sysdeps/i386/fpu/e_expl.S: Likewise.
31112 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31113 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31114 * sysdeps/i386/fpu/e_pow.S: Likewise.
31115 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31116 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31117 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31118 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31119 * sysdeps/i386/fpu/e_log2.S: Likewise.
31120 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31121 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31122 * sysdeps/i386/fpu/e_powl.S: Likewise.
31123 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31124 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31125 * sysdeps/i386/fpu/e_logl.S: Likewise.
31126 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31127 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31128 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31129 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31130 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31131 * sysdeps/i386/fpu/e_log.S: Likewise.
31132 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31133 * sysdeps/i386/fpu/e_logf.S: Likewise.
31134 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31135 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31136 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31137 * sysdeps/i386/fpu/e_log10.S: Likewise.
31138 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31139 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31140 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31141 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31142 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31143 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31144 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31145 * sysdeps/i386/i686/strtok.S: Likewise.
31146 * sysdeps/i386/i386-mcount.S: Likewise.
31147 * sysdeps/i386/strtok.S: Likewise.
31148 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31149 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31150 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31151 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31152 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31153 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31154 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31155 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31156 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31157 * sysdeps/x86_64/_mcount.S: Likewise.
31158 * sysdeps/x86_64/strtok.S: Likewise.
31159 * sysdeps/sh/_mcount.S: Likewise.
31160
2747bf9a
RM
311612012-08-01 Roland McGrath <roland@hack.frob.com>
31162
31163 * libio/iofopen.c: Include <fcntl.h>.
31164 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31165 (_IO_fopen64, fopen64): Define as aliases.
31166 * libio/iofopen64.c: Include <fcntl.h>.
31167 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31168 Conditionalize body on this.
31169 * sysdeps/wordsize-64/iofopen.c: File removed.
31170 * sysdeps/wordsize-64/iofopen64.c: File removed.
31171
3fb791b8
MP
311722012-08-01 Marek Polacek <polacek@redhat.com>
31173
31174 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31175 Use dlfcn directly instead of a variable.
31176 (binfmt-subdir): Do not define.
31177 (dlfcn): Likewise.
31178
a9f1039f
JM
311792012-08-01 Joseph Myers <joseph@codesourcery.com>
31180
23bddc06
JM
31181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31182 Remove all definitions.
31183 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31184 <kernel-features.h>.
31185 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31186 (miss_F_GETOWN_EX): Remove all definitions.
31187 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31188 macro definition.
31189 [!__ASSUME_FCNTL64]: Remove conditional code.
31190 [__ASSUME_FCNTL64]: Make code unconditional.
31191 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31192 <kernel-features.h>.
31193 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31194 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31195 (lockf64) [__NR_fcntl64]: Make code unconditional.
31196 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31197
a9f1039f
JM
31198 * sysdeps/unix/sysv/linux/kernel-features.h
31199 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31200 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31201 Make code unconditional.
31202 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31203 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31205 [__NR_vfork]: Make code unconditional.
31206 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31207 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31209 [__NR_vfork]: Make code unconditional.
31210 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31211 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31212
09c0ee5f
RM
312132012-08-01 Roland McGrath <roland@hack.frob.com>
31214
48aec5b9
RM
31215 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31216 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31217
cd97c966
RM
31218 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31219 Define mkstemp64 as an alias.
3f55550c
RM
31220 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31221 Define mkstemps64 as an alias.
cd97c966
RM
31222 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31223 Define mkostemp64 as an alias.
b8625cfc
RM
31224 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31225 Define mkostemps64 as an alias.
cd97c966
RM
31226 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31227 Conditionalize body on this.
31228 * misc/mkostemp64.c: Likewise.
b8625cfc 31229 * misc/mkostemps64.c: Likewise.
3f55550c 31230 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31231 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31232 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31233 * sysdeps/wordsize-64/mkostemp.c: File removed.
31234 * sysdeps/wordsize-64/mkstemp.c: File removed.
31235 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31236 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31237 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31238 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31239
09c0ee5f
RM
31240 [BZ #14138]
31241 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31242 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31243 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31244 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31245
31246 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31247 compat_symbol macros from <shlib-compat.h> rather than the underlying
31248 default_symbol_version and symbol_version macros, so that DEFAULT
31249 lines in shlib-versions are respected.
31250 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31251
7e66ee51
FW
312522012-08-01 Florian Weimer <fweimer@redhat.com>
31253
31254 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31255 Declare with warn_unused_result.
31256 (setgid, setregid, setegid, setresgid): Likewise.
31257 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31258 Likewise.
31259 * WUR-REPORT: Remove set*id functions.
31260
d2a54255
PT
312612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31262
31263 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31264
7ecdb005
RM
312652012-07-31 Roland McGrath <roland@hack.frob.com>
31266
b4180a5e 31267 [BZ #10191]
789bd351
RM
31268 * include/sys/socket.h (__libc_accept, __libc_accept4):
31269 Add attribute_hidden.
31270 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31271
40ce302d
RM
31272 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31273 use of PTR_MANGLE.
31274 * inet/getnetgrent_r.c (setup): Likewise.
31275
7ecdb005
RM
31276 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31277
e2eabb2c
DM
312782012-07-31 David S. Miller <davem@davemloft.net>
31279
31280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31281
d0419dbf
JM
312822012-07-31 Joseph Myers <joseph@codesourcery.com>
31283
31284 [BZ #13629]
31285 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31286 value between 1.0 and 2.0 and smaller part has absolute value less
31287 than 1.0.
31288 * math/s_clog10.c (__clog10): Likewise.
31289 * math/s_clog10f.c (__clog10f): Likewise.
31290 * math/s_clog10l.c (__clog10l): Likewise.
31291 * math/s_clogf.c (__clogf): Likewise.
31292 * math/s_clogl.c (__clogl): Likewise.
31293 * math/libm-test.inc (clog_test): Add more tests.
31294 (clog10_test): Likewise.
31295 * sysdeps/i386/fpu/libm-test-ulps: Update.
31296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31297
2bc13872
FW
312982012-07-31 Florian Weimer <fweimer@redhat.com>
31299
31300 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31301 Exit with zero in case no suitable GID is found, and write a
31302 message to standard error.
31303
bea9b193
RM
313042012-07-30 Roland McGrath <roland@hack.frob.com>
31305
31306 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31307 rather than to 1.
31308 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31309 (MAXPATHLEN): Removed.
31310 (NOGROUP, NODEV): New macros.
31311 (setbit, clrbit, isset, isclr): New macros.
31312 (howmany, roundup, powerof2): New macros.
31313 (DEV_BSIZE): New macro.
31314
31315 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31316 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31317
31318 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31319 definition on [!__NO_LONG_DOUBLE_MATH].
31320
31321 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31322 PTR_MANGLE and PTR_DEMANGLE.
31323
31324 * socket/accept4.c (accept4): Rename to __libc_accept4.
31325 Define accept4 as a weak alias.
31326
31327 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31328 on [_DIRENT_HAVE_D_TYPE].
31329 * io/ftw.c (ftw_dir): Likewise.
31330
31331 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31332
31333 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31334
31335 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31336 Use the BSD numbers rather than the arbitrary ones we had.
31337 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31338 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31339 (SIGXCPU, SIGXFSZ): New macros.
31340 (_NSIG): Now 32.
31341
31342 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31343 initializer on [_LIBC_REENTRANT].
31344
31345 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31346 definitions inside [_POSIX_MAPPED_FILES].
31347
31348 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31349
31350 * dirent/opendir.c: Include <fcntl.h>.
31351
31352 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31353 (__libc_getspecific): Likewise.
31354 (__libc_key_create): Likewise.
31355
31356 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31357 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31358 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31359 (tmpfile64): Define as alias.
31360 * sysdeps/wordsize-64/tmpfile.c: File removed.
31361 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31362 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31363 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31364
31365 * stdio-common/vfscanf.c: Include <stdbool.h>.
31366 * nss/makedb.c: Likewise.
31367 * stdio-common/_i18n_number.h: Likewise.
31368 * argp/argp-help.c: Likewise.
31369 * posix/wordexp.c: Likewise.
31370 * sysdeps/posix/spawni.c: Likewise.
31371 * nss/nss_files/files-initgroups.c: Likewise.
31372 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31373 * nss/nss_files/files-initgroups.c: Likewise.
31374 * nss/nss_db/db-netgrp.c: Likewise.
31375 * nss/nss_db/db-initgroups.c: Likewise.
31376 * io/fchmodat.c: Include <sys/stat.h>.
31377
31378 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31379 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31380
31381 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31382 [HAVE_MMAP].
31383
31384 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31385 Add multiple inclusion protection.
31386
e5abc686
DM
313872012-07-27 David S. Miller <davem@davemloft.net>
31388
31389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31390
815e6fa3
GB
313912012-07-27 Gary Benson <gbenson@redhat.com>
31392
31393 [BZ #14298]
31394 * elf/rtld.c: Include <stap-probe.h>.
31395 (dl_main): Added static probes "init_start" and "init_complete".
31396 * elf/dl-load.c: Include <stap-probe.h>.
31397 (lose): Take new parameter "nsid".
31398 Added static probe "map_failed".
31399 (_dl_map_object_from_fd): Pass namespace id to lose.
31400 Added static probe "map_start".
31401 (open_verify): Pass namespace id to lose.
31402 * elf/dl-open.c: Include <stap-probe.h>.
31403 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31404 and "reloc_complete".
31405 * elf/dl-close.c: Include <stap-probe.h>.
31406 (_dl_close_worker): Added static probes "unmap_start" and
31407 "unmap_complete".
31408 * elf/rtld-debugger-interface.txt: New file documenting the above.
31409
9f98c16c
RM
314102012-07-26 Roland McGrath <roland@hack.frob.com>
31411
31412 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31413 rather than a string variable.
31414 * sunrpc/rpc_main.c (h_output): Likewise.
31415 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31416
f3c22df3
PT
314172012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31418
31419 * inet/check_native.c: New file.
31420
3129cfc6
JM
314212012-07-26 Joseph Myers <joseph@codesourcery.com>
31422
da865e95
JM
31423 [BZ #13629]
31424 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31425 if larger part has absolute value 1.0.
31426 * math/s_clog10.c (__clog10): Likewise.
31427 * math/s_clog10f.c (__clog10f): Likewise.
31428 * math/s_clog10l.c (__clog10l): Likewise.
31429 * math/s_clogf.c (__clogf): Likewise.
31430 * math/s_clogl.c (__clogl): Likewise.
31431 * math/libm-test.inc (clog_test): Add more tests.
31432 (clog10_test): Likewise.
31433 * sysdeps/i386/fpu/libm-test-ulps: Update.
31434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31435
3129cfc6
JM
31436 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31437 (pltexit): Likewise.
31438 (La_regs): Likewise.
31439 (La_retval): Likewise.
31440 (int_retval): Likewise.
31441 Update #error for removed macros to refer only to definitions in
31442 tst-audit.h.
31443 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31444 macro.
31445 (pltexit): Likewise.
31446 (La_regs): Likewise.
31447 (La_retval): Likewise.
31448 (int_retval): Likewise.
31449 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31450 macro.
31451 (pltexit): Likewise.
31452 (La_regs): Likewise.
31453 (La_retval): Likewise.
31454 (int_retval): Likewise.
31455 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31456 macro.
31457 (pltexit): Likewise.
31458 (La_regs): Likewise.
31459 (La_retval): Likewise.
31460 (int_retval): Likewise.
31461 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31462 macro.
31463 (pltexit): Likewise.
31464 (La_regs): Likewise.
31465 (La_retval): Likewise.
31466 (int_retval): Likewise.
31467 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31468 macro.
31469 (pltexit): Likewise.
31470 (La_regs): Likewise.
31471 (La_retval): Likewise.
31472 (int_retval): Likewise.
31473 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31474 macro.
31475 (pltexit): Likewise.
31476 (La_regs): Likewise.
31477 (La_retval): Likewise.
31478 (int_retval): Likewise.
31479 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31480 macro definitions in tst-audit.h.
31481 * sysdeps/i386/tst-audit.h: New file.
31482 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31483 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31484 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31485 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31486 * sysdeps/sh/tst-audit.h: Likewise.
31487 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31488 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31489 * sysdeps/x86_64/tst-audit.h: Likewise.
31490
bfc07087
AJ
314912012-07-26 Andreas Jaeger <aj@suse.de>
31492
b1b2aaf8
AJ
31493 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31494 ptrace.
31495
31496 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31497 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31498 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31499 PTRACE_O_MASK.
31500 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31501 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31502 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31503
bfc07087
AJ
31504 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31505 value.
31506
31507 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31508 _sigsys.
31509 (si_call_addr, si_syscall, si_arch): Define new macro.
31510 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31511 _sigsys.
31512 (si_call_addr, si_syscall, si_arch): Define new marcro.
31513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31514 _sigsys.
31515 (si_call_addr, si_syscall, si_arch): Define new macro.
31516 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31517 _sigsys.
31518 (si_call_addr, si_syscall, si_arch): Define new macro.
31519
89b4b02f
JM
315202012-07-25 Joseph Myers <joseph@codesourcery.com>
31521
31522 [BZ #13717]
31523 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31524 Change to 2.4.21 where previously 2.4.1.
31525 * sysdeps/unix/sysv/linux/configure: Regenerated.
31526 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31527 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31528 Linux kernel version.
31529 (__ASSUME_STD_AUXV): Remove.
31530 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31531 kernel version.
31532 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31533 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31534 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31535 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31536 (__ASSUME_NETLINK_SUPPORT): Likewise.
31537 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31538 (__no_netlink_support): Remove conditional definition.
31539 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31540 Remove.
31541 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31542 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31543 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31544 (if_nameindex_ioctl): Remove.
31545 (if_nameindex_netlink): Do not handle __no_netlink_support.
31546 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31547 code.
31548 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31549 Remove conditional code.
31550 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31551 code.
31552 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31553 unconditional.
31554 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31555 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31556 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31557 Remove.
31558 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31559 [!__ASSUME_STD_AUXV]: Remove conditional code.
31560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31561 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31562 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31564 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31565 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31566 code.
31567 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31569 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31570 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31571 conditional code.
31572 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31574 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31575 code.
31576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31577 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31578 conditional code.
31579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31580 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31581 code unconditional.
31582 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31583 conditional code.
31584 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31585 unconditional.
31586 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31587 conditional code.
31588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31589 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31590 unconditional.
31591 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31592 conditional code.
31593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31594 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31595 code unconditional.
31596 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31597 conditional code.
31598 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31599 unconditional.
31600 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31601 conditional code.
31602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31603 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31604 code unconditional.
31605 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31606 conditional code.
31607 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31608 unconditional.
31609 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31610 conditional code.
31611
842a39cd
AS
316122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31613
31614 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31615 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31616 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31617 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31618 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31619 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31620 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31621 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31622 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31623 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31624 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31625 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31626 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31627 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31628 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31629 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31630 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31632 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31634 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31635 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31637
84b3fd84
FW
316382012-07-25 Florian Weimer <fweimer@redhat.com>
31639
31640 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31641 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31642 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31643 Introduce __libc_secure_getenv.
0c7936d5
FW
31644 * stdlib/Versions (2.17): Add secure_getenv
31645 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31646 * stdlib/secure-getenv.c: Rename __secure_getenv to
31647 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31648 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31649 * stdlib/tst-secure-getenv.c: New.
31650 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31651 * manual/startup.texi (Environment Access): Document
31652 secure_getenv.
84b3fd84
FW
31653 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31654 __libc_secure_getenv.
31655 * inet/ruserpass.c (ruserpass): Likewise.
31656 * malloc/mtrace.c (mtrace): Likewise.
31657 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31658 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31659 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31660 * sysdeps/posix/tempname.c: Likewise. Evaluate
31661 HAVE_SECURE_GETENV.
31662 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31663 __secure_getenv to __libc_secure_getenv.
84b3fd84 31664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31666 Likewise.
31667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31668 Likewise.
31669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31671 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31676
56e49b71
JM
316772012-07-25 Joseph Myers <joseph@codesourcery.com>
31678
31679 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31680 (struct La_i86_retval): Likewise.
31681 (struct La_x86_64_regs): Likewise.
31682 (struct La_x86_64_retval): Likewise.
31683 (struct La_x32_regs): Likewise.
31684 (struct La_x32_retval): Likewise.
31685 (struct La_ppc32_regs): Likewise.
31686 (struct La_ppc32_retval): Likewise.
31687 (struct La_ppc64_regs): Likewise.
31688 (struct La_ppc64_retval): Likewise.
31689 (struct La_sh_regs): Likewise.
31690 (struct La_sh_retval): Likewise.
31691 (struct La_s390_32_regs): Likewise.
31692 (struct La_s390_32_retval): Likewise.
31693 (struct La_s390_64_regs): Likewise.
31694 (struct La_s390_64_retval): Likewise.
31695 (struct La_sparc32_regs): Likewise.
31696 (struct La_sparc32_retval): Likewise.
31697 (struct La_sparc64_regs): Likewise.
31698 (struct La_sparc64_retval): Likewise.
31699 (struct audit_ifaces): Remove architecture-specific pltenter and
31700 pltexit members.
31701 * sysdeps/i386/ldsodefs.h: New file.
31702 * sysdeps/powerpc/ldsodefs.h: Likewise.
31703 * sysdeps/s390/ldsodefs.h: Likewise.
31704 * sysdeps/sh/ldsodefs.h: Likewise.
31705 * sysdeps/sparc/ldsodefs.h: Likewise.
31706 * sysdeps/x86_64/ldsodefs.h: Likewise.
31707
354691b7
MP
317082012-07-25 Marek Polacek <polacek@redhat.com>
31709
31710 [BZ #6808]
31711 * math/libm-test.inc (yn_test): Add another test.
31712 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31713 to ERANGE when the result is +-Inf.
31714 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31715 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31716 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31717 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31718
bf9e2071
JM
317192012-07-24 Joseph Myers <joseph@codesourcery.com>
31720
31721 * conform/data/time.h-data (NULL): Use macro-constant. Require
31722 equal to 0.
31723 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31724 clock_t.
31725 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31726
57633811
TS
317272012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31728
31729 * configure.in <sysdeps resolving>: Correct printing
31730 Implies_before.
31731 * configure: Regenerate.
31732
c23c33b0
TS
317332012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31734
31735 * math/w_ilogb.c: Include <limits.h>.
31736 * math/w_ilogbl.c: Likewise.
31737
b5982523
JM
317382012-07-20 Joseph Myers <joseph@codesourcery.com>
31739
31740 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31741 va_copy. Document allowing for unavailable va_copy only as
31742 pre-C99 compatibility.
31743 * manual/string.texi (Copying and Concatenation): Use va_copy
31744 instead of __va_copy in concat example.
31745
ac4ea442
PT
317462012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31747
31748 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31749 (__sendto): Use create_address_port. Initialize APORT and deallocate
31750 it if not null.
31751
f98eafbd
PT
31752 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31753 with O_NOLINK passed to __file_name_lookup.
31754
898c7aab
PT
31755 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31756 with O_NOLINK passed to __file_name_lookup.
31757
0ced335a
PT
31758 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31759 negative N or less than NGIDS.
31760
b3404dbd
PT
31761 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31762 type to string_t. Set ERANGE as errno and return it if NAME is not big
31763 enough. Use memcpy instead of strncpy.
31764
0f48659e
JM
317652012-07-20 Joseph Myers <joseph@codesourcery.com>
31766
31767 * elf/Makefile (check-data): Remove.
31768 (localplt.data): New vpath directive.
31769 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31770 instead of $(check-data).
31771 * scripts/data/localplt-generic.data: Move to ...
31772 * sysdeps/generic/localplt.data: ... here.
31773 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31774 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31775 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31777 ... here.
31778 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31780 ... here.
31781 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31783 ... here.
31784 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31786 ... here.
31787 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31789 ... here.
31790 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31792 ... here.
31793
d37cbdaa
AZ
317942012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31795
31796 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31797 PPC32 and PPC64 files.
31798 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31799 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31800
46f85fc2
AK
318012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31802
31803 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31804 __makecontext_ret to ...
31805 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31806 ... here and call exit if uc_link is NULL. New file.
31807 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31808 __makecontext_ret.S.
31809 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31810 __makecontext_ret to ...
31811 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31812 ... here and call exit if uc_link is NULL. New file.
31813 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31814 __makecontext_ret.S.
31815
08f43f9b
AK
318162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31817
31818 * elf/elf.h (R_390_IRELATIVE): New definition.
31819 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31820 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31821 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31822 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31823 (elf_machine_lazy_rel): Likewise.
31824 * sysdeps/s390/dl-irel.h: New file.
31825 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31826 * sysdeps/s390/s390-64/memset.S: New asm code.
31827 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31828 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31829 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31830 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31831 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31832 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31833 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31834 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31835 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31836 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31837 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31838 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31839 * sysdeps/s390/s390-32/memset.S: New asm code.
31840 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31841
3b05db33
MP
318422012-07-17 Marek Polacek <polacek@redhat.com>
31843
31844 [BZ #14349]
31845 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31846 * sysdeps/s390/s390-64/configure.in: Likewise.
31847 * sysdeps/sparc/configure.in: Likewise.
31848 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31849 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31850 * sysdeps/i386/configure.in: Likewise.
31851 * sysdeps/x86_64/configure.in: Likewise.
31852 * sysdeps/sh/configure.in: Likewise.
31853 * sysdeps/s390/s390-32/configure: Regenerated.
31854 * sysdeps/s390/s390-64/configure: Likewise.
31855 * sysdeps/x86_64/configure: Likewise.
31856 * sysdeps/sh/configure: Likewise.
31857 * sysdeps/powerpc/powerpc64/configure: Likewise.
31858 * sysdeps/powerpc/powerpc32/configure: Likewise.
31859 * sysdeps/sparc/configure: Likwise.
31860 * sysdeps/i386/configure: Likewise.
31861
a66877c6
MP
31862 * elf/dl-open.c: Comment fixes.
31863
cfc82fd8
JM
318642012-07-17 Joseph Myers <joseph@codesourcery.com>
31865
bd29910a
JM
31866 * Makefile [CXX] (check-data): Remove.
31867 [CXX] (c++-types.data): New vpath directive.
31868 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31869 vpath. Do not allow for C++ type data being missing.
31870 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31871 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31872 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31873 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31874 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31875 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31876 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31878 ... here.
31879 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31881 ... here.
31882 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31884 ... here.
31885 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31887 ... here.
31888 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31890 ... here.
31891 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31893 ... here.
31894 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31896 ... here.
31897 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31899
cfc82fd8
JM
31900 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31901 definitions to architecture-specific files.
31902 (TLS_IE): Likewise.
31903 (TLS_LD): Likewise.
31904 (TLS_GD): Likewise.
31905 * sysdeps/i386/tls-macros.h: New file.
31906 * sysdeps/powerpc/tls-macros.h: Likewise.
31907 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31908 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31909 * sysdeps/sh/tls-macros.h: Likewise.
31910 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31911 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31912 * sysdeps/x86_64/tls-macros.h: Likewise.
31913
f7db3170
TS
319142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31915
07cbfc23
TS
31916 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31917 zero value for regular exit case.
31918
f7db3170
TS
31919 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31920 (__start_context): Preserve zero value for regular exit case.
31921
dc97c227
TS
319222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31923 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31924
31925 * manual/setjmp.texi (setcontext): Clarify normal process
31926 termination when uc_link is the null pointer.
31927 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31928 exit call.
31929
d0cd7d02
AS
319302012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31931
31932 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31933 preprocessor. Test for each exception mask separately.
31934
dd318934
AJ
319352012-07-16 Andreas Jaeger <aj@suse.de>
31936
31937 * po/ru.po: Update from translation team.
31938
8048311a
JM
319392012-07-15 Joseph Myers <joseph@codesourcery.com>
31940
31941 * conform/data/string.h-data (NULL): Use macro-constant. Require
31942 equal to 0.
31943 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31944 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31945 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31946 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31948
b637d46e
AJ
319492012-07-13 Andreas Jaeger <aj@suse.de>
31950
31951 * po/fr.po: Update from translation team.
31952
541428fe
MP
319532012-07-12 Marek Polacek <polacek@redhat.com>
31954
31955 [BZ #14173]
31956 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31957 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31958 loop condition.
31959
ec332e94
JM
319602012-07-12 Joseph Myers <joseph@codesourcery.com>
31961
31962 [BZ #13717]
31963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31964 Change to 2.4.1 where previously 2.4.0.
31965 * sysdeps/unix/sysv/linux/configure: Regenerated.
31966 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31967 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31968 version.
31969 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31970 (__ASSUME_AT_CLKTCK): Remove.
31971 (__ASSUME_AT_PAGESIZE): Likewise.
31972 (__ASSUME_AT_XID): Likewise.
31973 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31974 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31975 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31976 unconditionally.
31977 (HAVE_AUX_PAGESIZE): Likewise.
31978 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31979 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31980 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31981
7b6e99be
JB
319822012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31983
31984 [BZ #14307]
31985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31986 the temporary buffer used to invoke __gethostbyname2_r,
31987 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31988 host_data / struct gaih_addrtuple.
31989 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31990 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31991 header file nss/nsswitch.h.
31992 * nss/nsswitch.h (global scope): Add definition of implementation
31993 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31994 resolv/nss_dns/dns-host.c).
31995
608404eb
AJ
319962012-07-11 Andreas Jaeger <aj@suse.de>
31997
31998 * po/fr.po: Update from translation team.
31999
71220aca
AJ
32000 * po/sv.po: Update from translation team
32001 * po/fr.po: Another update from translation team.
32002
28cfe843
AZ
320032012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32004
32005 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32006 for subnormals or multiply small sinh result by itself.
32007 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32009
6b90f981
DM
320102012-07-11 David S. Miller <davem@davemloft.net>
32011
32012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32013
c6825772
AS
320142012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32015
32016 [BZ #14347]
32017 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32018 (INTERNAL_MARK): Shift it here.
32019
7b8e0d49
MP
320202012-07-10 Marek Polacek <polacek@redhat.com>
32021
32022 [BZ #14151]
32023 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32024 libc_cv_asm_global_directive with .globl.
32025 * configure: Regenerated.
32026 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32027 with .globl.
32028 * sysdeps/i386/configure: Regenerated.
32029 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32030 with .globl.
32031 * sysdeps/x86_64/configure: Regenerated.
32032 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32033 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32034 * elf/tst-unique2mod2.c: Likewise.
32035 * elf/tst-unique2mod1.c: Likewise.
32036 * elf/tst-unique1mod2.c: Likewise.
32037 * elf/tst-unique1mod1.c: Likewise.
32038 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32039 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32040 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32041 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32042 * sysdeps/mach/sysdep.h: Likewise.
32043 * sysdeps/i386/sysdep.h: Likewise.
32044 * sysdeps/i386/i386-mcount.S: Likewise.
32045 * sysdeps/x86_64/_mcount.S: Likewise.
32046 * sysdeps/x86_64/sysdep.h: Likewise.
32047 * sysdeps/sh/_mcount.S: Likewise.
32048 * sysdeps/sh/sysdep.h: Likewise.
32049 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32050 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32051 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32052 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32053 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32054 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32055 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32056 * locale/localeinfo.h: Likewise.
32057 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32058 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32059
6c55cda3
RM
320602012-07-09 Roland McGrath <roland@hack.frob.com>
32061
32062 [BZ #14336]
32063 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32064 system".
32065 * manual/message.texi (The Uniforum approach): Likewise.
32066 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32067 (glibc iconv Implementation): Likewise.
32068
638a572e
JM
320692012-07-09 Joseph Myers <joseph@codesourcery.com>
32070
32071 [BZ #14337]
32072 * math/s_clog.c (__clog): Avoid scaling a value down where that
32073 could result in underflow.
32074 * math/s_clog10.c (__clog10): Likewise.
32075 * math/s_clog10f.c (__clog10f): Likewise.
32076 * math/s_clog10l.c (__clog10l): Likewise.
32077 * math/s_clogf.c (__clogf): Likewise.
32078 * math/s_clogl.c (__clogl): Likewise.
32079 * math/libm-test.inc (clog_test): Add more tests.
32080 (clog10_test): Likewise.
32081 * sysdeps/i386/fpu/libm-test-ulps: Update.
32082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32083
261f4859
AS
320842012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32085
0abaf3e4
AS
32086 [BZ #14283]
32087 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32088 by 7 not 8 to examine high bit of fractional part.
32089
261f4859
AS
32090 [BZ #14042]
32091 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32092 for call to __mcount_internal.
32093 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32094 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32095 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32096
f17ac40d
JM
320972012-07-06 Joseph Myers <joseph@codesourcery.com>
32098
9ad63c23
JM
32099 [BZ #14154]
32100 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32101 approximation for values within 0x1p-13f of an odd multiple of
32102 pi/4.
32103 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32104 exception. Add more tests.
32105 * sysdeps/i386/fpu/libm-test-ulps: Update.
32106
f17ac40d
JM
32107 [BZ #6778]
32108 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32109 inputs and return -1 for them. Do not check for +Inf in case not
32110 reachable for +Inf.
32111 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32112 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32113 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32114 and return -1 for them. Do not check for +Inf in case not
32115 reachable for +Inf.
32116 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32117 define.
32118 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32119 and return -1 for them. Do not check for +Inf in case not
32120 reachable for +Inf.
32121 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32122 spurious underflow.
32123 * sysdeps/i386/fpu/libm-test-ulps: Update.
32124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32125
fb21f89b
MF
321262012-07-06 Mike Frysinger <vapier@gentoo.org>
32127
32128 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32129
cdfe2c5e
JM
321302012-07-05 Joseph Myers <joseph@codesourcery.com>
32131
32132 [BZ #14157]
32133 [BZ #14331]
32134 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32135 could result in spurious underflow. Scale down values above
32136 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32137 * math/s_csqrtf.c (__csqrtf): Likewise.
32138 * math/s_csqrtl.c (__csqrtl): Likewise.
32139 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32140 spurious underflow.
32141 * sysdeps/i386/fpu/libm-test-ulps: Update.
32142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32143
70d35b67
AS
321442012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32145
704bc459
AS
32146 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32147 xopen-msg.sed.
32148 * catgets/xopen-msg.awk: New file.
32149 * catgets/xopen-msg.sed: Removed.
32150
70d35b67
AS
32151 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32152 po2text.sed.
32153 * intl/po2test.awk: New file.
32154 * intl/po2test.sed: Removed.
32155
ca61cf32
JM
321562012-07-04 Joseph Myers <joseph@codesourcery.com>
32157
32158 [BZ #14328]
32159 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32160 or multiply small sinh result by itself.
32161 * math/s_ctanf.c (__ctanf): Likewise.
32162 * math/s_ctanh.c (__ctanh): Likewise.
32163 * math/s_ctanhf.c (__ctanhf): Likewise.
32164 * math/s_ctanhl.c (__ctanhl): Likewise.
32165 * math/s_ctanl.c (__ctanl): Likewise.
32166 * math/libm-test.inc (ctan_test_tonearest): New function.
32167 (ctan_test_towardzero): Likewise.
32168 (ctan_test_downward): Likewise.
32169 (ctan_test_upward): Likewise.
32170 (ctanh_test_tonearest): Likewise.
32171 (ctanh_test_towardzero): Likewise.
32172 (ctanh_test_downward): Likewise.
32173 (ctanh_test_upward): Likewise.
32174 (main): Call these new functions.
32175 * sysdeps/i386/fpu/libm-test-ulps: Update.
32176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32177
ca48a46a
MF
321782012-07-03 Mike Frysinger <vapier@gentoo.org>
32179
32180 * .gitignore: Delete /ports entry.
32181
9d63d37d
AJ
321822012-07-03 Andreas Jaeger <aj@suse.de>
32183
32184 * po/bg.po: Update from translation team.
32185 * po/cs.po: Likewise.
32186 * po/de.po: Likewise.
32187 * po/hr.po: Likewise.
32188 * po/nl.pl: Likewise.
32189 * po/pl.po: Likewise.
32190 * po/vi.po: Likewise.
32191
370ca3d2
JM
321922012-07-03 Joseph Myers <joseph@codesourcery.com>
32193
95f5a9a8
JM
32194 * Makeconfig [!+link] (+link-before-libc): New variable.
32195 [!+link] (+link-after-libc): Likewise.
32196 [!+link] (+link-tests): Likewise.
32197 [!+link] (+link): Define in terms of $(+link-before-libc) and
32198 $(+link-after-libc).
32199 [!+link-static] (+link-static-before-libc): New variable.
32200 [!+link-static] (+link-static-after-libc): Likewise.
32201 [!+link-static] (+link-static-tests): Likewise.
32202 [!+link-static] (+link-static): Define in terms of
32203 $(+link-static-before-libc) and $(+link-static-after-libc).
32204 [build-shared] (link-libc-before-gnulib): New variable.
32205 [build-shared] (link-libc-tests): Likewise.
32206 [build-shared] (link-libc): Define in terms of
32207 $(link-libc-before-gnulib).
32208 [!build-shared] (link-libc-tests): New variable.
32209 (link-libc-static-tests): New variable.
32210 [!gnulib] (gnulib-arch): New variable.
32211 [!gnulib] (gnulib-tests): Likewise.
32212 [!gnulib] (static-gnulib-arch): Likewise.
32213 [!gnulib] (static-gnulib-tests): Likewise.
32214 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32215 Define with "=" instead of ":=".
32216 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32217 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32218 * Rules (binaries-all-notests): New variable.
32219 (binaries-all-tests): Likewise.
32220 (binaries-static-notests): Likewise.
32221 (binaries-static-tests): Likewise.
32222 (binaries-all): Define using $(binaries-all-notests) and
32223 $(binaries-all-tests).
32224 (binaries-static): Define using $(binaries-static-notests) and
32225 $(binaries-static-tests).
32226 (binaries-shared-tests): New variable.
32227 (binaries-shared-notests): Likewise.
32228 (binaries-shared): Remove variable.
32229 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32230 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32231 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32232 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32233 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32234 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32235 * elf/Makefile (sln-modules): New variable.
32236 (extra-objs): Add $(sln-modules:=.o).
32237 (ldconfig-modules): Add static-stubs.
32238 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32239 * elf/static-stubs.c: New file.
32240
7a845b2c
JM
32241 [BZ #14283]
32242 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32243 by 7 not 8 to examine high bit of fractional part. Use volatile
32244 variables when splitting into final array of floats if
32245 __FLT_EVAL_METHOD__ != 0.
32246 * math/libm-test.inc (cos_test): Add another test.
32247 (sin_test): Likewise.
32248 * sysdeps/i386/fpu/libm-test-ulps: Update.
32249
e2283f38
JM
32250 [BZ #14273]
32251 * math/libm-test.inc (cosh_test): Add more tests.
32252
370ca3d2
JM
32253 * version.h (RELEASE): Set to "development".
32254 (VERSION): Set to "2.16.90".
32255
ee9247c3
CD
322562012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32257
32258 * NEWS: Update copyright. Remove last-updated date.
32259 Mention math library bug fixes and timezone data changes.
32260 * README: Mention GNU/Hurd, x32, and HPPA support status.
32261
4648c381
TS
322622012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32263
32264 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32265
aac78a43
AJ
322662012-06-27 Andreas Jaeger <aj@suse.de>
32267
32268 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32269
ed3dbfad
AJ
322702012-06-25 Andreas Jaeger <aj@suse.de>
32271
32272 * sysdeps/s390/fpu/libm-test-ulps: Update.
32273
4d0ee855
AS
322742012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32275 Thomas Schwinge <thomas@codesourcery.com>
32276
32277 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32278 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32280 fanotify_mark.
32281
af1bce34
TS
322822012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32283
a9fa33ba
TS
32284 * sysdeps/mach/start.c: Remove file.
32285 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32286 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32287 * sysdeps/sh/init-first.c: Likewise.
32288
58f902b8
TS
32289 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32290 registers for frame unwinding purposes, add CFI directives.
32291 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32292 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32293 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32294 Likewise.
32295
1518f58b
TS
32296 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32297 __fortify_fail returning.
32298 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32299
db9b5059
TS
32300 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32301 sysdeps/sh/____longjmp_chk.S.
32302 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32303 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32304 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32305 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32306
967705fe
TS
32307 * sysdeps/sh/abort-instr.h: New file.
32308 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32309 process in case exit returns.
32310
a9def8c4
TS
32311 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32312 initialize the GOT register before use.
32313
2a649725
TS
32314 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32315 calculation of ARGC > 4.
32316
af1bce34
TS
32317 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32318 meaningful names to some local labels.
32319
d230f50a
KK
323202012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32321 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32322
32323 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32324 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32325 (__arch_compare_and_exchange_val_16_acq): Likewise.
32326 (__arch_compare_and_exchange_val_32_acq): Likewise.
32327 (atomic_exchange_and_add): Fix gUSA sequence.
32328 (atomic_add): Likewise.
32329 (atomic_add_negative): Likewise.
32330 (atomic_add_zero): Likewise.
32331 (atomic_bit_test_set): Likewise.
32332
0479b305
AS
323332012-06-22 Andreas Schwab <schwab@redhat.com>
32334
32335 [BZ #13579]
32336 * include/link.h (struct link_map): Add l_free_initfini.
32337 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32338 l_initfini.
32339 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32340 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32341 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32342 set.
32343
0e3933b9
CD
323442012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32345
32346 * configure.in: Use AC_LANG_SOURCE.
32347 * configure: Regenerate.
32348
4248b1b1
RM
323492012-06-22 Roland McGrath <roland@hack.frob.com>
32350
32351 * configure.in (libc_cv_localstatedir): New substituted variable.
32352 * configure: Regenerated.
32353 * config.make.in (localstatedir): New variable, substituted from
32354 libc_cv_localstatedir.
32355 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32356 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32357 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32358 * sysdeps/gnu/configure: Regenerated.
32359
006dd861
JL
323602012-06-21 Jeff Law <law@redhat.com>
32361
32362 [BZ #14277]
32363 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32364 free. Simplify list management for _LIBC case.
32365
79662d42
JM
323662012-06-21 Joseph Myers <joseph@codesourcery.com>
32367
b7abb4bf
JM
32368 [BZ #14273]
32369 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32370 Clear sign bit of 64-bit integer value before comparing against
32371 overflow value.
32372
79662d42
JM
32373 * sysdeps/mach/configure: Regenerated.
32374
1f150908
L
323752012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32376
32377 [BZ #14278]
32378 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32379
28363bbf
JL
323802012-06-21 Jeff Law <law@redhat.com>
32381
32382 [BZ #13882]
32383 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32384 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 32385 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
32386 * elf/dl-open.c (dl_open_worker): Likewise.
32387
09615db4
CD
323882012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32389
32390 * scripts/list-sources.sh: Scan PORTS for translations.
32391 * po/libc.pot: Regenerated.
32392
2174c6dd
AJ
323932012-06-21 Andreas Jaeger <aj@suse.de>
32394
32395 [BZ #12194]
32396 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32397 warning.
32398 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32399 * bits/byteswap-16.h (__bswap_16): Likewise.
32400 * bits/byteswap.h (__bswap_constant_16): Likewise.
32401
3ee947b1
L
324022012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32403
32404 [BZ #14117]
a2f34833
L
32405 * sysdeps/i386/fpu_control.h: Removed.
32406 * sysdeps/x86_64/fpu_control.h: Moved to ...
32407 * sysdeps/x86/fpu_control.h: Here.
32408
3ee947b1
L
32409 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32410 (_FPU_SETCW): Likewise.
32411
ed1825f8
L
324122012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32413
25f1282a
L
32414 [BZ #14117]
32415 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32416 * sysdeps/x86/fpu/bits/mathinline.h: This.
32417 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32418
ed1825f8
L
32419 [BZ #14050]
32420 [BZ #14117]
32421 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32422 functions if __x86_64__ is defined.
32423
36d54b74
CLT
324242012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32425
32426 * string/endian.h: Add !__ASSEMBLER__ condition for including
32427 conversion interfaces.
32428
10285c21
JM
324292012-06-15 Joseph Myers <joseph@codesourcery.com>
32430
32431 [BZ #14241]
32432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32433 of ABS(x) in calculating zero to negative powers other than odd
32434 integers.
32435 * math/libm-test.inc (pow_test): Add more tests.
32436
06c5abbd
AJ
324372012-06-15 Andreas Jaeger <aj@suse.de>
32438
32439 * manual/contrib.texi (Contributors): Update entry of Liubov
32440 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32441 Machado Filho.
32442
a3aeac40
CH
324432012-06-15 Cyril Hrubis <metan@ucw.cz>
32444
32445 * string/string.h: Add __wur to GNU version of strerror_r.
32446
49bdf4c1
L
324472012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32448
32449 [BZ #14229]
32450 * string/Makefile (tests): Add tst-strtok_r.
32451 * string/tst-strtok_r.c: New file.
32452 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32453 RAX_LP/RDX_LP on SAVE_PTR.
32454
834f9b8d
RM
324552012-06-14 Roland McGrath <roland@hack.frob.com>
32456
32457 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32458
75fa1921
JM
324592012-06-14 Joseph Myers <joseph@codesourcery.com>
32460
32461 * libm_test.inc (csqrt_test): Allow more spurious underflow
32462 exceptions.
32463 (j0_test): Likewise.
32464 (j1_test): Likewise.
32465 (y0_test): Likewise.
32466 (y1_test): Likewise.
32467
771766df
CD
324682012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32469
32470 * po/Makefile (libc.pot): Use UTF-8 charset.
32471
ceb9e56b
PP
324722012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32473
32474 [BZ #14210]
32475 Suppress sign-conversion warning from FD_SET.
32476 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32477 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32478 not unsigned long int.
32479 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32480
ddb28975
L
324812012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32482
32483 [BZ #14050]
32484 [BZ #14117]
32485 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32486 __extern_always_inline instead of __extern_inline.
32487 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32488 (__signbit): Likewise.
32489 (__signbitl): Support C++ namespace.
32490 (lrintf): New inline function.
32491 (lrint): Likewise.
32492 (llrintf): Likewise.
32493 (llrint): Likewise.
32494 (fmaxf): Likewise.
32495 (fmax): Likewise.
32496 (fminf): Likewise.
32497 (fmin): Likewise.
32498 (rint): Likewise.
32499 (rintf): Likewise.
32500 (ceil): Likewise.
32501 (ceilf): Likewise.
32502 (floor): Likewise.
32503 (floorf): Likewise.
32504 (nearbyint): Likewise.
32505 (nearbyintf): Likewise.
32506
d7b4fb26
TS
325072012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32508
32509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32510 non-default versions.
32511
eb55f5c2
RM
325122012-06-11 Roland McGrath <roland@hack.frob.com>
32513
32514 [BZ #14218]
32515 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32516
366af02c
TS
325172012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32518
99ff6e5c
TS
32519 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32520 (FE_UPWARD, FE_DOWNWARD): Don't define.
32521 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32522 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32523
366af02c
TS
32524 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32525 reading it.
32526 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32528
793ea851
KK
325292012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32530
32531 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32532 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32533 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32534 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32535
a728a38f
L
325362012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32537
32538 [BZ #14117]
c08010c7
L
32539 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32540 * sysdeps/i386/fpu/Implies: New file.
32541 * sysdeps/x86_64/fpu/Implies: Likewise.
32542 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32543 * sysdeps/x86/fpu/bits/fenv.h: This.
32544
a728a38f
L
32545 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32546 __SSE_MATH__.
32547
6e230d11
SP
325482012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32549
32550 [BZ #14134]
32551 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32552 character 0xffff that matches the last element of the
32553 conversion table.
32554
1b671feb
AZ
325552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32556
32557 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32558 fmodl commit.
32559
6043738b
AZ
325602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32561
32562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32563 values higher than 25.6283.
32564
34ae0b32
AZ
325652012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32566
32567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32568 subnormal exponent extraction and add some __builtin_expect.
32569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32570 Fix for subnormal mantissa calculation.
32571
1214ec8f
MF
325722012-06-04 Mike Frysinger <vapier@gentoo.org>
32573
32574 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32575 cpu2 is -1 and errno is not ENOSYS.
32576
f3d1f93c
L
325772012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32578
32579 [BZ #14117]
0e4a3cd7
L
32580 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32581 * sysdeps/x86/bits/string.h: This.
32582 * sysdeps/x86_64/bits/string.h: Removed.
32583
6704c645
L
32584 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32585 if not compiling for x86-64, but compiling for >= i486.
32586
48495318
L
32587 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32588 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32589
14adcbfc
L
32590 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32591 New macro from Linux kernel 3.4.0.
32592 (FP_XSTATE_MAGIC2): Likewise.
32593 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32594 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32595 (struct _fpx_sw_bytes): New struct.
32596 (struct _xsave_hdr): Likewise.
32597 (struct _ymmh_state): Likewise.
32598 (struct _xstate): Likewise.
32599
68e408ab
L
32600 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32601 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32602 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32603 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32604 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32605 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32606
f3d1f93c
L
32607 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32608 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32609 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32610 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32611 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32612 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32613
d9dc34cd
TMQMF
326142012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32615
32616 [BZ #13743]
32617 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32618 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32619 (sysdep_headers): Include sys/platform/ppc.h.
32620 * sysdeps/powerpc/test-gettimebase.c: Test for
32621 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32622 * manual/Makefile (appendices): Include platform.texi.
32623 * manual/contrib.texi (Contributors): Update @node pointers.
32624 * manual/maint.texi (Maintenance): Likewise.
32625 (Platform): New node.
32626 * manual/platform.texi: New file. Document the new features.
32627
4af3879c
SP
326282012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32629 Jakub Jelinek <jakub@redhat.com>
32630
32631 [BZ #14188]
32632 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32633 where __builtin_expect is unavailable.
32634
2fd6ff13
DM
326352012-06-03 David S. Miller <davem@davemloft.net>
32636
32637 * stdlib/longlong.h: Updated from GCC.
32638
173f7220
AS
326392012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32640
32641 [BZ #14042]
32642 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32643 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32644 __mcount_internal.
32645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32646 (GLIBC_2.16): Likewise.
32647
f34a1c6f
L
326482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32649
32650 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32651
88a4576f
JM
326522012-06-01 Joseph Myers <joseph@codesourcery.com>
32653
ea32bcdd
JM
32654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32655 (default-abi): New variable.
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32657 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32658 variable.
32659 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32660 Likewise.
32661 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32662 Likewise.
32663 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32664 Likewise.
32665
88a4576f
JM
32666 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32667 definition. Document in comment.
32668
402fe938
DM
326692012-06-01 David S. Miller <davem@davemloft.net>
32670
32671 * stdlib/longlong.h: Updated from GCC.
32672
3553723f
L
326732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32674
32675 [BZ #14117]
3bd872c4
L
32676 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32677 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32678 sys/debugreg.h sys/io.h here.
32679 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32680 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32681 sys/io.h.
32682 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32683 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32684 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32685 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32686 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32687 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32688
3553723f
L
32689 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32690 Define only if __x86_64__ is defined.
32691
4842e4fe
JM
326922012-06-01 Joseph Myers <joseph@codesourcery.com>
32693
c5bfe3d5
JM
32694 [BZ #14048]
32695 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32696 Use int64_t for variable i.
32697 * math/libm-test.inc (fmod_test): Add more tests.
32698
4842e4fe
JM
32699 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32700 z computation is not scheduled after fetestexcept.
32701 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32702 Use math_force_eval instead of asm to ensure calculation scheduled
32703 before exception test.
32704 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32705 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32706
efb73488
AJ
327072012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32708
32709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32710 computation is not scheduled after fetestexcept.
32711
29bcce7c
L
327122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32713
32714 [BZ #14117]
32715 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32716 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32717
73a68f94
AZ
327182012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32719
32720 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32721 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32722
67b6df78
L
327232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32724
edf2933a 32725 [BZ #14117]
ebc64a18
L
32726 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32727 <bits/wordsize.h>.
32728 (__WCHAR_MIN): Support __WORDSIZE == 64.
32729 (__WCHAR_MAX): Likewise.
32730
edf2933a
L
32731 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32732 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32733
57c6cf40
L
32734 [BZ #14183]
32735 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32736 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32737
67b6df78 32738 [BZ #14117]
8eb6281e
L
32739 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32740 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32741
aac639f4
L
32742 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32743 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32744
67b6df78
L
32745 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32746 Defined to 1 if __x86_64__ isn't defined.
32747 (_STAT_VER_LINUX_OLD): New.
32748 (st_atime): Remove duplicate.
32749 (st_mtime): Likewise.
32750 (st_ctime): Likewise.
32751
1c2cfe81
DM
327522012-05-31 David S. Miller <davem@davemloft.net>
32753
32754 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32755 entries.
32756
5be8418c
AS
327572012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32758
e7725326
AS
32759 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32760 gen-libm-test.pl.
32761
5be8418c
AS
32762 [BZ #14132]
32763 * elf/dl-reloc.c: Include <_itoa.h>.
32764 (_dl_reloc_bad_type): Remove use of INTUSE.
32765 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32766 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32767 * stdio-common/psiginfo.c (psiginfo): Likewise.
32768 * stdio-common/psignal.c (psignal): Likewise.
32769 * string/strsignal.c (strsignal): Likewise.
32770 * include/signal.h (_sys_siglist): Declare hidden proto.
32771 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32772 INTVARDEF with libc_hidden_data_def.
32773 * stdio-common/itoa-udigits.c: Likewise.
32774 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32775 (_itoa_lower_digits_internal): Remove declaration.
32776 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32777 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32778 (_sys_sigabbrev_internal): Remove aliases.
32779 (_sys_siglist): Define hidden alias.
32780
507352f1
MT
327812012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32782
32783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32784 bits/sysctl.h.
32785
42bbb1c3
L
327862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32787
32788 [BZ #14117]
6bd784b6
L
32789 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32790 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32791
8bca20f0
L
32792 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32793 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32794 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32795 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32797 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32798
f9e890a9
L
32799 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32800 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32801 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32802
471101a1
L
32803 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32804 with __addr.
32805 (insw): Likewise.
32806 (insl): Likewise.
32807 (outsb): Likewise.
32808 (outsw): Likewise.
32809 (outsl): Likewise.
32810
6451c862
L
32811 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32812 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32813 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32814
a254b8c9
L
32815 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32816 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32817 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32818 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32819 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32820 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32821
b8dfdd92
L
32822 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32823 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32824
578cd270
L
32825 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32826 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32827
de662f5f
L
32828 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32829 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32830 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32831
25653439
L
32832 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32833 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32834 to ...
32835 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32836
6bad24a0
L
32837 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32838 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32839 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32840
42bbb1c3
L
32841 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32842 for x86-64.
32843 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32844
2d10d547
JM
328452012-05-31 Joseph Myers <joseph@codesourcery.com>
32846
32847 * math/math.h (M_El): Use two more decimal places.
32848 (M_LOG2El): Likewise.
32849 (M_LOG10El): Likewise.
32850 (M_LN2l): Likewise.
32851 (M_LN10l): Likewise.
32852 (M_PIl): Likewise.
32853 (M_PI_2l): Likewise.
32854 (M_PI_4l): Likewise.
32855 (M_1_PIl): Likewise.
32856 (M_2_PIl): Likewise.
32857 (M_2_SQRTPIl): Likewise.
32858 (M_SQRT2l): Likewise.
32859 (M_SQRT1_2l): Likewise.
32860
f230c29b
DM
328612012-05-31 David S. Miller <davem@davemloft.net>
32862
32863 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32864 values between float registers.
32865 * sysdeps/sparc/sparc64/memset.S: Likewise.
32866 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32867
fed806c3
MF
328682012-05-31 Mike Frysinger <vapier@gentoo.org>
32869
32870 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32871 -D_FORTIFY_SOURCE=1.
32872 (CPPFLAGS-tst-longjmp_chk.c): Define.
32873 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32874 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32875 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32876 CFLAGS-tst-wchar-h.c.
32877
30917259
MP
328782012-05-31 Marek Polacek <polacek@redhat.com>
32879
32880 [BZ #14132]
32881 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32882 __endmntent_internal): Remove declaration.
32883 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32884 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32885 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32886
1c58d5dc
DM
328872012-05-30 David S. Miller <davem@davemloft.net>
32888
32889 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32890 (___Q_simulate_exceptions): Use real FP ops rather than writing
32891 into the %fsr.
32892 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32893 Likewise.
32894
7dc00e0d
L
328952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32896
32897 [BZ #14117]
0bd53985
L
32898 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32899 * sysdeps/x86/bits/xtitypes.h: This.
32900
3a257e66
L
32901 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32902 * sysdeps/x86/bits/wordsize.h: This.
32903
62f62904
L
32904 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32905 * sysdeps/x86/bits/huge_vall.h: This.
32906
404fe9d9
L
32907 * sysdeps/i386/bits/select.h: Removed.
32908 * sysdeps/x86_64/bits/select.h: Renamed to ...
32909 * sysdeps/x86/bits/select.h: This.
32910
d48d0446
L
32911 * sysdeps/i386/bits/setjmp.h: Removed.
32912 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32913 * sysdeps/x86/bits/setjmp.h: This.
32914
7dc00e0d
L
32915 * sysdeps/i386/bits/mathdef.h: Removed.
32916 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32917 * sysdeps/x86/bits/mathdef.h: This.
32918
03277f8f
AS
329192012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32920
32921 [BZ #14132]
32922 * include/sys/socket.h (__connect_internal)
32923 (__libc_sa_len_internal): Remove declaration.
32924 (__connect, __libc_sa_len): Declare hidden_proto.
32925 (SA_LEN): Remove use of INTUSE.
32926 * socket/connect.c: Add libc_hidden_def.
32927 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32928 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32929 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32930 alias.
32931 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32932 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32933 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32934 of adding _internal alias.
32935
13764867
L
329362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32937
32938 [BZ #14117]
6bd97696
L
32939 * sysdeps/i386/bits/link.h: Removed.
32940 * sysdeps/i386/bits/linkmap.h: Likewise.
32941 * sysdeps/x86_64/bits/link.h: Renamed to ...
32942 * sysdeps/x86/bits/link.h: This.
32943 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32944 * sysdeps/x86/bits/linkmap.h: This.
32945
f726f0bb
L
32946 * sysdeps/i386/bits/endian.h: Removed.
32947 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32948 * sysdeps/x86/bits/endian.h: This.
32949
13764867
L
32950 * sysdeps/i386/bits/byteswap.h: Removed.
32951 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32952 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32953 * sysdeps/x86/bits/byteswap.h: This.
32954 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32955 * sysdeps/x86/bits/byteswap-16.h: This.
32956 * sysdeps/i386/Implies: Add x86.
32957 * sysdeps/x86_64/Implies: Likewise.
32958
ae251b0b
DM
329592012-05-30 David S. Miller <davem@davemloft.net>
32960
32961 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32962 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32963 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32964 (FP_TRAPPING_EXCEPTIONS): Define.
32965 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32966 (FP_TRAPPING_EXCEPTIONS): Define.
32967 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32968 subnormals only when inexact has been signalled or underflow
32969 exceptions are enabled.
32970 (_FP_PACK_CANONICAL): Likewise.
32971
d5c90867
L
329722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32973
32974 [BZ #14183]
32975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32976 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32977
63f1549e
RH
329782012-05-30 Richard Henderson <rth@twiddle.net>
32979
8d8f2279
RH
32980 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32981 with #ifndef NOT_IN_libc.
32982
63f1549e
RH
32983 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32984 marked to avoid plt entry.
32985
0ab0291b
L
329862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32987
32988 [BZ #14112]
32989 * Makeconfig (default-abi): New macro.
32990 (abi-includes): Likewise.
32991 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32992 $(abi-$(default-abi)-lib-soname) for soname if defined.
32993 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32994 abi-variants.
32995 * Makefile (installed-stubs): Likewise.
32996 * include/stubs-biarch.h: Removed.
32997 * scripts/lib-names.awk: Only handle one library at a time.
32998 * scripts/soversions.awk: Remove WORDSIZE support.
32999 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33000 entries.
33001 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33002 Removed.
33003 (syscall-list-default-condition): Likewise.
33004 (syscall-list-default-condition): Likewise.
33005 (syscall-list-includes): Likewise.
33006 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33007 syscall-list-* with abi-*. Handle undefined abi-variants.
33008 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33009 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33010 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33011 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33012 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33013 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33014 Removed.
33015 (syscall-list-32-options): Likewise.
33016 (syscall-list-32-condition): Likewise.
33017 (syscall-list-64-options): Likewise.
33018 (syscall-list-64-condition): Likewise.
33019 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33020 macro.
33021 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33022 Renamed to ...
33023 (abi-*): This.
33024 (abi-64-ld-soname): New macro.
33025 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33026 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33027 Renamed to ...
33028 (abi-*): This.
33029 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33030 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33031
4da0431d
JM
330322012-05-30 Joseph Myers <joseph@codesourcery.com>
33033
3a85279c
JM
33034 * sysdeps/unix/sysv/linux/kernel-features.h
33035 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33036 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33037 include <kernel-features.h>.
33038 [!__NR_ftruncate64]: Remove conditional code.
33039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33040 [__NR_ftruncate64]: Make code unconditional.
33041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33042 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33043 include <kernel-features.h>.
33044 [!__NR_ftruncate64]: Remove conditional code.
33045 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33046 [__NR_ftruncate64]: Make code unconditional.
33047 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33049 include <kernel-features.h>.
33050 [!__NR_ftruncate64]: Remove conditional code.
33051 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33052 [__NR_ftruncate64]: Make code unconditional.
33053 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33055 include <kernel-features.h>.
33056 [!__NR_ftruncate64]: Remove conditional code.
33057 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33058 [__NR_ftruncate64]: Make code unconditional.
33059 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33060
4da0431d
JM
33061 * configure.in (libc_cv_fpie): Weaken to a compile test using
33062 LIBC_TRY_CC_OPTION.
33063 * configure: Regenerated.
33064
11ef492c
AK
330652012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33066
33067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33071 Refreshed.
33072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33078 Refreshed.
33079
d66ef399
DM
330802012-05-27 David S. Miller <davem@davemloft.net>
33081
33082 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33083 (___Q_zero): New.
33084 (__Q_simulate_exceptions): Return void. Change to simulate
33085 exceptions by writing into the %fsr.
33086 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33087 (__Qp_handle_exceptions): Likewise.
33088 (numbers): Delete.
33089 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33090 __Qp_handle_exceptions.
33091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33092 __Qp_handle_exceptions.
33093 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33094 as unused and give dummy FP_RND_NEAREST initializer.
33095 (FP_INHIBIT_RESULTS): Define.
33096 (___Q_simulate_exceptions): Update declaration.
33097 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33098 formatting.
33099 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33100 as unused and give dummy FP_RND_NEAREST initializer.
33101 (__Qp_handle_exceptions): Update declaration.
33102 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33103 formatting.
33104
04fb54b5
TS
331052012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33106
33107 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33108 the temporary FPU control word.
33109 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33110 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33111 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33112 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33113 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33114 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33115 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33116 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33117 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33118 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33119 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33120
3f99608f
KK
331212012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33122
33123 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33124 fields.
33125
65a4de4e
CLT
331262012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33127
33128 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33129 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33130 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33131 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33132 Likewise.
33133 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33134 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33135 Likewise.
33136
15749d40
UD
331372012-05-27 Ulrich Drepper <drepper@gmail.com>
33138
33139 * po/h.po: Update from translation team.
33140
25dbcb27
AS
331412012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33142
3d3f8e55
AS
33143 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33144
25dbcb27
AS
33145 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33146 handling of denormals.
33147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33148 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33149 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33150 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33151 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33154 Likewise.
33155
7ad47a80 331562012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33157
33158 [BZ #14152]
33159 * math/libm-test.inc (fma_test): Don't always expect underflow
33160 exception.
33161
9c6ea9fa
SP
331622012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33163
33164 [BZ #12416]
33165 * elf/tst-execstack.c: Include stackinfo.h.
33166 (do_test): Adjust test case to ensure that pthread_getattr_np
33167 behaviour remains the same after marking stack executable.
33168
a8239222
JM
331692012-05-25 Joseph Myers <joseph@codesourcery.com>
33170
33171 * sysdeps/unix/sysv/linux/kernel-features.h
33172 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33173 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33174 kernel-features.h.
33175 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33176 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33177 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33178 kernel-features.h.
33179 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33180 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33181
918b5606
L
331822012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33183
33184 * configure.in: Define the default includes to being none.
33185 * configure: Regenerated.
33186
3a097cc7
RM
331872012-05-25 Roland McGrath <roland@hack.frob.com>
33188
8422c9a5
RM
33189 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33190 * sysdeps/x86_64/setjmp.S: Likewise.
33191 * sysdeps/i386/bsd-setjmp.S: Likewise.
33192 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33193 * sysdeps/i386/setjmp.S: Likewise.
33194 * sysdeps/i386/__longjmp.S: Likewise.
33195 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33196 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33197
3a097cc7
RM
33198 * include/stap-probe.h: New file.
33199 * configure.in: Handle --enable-systemtap.
33200 * configure: Regenerated.
33201 * config.h.in (USE_STAP_PROBE): New #undef.
33202 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33203 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33204 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33205
21708942
JM
332062012-05-25 Joseph Myers <joseph@codesourcery.com>
33207
33208 [BZ #13717]
33209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33210 to 2.4.0 where earlier.
33211 * sysdeps/unix/sysv/linux/configure: Regenerated.
33212 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33213 <kernel-features.h>.
33214 [__ASSUME_32BITUIDS]: Make code unconditional.
33215 [!__ASSUME_32BITUIDS]: Remove conditional code.
33216 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33217 <kernel-features.h>.
33218 [__ASSUME_32BITUIDS]: Make code unconditional.
33219 [!__ASSUME_32BITUIDS]: Remove conditional code.
33220 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33221 [__ASSUME_32BITUIDS]: Make code unconditional.
33222 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33223 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33224 <kernel-features.h>.
33225 [__ASSUME_32BITUIDS]: Make code unconditional.
33226 [!__ASSUME_32BITUIDS]: Remove conditional code.
33227 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33228 <kernel-features.h>.
33229 [__ASSUME_32BITUIDS]: Make code unconditional.
33230 [!__ASSUME_32BITUIDS]: Remove conditional code.
33231 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33232 <kernel-features.h>.
33233 [__ASSUME_32BITUIDS]: Make code unconditional.
33234 [!__ASSUME_32BITUIDS]: Remove conditional code.
33235 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33236 <kernel-features.h>.
33237 [__ASSUME_32BITUIDS]: Make code unconditional.
33238 [!__ASSUME_32BITUIDS]: Remove conditional code.
33239 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33240 <kernel-features.h>.
33241 [__ASSUME_32BITUIDS]: Make code unconditional.
33242 [!__ASSUME_32BITUIDS]: Remove conditional code.
33243 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33244 <kernel-features.h>.
33245 [__ASSUME_32BITUIDS]: Make code unconditional.
33246 [!__ASSUME_32BITUIDS]: Remove conditional code.
33247 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33248 <kernel-features.h>.
33249 [__ASSUME_32BITUIDS]: Make code unconditional.
33250 [!__ASSUME_32BITUIDS]: Remove conditional code.
33251 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33252 <kernel-features.h>.
33253 [__ASSUME_32BITUIDS]: Make code unconditional.
33254 [!__ASSUME_32BITUIDS]: Remove conditional code.
33255 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33256 <kernel-features.h>.
33257 [__ASSUME_32BITUIDS]: Make code unconditional.
33258 [!__ASSUME_32BITUIDS]: Remove conditional code.
33259 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33260 <kernel-features.h>.
33261 [__ASSUME_32BITUIDS]: Make code unconditional.
33262 [!__ASSUME_32BITUIDS]: Remove conditional code.
33263 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33264 <kernel-features.h>.
33265 [__NR_setresgid] (__setresgid): Do not declare.
33266 [__ASSUME_32BITUIDS]: Make code unconditional.
33267 [!__ASSUME_32BITUIDS]: Remove conditional code.
33268 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33269 <kernel-features.h>.
33270 [__NR_setresuid] (__setresuid): Do not declare.
33271 [__ASSUME_32BITUIDS]: Make code unconditional.
33272 [!__ASSUME_32BITUIDS]: Remove conditional code.
33273 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33274 <kernel-features.h>.
33275 [__ASSUME_32BITUIDS]: Make code unconditional.
33276 [!__ASSUME_32BITUIDS]: Remove conditional code.
33277 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33278 <kernel-features.h>.
33279 [__ASSUME_32BITUIDS]: Make code unconditional.
33280 [!__ASSUME_32BITUIDS]: Remove conditional code.
33281 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33282 <kernel-features.h>.
33283 [__ASSUME_32BITUIDS]: Make code unconditional.
33284 [!__ASSUME_32BITUIDS]: Remove conditional code.
33285 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33286 <kernel-features.h>.
33287 [__ASSUME_32BITUIDS]: Make code unconditional.
33288 [!__ASSUME_32BITUIDS]: Remove conditional code.
33289 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33290 <kernel-features.h>.
33291 [__ASSUME_32BITUIDS]: Make code unconditional.
33292 [!__ASSUME_32BITUIDS]: Remove conditional code.
33293 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33294 <kernel-features.h>.
33295 [__ASSUME_32BITUIDS]: Make code unconditional.
33296 [!__ASSUME_32BITUIDS]: Remove conditional code.
33297 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33298 <kernel-features.h>.
33299 [__ASSUME_32BITUIDS]: Make code unconditional.
33300 [!__ASSUME_32BITUIDS]: Remove conditional code.
33301 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33302 <kernel-features.h>.
33303 [__ASSUME_32BITUIDS]: Make code unconditional.
33304 [!__ASSUME_32BITUIDS]: Remove conditional code.
33305 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33306 <kernel-features.h>.
33307 [__ASSUME_32BITUIDS]: Make code unconditional.
33308 [!__ASSUME_32BITUIDS]: Remove conditional code.
33309 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33310 <kernel-features.h>.
33311 [__ASSUME_32BITUIDS]: Make code unconditional.
33312 [!__ASSUME_32BITUIDS]: Remove conditional code.
33313 * sysdeps/unix/sysv/linux/kernel-features.h
33314 (__ASSUME_SETRESUID_SYSCALL): Remove.
33315 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33316 (__ASSUME_32BITUIDS): Likewise.
33317 (__ASSUME_LDT_WORKS): Likewise.
33318 (__ASSUME_O_DIRECTORY): Likewise.
33319 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33320 architecture but not kernel version.
33321 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33322 (__ASSUME_MMAP2_SYSCALL): Likewise.
33323 (__ASSUME_STAT64_SYSCALL): Likewise.
33324 (__ASSUME_IPC64): Likewise.
33325 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33326 <kernel-features.h>.
33327 [__ASSUME_32BITUIDS]: Make code unconditional.
33328 [!__ASSUME_32BITUIDS]: Remove conditional code.
33329 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33330 <kernel-features.h>.
33331 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33332 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33333 132096]: Remove conditional code.
33334 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33335 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33336 <kernel-features.h>.
33337 [__ASSUME_32BITUIDS]: Make code unconditional.
33338 [!__ASSUME_32BITUIDS]: Remove conditional code.
33339 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33340 <kernel-features.h>.
33341 [__ASSUME_32BITUIDS]: Make code unconditional.
33342 [!__ASSUME_32BITUIDS]: Remove conditional code.
33343 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33344 <kernel-features.h>.
33345 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33346 unconditional.
33347 (__setresgid): Do not declare.
33348 [__ASSUME_32BITUIDS]: Make code unconditional.
33349 [!__ASSUME_32BITUIDS]: Remove conditional code.
33350 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33351 <kernel-features.h>.
33352 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33353 unconditional.
33354 (__setresuid): Do not declare.
33355 [__ASSUME_32BITUIDS]: Make code unconditional.
33356 [!__ASSUME_32BITUIDS]: Remove conditional code.
33357 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33358 <kernel-features.h>.
33359 [__ASSUME_32BITUIDS]: Make code unconditional.
33360 [!__ASSUME_32BITUIDS]: Remove conditional code.
33361 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33362 <kernel-features.h>.
33363 [__ASSUME_32BITUIDS]: Make code unconditional.
33364 [!__ASSUME_32BITUIDS]: Remove conditional code.
33365
a386f1cc
RH
333662012-05-25 Richard Henderson <rth@twiddle.net>
33367
33368 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33369 dl_hwcap to ifunc resolver.
33370 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33371 elf_ifunc_invoke.
33372 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33373 dl_hwcap to ifunc resolver.
33374 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33375
b6550497
JM
333762012-05-24 Joseph Myers <joseph@codesourcery.com>
33377
33378 [BZ #14153]
33379 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33380 for |x| <= 2**-26, not 2**-57.
33381 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33382 exception.
33383
b0bc23a1
JL
333842012-05-24 Jeff Law <law@redhat.com>
33385
33386 * stdio-common/Makefile (tests): Add bug25.
33387 * stdio-common/bug25.c: New test.
33388
347c92e9
L
333892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33390
33391 [BZ #13576]
33392 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33393 multiple of MALLOC_ALIGNMENT in size.
33394 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33395
6bcc8b3f
JM
333962012-05-24 Joseph Myers <joseph@codesourcery.com>
33397
33398 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33399 Require >= 256.
33400 (FILENAME_MAX): Use macro-int-constant.
33401 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33402 (_IOFBF): Use macro-int-constant.
33403 (_IOLBF): Likewise.
33404 (_IONBF): Likewise.
33405 (SEEK_CUR): Likewise.
33406 (SEEK_END): Likewise.
33407 (SEEK_SET): Likewise.
33408 (TMP_MAX): Likewise.
33409 (EOF): Use macro-int-constant. Require < 0.
33410 (NULL): Use macro-constant. Require == 0.
33411 (stdin): Require type to be FILE *.
33412 (stdout): Likewise.
33413 (stderr): Likewise.
33414 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33415 macro-int-constant.
33416 (EXIT_SUCCESS): Likewise.
33417 (NULL): Use macro-constant. Require == 0.
33418 (RAND_MAX): Use macro-int-constant.
33419 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33420 [C99-based standards] (strtof): Require function.
33421 [C99-based standards] (strtold): Likewise.
33422 [C99-based standards] (strtoll): Likewise.
33423 [C99-based standards] (strtoull): Likewise.
33424 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33425 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33426 [ISO || ISO99 || ISO11] (math.h): Likewise.
33427 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33428 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33430
d18ea0c5
AS
334312012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33432
33433 [BZ #14132]
56d25bb8
AS
33434 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33435 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33436 * intl/dgettext.c (DCGETTEXT): Likewise.
33437 * intl/gettext.c (DCGETTEXT): Likewise.
33438 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33439 * posix/regex_internal.h (gettext): Likewise.
33440 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33441 Remove declaration.
33442 * include/argz.h (__argz_count_internal)
33443 (__argz_stringify_internal): Remove declaration.
33444 (__argz_count, __argz_stringify): Declare hidden proto.
33445 * intl/dcgettext.c: Remove use of INTDEF.
33446 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33447 * string/argz-stringify.c: Likewise.
33448 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33449 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33450 Declare hidden proto.
d18ea0c5
AS
33451 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33452 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33453 Declare hidden proto.
33454 * include/stdio.h (__asprintf_internal): Don't declare.
33455 (__asprintf): Don't define as macro. Declare hidden proto.
33456 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33457 (__fsetlocking): Declare hidden proto.
33458 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33459 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33460 hidden proto.
33461 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33462 (_IO_setlinebuf): Remove use of INTUSE.
33463 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33464 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33465 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33466 Remove declaration.
33467 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33468 (_IO_do_flush): Remove use of INTUSE.
33469 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33470 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33471 (_IO_adjust_column, _IO_least_wmarker)
33472 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33473 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33474 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33475 (_IO_default_doallocate, _IO_wdefault_doallocate)
33476 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33477 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33478 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33479 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33480 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33481 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33482 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33483 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33484 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33485 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33486 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33487 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33488 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33489 proto.
33490 (_IO_flush_all_internal, _IO_adjust_column_internal)
33491 (_IO_default_uflow_internal, _IO_default_finish_internal)
33492 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33493 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33494 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33495 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33496 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33497 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33498 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33499 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33500 (_IO_file_close_internal, _IO_file_close_it_internal)
33501 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33502 (_IO_file_init_internal, _IO_file_attach_internal)
33503 (_IO_file_fopen_internal, _IO_file_read_internal)
33504 (_IO_file_sync_internal, _IO_file_seek_internal)
33505 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33506 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33507 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33508 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33509 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33510 (_IO_list_all_internal, _IO_link_in_internal)
33511 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33512 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33513 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33514 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33515 (_IO_do_write_internal, _IO_padn_internal)
33516 (_IO_getline_info_internal, _IO_getline_internal)
33517 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33518 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33519 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33520 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33521 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33522 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33523 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33524 with libc_hidden_ver, remove use of INTUSE.
33525 * libio/genops.c: Likewise.
33526 * libio/freopen.c: Likewise.
33527 * libio/freopen64.c: Likewise.
33528 * libio/iofclose.c: Likewise.
33529 * libio/iofdopen.c: Likewise.
33530 * libio/iofflush.c: Likewise.
33531 * libio/iofflush_u.c: Likewise.
33532 * libio/iofgets.c: Likewise.
33533 * libio/iofgets_u.c: Likewise.
33534 * libio/iofopen.c: Likewise.
33535 * libio/iofopncook.c: Likewise.
33536 * libio/iofread.c: Likewise.
33537 * libio/iofread_u.c: Likewise.
33538 * libio/ioftell.c: Likewise.
33539 * libio/iofwrite.c: Likewise.
33540 * libio/iogetline.c: Likewise.
33541 * libio/iogets.c: Likewise.
33542 * libio/iogetwline.c: Likewise.
33543 * libio/iopadn.c: Likewise.
33544 * libio/iopopen.c: Likewise.
33545 * libio/ioseekoff.c: Likewise.
33546 * libio/ioseekpos.c: Likewise.
33547 * libio/iosetbuffer.c: Likewise.
33548 * libio/iosetvbuf.c: Likewise.
33549 * libio/ioungetc.c: Likewise.
33550 * libio/ioungetwc.c: Likewise.
33551 * libio/iovdprintf.c: Likewise.
33552 * libio/iovsprintf.c: Likewise.
33553 * libio/iovsscanf.c: Likewise.
33554 * libio/memstream.c: Likewise.
33555 * libio/obprintf.c: Likewise.
33556 * libio/oldfileops.c: Likewise.
33557 * libio/oldiofclose.c: Likewise.
33558 * libio/oldiofdopen.c: Likewise.
33559 * libio/oldiofopen.c: Likewise.
33560 * libio/oldiopopen.c: Likewise.
33561 * libio/oldstdfiles.c: Likewise.
33562 * libio/putc.c: Likewise.
33563 * libio/setbuf.c: Likewise.
33564 * libio/setlinebuf.c: Likewise.
33565 * libio/stdfiles.c: Likewise.
33566 * libio/strops.c: Likewise.
33567 * libio/vasprintf.c: Likewise.
33568 * libio/vscanf.c: Likewise.
33569 * libio/vsnprintf.c: Likewise.
33570 * libio/vswprintf.c: Likewise.
33571 * libio/wfiledoalloc.c: Likewise.
33572 * libio/wfileops.c: Likewise.
33573 * libio/wgenops.c: Likewise.
33574 * libio/wmemstream.c: Likewise.
33575 * libio/wstrops.c: Likewise.
33576 * libio/__fpurge.c: Likewise.
33577 * libio/__fsetlocking.c: Likewise.
33578 * assert/assert.c: Likewise.
33579 * debug/fgets_chk.c: Likewise.
33580 * debug/fgets_u_chk.c: Likewise.
33581 * debug/fread_chk.c: Likewise.
33582 * debug/fread_u_chk.c: Likewise.
33583 * debug/gets_chk.c: Likewise.
33584 * debug/obprintf_chk.c: Likewise.
33585 * debug/vasprintf_chk.c: Likewise.
33586 * debug/vdprintf_chk.c: Likewise.
33587 * debug/vsnprintf_chk.c: Likewise.
33588 * debug/vsprintf_chk.c: Likewise.
33589 * malloc/mtrace.c: Likewise.
33590 * misc/error.c: Likewise.
33591 * misc/syslog.c: Likewise.
33592 * stdio-common/asprintf.c: Likewise.
33593 * stdio-common/fxprintf.c: Likewise.
33594 * stdio-common/getw.c: Likewise.
33595 * stdio-common/isoc99_fscanf.c: Likewise.
33596 * stdio-common/isoc99_scanf.c: Likewise.
33597 * stdio-common/isoc99_vfscanf.c: Likewise.
33598 * stdio-common/isoc99_vscanf.c: Likewise.
33599 * stdio-common/isoc99_vsscanf.c: Likewise.
33600 * stdio-common/printf-prs.c: Likewise.
33601 * stdio-common/printf_fp.c: Likewise.
33602 * stdio-common/printf_fphex.c: Likewise.
33603 * stdio-common/printf_size.c: Likewise.
33604 * stdio-common/putw.c: Likewise.
33605 * stdio-common/scanf.c: Likewise.
33606 * stdio-common/sprintf.c: Likewise.
33607 * stdio-common/tmpfile.c: Likewise.
33608 * stdio-common/vfprintf.c: Likewise.
33609 * stdio-common/vfscanf.c: Likewise.
33610 * stdlib/strfmon_l.c: Likewise.
33611 * sunrpc/openchild.c: Likewise.
33612 * sunrpc/xdr_stdio.c: Likewise.
33613 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33614 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33615
d6c33fda
RM
336162012-05-24 Roland McGrath <roland@hack.frob.com>
33617
c1487492
RM
33618 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33619
33620 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33621 in the third column, to generate for the shared library an IFUNC
33622 that uses _dl_vdso_vsym.
33623 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33624 * Makeconfig (object-suffixes-noshared): New variable.
33625
33626 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33627 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33628 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33629 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33630
d6c33fda
RM
33631 [BZ #14132]
33632 * include/sys/time.h (__gettimeofday): Remove macro.
33633 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33634 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33635 Remove INTDEF.
33636 (__gettimeofday): Add libc_hidden_def.
33637 (gettimeofday): Add libc_hidden_weak.
33638 * sysdeps/mach/gettimeofday.c: Likewise.
33639 * sysdeps/posix/gettimeofday.c: Likewise.
33640 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33641 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33642 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33643 (__gettimeofday_internal): Remove strong_alias.
33644 (__gettimeofday): Add libc_hidden_def.
33645 (gettimeofday): Add libc_hidden_weak.
33646 * sysdeps/unix/syscalls.list (gettimeofday):
33647 Remove __gettimeofday_internal alias.
33648
b5a2bbe6
L
336492012-05-24 Daniel Jacobowitz <drow@false.org>
33650 H.J. Lu <hongjiu.lu@intel.com>
33651
33652 [BZ #12495]
33653 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33654 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33655 (largebin_index_32_big): New.
33656 (largebin_index): Use it for 16-byte alignment.
33657 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33658 correction with front_misalign.
33659
cfba4fda
L
336602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33661
7f907421
L
33662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33664 Likewise.
33665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33666 Likewise.
33667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33668 Likewise.
33669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33670 Likewise.
33671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33672 Likewise.
33673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33674 Likewise.
33675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33676 Likewise.
33677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33678 Likewise.
33679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33680 Likewise.
33681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33682 Likewise.
33683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33684 Likewise.
33685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33686 Likewise.
33687
cfba4fda
L
33688 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33689 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33690
80bad0cc
JM
336912012-05-24 Joseph Myers <joseph@codesourcery.com>
33692
7a25eb06
JM
33693 [BZ #10846]
33694 [BZ #14036]
33695 * math/libm-test.inc (exp_test): Add test from bug 14036.
33696 (pow_test): Add test from bug 10846.
33697
795405f9
JM
33698 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33699 and other flags.
33700 (special_function): Do not include flags in test name.
33701 (parse_args): Likewise.
33702 * sysdeps/i386/fpu/libm-test-ulps: Update.
33703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33704 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33705 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33707
80bad0cc
JM
33708 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33709 exceptions.
33710 * math/libm-test.inc ("Philosophy"): Update comment about
33711 exception testing.
33712 (UNDERFLOW_EXCEPTION): New macro.
33713 (UNDERFLOW_EXCEPTION_OK): Likewise.
33714 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33715 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33716 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33717 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33718 (INVALID_EXCEPTION_OK): Update value.
33719 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33720 (OVERFLOW_EXCEPTION_OK): Likewise.
33721 (IGNORE_ZERO_INF_SIGN): Likewise.
33722 (test_exceptions): Handle underflow exceptions.
33723 (acos_test): Update for underflow exception expectations.
33724 (cexp_test): Likewise.
33725 (clog_test): Likewise.
33726 (clog10_test): Likewise.
33727 (csqrt_test): Likewise.
33728 (ctan_test): Likewise.
33729 (ctanh_test): Likewise.
33730 (exp_test): Likewise.
33731 (exp10_test): Likewise.
33732 (exp2_test): Likewise.
33733 (expm1_test): Likewise.
33734 (fma_test): Likewise.
33735 (j0_test): Likewise.
33736 (jn_test): Likewise.
33737 (nexttoward_test): Likewise.
33738 (pow_test): Likewise.
33739 (scalbn_test): Likewise.
33740 (scalbln_test): Likewise.
33741 (tan_test): Likewise.
33742 (y1_test): Likewise.
33743 * sysdeps/i386/fpu/libm-test-ulps: Update.
33744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33745
9e0e3d0b
DM
337462012-05-23 David S. Miller <davem@davemloft.net>
33747
33748 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33749 (__libc_sigaction): Remove unused local variables.
33750
ccd0a08f
L
337512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33752
33753 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33754
62bdf9a6
PE
337552012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33756
f8591f80
PE
33757 mktime: avoid signed integer overflow
33758 * time/mktime.c (__mktime_internal): Do not mishandle the case
33759 where diff == INT_MIN.
33760
94c7d826
PE
33761 mktime: simplify computation of average
33762 * time/mktime.c (ranged_convert): Use new time_t_avg function
33763 instead of rolling our own (probably-slower) code.
33764
ce73d683
PE
33765 mktime: do not assume signed right shift propagates sign bit
33766 * time/mktime.c (isdst_differ): New static function.
33767 (__mktime_internal): No need to normalize tm_isdst now.
33768 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33769 tm_isdst values.
33770
72a22e59
PE
33771 mktime: merge another wrapv change from gnulib
33772 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33773 from some compilers.
33774
68605433
PE
33775 mktime: remove incorrect attempt at unusual arithmetics
33776 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33777 The code didn't really work on such machines anyway.
33778 (TYPE_MINIMUM): Assume two's complement.
33779 (twos_complement_arithmetic): Verify that long_int and time_t
33780 are two's complement (or unsigned, in the latter case).
33781
03cf7fe3
PE
33782 mktime: check signed shifts on long_int and time_t, too
33783 * time/mktime.c (SHR): Check that shifts work as desired
33784 on the types long_int and time_t too, as SHR is used on
33785 such types.
33786
f04dfbc2
PE
33787 mktime: do not assume 'long' is wide enough
33788 * time/mktime.c (verify): Move decl up.
33789 (long_int): New type.
33790 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33791 to remove assumption in the code that 'long' is wide enough to
33792 store year values. This assumption is not true on x32 and on
33793 some non-glibc platforms.
33794
62bdf9a6
PE
33795 mktime: merge wrapv change from gnulib
33796 * time/mktime.c (WRAPV): New macro.
33797 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33798 (guess_time_tm, __mktime_internal): Do not assume that signed
33799 integer overflow wraps around; modern compilers generate code
33800 where this assumption is no longer valid.
33801
5e292e4f
L
338022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33803
33804 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33805 Replace "jmp L(pseudo_end)" with "ret".
33806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33807 Likewise.
33808
8caf8c87
AJ
338092012-05-23 Andreas Jaeger <aj@suse.de>
33810
33811 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33812 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33813
1a09dc56
AJ
338142012-05-23 Andreas Jaeger <aj@suse.de>
33815 Maximilian Attems <max@stro.at>
33816
33817 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33818 New macros.
33819
1c87aba0
L
338202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33821
33822 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33823 code so that pseudo_end is just ret and the stack pointer is
33824 correct also for static library in error case.
33825
40e45bd5
JM
338262012-05-23 Joseph Myers <joseph@codesourcery.com>
33827
c2670533
JM
33828 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33829 move to syscalls.list.
33830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33834
40e45bd5
JM
33835 * manual/install.texi (Running make install): Do not mention Linux
33836 kernel version for which pt_chown is not needed.
33837 (Linux): Do not mention problems with nscd with 2.0 kernels.
33838 * INSTALL: Regenerated.
33839
be08eda5
AJ
338402012-05-23 Andreas Jaeger <aj@suse.de>
33841
33842 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33843 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33844 macro.
33845 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33846 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33847 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33848 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33849 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33850 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33851 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33852 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33853 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33854 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33855 * sysdeps/unix/sysv/linux/bits/in.h
33856 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33857
a6a056bb
RM
338582012-05-22 Roland McGrath <roland@hack.frob.com>
33859
33860 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33861 (PREPARE_VERSION): Just use assert instead, it will be elided
33862 under [NDEBUG] anyway.
33863
c9009328
L
338642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33865
33866 * sysdeps/unix/sysv/linux/Makefile: Include
33867 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33868 (sysdep_routines): Remove sysctl.
c9009328
L
33869 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33870 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33871 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33872 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33873 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33874
73338355
AJ
338752012-05-22 Andreas Jaeger <aj@suse.de>
33876
33877 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33878 that pseudo_end is just ret and the stack pointer is correct also
33879 for static library in error case.
33880
d44638b0
PP
338812012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33882
33883 [BZ #14122]
33884 * nss/nsswitch.c (defconfig_entries): New variable.
33885 (__nss_database_lookup): Don't leak defconfig entries.
33886 (nss_parse_service_list): Don't leak on error paths.
33887 (free_database_entries): New function.
33888 (free_defconfig): New function.
33889 (free_mem): Move common code to free_database_entries.
33890
31a39bd8
L
338912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33892
da0331a8
L
33893 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33894 Add arch_prctl.
33895 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33896
31a39bd8
L
33897 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33898 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33900 New macro.
33901 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33902 (INTERNAL_SYSCALL_TYPES): Likewise.
33903 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33904 (LOAD_REGS_TYPES_[1-6]): Likewise.
33905 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33906 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33907
45470df3
AZ
339082012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33909
33910 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33911 copysignl for GLIBC_2_0.
33912 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33913 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33915 logbl for GLIBC_2_0.
33916 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33917 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33918
98a61bcb
L
339192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33920
a4f6e481
L
33921 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33922 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33923
f63d5db6
L
33924 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33925 Use "neg %eax".
33926
98a61bcb
L
33927 * time/mktime.c: Update copyright years.
33928
95770f14
PE
339292012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33930
6226efbd
PE
33931 mktime: merge comment-quoting-style change from gnulib
33932 * time/mktime.c: Quote 'like this' in comments.
33933 The GNU coding standards suggest that we no longer quote `like this',
33934 as "`" and "'" are typically rendered asymmetrically nowadays.
33935 The typical gnulib style is to quote 'like this' when quoting
33936 code, and "like this" when quoting English.
33937
b99e4f78
PE
33938 * time/mktime.c (compile-command): Add "-I.".
33939
643e01e6
PE
33940 mktime: merge mktime-internal.h change from gnulib
33941 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33942
2554247d
PE
33943 mktime: merge time_r change from gnulib
33944 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33945
826dd0ab
PE
33946 mktime: merge DEBUG change from gnulib
33947 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33948 case system <time.h> has a #define.
33949
bd83aabe
PE
33950 mktime: merge <sys/types.h> change from gnulib
33951 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33952 since <time.t> is now guaranteed to define time_t.
33953
95770f14
PE
33954 mktime: merge HAVE_CONFIG_H change from gnulib
33955 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33956
5e1a27a9
L
339572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33958
0e44a77e
L
33959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33960 Use "neg %eax".
33961
5e1a27a9
L
33962 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33963 __rlim_t cast.
33964 (struct rusage): Use anonymous union to pad each field to
33965 __syscall_slong_t.
33966
46259bec
DM
339672012-05-21 David S. Miller <davem@davemloft.net>
33968
33969 * Makefules (o-iterator): Remove .s cases.
33970 (compile-command.s): Delete.
33971 (COMPILE.s): Delete.
33972 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33973
59f0c22e
JM
339742012-05-21 Joseph Myers <joseph@codesourcery.com>
33975
33976 * configure.in (libc_cv_predef_stack_protector): Only consider
33977 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33978 * configure: Regenerated.
33979
20c07380
L
339802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33981
bbb3154b
L
33982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33983 New macro. Use R*LP on int and pointer.
33984 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33985 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33986 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33987 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33988
20c07380
L
33989 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33990 [__WORDSIZE_TIME64_COMPAT32] instead of
33991 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33992 (struct utmp): Likewise.
33993 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33994 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33995 Renamed to ...
33996 (__WORDSIZE_TIME64_COMPAT32): This.
33997 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33998 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33999 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34000 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34001 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34002 (__WORDSIZE_TIME64_COMPAT32): New macro.
34003
d8d1017e
AJ
340042012-05-21 Andreas Jaeger <aj@suse.de>
34005
34006 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34007 only if [SHARED]. Add prototype for __wcschr_ia32.
34008
6c7fb145
RM
340092012-05-21 Roland McGrath <roland@hack.frob.com>
34010
34011 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34012 of %rbp unmolested in the jmp_buf while mangling the low bits.
34013 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34014 unmolested high bits of %rbp while demangling the low bits.
34015 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34016
66274218
AJ
340172012-05-21 Andreas Jaeger <aj@suse.de>
34018
07c58f8f
AJ
34019 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34020 * sunrpc/svc_simple.c: Use it for registerrpc.
34021 * sunrpc/xcrypt.c: Use it for passwd2des.
34022
66274218
AJ
34023 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34024
61f65140
L
340252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34026
34027 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34028 Don't define if [__SYSCALL_WORDSIZE != 32].
34029 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34030 New macro.
34031
5fefb436
AJ
340322012-05-21 Bruno Haible <bruno@clisp.org>
34033 Andreas Jaeger <aj@suse.de>
34034
34035 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34036 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34037 inptr and inend for must_buffer_ch.
34038 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34039 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34040 * stdio-common/Makefile (tests): Remove bug15.
34041 (bug15-ENV): Remove macro.
34042 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34043 anymore.
34044
d8e272ab
AJ
340452012-05-19 Andreas Jaeger <aj@suse.de>
34046 Roland McGrath <roland@hack.frob.com>
34047
34048 * manual/contrib.texi: Completely rewritten. It contains now an
34049 alphabetical list of contributors and their contributions.
34050
4a56a162
RH
340512012-05-21 Richard Henderson <rth@twiddle.net>
34052
34053 * misc/getauxval.c (__getauxval): Use unsigned long int.
34054 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34055 (getauxval): Use unsigned long int.
34056
d024d23c
L
340572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34058
34059 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34060
cbc00a03
RM
340612012-05-21 Roland McGrath <roland@hack.frob.com>
34062
34063 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34064 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34065 __alignof__ (long double).
34066
478143fa
AZ
340672012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34068
34069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34070
c7683a6d
RH
340712012-05-20 Richard Henderson <rth@twiddle.net>
34072
34073 * misc/getauxval.c: New file.
34074 * misc/sys/auxv.h: New file.
34075 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34076 (routines): Add getauxval.
34077 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34078 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34079 * elf/dl-sysdep.c (_dl_auxv): Remove.
34080 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34081 * elf/dl-support.c (_dl_auxv): New variable.
34082 (_dl_aux_init): Initialize it.
34083 * manual/startup.texi (Auxiliary Vector): New node.
34084 * sysdeps/generic/bits/hwcap.h: New file.
34085 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34086 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34087 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34088 * sysdeps/sparc/sysdep.h: ... here. Include it.
34089 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34092 Update.
c7683a6d
RH
34093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34101
a6f1845d
AZ
341022012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34103
34104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34105
cbcbe830
DM
341062012-05-19 David S. Miller <davem@davemloft.net>
34107
34108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34109
e0b16cc2
JM
341102012-05-19 Joseph Myers <joseph@codesourcery.com>
34111
34112 [BZ #14123]
34113 * math/s_ccosh.c: Include <float.h>
34114 (__ccosh): Avoid internal overflow calculating sinh and cosh
34115 values before multiplying by sin and cos values.
34116 * math/s_ccoshf.c: Likewise.
34117 * math/s_ccoshl.c: Likewise.
34118 * math/s_csin.c: Likewise.
34119 * math/s_csinf.c: Likewise.
34120 * math/s_csinl.c: Likewise.
34121 * math/s_csinh.c: Likewise.
34122 * math/s_csinhf.c: Likewise.
34123 * math/s_csinhl.c: Likewise.
34124 * math/libm-test.inc (ccos_test): Add more tests.
34125 (ccosh_test): Likewise.
34126 (csin_test): Likewise.
34127 (csinh_test): Likewise.
34128 * sysdeps/i386/fpu/libm-test-ulps: Update.
34129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34130
6ad13e08
L
341312012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34132
f66f0ce8
L
34133 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34134 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34135
6ad13e08
L
34136 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34137
b1d072a7
JM
341382012-05-19 Joseph Myers <joseph@codesourcery.com>
34139
34140 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34141 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34142 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34143 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34144 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34145 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34146 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34147 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34148 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34149 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34150 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34151 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34152 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34153 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34154 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34155 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34156 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34157 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34158 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34159 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34160 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34161 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34162 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34163 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34164 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34165 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34166 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34167 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34168 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34169 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34170 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34171
9eae47cb
AJ
341722012-05-18 Andreas Jaeger <aj@suse.de>
34173
34174 * csu/.gitignore: Delete.
34175
bb07f69f
L
341762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34177
34178 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34179 (timex): Use __syscall_slong_t.
34180
e6bdb741
AJ
341812012-05-18 Andreas Jaeger <aj@suse.de>
34182 Carlos O'Donell <carlos_odonell@mentor.com>
34183
34184 * manual/install.texi (Configuring and compiling): Update
34185 description about files modified in the source directory.
d6c33fda 34186 * INSTALL: Regenerated.
e6bdb741 34187
1b74487e
L
341882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34189
34190 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34191 value. Use "or" to set return value to -1.
34192 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34193 negate return value.
34194
a88b64b9
TMQMF
341952012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34196
57f41c40
AS
34197 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34198 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34199 failure if the compiler has Graphite support disabled.
34200 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34201 Likewise.
57f41c40
AS
34202 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34203 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34204 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34205 Likewise.
34206
3707636e
L
342072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34208
610b8622
L
34209 * sysdeps/x86_64/x32/_itoa.h: New file.
34210
7cd195df
L
34211 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34212 getdents system call only if kernel and user dirents have the
34213 same d_ino and d_off.
34214
94b07d20
L
34215 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34216 LLONG_MAX != LONG_MAX.
34217 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34218 (_fitoa_word): Likewise.
34219
18298070
L
34220 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34221 years.
34222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34223 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34225
553c7ea4
L
34226 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34227 include <bits/wordsize.h>. Check __x86_64__ instead of
34228 __WORDSIZE.
34229 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34230 if __x86_64__ is defined. Use anonymous union on fpstate.
34231
3707636e
L
34232 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34233 anonymous union.
34234
b53ef01a
AS
342352012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34236
37fb1dc0
AS
34237 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34238 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34239 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34240 Refer to _rtld_local_ro instead of _rtld_global_ro.
34241 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34242 Likewise.
34243 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34244 Likewise.
34245 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34246 Likewise.
34247 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34248 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34249 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34250
b53ef01a
AS
34251 * sysdeps/powerpc/powerpc32/dl-machine.c
34252 (__elf_machine_runtime_setup) [PROF]: Don't reference
34253 _dl_prof_resolve.
34254
7a185db2
AJ
342552012-05-18 Andreas Jaeger <aj@suse.de>
34256
34257 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34258 function only available for GCCs before 3.4 since GCC 3.4
34259 introduced a builtin.
34260 (lrint): Likewise.
34261 (llrintf): Likewise.
34262 (llrint): Likewise.
34263 (fmaxf): Likewise.
34264 (fmax): Likewise.
34265 (fminf): Likewise.
34266 (fmin): Likewise.
34267 (rint): Likewise.
34268 (rintf): Likewise.
34269 (nearbyint): Likewise.
34270 (nearbyintf): Likewise.
34271 (ceil): Likewise.
34272 (ceilf): Likewise.
34273 (floor): Likewise.
34274 (floorf): Likewise.
34275
3e5aef87
L
342762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34277
428bd707
L
34278 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34279 on both fields and cast pointer to __syscall_ulong_t.
34280
3e5aef87
L
34281 * bits/types.h (__fsword_t): New type.
34282 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34283 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34285 (__FSWORD_T_TYPE): Likewise.
34286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34287 (__FSWORD_T_TYPE): Likewise.
34288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34289 (__FSWORD_T_TYPE): Likewise.
34290 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34291 (__FSWORD_T_TYPE): Likewise.
34292 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34293 __SWORD_TYPE with __fsword_t.
34294 (statfs64): Likewise.
34295
1ba7c3dc
DM
342962012-05-17 David S. Miller <davem@davemloft.net>
34297
34298 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34299
59910343
AJ
343002012-05-17 Andreas Jaeger <aj@suse.de>
34301
34302 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34303 warning.
34304
2e4c1e9e
L
343052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34306
34307 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34308
de7f5ce7
AJ
343092012-05-17 Andreas Jaeger <aj@suse.de>
34310
34311 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34312 when it is used.
34313
286abc3d
CM
343142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34315
34316 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34317
477cc68e
L
343182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34319
34320 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34321 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34322
1a0994f5
CD
343232012-05-17 Andreas Jaeger <aj@suse.de>
34324 Carlos O'Donell <carlos_odonell@mentor.com>
34325
34326 [BZ #14059]
34327 * sysdeps/x86_64/multiarch/init-arch.h
34328 (bit_YMM_Usable): Rename to...
34329 (bit_AVX_Usable): ... this.
34330 (bit_FMA4_Usable): New macro.
34331 (bit_XMM_state): New macro.
34332 (bit_YMM_state): New macro.
34333 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34334 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34335 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34336 (CPUID_OSXSAVE): New macro.
34337 (CPUID_AVX): New macro.
34338 (CPUID_FMA4): New macro.
34339 (index_YMM_Usable): Rename to...
34340 (index_AVX_Usable): ... this.
34341 (HAS_AVX): Use HAS_ARCH_FEATURE.
34342 (HAS_FMA4): Likewise.
34343 (HAS_YMM_USABLE): Remove.
34344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34345 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34346 are present.
34347 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34348 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34349 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34350 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34351 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34352
0af797de
CM
343532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34354
34355 * math/libm-test.c: Support platforms without multiple rounding modes.
34356 * math/bug-nextafter.c: Support platforms without FP exceptions.
34357 * math/bug-nexttoward.c: Likewise.
34358 * math/test-fenv.c: Likewise.
34359 * math/test-misc.c: Likewise.
34360 * stdlib/bug-getcontext.c: Likewise.
34361
e39745ff
AJ
343622012-05-17 Andreas Jaeger <aj@suse.de>
34363
34364 * manual/examples/search.c (critter_cmp): Change signature to
34365 avoid warnings.
34366 * manual/string.texi (Collation Functions): Likewise.
34367
48970aba
L
343682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34369
34370 * bits/types.h: Fold copyright years.
34371 * bits/typesizes.h: Likewise.
34372 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34376 * time/time.h: Likewise.
34377
bedee953
PP
343782012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34379
34380 [BZ #208]
34381 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34382 in instead of returning them. Return void.
34383 (__libc_mallinfo): Accumulate over all arenas.
34384 (__malloc_stats): Adjust for change in int_mallinfo interface.
34385
61653dfb
RM
343862012-05-16 Roland McGrath <roland@hack.frob.com>
34387
30b99d79
RM
34388 [BZ #10375]
34389 * configure.in (NM): Add AC_CHECK_TOOL for it.
34390 (libc_extra_cflags): New substituted variable.
34391 Check for -fstack-protector being used implicitly.
34392 * configure: Regenerated.
34393 * config.make.in (config-extra-cflags): New variable,
34394 gets @libc_extra_cflags@.
34395 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34396
61653dfb
RM
34397 [BZ #10375]
34398 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34399 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34400 * configure: Regenerated.
34401 * config.make.in (CPPUNDEFS): New substituted variable.
34402 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34403 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34404 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34405
661768bb
L
344062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34407
34408 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34409 (mq_attr): Use __syscall_slong_t.
34410
d4261567
L
344112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34412
34413 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34414 Check __x86_64__ instead of __WORDSIZE.
34415 (_STAT_VER_LINUX): Likewise.
34416 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34417 __syscall_ulong_t and __syscall_slong_t.
34418 (stat64): Likewise.
34419
cf3ff365
L
344202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34421
34422 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34423
76cf3e4d
L
344242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34425
34426 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34427
a637753a
L
344282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34429
34430 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34431 __syscall_ulong_t.
34432
d5e05119
L
34433 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34434 include <bits/wordsize.h>. Check __x86_64__ instead of
34435 __WORDSIZE.
34436 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34437 defined.
34438 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34439
f62ee380
L
34440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34441 include <bits/wordsize.h>. Check __x86_64__ instead of
34442 __WORDSIZE.
34443 (user_regs_struct): Use "__extension__ unsigned long long"
34444 instead of "unsigned long" if __x86_64__ is defined.
34445 (user): Likewise. Pad after pointer field if __ILP32__ is
34446 defined.
34447
4e124ced
JM
344482012-05-16 Joseph Myers <joseph@codesourcery.com>
34449
6a3951a0
JM
34450 * configure.in (makeinfo): Require version 4.5 or later. Allow
34451 versions 5 to 9.
34452 * configure: Regenerated.
34453 * manual/install.texi (texinfo): Increase version requirement to
34454 4.5 or later.
34455 * INSTALL: Regenerated.
34456
4e124ced
JM
34457 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34458
953ca31a
L
344592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34460
34461 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34462
617aca05
L
34463 * sysdeps/x86_64/x32/ffs.c: New file.
34464
5762f7ae
L
34465 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34466 __syscall_ulong_t.
34467 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34468 defined. Use __syscall_ulong_t.
34469 (shminfo): Use __syscall_ulong_t.
34470 (shm_info): Likewise.
34471
a26b6856
L
34472 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34473 __syscall_ulong_t.
34474
cb2b9ef7
L
34475 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34476 <bits/wordsize.h>.
34477 (msgqnum_t): Use __syscall_ulong_t.
34478 (msglen_t): Likewise.
34479 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34480 __syscall_ulong_t.
34481
34683bb0
L
34482 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34483 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34484
84a68786
L
34485 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34486
48baa5f1
L
34487 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34488 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34489
180be88b
L
34490 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34491 __syscall_slong_t.
34492
5e90c8ad
L
34493 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34494 include <bits/wordsize.h>. Check __x86_64__ instead of
34495 __WORDSIZE.
34496
23dfb58b
L
34497 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34498 "unsigned long long int" if __x86_64__ is defined.
34499 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34500
ce5d54b0
L
34501 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34502 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34503 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34504
13dc9eac
L
34505 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34506 <stdint.h>.
34507 (GET_PC): Cast to uintptr_t first.
34508 (GET_FRAME): Likewise.
34509 (GET_STACK): Likewise.
34510
a7895d15
L
34511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34512 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34513 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34514 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34515 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34516 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34517 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34518 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34519 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34520 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34521 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34523 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34524 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34525 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34526 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34527 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34528 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34529 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34530 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34532 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34533 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34534 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34535 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34536 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34537 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34538 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34539 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34540
656416c9
AS
345412012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34542
5bd66283
AS
34543 * Makerules (+depfiles): Also collect depfiles from .oS in
34544 $(extra-objs).
34545 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34546 .oS, $(libnldbl-routines)).
34547
656416c9
AS
34548 * Makerules (native-compile-mkdep-flags): Define.
34549 * sunrpc/Makefile (extra-objs): Add $(addprefix
34550 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34551 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34552 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34553 calling $(make-target-directory).
34554
a46f2169
L
345552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34556
34557 * bits/types.h (__snseconds_t): Removed.
34558 * time/time.h (struct timespec): Replace __snseconds_t with
34559 __syscall_slong_t.
34560 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34561 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34562 Likewise.
34563 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34564 (__SNSECONDS_T_TYPE): Likewise.
34565 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34566 (__SNSECONDS_T_TYPE): Likewise.
34567 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34568 (__SNSECONDS_T_TYPE): Likewise.
34569
6af6528b
L
345702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34571
34572 * sysdeps/mach/hurd/bits/typesizes.h
34573 (__SYSCALL_SLONG_TYPE): New macro.
34574 (__SYSCALL_ULONG_TYPE): Likewise.
34575
de986b56
L
345762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34577
34578 * bits/types.h (__syscall_slong_t): New type.
34579 (__syscall_ulong_t): Likewise.
34580
34581 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34582 (__SYSCALL_ULONG_TYPE): Likewise.
34583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34584 (__SYSCALL_SLONG_TYPE): Likewise.
34585 (__SYSCALL_ULONG_TYPE): Likewise.
34586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34587 (__SYSCALL_SLONG_TYPE): Likewise.
34588 (__SYSCALL_ULONG_TYPE): Likewise.
34589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34590 (__SYSCALL_SLONG_TYPE): Likewise.
34591 (__SYSCALL_ULONG_TYPE): Likewise.
34592
85736dc7
L
345932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34594
34595 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34596 Add sigaltstack-offsets.sym.
34597 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34598 <sigaltstack-offsets.h>.
34599 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34600 longjmp_msg pointer.
34601 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34602 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34603 signal stack.
34604 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34605
cc03b296
JM
346062012-05-15 Joseph Myers <joseph@codesourcery.com>
34607
a9538892
JM
34608 * elf/stackguard-macros.h: Remove file.
34609 * sysdeps/generic/stackguard-macros.h: New file.
34610 * sysdeps/i386/stackguard-macros.h: Likewise.
34611 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34612 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34613 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34614 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34615 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34616 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34617 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34618 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34619 <elf/stackguard-macros.h>.
34620
cc03b296
JM
34621 [BZ #14109]
34622 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34623 __aligned__ in attribute.
34624 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34625 (gregset_t): Likewise.
34626
93171016
L
346272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34628
34629 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34630 * sysdeps/x86_64/64/Implies-after: Here. New file.
34631 * sysdeps/x86_64/x32/Implies-after: New file.
34632
d86813a0
L
346332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34634
34635 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34636 and access return value for _dl_profile_fixup. Use R10_LP to
34637 load frame size.
34638
2953ec75
L
346392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34640
34641 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34642
3b550e9e
L
346432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34644
34645 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34646 * sysdeps/x86_64/x32/sysdep.h: New file.
34647
eda41706
L
346482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34649
34650 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34651 * sysdeps/x86_64/setjmp.S: Likewise.
34652
9ea01d93
AZ
346532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34654
34655 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34656 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34657 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34658 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34659 remove unused global constant.
34660
02a91938
CM
346612012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34662
34663 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34664 include of <not-cancel.h>.
34665
6540185f
RM
346662012-05-15 Roland McGrath <roland@hack.frob.com>
34667
34668 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34669
509072a0
AJ
346702012-05-15 Jeff Law <law@redhat.com>
34671 Andreas Jaeger <aj@suse.de>
34672
34673 [BZ #13594]
34674 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34675 out from...
34676 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34677 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34678 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34679 code changing __hst_map_handle.map.
34680
ba75122d
RM
346812012-05-15 Roland McGrath <roland@hack.frob.com>
34682
34683 * configure.in (sysnames): Look for Implies-before and Implies-after
34684 files.
34685 * configure: Regenerated.
34686
890d8bd8
L
346872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34688
34689 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34690 8-byte data alignment with LP_SIZE alignment.
34691
f6ee6623
L
346922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34693
34694 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34695 into R10_LP.
34696
ea2626f6
L
346972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34698
34699 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34700
085f715e
L
347012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34702
34703 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34704 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34705 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34706 Likewise.
34707 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34708
be8498fc
L
347092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34710
34711 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34712 (stackinfo_sub_sp): Likewise.
34713
70bc83b9
L
347142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34715
34716 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34717 RAX_LP.
34718
9bc0b730
L
347192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34720
34721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34722 into R*_LP.
34723
6d2850e7
L
347242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34725
34726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34727 sizes into R*_LP.
34728
3cb84561
L
347292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34730
34731 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34732
54e2ed81
L
347332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34734
34735 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34736 into R11_LP and load __x86_64_shared_cache_size_half into
34737 R8_LP.
34738
8a17f349
L
347392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34740
34741 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34742 R8_LP.
34743
777b1eea
AZ
347442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34745
34746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34747 logb for POWER7.
34748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34749 logbf for POWER7.
34750 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34751 logbl for POWER7.
34752 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34753 powerpc32/power7/fpu/s_logb.c via #include.
34754 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34755 powerpc32/power7/fpu/s_logbf.c via #include.
34756 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34757 powerpc32/power7/fpu/s_logbl.c via #include.
34758
d20d4ac2
JM
347592012-05-15 Joseph Myers <joseph@codesourcery.com>
34760
34761 * README.libm: Remove file.
34762
6cdef1ab
L
347632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34764
34765 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34766 count for x32. Use R*_LP and omit operand-size suffix.
34767
0b254d8f
L
347682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34769
34770 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34771 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34772 * sysdeps/x86_64/x32/shlib-versions: New file.
34773
ceb809dc
RM
347742012-05-14 Roland McGrath <roland@hack.frob.com>
34775
34776 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34777 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34778 Use _dl_fatal_printf instead.
34779
37f1abd4
JM
347802012-05-14 Joseph Myers <joseph@codesourcery.com>
34781
34782 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34783 set if not set by the user. Do not allow for being unset.
34784 * sysdeps/unix/sysv/linux/configure: Regenerated.
34785
11de3a33
L
347862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34787
34788 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34789 the `q' suffix from lea and replace .quad with ASM_ADDR.
34790
e02f153a
L
347912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34792
34793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34794 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34795 instead of $17.
34796 (PTR_DEMANGLE): Likewise.
34797
520ae0fd
L
347982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34799
34800 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34801 (LP_OP): Likewise.
34802 (ASM_ADDR): Likewise.
34803 (RAX_LP): Likewise.
34804 (RBP_LP): Likewise.
34805 (RBX_LP): Likewise.
34806 (RCX_LP): Likewise.
34807 (RDI_LP): Likewise.
34808 (RSI_LP): Likewise.
34809 (RSP_LP): Likewise.
34810 (R8_LP): Likewise.
34811 (R9_LP): Likewise.
34812 (R10_LP): Likewise.
34813 (R10_LP): Likewise.
34814 (R11_LP): Likewise.
34815 (R12_LP): Likewise.
34816 (R13_LP): Likewise.
34817 (R14_LP): Likewise.
34818 (R15_LP): Likewise.
34819
b985be81
L
348202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34821
34822 * sysdeps/x86_64/x32/dl-machine.h: New file.
34823
6a4888ff
AJ
348242012-05-14 Andreas Jaeger <aj@suse.de>
34825
34826 * manual/Makefile (subdir): Remove export of subdir.
34827 (all): Remove target.
34828 (.PHONY): Remove all from list.
34829 (mkinstalldirs): Remove.
34830 (.PHONY): Remove installdirs from list.
34831 ($(inst_infodir)/libc.info): Use make-target-directory.
34832 (installdirs): Remove.
34833 (subdir_%): Remove.
34834 (glibc-targets): Remove.
34835 (lib): Remove.
34836 (stubs): Remove.
34837 ($(objpfx)stubs ../po/manual.pot): Remove.
34838 ($(objpfx)stamp%): Remove.
34839 (make-target-directory): Remove.
34840 (subdir_install): Remove.
34841 (routines): Remove.
34842 (aux): Remove.
34843 (sources): Remove.
34844 (objects): Remove.
34845 (headers): Remove.
34846
34847 [BZ #13750]
34848 * manual/.gitignore: Remove, it's not needed anymore.
34849 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34850 all files in it.
34851 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34852 directory.
34853 (texis): Renamed to $(objpfx)texis.
34854 (texis-path): New, contains path to generated files.
34855 (chapters.%): Use texis-path for complete path, add extra argument
34856 libc-texinfo.sh.
34857 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34858 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34859 (summary,texi, stamp-summary): Use complete path of
34860 files. Generate files in build dir.
34861 (dir-add.texi): Build in build dir.
34862 (libm-err.texi,stamp-libm-err): Likewise.
34863 (version.texi, stamp-version): Likewise.
34864 (.%c.texi): Likewise.
34865 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34866 (mostlyclean): Remove target.
34867 (realclean): Remove target.
34868 (generated): Add new variable with contents from mostlyclean and
34869 realclean, remove entries duplicated in common-mostlyclean, add
34870 stamp-libm-err and stamp-version.
34871 (generated-dirs): Add libc directory.
34872 ($(inst_infodir)/libc.info): Install files from build dir.
34873
34874 * manual/install.texi (Configuring and compiling): Adjust since
34875 the info files are not part of the tar ball anymore.
34876
7ac77294
AJ
348772012-05-14 Andreas Jaeger <aj@suse.de>
34878
34879 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34880 variable.
34881
ffb7875d
JM
348822012-05-14 Joseph Myers <joseph@codesourcery.com>
34883
34884 [BZ #13717]
34885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34886 to 2.2.0 where earlier.
34887 * sysdeps/unix/sysv/linux/configure: Regenerated.
34888 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34889 Remove conditional code.
34890 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34891 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34892 Remove conditional code.
34893 [!__NR_lchown]: Likewise.
34894 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34895 [__NR_lchown]: Likewise.
34896 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34897 comment referencing __ASSUME_LCHOWN_SYSCALL.
34898 * sysdeps/unix/sysv/linux/i386/sigaction.c
34899 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34900 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34901 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34902 Remove conditional code.
34903 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34904 (__protocol_available): Remove #if 0 code.
34905 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34906 conditional code.
34907 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34908 * sysdeps/unix/sysv/linux/kernel-features.h
34909 (__ASSUME_GETCWD_SYSCALL): Don't define.
34910 (__ASSUME_REALTIME_SIGNALS): Likewise.
34911 (__ASSUME_PREAD_SYSCALL): Likewise.
34912 (__ASSUME_PWRITE_SYSCALL): Likewise.
34913 (__ASSUME_POLL_SYSCALL): Likewise.
34914 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34915 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34916 non-SPARC.
34917 (__ASSUME_SIOCGIFNAME): Don't define.
34918 (__ASSUME_MSG_NOSIGNAL): Likewise.
34919 (__ASSUME_SENDFILE): Define unconditionally.
34920 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34921 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34922 conditional code.
34923 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34924 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34925 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34926 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34927 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34928 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34929 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34931 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34934 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34935 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34937 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34940 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34941 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34943 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34946 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34949 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34952 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34954 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34955 Remove conditional code.
34956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34957 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34958 Remove conditional code.
34959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34960 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34961 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34962 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34963 Remove conditional code.
34964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34965 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34966 Remove conditional code.
34967 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34968 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34969 Remove conditional code.
34970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34971 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34972 Remove conditional code.
34973 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34974 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34975 Remove conditional code.
34976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34977 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34978 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34979 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34980 * sysdeps/unix/sysv/linux/sigaction.c
34981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34983 * sysdeps/unix/sysv/linux/sigpending.c
34984 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34985 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34986 * sysdeps/unix/sysv/linux/sigprocmask.c
34987 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34988 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34989 * sysdeps/unix/sysv/linux/sigsuspend.c
34990 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34991 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34992 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34993 (__libc_missing_rt_sigs): Remove.
34994 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34995 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34996 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34997 Remove conditional code.
34998 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34999 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35000 return 1.
35001 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35002 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35003 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35004 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35005
1bfb7291
AJ
350062012-05-14 Andreas Jaeger <aj@suse.de>
35007
caae5a81
AJ
35008 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35009 it's not used in glibc.
35010 (__coshm1): Likewise.
35011 (__acosh1p): Likewise.
35012 (__sgn): Likewise.
35013
1bfb7291
AJ
35014 * manual/string.texi (Copying and Concatenation): Add missing
35015 variable in concat example.
35016 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35017
c044d724
L
350182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35019
144c5467 35020 [BZ #14103]
c044d724
L
35021 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35022 __builtin_clzl with __builtin_clzll.
35023
2523c62b
L
350242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35025
35026 [BZ #14104]
35027 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35028 libc_freeres_ptr.
35029
d7bb4c42
LD
350302012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35031
35032 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35033 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35034 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35035 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35036
9dc4e1fb
MF
350372012-05-14 Mike Frysinger <vapier@gentoo.org>
35038
35039 * NEWS: Update ia64 info.
35040
c7df0112
AS
350412012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35042
35043 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35044 used as bcopy.
35045
dc70356c
TS
350462012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35047
35048 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35049 * sysdeps/unix/syscalls.list (dup3): Likewise.
35050 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35051 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35052
9fb1a21f
L
350532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35054
35055 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35056 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35057
4822a2a5
L
350582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35059
35060 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35061 thread pointer.
35062 (TLS_IE): Use mov/add instead of movq/addq to load thread
35063 pointer.
35064 (TLS_GD_PREFIX): New.
35065 (TLS_GD): Use it.
35066
842b81d6
DM
350672012-05-11 David S. Miller <davem@davemloft.net>
35068
35069 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35070 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35071 (_FPU_SETCW): Likewise.
35072
1cf463cd
L
350732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35074
35075 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35076 is 32-byte aligned.
35077
60cc4a18
AS
350782012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35079
35080 [BZ #11837]
35081 * iconvdata/gb18030.c: Update tables.
35082 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35083 characters specially.
35084 (BODY for TO_LOOP): Add encoding of missing ranges.
35085
febb44a4
TS
350862012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35087
35088 [BZ #13673]
35089 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35090 * sysdeps/mach/hurd/dup3.c: Likewise.
35091 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35092 * sysdeps/powerpc/memmove.c:: Likewise.
35093
0a10fb9e
L
350942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35095
35096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35097 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35098
df8a552f
L
350992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35100
35101 * elf/elf.h (R_X86_64_RELATIVE64): New.
35102 (R_X86_64_NUM): Updated.
35103 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35104 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35105 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35106 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35107 tst-quad1pie tst-quad2pie
35108 (modules-names): Add tst-quadmod1 tst-quadmod2.
35109 ($(objpfx)tst-quad1): New dependency.
35110 ($(objpfx)tst-quad2): Likewise.
35111 ($(objpfx)tst-quad1pie): Likewise.
35112 ($(objpfx)tst-quad2pie): Likewise.
35113 * sysdeps/x86_64/tst-quad1.c: New file.
35114 * sysdeps/x86_64/tst-quad1pie.c: New file.
35115 * sysdeps/x86_64/tst-quad2.c: Likewise.
35116 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35117 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35118 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35119 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35120 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35121
f34d6f84
ST
351222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35123
f42d41d1
ST
35124 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35125 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35126 * streams/stropts.h (t_scalar_t): Define type.
35127
3c3571fc
ST
35128 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35129 (_PATH_PRESERVE): Set to "/var/lib".
35130 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35131
61f06bd3
ST
35132 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35133 instead of int.
35134
918d4d71
ST
35135 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35136 if __dir_mkfile succeeded.
35137
f34d6f84
ST
35138 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35139 checking for _hurd_dtablesize. Unlock it right after having
35140 finished _hurd_dtable allocation.
35141
10589b4a
TS
351422012-05-10 Thomas Schwinge <thomas@schwinge.name>
35143
674cdbc7
TS
35144 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35145 * sysdeps/mach/hurd/configure: Regenerated.
35146 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35147 special-casing to...
35148 * sysdeps/gnu/configure.in: ... this new file.
35149 * sysdeps/unix/sysv/linux/configure: Regenerated.
35150 * sysdeps/gnu/configure: New generated file.
35151
8e41b99f
TS
35152 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35153 for Linux: use nsec instead of usec, as well as:
35154 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35155 members of type struct timespec.
35156 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35157 New macros.
35158 (struct stat64): Likewise.
35159 (_STATBUF_ST_NSEC): New macro.
35160 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35161
10589b4a
TS
35162 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35163 __strtoul_internal rather than strtoul.
35164
63643c85
PT
351652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35166
35167 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35168 and reject them.
35169
3faebe6a
ST
351702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35171
35172 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35173 which preserves existing values.
35174 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35175
c6474b07
PT
351762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35177
35178 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35179 TIMEOUT values. Return EINVAL for NFDS values either negative or
35180 greater than FD_SETSIZE.
35181
1043890b
ST
351822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35183
35184 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35185 allocated, call __vm_protect to finish enabling the existing space, and
35186 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35187 allocate the remainder.
35188
37ed8b9b
PT
351892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35190
35191 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35192 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35193
db653660
ST
351942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35195
37ed8b9b
PT
35196 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35197 sysdeps/mach/hurd/readlink.c.
b29d4053 35198
db653660
ST
35199 * posix/tst-sysconf.c (posix_options): Only use
35200 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35201 _POSIX_SYNCHRONIZED_IO when they are defined
35202 * sysdeps/mach/hurd/bits/posix_opt.h:
35203 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35204 (_XOPEN_REALTIME): Undefine macro.
35205 (_XOPEN_REALTIME_THREADS): Undefine macro.
35206 (_XOPEN_SHM): Undefine macro.
35207 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35208 macro to -1.
35209 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35210 macro to -1.
35211 (_POSIX_ASYNC_IO): Undefine macro.
35212 (_POSIX_PRIORITIZED_IO): Undefine macro.
35213 (_POSIX_SPIN_LOCKS): Define macro to -1.
35214
ee16e894
ST
35215 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35216 SA_NODEFER, SA_RESETHAND.
35217 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35218 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35219 F_DUPFD_CLOEXEC.
35220
6103ae3b
TS
352212012-05-10 Thomas Schwinge <thomas@schwinge.name>
35222
35223 * elf/Makefile (pldd-modules): Define unconditionally.
35224
80b4e5f3
TS
352252012-05-10 Thomas Schwinge <thomas@schwinge.name>
35226
35227 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35228
edadcbd6
ST
352292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35230
35231 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35232 Return ENOENT when name is empty.
35233 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35234
80694780
TS
352352012-05-10 Thomas Schwinge <thomas@schwinge.name>
35236
1792c087
TS
35237 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35238
80694780
TS
35239 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35240
6b645f0d
ST
352412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35242
80694780
TS
35243 Fix mlock in all cases except non-readable pages.
35244 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35245 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35246
6b645f0d
ST
35247 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35248 (__mkdir): When path is `/', just fail with EEXIST.
35249 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35250
e468f8a3
TS
352512012-05-10 Thomas Schwinge <thomas@schwinge.name>
35252
35253 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35254 <sys/uio.h> (for writev).
35255 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35256 and <sys/param.h> (for MIN).
35257
a4186cff
PT
352582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35259
35260 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35261 REQUESTED_TIME. Properly set the remaining time and return EINTR
35262 if interrupted.
35263
510bbf14
TS
352642012-05-10 Thomas Schwinge <thomas@schwinge.name>
35265
35266 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35267 Depend on against $(link-rpcuserlibs).
35268
5d5722e8
ST
352692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35270
a4186cff
PT
35271 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35272 (__libc_stack_end): Do not use attribute_relro.
35273 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35274 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35275 to libthread-provided value.
a4186cff
PT
35276 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35277 attribute_relro.
5d5722e8 35278
37233df9
TS
352792012-05-10 Thomas Schwinge <thomas@schwinge.name>
35280
be971a2b
TS
35281 [BZ #3748]
35282 * bits/libc-lock.h (__libc_once_get): New macro.
35283 * sysdeps/mach/bits/libc-lock.h: Likewise.
35284 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35286 instead of using implementation details.
35287
37233df9
TS
35288 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35289 * libio/freopen.c: Likewise.
35290 * libio/freopen64.c: Likewise.
35291 * misc/syslog.c: Likewise.
35292 * nscd/connections.c: Likewise.
35293 * nscd/netgroupcache.c: Likewise.
35294 * sysdeps/posix/getcwd.c: Likewise.
35295
38de94a5
RM
352962012-05-10 Roland McGrath <roland@hack.frob.com>
35297
35298 * math/w_ilogbf.c: Add #include <limits.h>.
35299
67530489
ST
353002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35301
a4186cff 35302 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
35303 path instead of returning without unlocking.
35304
67530489
ST
35305 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35306 immediate-write ioctls.
35307 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35308
5aa3a74a
TS
353092012-05-10 Thomas Schwinge <thomas@schwinge.name>
35310
18bad2ae
TS
35311 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35312 __builtin_frame_address instead of making assumptions about the
35313 location of the return address relative to DATA. Force early load of
35314 the return address.
35315 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35316 __builtin_frame_address.
35317
5aa3a74a
TS
35318 dup3 for GNU Hurd.
35319 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35320 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35321 implement dup3 and do some further code clean-ups.
35322 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35323 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35324
ecd0de9a
ST
353252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35326
cd9fa985
ST
35327 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35328
a4186cff
PT
35329 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35330 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35331 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35332 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35333 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35334 d->port.lock.
802ca5a5 35335
a4186cff
PT
35336 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35337 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35338 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 35339
bcf55240
TS
353402012-05-10 Thomas Schwinge <thomas@schwinge.name>
35341
6960eb42
TS
35342 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35343 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35344 definitions.
35345
eb43375f
TS
35346 accept4 for GNU Hurd.
35347 * include/sys/socket.h (__libc_accept4): New prototype.
35348 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35349 to implement __libc_accept4.
35350 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35351 __libc_accept4.
35352 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35353
bcf55240
TS
35354 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35355 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35356 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35357 signal-defines.sym.
35358
6178c55b
ST
353592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35360
a4186cff 35361 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 35362
6f080c2f
TS
353632012-05-10 Thomas Schwinge <thomas@schwinge.name>
35364
35365 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35366 assertion on O_CLOEXEC flag.
35367 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35368 * hurd/intern-fd.c: Likewise.
35369 * hurd/port2fd.c: Likewise.
35370
bcfe3a54
ST
353712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35372
35373 [BZ #3906]
35374 * bits/in.h (IPV6_PKTINFO): Define new macro.
35375 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35376
89c9aa49
AZ
353772012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35378
35379 [BZ #13954]
35380 [BZ #13955]
35381 [BZ #13956]
35382 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35384 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35385 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35387 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35388 * math/libm-test.inc (logb_test) : Additional logb tests.
35389
021db4be
AJ
353902012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35391 Andreas Jaeger <aj@suse.de>
35392
35393 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35394 * configure: Regenerated.
35395 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35396 * config.make.in (link-obsolete-rpc): New substituted variable.
35397 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35398 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35399 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35400 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35401 so that libc.a contains the symbols.
35402 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35403 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35404 * sunrpc/auth_none.c: Likewise.
35405 * sunrpc/auth_unix.c: Likewise.
35406 * sunrpc/authdes_prot.c: Likewise.
35407 * sunrpc/authuxprot.c: Likewise.
35408 * sunrpc/clnt_gen.c: Likewise.
35409 * sunrpc/clnt_perr.c: Likewise.
35410 * sunrpc/clnt_raw.c: Likewise.
35411 * sunrpc/clnt_simp.c: Likewise.
35412 * sunrpc/clnt_tcp.c: Likewise.
35413 * sunrpc/clnt_udp.c: Likewise.
35414 * sunrpc/clnt_unix.c: Likewise.
35415 * sunrpc/des_crypt.c: Likewise.
35416 * sunrpc/des_soft.c: Likewise.
35417 * sunrpc/get_myaddr.c: Likewise.
35418 * sunrpc/key_call.c: Likewise.
35419 * sunrpc/key_prot.c: Likewise.
35420 * sunrpc/netname.c: Likewise.
35421 * sunrpc/pm_getmaps.c: Likewise.
35422 * sunrpc/pm_getport.c: Likewise.
35423 * sunrpc/pmap_clnt.c: Likewise.
35424 * sunrpc/pmap_prot.c: Likewise.
35425 * sunrpc/pmap_prot2.c: Likewise.
35426 * sunrpc/pmap_rmt.c: Likewise.
35427 * sunrpc/publickey.c: Likewise.
35428 * sunrpc/rpc_cmsg.c: Likewise.
35429 * sunrpc/rpc_common.c: Likewise.
35430 * sunrpc/rpc_dtable.c: Likewise.
35431 * sunrpc/rpc_prot.c: Likewise.
35432 * sunrpc/rpc_thread.c: Likewise.
35433 * sunrpc/rtime.c: Likewise.
35434 * sunrpc/svc.c: Likewise.
35435 * sunrpc/svc_auth.c: Likewise.
35436 * sunrpc/svc_raw.c: Likewise.
35437 * sunrpc/svc_run.c: Likewise.
35438 * sunrpc/svc_tcp.c: Likewise.
35439 * sunrpc/svc_udp.c: Likewise.
35440 * sunrpc/svc_unix.c: Likewise.
35441 * sunrpc/svcauth_des.c: Likewise.
35442 * sunrpc/xcrypt.c: Likewise.
35443 * sunrpc/xdr.c: Likewise.
35444 * sunrpc/xdr_array.c: Likewise.
35445 * sunrpc/xdr_float.c: Likewise.
35446 * sunrpc/xdr_intXX_t.c: Likewise.
35447 * sunrpc/xdr_mem.c: Likewise.
35448 * sunrpc/xdr_rec.c: Likewise.
35449 * sunrpc/xdr_ref.c: Likewise.
35450 * sunrpc/xdr_sizeof.c: Likewise.
35451 * sunrpc/xdr_stdio.c: Likewise.
35452
b5c086a2
RM
354532012-05-10 Roland McGrath <roland@hack.frob.com>
35454
35455 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35456 change. Update copyright years.
35457
6d74dd09
JM
354582012-05-10 Joseph Myers <joseph@codesourcery.com>
35459
35460 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35461
28e72501
MK
354622012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35463 Joseph Myers <joseph@codesourcery.com>
35464 Paul Pluzhnikov <ppluzhnikov@google.com>
35465
35466 [BZ #14012]
35467 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35468 requiring rpcgen.
35469 [cross-compiling] (extra-libs): Likewise.
35470 [cross-compiling] (extra-libs-others): Likewise.
35471 [cross-compiling] (librpcsvc-routines): Likewise.
35472 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35473 [cross-compiling] (omit-deps): Likewise.
35474 (sunrpc-CPPFLAGS): New variable.
35475 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35476 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35477 (cross-rpcgen-objs): New variable.
35478 (extra-objs): Append $(cross-rpcgen-objs).
35479 ($(cross-rpcgen-objs)): New rule.
35480 ($(objpfx)cross-rpcgen): Likewise.
35481 (rpcgen-cmd): Define to use $(built-program-file). Expand
35482 comment.
35483 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35484 ($(objpfx)x%.stmp): Likewise.
35485 * sunrpc/proto.h [IS_IN_build] (_): Define.
35486 [IS_IN_build] (_libc_intl_domainname): Likewise.
35487
c8c59454
L
354882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35489
35490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35491 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35492 and R_X86_64_TPOFF64.
35493
6f27cd16
JM
354942012-05-10 Joseph Myers <joseph@codesourcery.com>
35495
35496 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35497 sysdeps/unix/sysv/syscalls.list.
35498 (stime): Likewise.
35499 (utime): Likewise.
35500 * sysdeps/unix/sysv/syscalls.list: Remove file.
35501
02467e1c
PE
355022012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35503
35504 [BZ #3440]
35505 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35506 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35507 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35508 (__LC_IDENTIFICATION): Make these macros useful in #if
35509 expressions, as required by C99.
35510
da392631
AS
355112012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35512
35513 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35514 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35515 after this.
35516
8115f29b
L
355172012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35518
35519 * stdlib/longlong.h: Updated from GCC.
35520
bdd74070
AJ
355212012-05-09 Andreas Jaeger <aj@suse.de>
35522
edfe0dbe
AJ
35523 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35524 default is first entry.
35525 (run_mode): Set type.
35526 (main): Remove informal message about syslog.
35527 (options): Fix typo.
35528
bcfe3a54
ST
35529 [BZ #14053]
35530 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35531 to asm.
bcfe3a54
ST
35532 (lrint): Likewise.
35533 (llrintf): Likewise.
35534 (llrint): Likewise.
35535 (rint): Likewise.
35536 (rintf): Likewise.
35537 (nearbyint): Likewise.
35538 (nearbyintf): Likewise.
bdd74070 35539
91d8d69e
AJ
355402012-05-09 Andreas Jaeger <aj@suse.de>
35541 Pedro Alves <palves@redhat.com>
35542
35543 * nscd/nscd.c (run_mode): Use enum.
35544 (main): Cleanup coding style issue.
35545
bb90b80b
AJ
355462012-05-09 Alexandre Oliva <aoliva@redhat.com>
35547 Andreas Jaeger <aj@suse.de>
35548
bcfe3a54
ST
35549 * nscd/nscd.c (go_background): Replaced with...
35550 (run_mode): ... this.
bb90b80b 35551 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35552 (options): Add -F --foreground.
35553 (main): Implement it.
35554 (parse_opt): Parse it.
bb90b80b 35555
1a4b75a1
AJ
355562012-05-09 Andreas Jaeger <aj@suse.de>
35557
35558 [BZ #14083]
35559 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35560 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35561 -Wconversion warning.
35562 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35563 Likewise.
35564
b1cc2472
JM
355652012-05-09 Joseph Myers <joseph@codesourcery.com>
35566
35567 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35568 == 0.
35569 (LC_ALL): Use macro-int-constant.
35570 (LC_COLLATE): Likewise.
35571 (LC_CTYPE): Likewise.
35572 (LC_MESSAGES): Likewise.
35573 (LC_MONETARY): Likewise.
35574 (LC_NUMERIC): Likewise.
35575 (LC_TIME): Likewise.
35576 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35577 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35579 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35580 Specify type.
35581 [C99-based standards] (float_t): Expect type.
35582 [C99-based standards] (double_t): Expect type.
35583 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35584 type.
35585 [C99-based standards] (HUGE_VALL): Likewise.
35586 [C99-based standards] (INFINITY): Likewise.
35587 [C99-based standards] (NAN): Likewise.
35588 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35589 [C99-based standards] (FP_NAN): Likewise.
35590 [C99-based standards] (FP_NORMAL): Likewise.
35591 [C99-based standards] (FP_SUBNORMAL): Likewise.
35592 [C99-based standards] (FP_ZERO): Likewise.
35593 [C99-based standards] (FP_FAST_FMA): Use
35594 optional-macro-int-constant. Specify type. Require == 1.
35595 [C99-based standards] (FP_FAST_FMAF): Likewise.
35596 [C99-based standards] (FP_FAST_FMAL): Likewise.
35597 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35598 [C99-based standards] (FP_ILOGBNAN): Likewise.
35599 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35600 Specify type.
35601 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35602 [C99-based standards] (math_errhandling): Specify type.
35603 [ISO99 || ISO11] (signgam): Do not allow.
35604 [non-C99-based standards] (copysignf): Do not allow.
35605 [non-C99-based standards] (exp2f): Likewise.
35606 [non-C99-based standards] (log2f): Likewise.
35607 [non-C99-based standards] (modff): Allow.
35608 [non-C99-based standards] (erff): Do not allow.
35609 [non-C99-based standards] (erfcf): Likewise.
35610 [non-C99-based standards] (gammaf): Likewise.
35611 [non-C99-based standards] (hypotf): Likewise.
35612 [non-C99-based standards] (j0f): Likewise.
35613 [non-C99-based standards] (j1f): Likewise.
35614 [non-C99-based standards] (jnf): Likewise.
35615 [non-C99-based standards] (lgammaf): Likewise.
35616 [non-C99-based standards] (tgammaf): Likewise.
35617 [non-C99-based standards] (y0f): Likewise.
35618 [non-C99-based standards] (y1f): Likewise.
35619 [non-C99-based standards] (ynf): Likewise.
35620 [non-C99-based standards] (isnanf): Likewise.
35621 [non-C99-based standards] (acoshf): Likewise.
35622 [non-C99-based standards] (asinhf): Likewise.
35623 [non-C99-based standards] (atanhf): Likewise.
35624 [non-C99-based standards] (cbrtf): Likewise.
35625 [non-C99-based standards] (expm1f): Likewise.
35626 [non-C99-based standards] (ilogbf): Likewise.
35627 [non-C99-based standards] (log1pf): Likewise.
35628 [non-C99-based standards] (logbf): Likewise.
35629 [non-C99-based standards] (nextafterf): Likewise.
35630 [non-C99-based standards] (remainderf): Likewise.
35631 [non-C99-based standards] (rintf): Likewise.
35632 [non-C99-based standards] (scalbf): Likewise.
35633 [non-C99-based standards] (copysignl): Likewise.
35634 [non-C99-based standards] (exp2l): Likewise.
35635 [non-C99-based standards] (log2l): Likewise.
35636 [non-C99-based standards] (modfl): Allow.
35637 [non-C99-based standards] (erfl): Do not allow.
35638 [non-C99-based standards] (erfcl): Likewise.
35639 [non-C99-based standards] (gammal): Likewise.
35640 [non-C99-based standards] (hypotl): Likewise.
35641 [non-C99-based standards] (j0l): Likewise.
35642 [non-C99-based standards] (j1l): Likewise.
35643 [non-C99-based standards] (jnl): Likewise.
35644 [non-C99-based standards] (lgammal): Likewise.
35645 [non-C99-based standards] (tgammal): Likewise.
35646 [non-C99-based standards] (y0l): Likewise.
35647 [non-C99-based standards] (y1l): Likewise.
35648 [non-C99-based standards] (ynl): Likewise.
35649 [non-C99-based standards] (isnanl): Likewise.
35650 [non-C99-based standards] (acoshl): Likewise.
35651 [non-C99-based standards] (asinhl): Likewise.
35652 [non-C99-based standards] (atanhl): Likewise.
35653 [non-C99-based standards] (cbrtl): Likewise.
35654 [non-C99-based standards] (expm1l): Likewise.
35655 [non-C99-based standards] (ilogbl): Likewise.
35656 [non-C99-based standards] (log1pl): Likewise.
35657 [non-C99-based standards] (logbl): Likewise.
35658 [non-C99-based standards] (nextafterl): Likewise.
35659 [non-C99-based standards] (remainderl): Likewise.
35660 [non-C99-based standards] (rintl): Likewise.
35661 [non-C99-based standards] (scalbl): Likewise.
35662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35663 [non-C99-based standards] (FP_*): Do not allow.
35664 [C99-based standards] (FP_*): Change to
35665 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35666 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35667 allow.
35668 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35669 (SIG_ERR): Likewise.
35670 [X/Open-based standards] (SIG_HOLD): Likewise.
35671 (SIG_IGN): Likewise.
35672 (SIGABRT): Use macro-int-constant. Specify type. Require
35673 positive value.
35674 (SIGFPE): Likewise.
35675 (SIGILL): Likewise.
35676 (SIGINT): Likewise.
35677 (SIGSEGV): Likewise.
35678 (SIGTER): Likewise.
35679 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35680 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35681 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35682 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35683 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35684 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35685 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35686 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35687 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35688 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35689 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35690 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35691 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35692 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35693 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35694 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35695 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35696 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35697 [X/Open-based standards] (SIGTRAP): Likewise.
35698 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35699 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35700 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35701 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35702 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35703 allow.
35704
b9f1922d
IW
357052012-05-08 Ian Wienand <ianw@vmware.com>
35706
35707 [BZ #14080]
35708 * time/tzset.c (__tzset_parse_tz): Update default rules for
35709 daylight time changes in the Energy Policy Act of 2005.
35710
1db86e88
AJ
357112012-05-09 Andreas Jaeger <aj@suse.de>
35712
35713 [BZ #13983]
35714 * elf/ldconfig.c (parse_conf): Change string to make clear that
35715 ldconfig only issued a warning if ld.so.conf does not exist.
35716
dee4a4e3
DM
357172012-05-08 David S. Miller <davem@davemloft.net>
35718
ee0db190
DM
35719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35720 movxtod instead of popping the value on the stack.
35721
dee4a4e3
DM
35722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35723
6a43ec98
CD
357242012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35725
35726 * config.h.in: Add HAVE_ARM_PCS_VFP.
35727
05c2c961
RMG
357282012-05-08 Roland Mc Grath <roland@hack.frob.com>
35729
bcfe3a54
ST
35730 [BZ #13979]
35731 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35732 checking but the checks are disabled for any reason.
05c2c961 35733
4b30f61a
L
357342012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35735
35736 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35737 and ELF64_R_TYPE with ELFW(R_TYPE).
35738
eee2bc67
JM
357392012-05-08 Joseph Myers <joseph@codesourcery.com>
35740
7ea5391a
JM
35741 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35742 (ulimit): Likewise.
35743
eee2bc67
JM
35744 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35745 (settimeofday): Likewise.
35746
abb66a67
MF
357472012-05-08 Mike Frysinger <vapier@gentoo.org>
35748
35749 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35750 a struct th_u2 inside the union, and move tu_block/tu_code into
35751 a new th_u3 union of tu_block/tu_code inside of that. Move
35752 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35753 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35754 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35755 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35756 (th_stuff): Change to th_u1.tu_stuff.
35757 (th_data): Define.
35758 (th_msg): Change to th_u1.th_u2.tu_data.
35759
7f18b530
DM
357602012-05-07 David S. Miller <davem@davemloft.net>
35761
05760585
DM
35762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35763
7f18b530
DM
35764 [BZ #14074]
35765 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35766 (SETUP_PIC_REG): Use it.
35767 (SETUP_PIC_REG_LEAF): Use it.
35768
495fd99f
JM
357692012-05-07 Joseph Myers <joseph@codesourcery.com>
35770
35771 [BZ #13885]
35772 [BZ #13923]
35773 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35774 USE_AS_EXPM1L.
35775 (EXPL_FINITE): Likewise.
35776 (FLDLOG): Likewise.
35777 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35778 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35779 e_expl.S.
35780 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35781 USE_AS_EXPM1L.
35782 (EXPL_FINITE): Likewise.
35783 (FLDLOG): Likewise.
35784 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35785 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35786 e_expl.S.
35787 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35788 test of -max_value argument for long double.
35789 * sysdeps/i386/fpu/libm-test-ulps: Update.
35790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35791
6693d694
DM
357922012-05-06 David S. Miller <davem@davemloft.net>
35793
35794 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35795 quad soft-float symbols whose references which are compiler
35796 generated.
35797 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35798
6c23e11c
JM
357992012-05-06 Joseph Myers <joseph@codesourcery.com>
35800
d8b82cad
JM
35801 [BZ #13884]
35802 [BZ #13914]
35803 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35804 USE_AS_EXP10L.
35805 (EXPL_FINITE): Likewise.
35806 (FLDLOG): Likewise.
35807 (c0): Likewise.
35808 (c1): Likewise.
35809 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35810 Adjust comments for base varying.
35811 (__expl_finite): Change alias to EXPL_FINITE.
35812 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35813 e_expl.S.
35814 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35815 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35816 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35817 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35818 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35819 USE_AS_EXP10L.
35820 (EXPL_FINITE): Likewise.
35821 (FLDLOG): Likewise.
35822 (c0): Likewise.
35823 (c1): Likewise.
35824 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35825 Adjust comments for base varying.
35826 (__expl_finite): Change alias to EXPL_FINITE.
35827 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35828 tests for bugs.
35829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35830
6c23e11c
JM
35831 [BZ #14064]
35832 * math/libm-test.inc (check_float_internal): Correct ulp
35833 calculation for subnormal expected results.
35834
29ba805c
AJ
358352012-05-06 Andreas Jaeger <aj@suse.de>
35836
35837 * Makeconfig (+math-flags): New, set to -frounding-math.
35838 (+cflags): Add +math-flags so that all of glibc gets compiled with
35839 it.
35840
35841 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35842
7b17aeda
JM
358432012-05-05 Joseph Myers <joseph@codesourcery.com>
35844
5779f134
JM
35845 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35846 Disable one test.
35847
41498f4d
JM
35848 [BZ #13787]
35849 [BZ #13922]
35850 [BZ #14036]
35851 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35852 (__ieee754_expl): Allow for and saturate large arguments.
35853 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35854 (u_threshold): Likewise.
35855 (__exp): Call __ieee754_exp before checking for overflow and
35856 underflow.
35857 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35858 (u_threshold): Likewise.
35859 (__expf): Call __ieee754_expf before checking for overflow and
35860 underflow.
35861 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35862 (u_threshold): Likewise.
35863 (__expl): Call __ieee754_expl before checking for overflow and
35864 underflow.
35865 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35866 (__ieee754_expl): Allow for and saturate large arguments.
35867 * math/libm-test.inc (exp_test): Add another test. Do not allow
35868 missing overflow exception on overflow.
35869 (expm1_test): Do not allow missing overflow exception on overflow.
35870
6698b8bf
JM
35871 * sysdeps/i386/fpu/e_expl.c: Move to ...
35872 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35873 rather than using inline asm.
35874 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35875 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35876 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35877
7b17aeda
JM
35878 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35879 (nice): Likewise.
35880 (poll): Likewise.
35881 (signal): Likewise.
35882 (time): Likewise.
35883 (times): Likewise.
35884
f7c85819
JM
358852012-05-04 Joseph Myers <joseph@codesourcery.com>
35886
35887 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35888 sysdeps/unix/common/syscalls.list.
35889 (fchmod): Likewise.
35890 (fchown): Likewise.
35891 (ftruncate): Likewise.
35892 (getrusage): Likewise.
35893 (gettimeofday): Likewise.
35894 (setpgid): Likewise.
35895 (setregid): Likewise.
35896 (setreuid): Likewise.
35897 (sigaction): Likewise.
35898 (truncate): Likewise.
35899 (vhangup): Likewise.
35900 * sysdeps/unix/common/syscalls.list: Remove file.
35901 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35902 * sysdeps/unix/sysv/linux/Implies: Likewise.
35903
336270d0
L
359042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35905
35906 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35908 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35909 Moved to ...
35910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35911 Here.
35912 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35913 to ...
35914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35915 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35916 to ...
35917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35918 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35919 to ...
35920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35921 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35922 to ...
35923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35924 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35925 to ...
35926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35927 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35928 to ...
35929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35930 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35931 to ...
35932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35933 Here.
35934 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35935 to ...
35936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35937 Here.
35938 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35939 to ...
35940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35941 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35942 Moved to ...
35943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35944 Here.
35945 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35946 to ...
35947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35948
d128e450
JM
359492012-05-04 Joseph Myers <joseph@codesourcery.com>
35950
fa8ee516
JM
35951 * sysdeps/unix/common/bits/dirent.h: Remove file.
35952 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35953
d128e450
JM
35954 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35955 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35956 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35957 * sysdeps/unix/bsd/isatty.c: Likewise.
35958 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35959 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35960 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35961
ff8faaf0 359622012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35963
62881be4 35964 [BZ #13563]
31dc8730
AZ
35965 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35966 long double comparison inaccuracies.
35967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35969
6fef930c
AS
359702012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35971
35972 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35974
8f203e6c
JM
359752012-05-04 Joseph Myers <joseph@codesourcery.com>
35976
35977 [BZ #14049]
35978 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35979 nonzero digits before rounding a hex value.
35980 * stdlib/tst-strtod.c (tests): Add another test.
35981
5197d9c2
AK
359822012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35983
35984 * sysdeps/s390/fpu/libm-test-ulps: Update.
35985
f0c1dedf
AJ
359862012-05-03 Andreas Jaeger <aj@suse.de>
35987
35988 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35989 does not get optimized out.
35990 (malloc_opt_barrier): New.
35991
a65ef2ae 359922012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35993 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35994
2b942cb7 35995 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35996 intermediate file deletion.
2b942cb7 35997 (generated): Add .symlist files.
a65ef2ae 35998
54b71e02
JM
359992012-05-03 Joseph Myers <joseph@codesourcery.com>
36000
36001 [BZ #13775]
36002 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36003 Redirect under this condition.
36004 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36005 [__USE_GNU] (__dprintf_chk): Not under this condition.
36006 [__USE_GNU] (__vdprintf_chk): Likewise.
36007 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36008 under this condition.
36009 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36010 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36011 [__USE_XOPEN2K8] (vdprintf): Likewise.
36012 [__USE_GNU] (__dprintf_chk): Not under this condition.
36013 [__USE_GNU] (__vdprintf_chk): Likewise.
36014 [__USE_GNU] (dprintf): Likewise.
36015 [__USE_GNU] (vdprintf): Likewise.
36016
d3dfcc41
RM
360172012-05-03 Roland McGrath <roland@hack.frob.com>
36018
36019 * elf/Makefile (common-generated): Set this instead of generated for
36020 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36021 $(all-built-dso)-derived lists.
36022
7ac30cc5
AJ
360232012-05-03 Andreas Jaeger <aj@suse.de>
36024
0c51e550
AJ
36025 * sysdeps/i386/fpu/libm-test-ulps: Update.
36026
7ac30cc5
AJ
36027 * FAQ: Removed.
36028 * FAQ.in: Likewise.
36029 * scripts/gen-FAQ.pl: Likewise.
36030 * manual/install.texi (Installation): Point to online location of
36031 FAQ.
36032 * Makefile (files-for-dist): Remove FAQ.
36033 (FAQ): Remove.
36034
d4c2917f
AM
360352012-05-02 Allan McRae <allan@archlinux.org>
36036
36037 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36038 (LDFLAGS-reldepmod5.so): Likewise.
36039 (LDFLAGS-reldep6mod1.so): Likewise.
36040 (LDFLAGS-reldep6mod4.so): Likewise.
36041 (LDFLAGS-reldep8mod3.so): Likewise.
36042 (LDFLAGS-unload4mod1.so): Likewise.
36043 (LDFLAGS-unload4mod2.so): Likewise.
36044 (LDFLAGS-tst-initorder): Likewise.
36045 (LDFLAGS-tst-initordera2.so): Likewise.
36046 (LDFLAGS-tst-initordera3.so): Likewise.
36047 (LDFLAGS-tst-initordera4.so): Likewise.
36048 (LDFLAGS-tst-initorderb2.so): Likewise.
36049 (LDFLAGS-noload): Likewise.
36050 (LDFLAGS-next): Likewise.
36051 (LDFLAGS-order2mod1.so): Likewise.
36052 (LDFLAGS-order2mod2.so): Likewise.
36053 (LDFLAGS-tst-initorder2): Likewise.
36054 (LDFLAGS-tst-initorder2a.so): Likewise.
36055 (LDFLAGS-tst-initorder2b.so): Likewise.
36056 (LDFLAGS-tst-initorder2c.so): Likewise.
36057 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36058
d77f993f
DM
360592012-05-02 David S. Miller <davem@davemloft.net>
36060
36061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36062
171a70b4
PP
360632012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36064
36065 [BZ #14055]
36066 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36067
0be196ad
AJ
360682012-05-02 Andreas Jaeger <aj@suse.de>
36069
36070 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36071 since we manipulate rounding mode.
36072 (CPPFLAGS-test-idouble.c): Likewise.
36073 (CPPFLAGS-test-ifloat.c): Likewise.
36074 (CFLAGS-test-ldouble.c): Likewise.
36075 (CFLAGS-test-double.c): Likewise.
36076 (CFLAGS-test-float.c): Likewise.
36077 (CFLAGS-test-misc.c): Likewise.
36078 (CFLAGS-test-test-fenv.c): Likewise.
36079
4f9d04aa
AZ
360802012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36081
2b942cb7
RM
36082 [BZ #2550]
36083 [BZ #2570]
36084 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36085 comparisons to determine direction to adjust input.
4f9d04aa 36086
82a79e7d
RM
360872012-05-01 Roland McGrath <roland@hack.frob.com>
36088
f5a01ca9
RM
36089 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36090 output to the target.
36091
90fe4186
RM
36092 * scripts/localplt.awk: New file.
36093 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36094 (check-localplt-CFLAGS): Variable removed.
36095 ($(all-built-dso:=.jmprel)): New static pattern rule.
36096 (generated): Add those targets.
36097 (localplt-built-dso): New variable.
36098 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36099
36100 * elf/check-localplt.c: File removed.
36101
82397ed6
RM
36102 * scripts/check-execstack.awk: New file.
36103 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36104 (check-execstack-CFLAGS): Variable removed.
36105 ($(objpfx)check-execstack.h): Target removed.
36106 ($(objpfx)execstack-default): New target.
36107 (generated): Add that instead of check-execstack.h.
36108 ($(all-built-dso:=.phdr)): New static pattern rule.
36109 (generated): Add those targets.
36110 * elf/check-execstack.c: File removed.
36111
82a79e7d
RM
36112 * scripts/check-textrel.awk: New file.
36113 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36114 (check-textrel-CFLAGS): Variable removed.
36115 (all-built-dso): Use := to define.o
36116 ($(all-built-dso:=.dyn)): New static pattern rule.
36117 (generated): Add those targets.
36118 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36119 * config.make.in (READELF): New substituted variable.
36120 * elf/check-textrel.c: File removed.
36121
62fde54f 361222012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36123
615605c9
JM
36124 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36125 allow.
36126 * conform/data/ctype.h-data [C99-based standards] (isblank):
36127 Expect function.
36128 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36129 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36131 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36132 Specify type. Require positive value.
36133 (EILSEQ): Likewise.
36134 (ERANGE): Likewise.
36135 [ISO || POSIX] (EILSEQ): Do not expect.
36136 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36137 Specify type. Require positive value.
36138 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36139 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36140 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36141 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36142 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36143 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36144 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36145 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36146 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36147 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36148 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36149 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36150 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36151 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36152 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36153 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36154 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36155 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36156 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36157 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36158 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36159 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36160 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36161 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36162 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36163 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36164 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36165 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36166 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36167 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36168 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36169 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36170 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36171 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36172 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36173 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36174 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36175 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36176 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36177 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36178 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36179 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36180 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36181 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36182 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36183 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36184 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36185 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36186 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36187 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36188 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36189 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36190 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36191 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36192 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36193 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36194 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36195 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36196 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36197 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36198 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36199 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36200 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36201 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36202 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36203 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36204 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36205 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36206 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36207 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36208 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36209 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36210 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36211 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36212 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36213 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36214 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36215 Require >= 2.
36216 (FLT_ROUNDS): Expect as macro, not constant.
36217 (FLT_MANT_DIG): Use macro-int-constant.
36218 (DBL_MANT_DIG): Likewise.
36219 (LDBL_MANT_DIG): Likewise.
36220 (FLT_DIG): Likewise.
36221 (DBL_DIG): Likewise.
36222 (LDBL_DIG): Likewise.
36223 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36224 (DBL_MIN_EXP): Likewise.
36225 (LDBL_MIN_EXP): Likewise.
36226 (FLT_MAX_EXP): Use macro-int-constant.
36227 (DBL_MAX_EXP): Likewise.
36228 (LDBL_MAX_EXP): Likewise.
36229 (FLT_MAX_10_EXP): Likewise.
36230 (DBL_MAX_10_EXP): Likewise.
36231 (LDBL_MAX_10_EXP): Likewise.
36232 (FLT_MAX): Use macro-constant.
36233 (DBL_MAX): Likewise.
36234 (LDBL_MAX): Likewise.
36235 (FLT_EPSILON): Use macro-constant. Give upper bound.
36236 (DBL_EPSILON): Likewise.
36237 (LDBL_EPSILON): Likewise.
36238 (FLT_MIN): Likewise.
36239 (DBL_MIN): Likewise.
36240 (LDBL_MIN): Likewise.
36241 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36242 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36243 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36244 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36245 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36246 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36247 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36248 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36249 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36250 [ISO11] (FLT_TRUE_MIN): Likewise.
36251 [ISO11] (LDBL_TRUE_MIN): Likewise.
36252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36253 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36254 (SCHAR_MIN): Use macro-int-constant. Specify type.
36255 (SCHAR_MAX): Likewise.
36256 (UCHAR_MAX): Likewise.
36257 (CHAR_MIN): Likewise.
36258 (CHAR_MAX): Likewise.
36259 (MB_LEN_MAX): Use macro-int-constant.
36260 (SHRT_MIN): Use macro-int-constant. Specify type.
36261 (SHRT_MAX): Likewise.
36262 (USHRT_MAX): Likewise.
36263 (INT_MAX): Likewise.
36264 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36265 bound negative.
36266 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36267 bound with "U".
36268 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36269 bound with "L".
36270 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36271 bound negative. Suffix upper bound with "L".
36272 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36273 bound with "UL".
36274 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36275 Specify type.
36276 [C99-based standards] (LLONG_MAX): Likewise.
36277 [C99-based standards] (ULLONG_MAX): Likewise.
36278 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36279 == 0.
36280 [ISO11] (max_align_t): Require type.
36281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36282
c9140a62
JM
36283 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36284 from $CFLAGS, without defining away __attribute__ calls.
36285 (checknamespace): Use $CFLAGS_namespace.
36286
9af0bf29
JM
36287 * conform/conformtest.pl (@keywords): Only include C99 keywords
36288 for standards based on C99 or C11.
36289
343222a2
JM
36290 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36291 Disable tests.
36292 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36293 UNIX98]: Likewise.
36294
661f8cf0
JM
36295 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36296 usability of symbols in #if.
36297
ee74b9cb
JM
36298 * conform/conformtest.pl: If macro or constant types start
36299 "promoted:", expect the symbol to be of the following type
36300 promoted by the integer promotions.
62fde54f 36301
aafc49b3
JM
36302 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36303 in one place. Also handle "macro-constant".
36304
fefdf574
JM
36305 * conform/conformtest.pl: Only accept expected macro values with
36306 "==". Parse all "macro" lines in one place.
36307 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36308
f2d922fe
JM
36309 * conform/conformtest.pl: Handle braced types on "constant" lines
36310 instead of handling "typed-constant".
36311 * conform/data/signal.h-data: Use "constant" instead of
36312 "typed-constant".
36313
d22956c9
JM
36314 * conform/conformtest.pl: Handle "optional-" at start of lines in
36315 one place rather than duplicating several cases. Handle each
36316 format of "macro" line with initial "optional-".
36317
028e2e38
JM
36318 * conform/conformtest.pl: Only accept expected constant or
36319 optional-constant values with "==". Parse all "constant" lines in
36320 one place. Parse all "optional-constant" lines in one place.
36321 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36322 * conform/data/fmtmsg.h-data: Likewise.
36323 * conform/data/netinet/in.h-data: Likewise.
36324 * conform/data/tar.h-data: Likewise.
36325 * conform/data/limits.h-data: Use "==" form on "constant" and
36326 "optional-constant" lines.
36327
1b8f2850
JM
36328 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36329 Use -std=c99 for XOPEN2K.
36330 (@knownproblems): Remove.
36331 (newtoken): Don't check %isknown.
36332
a05a144b
JM
36333 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36334 Do not expect macro.
36335 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36336 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36337 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36338 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36339 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36340 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36341 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36342 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36343 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36344 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36345 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36346 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36347 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36348 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36349 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36350 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36351 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36352 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36353 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36354 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36355 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36356 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36357 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36358 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36359 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36360 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36361 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36362 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36363 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36364 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36365 [XPG3] (acosh): Likewise.
36366 [XPG3] (asinh): Likewise.
36367 [XPG3] (atanh): Likewise.
36368 [XPG3] (cbrt): Likewise.
36369 [XPG3] (expm1): Likewise.
36370 [XPG3] (ilogb): Likewise.
36371 [XPG3] (log1p): Likewise.
36372 [XPG3] (logb): Likewise.
36373 [XPG3] (nextafter): Likewise.
36374 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36375 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36376 [XPG3] (remainder): Likewise.
36377 [XPG3] (rint): Likewise.
36378 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36379 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36380 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36381 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36382 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36383 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36384 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36385 [UNIX98 || XOPEN2K] (scalb): Expect.
36386 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36387 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36388 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36389 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36390 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36391 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36392 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36393 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36394 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36395 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36396 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36397 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36398 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36399 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36400 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36401 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36402 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36403 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36404 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36405 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36406 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36407 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36408 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36409 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36410 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36411 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36412 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36413 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36414 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36415 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36416 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36417 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36418 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36419 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36420 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36421 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36422 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36423 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36424 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36425 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36426 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36427 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36428 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36429 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36430 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36431 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36432 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36433 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36434 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36435 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36436 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36437 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36438 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36439 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36440 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36441 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36442 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36443 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36444 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36445 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36446 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36447 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36448 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36449 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36450 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36451 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36452 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36453 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36454 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36455 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36456 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36457 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36458 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36459 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36460 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36461 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36462 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36463 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36464 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36465 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36466 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36467 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36468 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36469 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36470 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36471 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36472 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36473 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36474 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36475 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36476 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36477 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36478 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36479 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36480 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36481 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36482 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36483 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36484 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36485 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36486 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36487 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36488 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36489 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36490 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36491 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36492 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36493 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36494 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36495 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36496 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36497 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36498 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36499 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36500 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36501 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36502 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36503 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36504 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36505 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36513 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36514 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36515 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36516 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36517 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36518 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36523
73c5ebe3
JM
36524 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36525 _XOPEN_SOURCE_EXTENDED for XPG4.
36526
39c33b6c
JM
36527 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36528
62fde54f
JM
36529 * Makeconfig (localtime): Remove variable.
36530 (inst_localtime-file): Likewise.
36531
0741d64c
AS
365322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36533
36534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36535 Update.
36536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36537 Update.
36538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36539 Update.
36540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36541 Update.
36542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36543 Update.
36544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36545 Update.
36546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36547 Update.
36548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36549 Update.
36550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36551 Update.
36552
7cb029ee
JM
365532012-05-01 Joseph Myers <joseph@codesourcery.com>
36554
36555 [BZ #2550]
36556 [BZ #2570]
36557 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36558 comparisons to determine direction to adjust input.
36559 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36560 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36562 Likewise.
36563 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36564 Likewise.
36565 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36566 Likewise.
36567 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36568 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36569 Likewise.
36570 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36571 Likewise.
36572 * math/libm-test.inc (nexttoward_test): Add more tests.
36573
412bd966
AS
365742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36575
36576 [BZ #14040]
36577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36578 in version GLIBC_2.1, not GLIBC_2.0.
36579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36580 Likewise.
36581
9568c0c2
JM
365822012-04-30 Joseph Myers <joseph@codesourcery.com>
36583
adfbc8ac
JM
36584 [BZ #13942]
36585 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36586 (1 - x) * (1 + x).
36587 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36588 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36589 * math/libm-test.inc (acos_test): Add more tests.
36590 (asin_test): Likewise.
36591 * sysdeps/i386/fpu/libm-test-ulps: Update.
36592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36593
5ba3cc69
JM
36594 [BZ #14034]
36595 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36596 of square root.
36597 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36598 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36599 * math/libm-test.inc (acos_test_tonearest): New function.
36600 (acos_test_towardzero): Likewise.
36601 (acos_test_downward): Likewise.
36602 (acos_test_upward): Likewise.
36603 (asin_test_tonearest): Likewise.
36604 (asin_test_towardzero): Likewise.
36605 (asin_test_downward): Likewise.
36606 (asin_test_upward): Likewise.
36607 (main): Call the new functions.
36608 * sysdeps/i386/fpu/libm-test-ulps: Update.
36609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36610
9568c0c2
JM
36611 [BZ #13884]
36612 [BZ #13924]
36613 * math/e_exp10.c: Include <float.h>.
36614 (__ieee754_exp10): Handle underflow here rather than multiplying
36615 large negative argument by M_LN10.
36616 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36617 of __ieee754_expf.
36618 * math/e_exp10l.c: Include <float.h>.
36619 (__ieee754_exp10l): Handle underflow here rather than multiplying
36620 large negative argument by M_LN10l.
36621 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36622 spurious overflow exception on underflow.
36623
5ac3ea17
MP
366242012-04-29 Marek Polacek <polacek@redhat.com>
36625
36626 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36627 (__fortify_function): New macro.
36628 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36629 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36630 __extern_always_inline.
36631 * libio/bits/stdio2.h: Likewise.
36632 * libio/bits/stdio.h: Likewise.
36633 * string/string.h: Likewise.
36634 * string/bits/string3.h: Likewise.
36635 * include/stdio.h: Likewise.
36636 * stdlib/bits/stdlib.h: Likewise.
36637 * stdlib/stdlib.h: Likewise.
36638 * rt/bits/mqueue2.h: Likewise.
36639 * rt/mqueue.h: Likewise.
36640 * posix/bits/unistd.h: Likewise.
36641 * posix/unistd.h: Likewise.
36642 * io/bits/poll2.h: Likewise.
36643 * io/bits/fcntl2.h: Likewise.
36644 * io/fcntl.h: Likewise.
36645 * io/sys/poll.h: Likewise.
36646 * misc/bits/syslog.h: Likewise.
36647 * misc/bits/syslog-ldbl.h: Likewise.
36648 * misc/sys/syslog.h: Likewise.
36649 * socket/bits/socket2.h: Likewise.
36650 * socket/sys/socket.h: Likewise.
36651 * debug/tst-chk1.c: Likewise.
36652 * wcsmbs/bits/wchar2.h: Likewise.
36653 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36654 * wcsmbs/wchar.h: Likewise.
36655
ecf0ebfb
AJ
366562012-04-29 Andreas Jaeger <aj@suse.de>
36657
36658 * Makerules (tests): Remove enable-check-abi protection.
36659 (check-abi-warn): Remove.
36660 (check-abi-%): Remove check-abi-warn usage.
36661
36662 * configure.in: Remove check-abi configure option.
36663 * configure: Regenerated.
36664 * config.make.in (enable-check-abi): Remove.
36665
6d5c57fa
AS
366662012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36667
24c5d07e 36668 [BZ #14033]
ded5180a
AS
36669 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36670 double functions to double *_finite functions.
36671
7e0d315d
AS
36672 [BZ #13941]
36673 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36674 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36675 LDBL_MIN_EXP.
36676 * stdio-common/Makefile (tests): Add tst-sprintf3.
36677 * stdio-common/tst-sprintf3.c: New file.
36678
6d5c57fa
AS
36679 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36680 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36681
0749ff8b
JM
366822012-04-28 Joseph Myers <joseph@codesourcery.com>
36683
36684 * conform/conformtest.pl: Remove duplicate typed-constant
36685 handling.
36686
8dbd5d7b
DM
366872012-04-28 David S. Miller <davem@davemloft.net>
36688
36689 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36690 (check-abi-%): Remove AWK script prerequisite and explicit
36691 abilist directory.
36692 (check-abi): Rewrite to just diff the symlist with the abilist.
36693 (config-tls, config-abi-config): Delete, no longer used.
36694 (update-abi-%): Remove AWK script and explicit abilist directory.
36695 (update-abi): Rewrite to simply compare and conditionally copy the
36696 symlist and the sysdep abilist file. Remove update-abi-config
36697 checks.
36698 * abilist/ld.abilist: Remove.
36699 * abilist/libBrokenLocale.abilist: Remove.
36700 * abilist/libanl.abilist: Remove.
36701 * abilist/libcrypt.abilist: Remove.
36702 * abilist/libdl.abilist: Remove.
36703 * abilist/librt.abilist: Remove.
36704 * abilist/libthread_db.abilist: Remove.
36705 * abilist/libutil.abilist: Remove.
36706 * scripts/extract-abilist.awk: Remove.
36707 * scripts/merge-abilist.awk: Remove.
36708 * sysdeps/generic/libcidn.abilist: New file.
36709 * sysdeps/generic/libnss_compat.abilist: New file.
36710 * sysdeps/generic/libnss_db.abilist: New file.
36711 * sysdeps/generic/libnss_dns.abilist: New file.
36712 * sysdeps/generic/libnss_files.abilist: New file.
36713 * sysdeps/generic/libnss_hesiod.abilist: New file.
36714 * sysdeps/generic/libnss_nis.abilist: New file.
36715 * sysdeps/generic/libnss_nisplus.abilist: New file.
36716 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36717 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36718 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36719 file.
36720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36721 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36722 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36723 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36724 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36725 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36726 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36727 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36728 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36729 file.
36730 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36731 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36732 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36733 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36734 file.
36735 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36736 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36737 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36738 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36739 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36740 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36741 file.
36742 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36743 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36744 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36745 file.
36746 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36748 New file.
36749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36750 New file.
36751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36752 New file.
36753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36754 New file.
36755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36756 New file.
36757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36758 New file.
36759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36760 New file.
36761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36762 New file.
36763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36764 New file.
36765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36766 New file.
36767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36768 New file.
36769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36770 New file.
36771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36772 New file.
36773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36774 file.
36775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36776 New file.
36777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36778 New file.
36779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36780 file.
36781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36782 New file.
36783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36784 New file.
36785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36786 file.
36787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36788 New file.
36789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36790 New file.
36791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36792 New file.
36793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36794 New file.
36795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36796 New file.
36797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36798 New file.
36799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36801 file.
36802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36803 New file.
36804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36805 file.
36806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36807 file.
36808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36809 file.
36810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36811 file.
36812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36813 file.
36814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36815 New file.
36816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36817 file.
36818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36819 file.
36820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36821 New file.
36822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36823 file.
36824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36826 file.
36827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36828 New file.
36829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36830 file.
36831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36832 file.
36833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36834 file.
36835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36836 file.
36837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36838 file.
36839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36840 New file.
36841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36842 file.
36843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36844 file.
36845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36846 New file.
36847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36848 file.
36849 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36850 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36851 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36852 file.
36853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36854 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36855 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36856 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36857 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36858 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36859 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36860 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36861 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36862 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36865 file.
36866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36867 New file.
36868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36869 file.
36870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36871 file.
36872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36873 file.
36874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36875 file.
36876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36877 file.
36878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36879 New file.
36880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36881 New file.
36882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36883 file.
36884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36885 New file.
36886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36887 file.
36888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36890 file.
36891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36892 New file.
36893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36894 file.
36895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36896 file.
36897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36898 file.
36899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36900 file.
36901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36902 file.
36903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36904 New file.
36905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36906 New file.
36907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36908 file.
36909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36910 New file.
36911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36912 file.
36913
41d73a1b
JM
369142012-04-28 Joseph Myers <joseph@codesourcery.com>
36915
36916 * conform/conformtest.pl: Fix typo in handling typed-constant from
36917 allow-header.
36918
28aeeda4
JM
369192012-04-27 Joseph Myers <joseph@codesourcery.com>
36920
adae8f5e
JM
36921 * README: Cut down references to pre-2.6 Linux kernels and
36922 Linuxthreads. Update lists of configurations in libc and ports
36923 and sort alphabetically. Say "or newer" with Linux kernel version
36924 requirements.
36925
28aeeda4
JM
36926 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36927
a462cb63
RA
369282012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36929
36930 [BZ #887]
36931 * math/libm-test.inc (logb_test_downward): New test to expose
36932 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36933 rounding mode.
36934
6ad3493e
JM
369352012-04-27 Joseph Myers <joseph@codesourcery.com>
36936
36937 [BZ #14027]
36938 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36939 to be done.
36940 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36941 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36942
2ce4f015
JM
369432012-04-26 Joseph Myers <joseph@codesourcery.com>
36944
5aeb141a
JM
36945 * sysdeps/unix/i386/brk.S: Remove file.
36946 * sysdeps/unix/i386/dl-brk.S: Likewise.
36947 * sysdeps/unix/i386/pipe.S: Likewise.
36948 * sysdeps/unix/i386/sigreturn.S: Likewise.
36949 * sysdeps/unix/i386/syscall.S: Likewise.
36950 * sysdeps/unix/i386/vfork.S: Likewise.
36951 * sysdeps/unix/i386/wait.S: Likewise.
36952
7143acae
JM
36953 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36954 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36955
2ce4f015
JM
36956 * configure.in (arm*-none*): Do not allow without
36957 --enable-hacker-mode.
36958 (netbsd*): Remove case setting base_os.
36959 (386bsd*): Likewise.
36960 (freebsd*): Likewise.
36961 (bsdi*): Likewise.
36962 (osf*): Likewise.
36963 (sunos*): Likewise.
36964 (ultrix*): Likewise.
36965 (newsos*): Likewise.
36966 (dynix*): Likewise.
36967 (*bsd*): Likewise.
36968 (sysv*): Likewise.
36969 (isc*): Likewise.
36970 (esix*): Likewise.
36971 (sco*): Likewise.
36972 (minix*): Likewise.
36973 (irix4*): Likewise.
36974 (irix6*): Likewise.
36975 (solaris[2-9]*): Likewise.
36976 (none): Likewise.
36977 * configure: Regenerated.
36978
0ac229c8
AZ
369792012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36980
36981 [BZ #11521]
36982 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36983 overflow or cancellation in calculating denominator.
36984 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36985 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36986 down expression to avoid unexpected rounding in newer GCCs.
36987 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36988
33f244f4
DM
369892012-04-26 David S. Miller <davem@davemloft.net>
36990
36991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36992 long-double compat symbols.
36993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37006
cfa1f3e8
DM
370072012-04-25 David S. Miller <davem@davemloft.net>
37008
37009 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37010 HWCAP_* values only after the memory barriers have been defined.
37011 (atomic_full_barrier): Define.
37012 (atomic_read_barrier): Define.
37013 (atomic_write_barrier): Define.
37014
6e236b92
SP
370152012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37016
37017 * shlib-versions: Add libgcc_s version information.
37018 * sysdeps/generic/libgcc_s.h: Remove.
37019 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37020 libgcc_s.h.
37021 * sysdeps/gnu/unwind-resume.c: Likewise.
37022 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37023
aab39a09
DM
370242012-04-25 David S. Miller <davem@davemloft.net>
37025
37026 * sysdeps/unix/sparc/brk.S: Delete.
37027 * sysdeps/unix/sparc/dl-brk.S: Delete.
37028 * sysdeps/unix/sparc/pipe.S: Delete.
37029 * sysdeps/unix/sparc/sysdep.S: Delete.
37030 * sysdeps/unix/sparc/sysdep.h: Delete.
37031 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37032 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37033 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37035 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37036 (JUMPTARGET): Remove.
37037 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37038 sysdeps/unix/sparc/sysdep.h
37039 (ENTRY, END): Remove.
37040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37041
a3cc4f48
JM
370422012-04-25 Joseph Myers <joseph@codesourcery.com>
37043
2ed8cda2
JM
37044 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37045 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37046 -DIS_IN_build.
37047
35d76d59
JM
37048 * timezone/README: Update upstream location and email address for
37049 tzcode and tzdata.
37050 * timezone/zdump.c: Update from tzcode 2012b.
37051 * timezone/zic.c: Likewise.
37052
a3cc4f48
JM
37053 * configure.in (libc_cv_as_needed): Remove test.
37054 * configure: Regenerated.
37055 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37056 conditional definition.
37057 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37058 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37059 * config.make.in (have-as-needed): Remove variable.
37060
ceab42c3
SP
370612012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37062 Paul Pluzhnikov <ppluzhnikov@google.com>
37063
37064 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37065 strings correctly.
37066
3ce2865f
CLT
370672012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37068
37069 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37070 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37071 * sysdeps/sh/strlen.S: Likewise.
37072
f37e0d68
JM
370732012-04-24 Joseph Myers <joseph@codesourcery.com>
37074
ae186e9a
JM
37075 * sysdeps/unix/fork.S: Remove file.
37076 * sysdeps/unix/i386/fork.S: Likewise.
37077 * sysdeps/unix/sparc/fork.S: Likewise.
37078
b96914af
JM
37079 * sysdeps/unix/system.c: Remove file.
37080 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37081
f37e0d68
JM
37082 * sysdeps/unix/getegid.S: Remove file.
37083 * sysdeps/unix/geteuid.S: Likewise.
37084
87ef29ca
RM
370852012-04-24 Roland McGrath <roland@hack.frob.com>
37086
83bcd236
RM
37087 * scripts/check-localplt.awk: New file.
37088 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37089 of diff.
37090 * scripts/data/localplt-generic.data: Add a comment.
37091
87ef29ca
RM
37092 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37093 NODE when __dir_mkfile failed.
37094 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37095 Reported by Ludovic Courtès <ludo@gnu.org>.
37096
e5a6e567
AJ
370972012-04-24 Andreas Jaeger <aj@suse.de>
37098
37099 * Makerules (common-clean): Also remove gen-as-const-headers
37100 files.
37101
c1820385
JM
371022012-04-24 Joseph Myers <joseph@codesourcery.com>
37103
37104 * Makerules (native-compile): Do not change working directory for
37105 build. Use $(OUTPUT_OPTION) in command.
37106 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37107
94e02fc4
AZ
371082012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37109
37110 [BZ #13886]
37111 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37112 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37113 * math/libm-test.inc (floor_test): Add more tests.
37114 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37115
3a533ca3
JM
371162012-04-24 Joseph Myers <joseph@codesourcery.com>
37117
940ab4b3
JM
37118 * sysdeps/unix/getdents.c: Remove file.
37119 * sysdeps/unix/sysv/getdents.c: Likewise.
37120 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37121
90e037bd
JM
37122 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37123 sysdeps/unix/mman/syscalls.list.
37124 (mmap): Likewise.
37125 (mprotect): Likewise.
37126 (msync): Likewise.
37127 (munmap): Likewise.
37128 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37129 * sysdeps/unix/mman/syscalls.list: Remove.
37130 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37131
3a533ca3
JM
37132 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37133 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37134 * configure: Regenerated.
37135 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37136 $(libgcc_s_suffix).
37137 * config.make.in (libgcc_s_suffix): Remove variable.
37138
1ad743de
JM
371392012-04-23 Joseph Myers <joseph@codesourcery.com>
37140
4ad451e2
JM
37141 * sysdeps/unix/sysv/gethostname.c: Move to ...
37142 * sysdeps/posix/gethostname.c: ... here.
37143
5e37ce39
JM
37144 * sysdeps/unix/execve.S: Remove file.
37145
1ad743de
JM
37146 * sysdeps/unix/_exit.S: Remove file.
37147
4e681b5b
AJ
371482012-04-23 Andreas Jaeger <aj@suse.de>
37149
37150 [BZ #13739]
37151 * manual/Makefile: Remove make dist support, there's no
37152 need for a stand-alone documentation tar ball.
37153 (TEXI2DVI): Define always, it's not in Makeconfig.
37154 (dist): Removed.
37155 (tar-it): Removed.
37156 (edition): Removed.
37157 (glibc-doc-$(edition).tar): Removed
37158 (%.Z): Removed.
37159 (%.gz): Removed.
37160 (%.uu): Removed.
37161 (ETAGS): Remove, it's in Makeconfig.
37162 (move-if-change): Remove, it's in Makeconfig.
37163
38686a03 371642012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37165
37166 [BZ #13970]
37167 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37168 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37169 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37170 (strtod_l, strtof_l, strtold_l): Remove __wur.
37171 It is not necessarily an error to ignore strtol's return value.
37172 One can reliably look at the stored endptr to decide whether
37173 the number had valid syntax.
37174
7c0616fa
AJ
371752012-04-21 Andreas Jaeger <aj@suse.de>
37176
803cb6b7 37177 [BZ #13739]
7c0616fa
AJ
37178 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37179
b0fe253f
JM
371802012-04-21 Joseph Myers <joseph@codesourcery.com>
37181
37182 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37183 * sysdeps/unix/sysv/Versions: Remove file.
37184
8280f22d
MT
371852012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37186
37187 [BZ #13927]
37188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37189
75ce411f 371902012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37191
37192 [BZ #7064]
37193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37194 version from __vm86.
37195
097d59fa
JM
371962012-04-20 Joseph Myers <joseph@codesourcery.com>
37197
a90f3bcb
JM
37198 * sysdeps/unix/common/lxstat.c: Remove file.
37199 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37200
edc7ea78
JM
37201 * sysdeps/unix/sysv/Makefile: Remove file.
37202
cb78c221
JM
37203 * sysdeps/unix/sysv/direct.h: Remove file.
37204
efa6a45f
JM
37205 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37206 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37207 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37208 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37209 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37210 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37211 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37212
9c9f2d0c
JM
37213 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37214
4541c83b
JM
37215 * sysdeps/unix/xmknod.c: Remove file.
37216 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37217
f5d153a0
JM
37218 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37219
aa746595
JM
37220 * sysdeps/unix/sysv/i386/time.S: Remove file.
37221
cce5905e
JM
37222 * sysdeps/unix/fxstat.c: Remove file.
37223 * sysdeps/unix/xstat.c: Likewise.
37224 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37225
37fa3841
JM
37226 * sysdeps/unix/sysv/sigaction.c: Remove file.
37227
ff1962a3
JM
37228 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37229 (sysdep_headers): Remove variable.
37230 [termio.h not in sysdep_headers] (generated): Likewise.
37231 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37232 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37233 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37234 * sysdeps/unix/sysv/tcflow.c: Likewise.
37235 * sysdeps/unix/sysv/tcflush.c: Likewise.
37236 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37237 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37238 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37239 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37240 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37241
e7740d31
JM
37242 * sysdeps/unix/siglist.c: Remove file.
37243
ee06f18b
JM
37244 * sysdeps/unix/getppid.S: Remove file.
37245
097d59fa
JM
37246 * sysdeps/unix/mkdir.c: Remove file.
37247 * sysdeps/unix/rmdir.c: Likewise.
37248
ff3d51ec
AS
372492012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37250
37251 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37252 ERR_MAX value.
37253 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37254 errlist-compat value.
37255
50f81fd7
DM
372562012-04-18 David S. Miller <davem@davemloft.net>
37257
37258 * sysdeps/generic/memcopy.h (reg_char): Delete.
37259 * debug/strcat_chk.c: Use char, not reg_char.
37260 * debug/strcpy_chk.c: Likewise.
37261 * debug/strncat_chk.c: Likewise.
37262 * debug/strncpy_chk.c: Likewise.
37263 * string/memchr.c: Likewise.
37264 * string/memrchr.c: Likewise.
37265 * string/rawmemchr.c: Likewise.
37266 * string/strcat.c: Likewise.
37267 * string/strchr.c: Likewise.
37268 * string/strchrnul.c: Likewise.
37269 * string/strcmp.c: Likewise.
37270 * string/strcpy.c: Likewise.
37271 * string/strncat.c: Likewise.
37272 * string/strncmp.c: Likewise.
37273 * string/strncpy.c: Likewise.
37274
8ff41c46
WS
372752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37276
37277 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37278 __builtin_memcopy is called when src and dest ranges are known to not
37279 overlap.
37280
6b652f46
WS
372812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37282
37283 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37284 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37285 fwd_align_merge macro call.
37286 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37287 bwd_align_merge macro call.
37288 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37289
b282631e
WS
372902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37291
37292 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37293 bwd_align_merge macros.
37294 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37295 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37296 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37297
95aa737c
DM
372982012-04-18 David S. Miller <davem@davemloft.net>
37299
37300 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37301
7a99a614
AJ
373022012-04-18 Andreas Jaeger <aj@suse.de>
37303
37304 [BZ# 6794]
37305 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37306 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37307 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37308
37309 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37310 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37311 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37312
37313 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37314 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37315 Adjust for changed ldbl-128 files.
37316
37317 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37318 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37319 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37320
e5270c23
DM
373212012-04-17 David S. Miller <davem@davemloft.net>
37322
37323 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37324
fb5e92c9
AS
373252012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37326
37327 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37328 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37329 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37330 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37331 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37332 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37333
76da7265
AZ
373342012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37335
37336 [BZ #6794]
37337 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37338 * math/libm-test.inc: Add ilogb errno and exception tests.
37339 * math/w_ilogb.c: New file: ilogb wrapper.
37340 * math/w_ilogbf.c: New file: ilogbf wrapper.
37341 * math/w_ilogbl.c: New file: ilogbl wrapper.
37342 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37343 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37344 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37345 exception being thrown with 0.0 as argument.
37346 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37347 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37348 exception being thrown with 0.0 as argument.
37349 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37350 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37351 exception being thrown with 0.0 as argument.
37352 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37353 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37354 exception being thrown with 0.0 as argument.
37355 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37356 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 37357 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
37358 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37359 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37360 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37361 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37362 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37363 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37364
0396e69d
PB
373652012-04-17 Petr Baudis <pasky@ucw.cz>
37366
37367 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37368 with altivec.
37369
750b5926
MP
373702012-04-16 Marek Polacek <polacek@redhat.com>
37371
37372 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37373
751728a1
MP
373742012-04-16 Marek Polacek <polacek@redhat.com>
37375
37376 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37377 operands of fdivp instruction.
37378
34a27407
L
373792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37380
37381 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37382 * elf/tst-auditmod3b.c: Likewise.
37383 * elf/tst-auditmod4b.c: Likewise.
37384 * elf/tst-auditmod5b.c: Likewise.
37385 * elf/tst-auditmod6b.c: Likewise.
37386 * elf/tst-auditmod6c.c: Likewise.
37387 * elf/tst-auditmod7b.c: Likewise.
37388 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37389 * sysdeps/x86_64/preconfigure.in: Likewise.
37390 * sysdeps/x86_64/preconfigure: Regenerated.
37391
7e73e17d
L
373922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37393
37394 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37395 __ILP32__.
37396
c7a6ab72
AB
373972012-04-13 Antoine Balestrat <merkil33@gmail.com>
37398
37399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37400 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37401
a9e8e0e0
CL
374022012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37403
37404 [BZ #13973]
37405 * locale/iso-639.def: Fix gl language name. Spotted by
37406 Yaron Shahrabani.
37407
ec98af7d
RM
374082012-04-12 Roland McGrath <roland@hack.frob.com>
37409
37410 [BZ #2074]
37411 * libio/libio.h (__io_write_fn): Update comment.
37412
247c3ede
PB
374132012-04-12 Petr Baudis <pasky@ucw.cz>
37414
37415 [BZ #2074]
37416 * stdio.texi (Hook Functions): The user provided writer function
37417 is not allowed to return -1.
37418
55939d6d
DM
374192012-04-11 David S. Miller <davem@davemloft.net>
37420
37421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37422
90020f5a
MF
374232012-04-11 Mike Frysinger <vapier@gentoo.org>
37424
37425 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37426 Add a leading slash to rtkaio.
37427
288f9098
JM
374282012-04-11 Jim Meyering <meyering@redhat.com>
37429
90020f5a
MF
37430 [BZ #11959]
37431 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37432 It is not necessarily an error to ignore fwrite's return
37433 value. One can reliably use ferror to test for errors after
37434 the fact.
288f9098 37435
4be2b570
L
374362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37437
37438 * bits/types.h (__snseconds_t): New type.
37439 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37440
37441 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37442 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37443 (__SNSECONDS_T_TYPE): Likewise.
37444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37445 (__SNSECONDS_T_TYPE): Likewise.
37446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37447 (__SNSECONDS_T_TYPE): Likewise.
37448
288f9098 374492012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
37450
37451 [BZ #2636]
37452 * manual/time.texi (Processor Time): Return type of times is
37453 elapsed real time since an arbitrary point in the past.
37454 (CPU Time): Move CLK_TCK from here...
37455 (Processor Time): ...to here. Correct description.
37456 * manual/conf.texi (Constants for Sysconf): Correct description of
37457 _SC_CLK_TCK.
37458
d7dd4413
DM
374592012-04-10 David S. Miller <davem@davemloft.net>
37460
37461 [BZ #13967]
37462 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37463 where the is a gap between DT_REL(A) and DT_JMPREL.
37464
b46068fc
L
374652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37466
37467 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37468 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37469 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37470
73d65cc3
SP
374712012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37472
37473 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37474 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37475 (dl_main): Handle --inhibit-cache.
37476 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37477 _dl_inhibit_cache.
37478 * elf/dl-load.c (_dl_map_object): Use it.
37479 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37480
bcc8d661
JM
374812012-04-09 Joseph Myers <joseph@codesourcery.com>
37482
8f9a2fae
JM
37483 [BZ #13872]
37484 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37485 (__ieee754_powl): Saturate large exponents rather than testing for
37486 overflow of y*log2(x).
37487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37488 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37489 exceptions.
37490
bcc8d661
JM
37491 [BZ #11521]
37492 * math/s_ctan.c: Include <float.h>.
37493 (__ctan): Avoid internal overflow or cancellation in calculating
37494 denominator.
37495 * math/s_ctanf.c: Likewise.
37496 * math/s_ctanl.c: Likewise.
37497 * math/s_ctanh.c: Likewise.
37498 * math/s_ctanhf.c: Likewise.
37499 * math/s_ctanhl.c: Likewise.
37500 * math/libm-test.inc (ctan_test): Add more tests.
37501 (ctanh_test): Likewise.
37502 * sysdeps/i386/fpu/libm-test-ulps: Update.
37503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37504
823fbbb4
AJ
375052012-04-09 Andreas Jaeger <aj@suse.de>
37506
03879793
AJ
37507 [BZ #6894]
37508 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37509 is an optional BSD extension.
37510
823fbbb4
AJ
37511 [BZ #10254]
37512 * manual/stdio.texi (Opening Streams): Document additional fopen
37513 parameters.
37514
8de131cb
RM
375152012-04-09 Roland McGrath <roland@hack.frob.com>
37516
37517 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37518 %eax without telling the compiler.
37519
c0ed9d7d
CD
375202012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37521
37522 [BZ # 13963]
37523 * manual/install.texi: Use sourceware.org.
37524
c483f6b4
JM
375252012-04-09 Joseph Myers <joseph@codesourcery.com>
37526
d7dd9453
JM
37527 [BZ #13873]
37528 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37529 (__ieee754_pow): Generate overflow and underflow using huge*huge
37530 and tiny*tiny rather than just returning constant infinity or zero
37531 for large exponents.
37532 * math/libm-test.inc (pow_test): Require overflow exceptions for
37533 applicable cases of large exponents.
37534
c483f6b4
JM
37535 [BZ #706]
37536 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37537 (__ieee754_pow): Use iterative multiplication algorithm only for
37538 integer exponents with absolute value below 1024. Check for odd
37539 integer exponents when using algorithm for real exponents.
37540 * math/libm-test.inc (pow_test): Add more tests.
37541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37542
d2de7579
JM
375432012-04-08 Joseph Myers <joseph@codesourcery.com>
37544
37545 [BZ #13705]
37546 * math/libm-test.inc (exp_test): Do not allow overflow exception
37547 on underflow test.
37548
f77f1232
AJ
375492012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37550
37551 [BZ #13705]
37552 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37553 instead of __kernel_standard_f.
37554
3884932b
MF
375552012-04-08 Mike Frysinger <vapier@gentoo.org>
37556
37557 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37558 * sysdeps/x86_64/memset_chk.S: Likewise.
37559
54472e9c
AJ
375602012-04-08 Andreas Jaeger <aj@suse.de>
37561
6ab0fbfc
AJ
37562 [BZ #10153]
37563 * manual/startup.texi (Environment Access): Describe return value
37564 for putenv and setenv.
37565
61efba8c
AJ
37566 [BZ #6895]
37567 * manual/filesys.texi (Directory Entries): Add description for
37568 DT_LNK.
37569
95c3f29a
AJ
37570 [BZ #6890]
37571 * manual/filesys.texi (Directory Entries): Clarify that it's file
37572 system not operating system in the description of DT_UNKNOWN.
37573
54472e9c
AJ
37574 [BZ #6578]
37575 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37576
624254b1
SC
375772012-04-08 Stephen Compall <s11@member.fsf.org>
37578
37579 [BZ #6649]
37580 * manual/llio.texi (Opening and Closing Files): Add cross
37581 reference to explain mode argument.
37582
1e4920e0
MF
375832012-04-07 Mike Frysinger <vapier@gentoo.org>
37584
37585 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37586 * sysdeps/x86_64/memset_chk.S: Likewise.
37587
5ed848f3
DM
375882012-04-07 David S. Miller <davem@davemloft.net>
37589
37590 * elf/elf.h (R_SPARC_WDISP10): Define.
37591 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37592 R_SPARC_SIZE32.
37593 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37594 R_SPARC_SIZE64 and R_SPARC_H34.
37595
96154cd8
CD
375962012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37597
37598 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37599 conditions and remove no longer applicable assertion.
37600
9904dc47
L
376012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37602
37603 * bits/byteswap.h: Include <features.h>.
37604 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37605 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37606
f8887d0a
L
376072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37608
37609 * bits/byteswap.h (__bswap_16): Removed.
37610 Include <bits/byteswap-16.h> to get __bswap_16.
37611 * sysdeps/i386/bits/byteswap.h: Likewise.
37612 * sysdeps/s390/bits/byteswap.h: Likewise.
37613 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37614 * bits/byteswap-16.h: New file.
37615 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37616 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37617 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37618 * string/Makefile (headers): Add bits/byteswap-16.h.
37619
62470f60
PP
376202012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37621
37622 [BZ #13895]
37623 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37624 extra indirection.
37625 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37626 * nss/tst-nss-static.c: New.
37627
4dad7bab
RM
376282012-04-06 Robert Millan <rmh@gnu.org>
37629
37630 [BZ #6486]
37631 * manual/llio.texi (File Position Primitive): lseek
37632 refers to WHENCE when it really means OFFSET.
37633
e9142a17
AJ
376342012-04-06 Andreas Jaeger <aj@suse.de>
37635
2c040eff
AJ
37636 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37637 strncmp declarations.
37638
e9142a17
AJ
37639 * abilist/libc.abilist: Add __poll and __ppoll.
37640
ff9f1c5f
DM
376412012-04-05 David S. Miller <davem@davemloft.net>
37642
dcd2ae90
DM
37643 * scripts/check-local-headers.sh: Accept a host triplet in the
37644 path matched by the exclude regexp.
37645
993eb054
DM
37646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37647 definition.
37648 * sysdeps/powerpc/powerpc32/dl-machine.h
37649 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37650 * sysdeps/s390/s390-32/dl-machine.h
37651 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37652 * sysdeps/sparc/sparc32/dl-machine.h
37653 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37654 * sysdeps/sparc/sparc64/dl-machine.h
37655 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37656
ff9f1c5f
DM
37657 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37658 lazy binding.
48e2e132 37659 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37660 undefined symbol errors.
37661
48e2e132 37662 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37663 DT_NEEDED entries.
37664
e80d6f94
MM
376652012-04-05 Michael Matz <matz@suse.de>
37666
37667 [BZ #13592]
37668 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37669
349fa79f
AJ
376702012-04-05 Andreas Jaeger <aj@suse.de>
37671
37672 [BZ #13908]
37673 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37674 comment.
37675
f402708f
KK
376762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37677
37678 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37679 which ROUND is no valid rounding mode.
37680
2ecccfc9
KK
376812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37682
37683 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37684 read again.
37685 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37686
8a53f50f
KK
376872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37688
37689 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37690 an exception using FPU order intentionally.
37691
376922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37693
37694 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37695 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37696 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37697 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37698
d653abb7
SJ
376992012-04-05 Simon Josefsson <simon@josefsson.org>
37700
37701 [BZ #12340]
37702 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37703 EINVAL when BUFLEN is too smal.
37704
c3b1bf7d
TS
377052012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37706
37707 [BZ #13553]
37708 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37709 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37710
b1aa60f3
AJ
377112012-04-03 Andreas Jaeger <aj@suse.de>
37712
c3b1bf7d 37713 [BZ #13938]
67f60a26
AJ
37714 * manual/setjmp.texi (System V contexts): Fix sentence.
37715
b1aa60f3
AJ
37716 [BZ #13926]
37717 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37718 New macro for this case.
37719 [!__GNUC__] (__bswap_64): New inline function for this case.
37720 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37721 * bits/byteswap.h: Likewise.
37722 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37723 ull, guard with __GLIBC_HAVE_LONG_LONG.
37724
37725 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37726 __GLIBC_HAVE_LONG_LONG.
37727
37728 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37729 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37730
39c59c35
TMQMF
377312012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37732
37733 [BZ #13691]
37734 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37735 inptr and inend, rather than using last_ch.
37736
135ffda8
DM
377372012-04-02 David S. Miller <davem@davemloft.net>
37738
37739 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37740 * stdio-common/printf-parse.h (read_int): Change return type to
37741 'int', return -1 on INT_MAX overflow.
37742 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37743 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37744 overflows INT_MAX. Check for overflow of in-format-string precision
37745 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37746 SIZE_MAX not INT_MAX for integer overflow test.
37747 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37748 skip the construct in the format string but do not record anything.
37749 * stdio-common/bug22.c: Adjust to test both width/prevision
37750 INT_MAX overflow as well as total length INT_MAX overflow. Check
37751 explicitly for proper errno values.
37752
228c019e
TS
377532012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37754
302cadd3
TS
37755 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37756 CHAR_MAX.
37757 * string/test-strcmp.c [! WIDE]: Likewise.
37758 * time/tst-mktime2.c: Likewise for INT_MAX.
37759 * string/test-string.h: #include <sys/param.h> for MIN.
37760
228c019e
TS
37761 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37762 * sysdeps/i386/init-first.c (init): Likewise.
37763 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37764 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37765 * sysdeps/sh/init-first.c (init): Likewise.
37766
cfa633f5
UD
377672012-04-01 Ulrich Drepper <drepper@gmail.com>
37768
37769 * po/ru.po: Update from translation team.
d1635ef8 37770 * po/vi.po: Likewise.
cfa633f5 37771
6cd0a5ea
SP
377722012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37773
37774 * resolv/nss_dns/dns-host.c: Merge copyright years.
37775
4b43400f
LD
377762012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37777
37778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37779 Optimize memcpy with prefetch if
37780 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37781 src, dst pointers have unequal 16 byte alignments.
37782
48c41d04
SP
377832012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37784
37785 [BZ #13928]
37786 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37787 from a CNAME entry and return the minimum ttl for the query.
37788 (gaih_getanswer_slice): Likewise.
37789
b8dc394d
JL
377902012-03-30 Jeff Law <law@redhat.com>
37791
37792 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37793 due to long keys.
37794 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37795 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37796
2f5a5ed0
JL
37797 * resolv/nss_dns/dns-host.c: Update copyright year.
37798
1d39e359
UD
377992012-03-30 Ulrich Drepper <drepper@gmail.com>
37800
c030f70c 37801 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37802 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37803
1d39e359
UD
37804 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37805 comments for sendmmsg.
37806
378072012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37808
37809 [BZ #13691]
37810 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37811 with only 1 character between 0x0041 and 0x01b0.
37812 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37813 * wcsmbs/tst-mbsnrtowcs.c: New file.
37814
20fde227
DM
378152012-03-29 David S. Miller <davem@davemloft.net>
37816
37817 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37818 small copies by hand.
37819
984a4237
JL
378202012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37821
37822 [BZ #13761]
57f41c40
AS
37823 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37824 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37825 group memberships.
984a4237 37826
18c9d62b
DM
378272012-03-28 David S. Miller <davem@davemloft.net>
37828
88d85d4f
DM
37829 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37830 that branches into memcpy.
37831 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37833 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37834 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37836 bits.
37837 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37838 implementation too.
37839 * sysdeps/sparc/mempcpy.S: New file.
37840
e5aa83e1
DM
37841 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37842 the IFUNC routine in the libc case.
37843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37844
88570753
DM
37845 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37846 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37847 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37848 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37849 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37850 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37851 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37852 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37853
249d7567
DM
37854 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37855 loop to 256 bytes instead of 64 bytes and fix test signedness.
37856
18c9d62b
DM
37857 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37858 * sysdeps/sparc/sparc32/Makefile: rather than here...
37859 * sysdeps/sparc/sparc64/Makefile: and here.
37860
05f3d1f6
UD
378612012-03-28 Ulrich Drepper <drepper@gmail.com>
37862
37863 * malloc/mallocbug.c: Avoid warnings about unused variables.
37864
86ae07a8
JL
378652012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37866
37867 [BZ #13760]
37868 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37869 in the right place. Discard and retry query if response is
37870 larger than input buffer size.
37871
41bf21a1
JM
378722012-03-28 Joseph Myers <joseph@codesourcery.com>
37873
d6270972
JM
37874 [BZ #369]
37875 [BZ #2678]
37876 [BZ #3866]
37877 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37878 x for large integer exponent.
37879 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37880 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37881 sign of result as needed afterwards.
37882 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37883 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37884 result for underflowing pow the same as for overflow.
37885 (__kernel_standard_l): Handle powl overflow and underflow here
37886 rather than calling __kernel_standard.
37887 * math/libm-test.inc (pow_test): Add more tests.
37888
414fca03 37889 [BZ #3868]
41bf21a1
JM
37890 [BZ #13879]
37891 [BZ #13910]
37892 [BZ #13911]
37893 [BZ #13912]
37894 [BZ #13913]
37895 [BZ #13915]
37896 [BZ #13916]
37897 [BZ #13917]
37898 [BZ #13918]
37899 [BZ #13919]
37900 [BZ #13920]
37901 [BZ #13921]
37902 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37903 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37904 (__kernel_standard_l): New function.
37905 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37906 __kernel_standard.
37907 * math/w_acosl.c (__acosl): Likewise.
37908 * math/w_asinl.c (__asinl): Likewise.
37909 * math/w_atan2l.c (__atan2l): Likewise.
37910 * math/w_atanhl.c (__atanhl): Likewise.
37911 * math/w_coshl.c (__coshl): Likewise.
37912 * math/w_exp10l.c (__exp10l): Likewise.
37913 * math/w_exp2l.c (__exp2l): Likewise.
37914 * math/w_fmodl.c (__fmodl): Likewise.
37915 * math/w_hypotl.c (__hypotl): Likewise.
37916 * math/w_j0l.c (__j0l, __y0l): Likewise.
37917 * math/w_j1l.c (__j1l, __y1l): Likewise.
37918 * math/w_jnl.c (__jnl, __ynl): Likewise.
37919 * math/w_lgammal.c (__lgammal): Likewise.
37920 * math/w_log10l.c (__log10l): Likewise.
37921 * math/w_log2l.c (__log2l): Likewise.
37922 * math/w_logl.c (__logl): Likewise.
37923 * math/w_powl.c (__powl): Likewise.
37924 * math/w_remainderl.c (__remainderl): Likewise.
37925 * math/w_scalbl.c (sysv_scalbl): Likewise.
37926 * math/w_sinhl.c (__sinhl): Likewise.
37927 * math/w_sqrtl.c (__sqrtl): Likewise.
37928 * math/w_tgammal.c (__tgammal): Likewise.
37929 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37930 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37931 * math/libm-test.inc (acos_test): Add more tests.
37932 (acosh_test): Likewise.
37933 (asin_test): Likewise.
37934 (atanh_test): Likewise.
37935 (exp_test): Likewise.
37936 (exp10_test): Likewise.
37937 (exp2_test): Likewise.
37938 (expm1_test): Likewise.
37939 (lgamma_test): Likewise.
37940 (log_test): Likewise.
37941 (log10_test): Likewise.
37942 (log1p_test): Likewise.
37943 (log2_test): Likewise.
37944 (pow_test): Do not allow some spurious overflow exceptions.
37945 (sqrt_test): Add more tests.
37946 (tgamma_test): Likewise.
37947 (y0_test): Likewise.
37948 (y1_test): Likewise.
37949 (yn_test): Likewise.
37950
dd62fda6
AB
379512012-03-27 Anton Blanchard <anton@samba.org>
37952
37953 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37954 MAP_HUGETLB.
37955 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37956 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37957 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37958
1e3cdfda
AJ
379592012-03-27 David S. Miller <davem@davemloft.net>
37960
b855ab85
DM
37961 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37962
1e3cdfda
AJ
37963 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37964 have-as-vis3 check.
37965
379662012-03-27 Andreas Jaeger <aj@suse.de>
37967
37968 * sysdeps/x86_64/elf/configure.in: Moved to ...
37969 * sysdeps/x86_64/configure.in: ... here.
37970 * sysdeps/x86_64/elf/start.S: Moved to ...
37971 * sysdeps/x86_64/start.S: ... here.
37972 * sysdeps/x86_64/elf/configure: Delete.
37973
37974 * sysdeps/x86_64/configure.in: Merge contents from
37975 sysdeps/i386/configure.in (without i686 check).
37976
37977 * sysdeps/i386/elf/Versions: Merge into ...
37978 * sysdeps/i386/Versions: ... this.
37979 * sysdeps/i386/elf/Versions: Delete file.
37980 * sysdeps/i386/elf/start.S: Moved to ...
37981 * sysdeps/i386/start.S: ...here.
37982 * sysdeps/i386/elf/configure.in: Merge into...
37983 * sysdeps/i386/configure.in: ...here.
37984 * sysdeps/i386/elf/configure.in: Delete file.
37985 * sysdeps/i386/elf/configure: Delete file.
37986
37987 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37988 * debug/backtracesyms.c: ... here.
37989 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37990 * debug/backtracesymsfd.c: ... here.
37991 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37992 * sysdeps/generic/ifunc-sel.h: ... here.
37993
37994 * sysdeps/unix/i386/start.c: Delete file.
37995 * sysdeps/unix/sparc/start.c: Delete file.
37996 * sysdeps/unix/start.c: Delete file.
37997
37998 * sysdeps/sh/elf/configure.in: Moved to ...
37999 * sysdeps/sh/configure.in: ... here.
38000 * sysdeps/sh/elf/start.S: Moved to ...
38001 * sysdeps/sh/start.S: ... here.
38002 * sysdeps/sh/elf/configure: Delete file.
38003
38004 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38005 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38006 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38007 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38008 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38009 * sysdeps/powerpc/powerpc64/start.S: here.
38010 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38011 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38012 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38013 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38014 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38015
38016 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38017 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38018 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38019 * sysdeps/powerpc/powerpc32/start.S: ... here.
38020 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38021 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38022 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38023
38024 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38025 * sysdeps/powerpc/ifunc-sel.h: ... here.
38026 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38027 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38028
38029 * sysdeps/sparc/elf/configure.in: Moved to ...
38030 * sysdeps/sparc/configure.in: ... here.
38031 * sysdeps/sparc/elf/configure: Delete file.
38032 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38033 * sysdeps/sparc/sparc32/start.S: ... here.
38034 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38035 * sysdeps/sparc/sparc64/start.S: ... here.
38036 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38037 * sysdeps/sparc/sparc32/Makefile: ... this.
38038 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38039 * sysdeps/sparc/sparc64/Makefile: ... this.
38040
38041 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38042 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38043 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38044 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38045 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38046 * sysdeps/s390/s390-32/setjmp.S: ... here.
38047 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38048 * sysdeps/s390/s390-32/configure.in: ... here.
38049 * sysdeps/s390/s390-32/elf/configure: Delete file.
38050 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38051 * sysdeps/s390/s390-32/start.S: ... here.
38052
38053 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38054 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38055 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38056 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38057 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38058 * sysdeps/s390/s390-64/setjmp.S: ... here.
38059 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38060 * sysdeps/s390/s390-64/configure.in: ... here
38061 * sysdeps/s390/s390-64/elf/configure: Delete file.
38062 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38063 * sysdeps/s390/s390-64/start.S: ... here.
38064 * sysdeps/s390/s390-64/elf/configure: Delete.
38065
38066 * configure.in: Remove support for elf directories in sysdeps.
38067
38068 * configure: Regenerated.
38069 * sysdeps/i386/configure: Regenerated.
38070 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38071 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38072 * sysdeps/s390/s390-32/configure: Regenerated.
38073 * sysdeps/s390/s390-64/configure: Regenerated.
38074 * sysdeps/sh/configure: Regenerated.
38075 * sysdeps/sparc/configure: Regenerated.
38076 * sysdeps/x86_64/configure: Regenerated.
38077
a3f61311
AS
380782012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38079
c876e002
AS
38080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38081
a3f61311
AS
38082 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38083 denormal result into account.
38084
ac4c54f0
RM
380852012-03-25 Roland McGrath <roland@hack.frob.com>
38086
38087 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38088 Reported by Allan McRae <allan@archlinux.org>.
38089
6a9b9c02
JL
380902012-03-23 Jeff Law <law@redhat.com>
38091
38092 * nss/getnssent.c (__nss_getent): Fix typo.
38093
4c42a0c1
DM
380942012-03-23 David S. Miller <davem@davemloft.net>
38095
38096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38097
1532c7ac
L
380982012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38099
38100 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38101 to pad to uint64_t for each field.
38102 (dl_tls_index): Replace unsigned long with uint64_t.
38103
3ff42526
PP
381042012-03-23 Daniel Jacobowitz <dmj@google.com>
38105 Paul Pluzhnikov <ppluzhnikov@google.com>
38106
38107 [BZ #6528]
38108 * grp/Makefile (otherlibs): Don't set it.
38109 * inet/Makefile (otherlibs): Likewise.
38110 * login/Makefile (otherlibs): Likewise.
38111 * nscd/Makefile (otherlibs): Likewise.
38112 * posix/Makefile (otherlibs): Likewise.
38113 * pwd/Makefile (otherlibs): Likewise.
38114 * rt/Makefile (otherlibs): Likewise.
38115 * sunrpc/Makefile (otherlibs): Likewise.
38116 * nss/Makefile (otherlibs): Likewise.
38117 Add libnss_files to routines and static-only-routines.
38118 ($(objpfx)getent): Remove rule.
38119 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38120 static-only-routines.
38121
7c69cd14
JM
381222012-03-22 Joseph Myers <joseph@codesourcery.com>
38123
38124 [BZ #13892]
38125 * math/s_cexp.c: Include <float.h>.
38126 (__cexp): Handle exp result overflowing not necessarily
38127 overflowing both real and imaginary parts of result.
38128 * math/s_cexpf.c: Likewise.
38129 * math/s_cexpl.c: Likewise.
38130 * math/libm-test.inc (cexp_test): Add more tests.
38131 * sysdeps/i386/fpu/libm-test-ulps: Update.
38132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38133
81b035fe
L
381342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38135
38136 * include/link.h (ELFW): New macro.
38137 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38138 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38139
1da7940c
L
381402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38141
38142 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38143 with uint64_t.
38144
b749dbb9
L
381452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38146
38147 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38148 declaration.
38149 (struct La_x32_retval): Likewise.
38150
2ff87f3f
L
381512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38152
38153 * sysdeps/x86_64/preconfigure.in: New file.
38154 * sysdeps/x86_64/preconfigure: New generated file.
38155
c0df8e69
JM
381562012-03-22 Joseph Myers <joseph@codesourcery.com>
38157
48e44791
JM
38158 [BZ #13824]
38159 * math/e_exp2l.c: Include <float.h>.
38160 (__ieee754_exp2l): Handle overflow and underflow cases
38161 separately. Only pass fractional part of argument to
38162 __ieee754_expl.
38163 * math/libm-test.inc (exp2_test): Add more tests.
38164
c0df8e69
JM
38165 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38166 negating x to take absolute value.
38167 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38168 Likewise.
38169 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38170 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38171 Likewise.
38172 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38173 computing low part if x was negated.
38174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38175
c8e43ba7
L
381762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38177
38178 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38179 la_x32_gnu_pltexit.
38180 (pltexit): Cast int_retval to ptrdiff_t.
38181 * elf/tst-auditmod3b.c: Likewise.
38182 * elf/tst-auditmod4b.c: Likewise.
38183 * elf/tst-auditmod5b.c: Likewise.
38184 * elf/tst-auditmod6b.c: Likewise.
38185 * elf/tst-auditmod6c.c: Likewise.
38186 * elf/tst-auditmod7b.c: Likewise.
38187
38188 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38189 and x32_gnu_pltexit.
38190
38191 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38192 __ELF_NATIVE_CLASS.
38193 (La_x32_regs): New macro.
38194 (La_x32_retval): Likewise.
38195 (la_x32_gnu_pltenter): New function prototype.
38196 (la_x32_gnu_pltexit): Likewise.
38197
7998fa78
AS
381982012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38199
dcb33988
AS
38200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38201 exponent.
38202
233fc563
AS
38203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38204
7998fa78
AS
38205 * configure.in (libc_cv_cc_nofma): Check for option to disable
38206 generation of FMA instructions.
38207 * configure: Regenerate.
38208 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38209 * sysdeps/ieee754/dbl-64/Makefile: New file.
38210 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38211 Remove brandred-fma4.
38212 (CFLAGS-brandred-fma4.c): Remove.
38213 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38214 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38215 define.
38216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38217 define.
38218
8e95c99a
L
382192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38220
38221 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38222 LLONG_MAX != LONG_MAX.
38223 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38224 (_fitoa_word): Likewise.
38225 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38226 LLONG_MAX != LONG_MAX.
38227 * stdio-common/_itowa.h: Include <_itoa.h>.
38228 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38229 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38230 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38231 only if not defined.
38232 (_ITOA_WORD_TYPE): Likewise.
38233 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38234 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38235
6f4db457
DM
382362012-03-21 David S. Miller <davem@davemloft.net>
38237
38238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38239
7785fe5a
L
382402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38241
38242 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38243 of x86_64 when setting libc_cv_slibdir, libdir and
38244 libc_cv_localedir.
38245 * sysdeps/unix/sysv/linux/configure: Regenerated.
38246
4535cd55
JM
382472012-03-21 Joseph Myers <joseph@codesourcery.com>
38248
38249 * manual/lang.texi (Old Varargs): Remove section.
38250 (How Variadic): Update menu.
38251 (va_start): Do not mention varargs.h.
38252
17228132
TS
382532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38254 Joseph Myers <joseph@codesourcery.com>
38255
38256 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38257 link test.
38258 * configure: Regenerated.
38259
8149f976
TS
382602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38261
05f3d1f6
UD
38262 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38263 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38264 conformtest.pl
8149f976 38265
1a4ac776
JM
382662012-03-21 Joseph Myers <joseph@codesourcery.com>
38267
be22ce65
JM
38268 * NOTES: Remove.
38269 * Makefile (files-for-dist): Remove NOTES.
38270 (NOTES): Remove rule.
38271 * README: Don't refer to NOTES.
38272 * manual/creature.texi: Don't include macros.texi.
38273 * manual/intro.texi (creature.texi): Remove comment referring to
38274 NOTES.
38275
40b601fb
JM
38276 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38277 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38278 * configure: Regenerated.
38279 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38280 LIBC_TRY_CC_OPTION.
38281 (libc_cv_as_i686): Likewise.
38282 (libc_cv_cc_avx): Likewise.
38283 (libc_cv_cc_sse2avx): Likewise.
38284 (libc_cv_cc_fma4): Likewise.
38285 (libc_cv_cc_novzeroupper): Likewise.
38286 * sysdeps/i386/configure: Regenerated.
38287
1a4ac776
JM
38288 [BZ #13883]
38289 * sysdeps/i386/fpu/s_cexp.S: Remove.
38290 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38291 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38292 * math/libm-test.inc (cexp_test): Add more tests.
38293 * sysdeps/i386/fpu/libm-test-ulps: Update.
38294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38295
a458e7fe
AM
382962012-03-21 Allan McRae <allan@archlinux.org>
38297
38298 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38299
0cb7efc5
JM
383002012-03-21 Joseph Myers <joseph@codesourcery.com>
38301
38302 [BZ #13871]
38303 * math/w_exp2.c: Do not include <float.h>.
38304 (o_threshold, u_threshold): Remove.
38305 (__exp2): Calculate result before checking finiteness and calling
38306 __kernel_standard.
38307 * math/w_exp2f.c: Likewise.
38308 * math/w_exp2l.c: Likewise.
38309 * math/libm-test.inc (exp2_test): Require overflow exception for
38310 1e6 input.
2460d3aa
JM
38311
38312 [BZ #3866]
38313 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38314 range of signed 64-bit integers before using fistpll. Remove
38315 checks for whether integers fit in mantissa bits.
38316 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38317 the range of signed 32-bit integers before using fistpl. Remove
38318 checks for whether integers fit in mantissa bits.
38319 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38320 (__ieee754_powl): Test for y outside the range of signed 64-bit
38321 integers before using fistpll. Reduce 64-bit values to 63-bit
38322 ones as needed.
38323 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38324 divide-by-zero is raised for zero to large negative powers.
38325 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38326 (__ieee754_powl): Test for y outside the range of signed 64-bit
38327 integers before using fistpll. Reduce 64-bit values to 63-bit
38328 ones as needed.
38329 * math/libm-test.inc (pow_test): Add more tests.
38330
eb96ffb0
L
383312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38332
38333 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38334 <stdio-common/_itoa.h>.
38335 * debug/segfault.c: Likewise.
38336 * elf/dl-cache.c: Likewise.
38337 * elf/dl-minimal.c: Likewise.
38338 * elf/dl-misc.c: Likewise.
38339 * elf/dl-sysdep.c: Likewise.
38340 * elf/dl-version.c: Likewise.
38341 * elf/rtld.c: Likewise.
38342 * hurd/hurdsock.c: Likewise.
38343 * hurd/lookup-retry.c: Likewise.
38344 * malloc/malloc.c: Likewise.
38345 * malloc/mtrace.c: Likewise.
38346 * nscd/nscd_getgr_r.c: Likewise.
38347 * nscd/nscd_getpw_r.c: Likewise.
38348 * nscd/nscd_getserv_r.c: Likewise.
38349 * posix/getopt_init.c: Likewise.
38350 * posix/wordexp.c: Likewise.
38351 * stdio-common/_itoa.c: Likewise.
38352 * stdio-common/printf_fphex.c: Likewise.
38353 * stdio-common/vfprintf.c: Likewise.
38354 * string/_strerror.c: Likewise.
38355 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38356 * sysdeps/i386/i686/hp-timing.h: Likewise.
38357 * sysdeps/mach/_strerror.c: Likewise.
38358 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38359 * sysdeps/mach/hurd/sethostid.c: Likewise.
38360 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38361 * sysdeps/mach/xpg-strerror.c: Likewise.
38362 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38363 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38364 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38365 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38366 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38367 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38368 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38369 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38370 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38371 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38372 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38373 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38374 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38375 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38376 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38377 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38378 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38379 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38380 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38381 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38382 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38383
38384 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38385
38386 * stdio-common/_itoa.h: Moved to ...
38387 * sysdeps/generic/_itoa.h: Here.
38388
38389 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38390
38391 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38392 instead of "_itoa.h" and "_itowa.h".
38393 * stdio-common/vfprintf.: Likewise.
38394
d1af992d
L
383952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38396
38397 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38398 <bits/wordsize.h>.
38399 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38400 (__signbit): Likwise.
38401 (llrintf): Likwise.
38402 (llrint): Likwise.
38403
114883e0
L
384042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38405
38406 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38407 __WORDSIZE != 64.
38408
c135cc1b
JM
384092012-03-20 Joseph Myers <joseph@codesourcery.com>
38410
38411 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38412 OVERFLOW_EXCEPTION_OK.
38413 * math/libm-test.inc ("Philosophy"): Update comment about
38414 exception testing.
38415 (OVERFLOW_EXCEPTION): Define.
38416 (OVERFLOW_EXCEPTION_OK): Likewise.
38417 (INVALID_EXCEPTION_OK): Renumber.
38418 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38419 (IGNORE_ZERO_INF_SIGN): Likewise.
38420 (test_exceptions): Handle FE_OVERFLOW.
38421 (exp10_test): Expect overflow exceptions.
38422 (exp2_test): Likewise.
38423 (expm1_test): Likewise.
38424 (nextafter_test): Likewise.
38425 (pow_test): Likewise.
38426 (scalbn_test): Likewise.
38427 (scalbln_test): Likewise.
38428
95443d88
L
384292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38430
38431 * sysdeps/x86_64/bits/atomic.h
38432 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38433 64bit integer.
38434 (atomic_exchange_acq): Likewise.
38435 (__arch_exchange_and_add_body): Likewise.
38436 (__arch_add_body): Likewise.
38437 (atomic_add_negative): Likewise.
38438 (atomic_add_zero): Likewise.
38439
490df6c4
L
384402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38441
c2722551 38442 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
38443 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38444
5e52b189
L
384452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38446
38447 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38448 Check __x86_64__ instead of __WORDSIZE.
38449
a9879d4c
L
384502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38451
38452 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38453
5df98260
DM
384542012-03-19 David S. Miller <davem@davemloft.net>
38455
e1497744
DM
38456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38457
5df98260
DM
38458 * sysdeps/sparc/fpu/fenv_private.h: New file.
38459 * sysdeps/sparc/fpu/math_private.h: Use it.
38460 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38461 Remove.
57f41c40 38462 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38463 (libc_feholdexcept_setroundl): Remove.
38464 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38465 Remove.
38466 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38467 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38468
b4c35121
L
384692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38470
38471 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38472 int64_t instead of long int.
38473 (INSERT_WORDS64): Likwise.
38474
56965fd7
L
384752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38476
38477 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38478 _Unwind_GetCFA return to _Unwind_Ptr first.
38479
83d1aec8
JM
384802012-03-19 Joseph Myers <joseph@codesourcery.com>
38481
1897ad44
JM
38482 [BZ #13629]
38483 * math/s_clog.c: Include <float.h>.
38484 (__clog): Scale large or subnormal inputs.
38485 * math/s_clogf.c: Likewise.
38486 * math/s_clogl.c: Likewise.
38487 * math/s_clog10.c: Include <float.h>.
38488 (M_LOG10_2): Define.
38489 (__clog10): Scale large or subnormal inputs.
38490 * math/s_clog10f.c: Likewise.
38491 * math/s_clog10l.c: Likewise.
38492 * math/libm-test.inc (clog_test): Add more tests.
38493 (clog10_test): Likewise.
38494 * sysdeps/i386/fpu/libm-test-ulps: Update.
38495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38496
7726d6a9
JM
38497 [BZ #11451]
38498 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38499 x and y.
38500 * math/libm-test.inc (atan2_test): Add another test.
38501
83d1aec8
JM
38502 * Makerules (common-objdir-compile): Remove.
38503 * sysdeps/unix/Makefile (config-generated): Do not add
38504 $(unix-generated) to variable.
38505 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38506 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38507 Remove rule.
38508 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38509 Likewise.
38510 [generic bits/local_lim.h] (before-compile): Do not append to
38511 variable.
38512 [generic bits/local_lim.h] (common-generated): Likewise.
38513 [generic sys/param.h] (before-compile): Do not append to variable.
38514 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38515 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38516 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38517 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38518 include.
38519 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38520 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38521 [generic sys/param.h] ($(addprefix
38522 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38523 [generic sys/param.h] (common-generated): Do not append to
38524 variable.
38525 [generic sys/param.h] (sysdep_headers): Likewise.
38526 [generic bits/errno.h] (before-compile): Do not append to
38527 variable.
38528 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38529 rule.
38530 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38531 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38532 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38533 [generic bits/errno.h] (common-generated): Do not append to
38534 variable.
38535 [generic bits/ioctls.h] (before-compile): Do not append to
38536 variable.
38537 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38538 rule.
38539 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38540 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38541 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38542 rule.
38543 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38544 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38545 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38546 [generic bits/ioctls.h] (common-generated): Do not append to
38547 variable.
38548 [generic sys/syscall.h] (syscall.h): Remove variable.
38549 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38550 rule.
38551 [generic sys/syscall.h] (before-compile): Do not append to
38552 variable.
38553 [generic sys/syscall.h] (common-generated): Likewise.
38554 * sysdeps/unix/errnos-tmpl.c: Remove file.
38555 * sysdeps/unix/errnos.awk: Likewise.
38556 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38557 * sysdeps/unix/ioctls.awk: Likewise.
38558 * sysdeps/unix/mk-local_lim.c: Likewise.
38559 * sysdeps/unix/snarf-ioctls: Likewise.
38560
4851a949
RH
385612012-03-19 Richard Henderson <rth@twiddle.net>
38562
bd37f2ee
RH
38563 * sysdeps/i386/fpu/fenv_private.h: New file.
38564 * sysdeps/i386/fpu/math_private.h: Use it.
38565 (math_opt_barrier, math_force_eval): Remove.
38566 (libc_feholdexcept_setround_53bit): Remove.
38567 (libc_feupdateenv_53bit): Remove.
38568 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38569 (math_opt_barrier, math_force_eval): Remove.
38570 (libc_feholdexcept): Remove.
38571 (libc_feholdexcept_setround): Remove.
38572 (libc_fetestexcept, libc_fesetenv): Remove.
38573 (libc_feupdateenv_test): Remove.
38574 (libc_feupdateenv, libc_feholdsetround): Remove.
38575 (libc_feresetround): Remove.
38576
d0adc922
RH
38577 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38578 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38579
0fe0f1f8
RH
38580 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38581 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38582 (libc_feupdateenv_testl): New.
38583 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38584 (libc_feupdateenv_testf): New.
38585 (libc_feupdateenv): Use libc_feupdateenv_test.
38586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38587 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38588
eb92c487
RH
38589 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38590 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38591 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38592 (libc_feresetround_noex): New.
38593 (libc_feresetround_noexf): New.
38594 (libc_feresetround_noexl): New.
38595 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38596 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38597 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38598 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38599 SET_RESTORE_ROUND.
38600 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38601 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38602 (__cos): Likewise.
38603 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38604 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38605 SET_RESTORE_ROUND_NOEX.
38606 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38607 SET_RESTORE_ROUND_NOEXF.
38608 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38609 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38610 (libc_feholdsetroundf): New.
38611 (libc_feresetround, libc_feresetroundf): New.
38612
7d2e8012
RH
38613 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38614 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38615 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38616
b4dabbb4
RH
38617 * sysdeps/generic/math_private.h: Include <fenv.h>.
38618 (default_libc_feholdexcept): New.
38619 (default_libc_feholdexcept_setround): New.
38620 (default_libc_fesetenv, default_libc_feupdateenv): New.
38621 (libc_feholdexcept): Only define if undefined.
38622 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38623 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38624 (libc_feholdexcept_setroundl): Likewise.
38625 (libc_feholdexcept_setround_53bit): Likewise.
38626 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38627 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38628 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38629 (libc_feupdateenv_53bit): Likewise.
38630 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38631 (libc_feholdexcept): Convert from macro to inline function.
38632 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38633 (libc_fesetenv, libc_feupdateenv): Likewise.
38634
4851a949
RH
38635 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38636 not previously defined.
38637 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38638 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38639 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38640 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38641 * sysdeps/ieee754/flt-32/math_private.h: New file.
38642 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38643 math_private.h below SET_FLOAT_WORD.
38644 (__isnan, __isinf_ns, __finite): Remove.
38645 (__isnanf, __isinf_nsf, __finitef): Remove.
38646
e79d442e
AS
386472012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38648
38649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38650
90b80344
DM
386512012-03-17 David S. Miller <davem@davemloft.net>
38652
38653 [BZ #6471]
38654 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38655 for 2.16.
38656
edc21804
DM
386572012-03-16 David S. Miller <davem@davemloft.net>
38658
77e927af
DM
38659 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38660 warnings.
38661
374976dd
DM
38662 [BZ #6471]
38663 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38664 properly.
38665 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38666 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38667 sysdep_routines when subdir is sysvipc.
38668 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38669 __getshmlba helper.
38670
edc21804
DM
38671 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38672
473c3ef3
L
386732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38674
38675 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38676 [__LP64__].
38677
eb0f39b6
L
386782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38679
38680 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38681 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38682 (__lround): Renamed to ...
38683 (__llround): This. Replace long int with long long int.
38684 Define lround functions as aliases of llround functions.
38685 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38686
6b6cd74b
L
386872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38688
38689 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38690 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38691 adresses to uintptr_t. Replace "long int" and "unsigned long
38692 int" with "greg_t" on va_arg.
38693
f1a77b01
L
386942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38695
38696 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38697 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38698
38699 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38700 Move e_machine check before EI_CLASS check. Handle x32
38701 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38702 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38703 SKIP_EM_IA_64 and include
38704 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38705
38706 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38707 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38708 (add_system_dir): New macro.
38709
38710 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38711 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38712
11b90b9f
JM
387132012-03-16 Joseph Myers <joseph@codesourcery.com>
38714
c36e1d23
JM
38715 [BZ #2551]
38716 [BZ #2552]
38717 [BZ #2553]
38718 [BZ #2554]
38719 [BZ #2562]
38720 [BZ #2563]
38721 [BZ #2565]
38722 [BZ #2566]
38723 [BZ #2576]
38724 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38725 (y0): Likewise.
38726 * math/w_j0f.c (j0f): Likewise.
38727 (y0f): Likewise.
38728 * math/w_j0l.c (__j0l): Likewise.
38729 (__y0l): Likewise.
38730 * math/w_j1.c (j1): Likewise.
38731 (y1): Likewise.
38732 * math/w_j1f.c (j1f): Likewise.
38733 (y1f): Likewise.
38734 * math/w_j1l.c (__j1l): Likewise.
38735 (__y1l): Likewise.
38736 * math/w_jn.c (jn): Likewise.
38737 (yn): Likewise.
38738 * math/w_jnf.c (jnf): Likewise.
38739 (ynf): Likewise.
38740 * math/w_jnl.c (__jnl): Likewise.
38741 (__ynl): Likewise.
38742 * math/libm-test.inc (j0_test): Add more tests.
38743 (j1_test): Likewise.
38744 (jn_test): Likewise. Add trailing semicolon to existing test.
38745 (y0_test): Likewise.
38746 (y1_test): Likewise.
38747 * sysdeps/i386/fpu/libm-test-ulps: Update.
38748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38749
11b90b9f
JM
38750 [BZ #13851]
38751 [BZ #13854]
38752 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38753 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38754 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38755 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38756 (__tanl): Set errno for infinite argument.
38757 * sysdeps/i386/fpu/mptan.c: Remove.
38758 * sysdeps/i386/fpu/s_tan.S: Likewise.
38759 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38760 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38761 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38762 * math/libm-test.inc (tan_test): Add more tests and enable more
38763 tests for double and long double.
38764 * sysdeps/i386/fpu/libm-test-ulps: Update.
38765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38766
6a1bd2a1
JK
387672012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38768
38769 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38770 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38771
10a803e0
RM
387722012-03-16 Roland McGrath <roland@hack.frob.com>
38773
38774 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38775 * configure.in: Use it for both main tree and add-ons.
38776 * configure: Regenerated.
38777
f196c7f7
L
387782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38779
38780 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38781
8848d99d
JM
387822012-03-16 Joseph Myers <joseph@codesourcery.com>
38783
96cbe7f4
JM
38784 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38785 in comment.
38786
8848d99d
JM
38787 [BZ #13851]
38788 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38789 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38791 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38793 infinite argument.
38794 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38796 != 0 for prec == 2.
38797 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38798 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38799 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38800 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38801 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38802 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38803 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38804 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38805 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38806 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38807 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38808 * math/libm-test.inc (cos_test): Add more tests and enable more
38809 tests for long double.
38810 (sin_test): Likewise.
38811 (sincos_test): Likewise.
38812 * sysdeps/i386/fpu/libm-test-ulps: Update.
38813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38814
dd7f4703
DM
388152012-03-16 David S. Miller <davem@davemloft.net>
38816
38817 * sysdeps/sparc/fpu/math_private.h: New file.
38818
006f1daa
DM
388192012-03-15 David S. Miller <davem@davemloft.net>
38820
c0c83bc8
DM
38821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38822 file.
e6a62e18 38823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38825 file.
e6a62e18
DM
38826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38832 sysdep routines.
38833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38834
88cb87d9
DM
38835 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38836 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38837
006f1daa 38838 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38840 sparc-ifunc.h
006f1daa 38841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38843 Likewise.
38844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38845 Likewise.
006f1daa
DM
38846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38850 Likewise.
006f1daa
DM
38851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38856 Likewise.
38857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38858 Likewise.
006f1daa
DM
38859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38883
11e0098e
AS
388842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38885
38886 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38887 scaling.
38888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38889
e85b09d0
AJ
388902012-03-15 Andreas Jaeger <aj@suse.de>
38891
38892 [BZ #13852]
38893 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38894 ieee754/flt-32 implementation for sin, cos and sincos.
38895 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38896 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38897 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38898 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38899 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38900 ieee754/flt-32 implementation for tan.
38901
38902 * math/libm-test.inc (cos_test): Enable some large input tests for
38903 float as well
38904 (sin_test): Likewise.
38905 (sincos_test): Likewise.
38906 (tan_test): Add tests for large input.
38907
38908 * sysdeps/i386/fpu/libm-test-ulps: Update.
38909
81c64153
AJ
389102012-03-15 Andreas Jaeger <aj@suse.de>
38911
38912 [BZ #13658]
38913 * math/libm-test.inc (cos_test): Add more test cases.
38914 (sin_test): Likewise.
38915 (sincos_test): Likewise.
38916
7bbfa5c6
AJ
389172012-03-15 Andreas Jaeger <aj@suse.de>
38918
38919 [BZ #13837]
38920 * math/libm-test.inc (cos_test): Add a test case for large input
38921 value.
38922 (sin_test): Likewise.
38923 (sincos_test): Likewise.
38924
57f41c40
AS
389252012-03-15 Andreas Jaeger <aj@suse.de>
38926 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38927
38928 [BZ #13658]
0671f479 38929 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38930 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38931 * sysdeps/i386/fpu/branred.c: Likewise.
38932 * sysdeps/i386/fpu/dosincos.c: Likewise.
38933 * sysdeps/i386/fpu/mpa.c: Likewise.
38934 * sysdeps/i386/fpu/s_cos.S: Likewise.
38935 * sysdeps/i386/fpu/s_sin.S: Likewise.
38936 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38937 * sysdeps/i386/fpu/sincos32.c: Likewise.
38938
38939 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38940 Define.
38941 (libc_feupdateenv_53bit): Define.
38942 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38943 Define.
38944 (libc_feupdateenv_53bit): Define.
38945
38946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38947 53 bit (without extend i386 double precision).
38948
38949 * math/libm-test.inc (sincos_test): Add tests for large input.
38950 (sin): Likewise.
38951 (cos): Likewise.
38952
38953 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38954
9cad04ea
AS
389552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38956
38957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38958
f7062b9a
DM
389592012-03-15 David S. Miller <davem@davemloft.net>
38960
38961 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38962 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38963 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38964 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38977 file.
f7062b9a 38978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38980 file.
f7062b9a 38981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38983 file.
f7062b9a 38984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38986 file.
f7062b9a
DM
38987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38989 fmin/fmax sysdep routines.
38990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38991
7bd951ff
DM
389922012-03-14 David S. Miller <davem@davemloft.net>
38993
559398ab
DM
38994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39000 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39001 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39016 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39017 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39022 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39023 routines.
39024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39025 file.
559398ab 39026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39028 file.
559398ab 39029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39031 file.
559398ab 39032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39034 file.
559398ab 39035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39037 file.
559398ab 39038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39040 file.
39041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39042 file.
39043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39044 file.
39045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39046 file.
39047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39048 New file.
39049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39050 file.
39051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39052 file.
559398ab 39053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39055 file.
559398ab 39056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39058 file.
559398ab 39059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39061 file.
559398ab 39062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39064 VIS3 routines.
559398ab
DM
39065
39066 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39067 New file.
39068
5a1c1e32
DM
39069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39070
eae47a36
DM
39071 * sysdeps/sparc/configure.in: New file.
39072 * sysdeps/sparc/configure: Generate.
39073 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39074 * configure: Regenerate.
39075 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39076 * config.make.in (have-as-vis3): New.
39077 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39078 available use -Av9d instead of -Av9a.
39079 * sysdeps/sparc/sparc64/Makefile: Likewise.
39080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39082 New file.
39083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39084 file.
39085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39086 New file.
39087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39088 file.
eae47a36
DM
39089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39093 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39094
c0c83bc8
DM
39095 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39096 fzeros/fnegs to load 0x80000000 into a float register instead of
39097 using the stack.
7bd951ff
DM
39098 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39099
bd951ccb
JM
391002012-03-14 Joseph Myers <joseph@codesourcery.com>
39101
39102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39103 bits/syscall.h.
39104 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39105 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39106 ($(inst_includedir)/bits/syscall.h): Remove rule.
39107 ($(objpfx)bits/syscall.d): Include instead of
39108 $(objpfx)syscall-list.d.
39109 (generated): Change syscall-list.h and syscall-list.d to
39110 bits/syscall.h and bits/syscall.d.
39111
bb4e6db2
RM
391122012-03-14 Roland McGrath <roland@hack.frob.com>
39113
39114 [BZ #13846]
39115 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39116
aa4a2ae1
JM
391172012-03-14 Joseph Myers <joseph@codesourcery.com>
39118
e456826d
JM
39119 [BZ #13841]
39120 * math/s_csqrt.c: Include <float.h>.
39121 (__csqrt): Scale large or subnormal inputs.
39122 * math/s_csqrtf.c: Likewise.
39123 * math/s_csqrtl.c: Likewise.
39124 * math/libm-test.inc (csqrt_test): Add more tests.
39125 * sysdeps/i386/fpu/libm-test-ulps: Update.
39126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39127
aa4a2ae1
JM
39128 [BZ #13840]
39129 * math/libm-test.inc (hypot_test): Add more tests.
39130
7c10fd35
DM
391312012-03-13 David S. Miller <davem@davemloft.net>
39132
39133 [BZ #13840]
39134 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39135 double-precision for the calculation instead of scaling.
39136
f453b98b
JM
391372012-03-13 Joseph Myers <joseph@codesourcery.com>
39138
39139 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39140 manipulate bits before adding and subtracting TWO52[sx].
39141 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39142 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39143 Likewise.
39144 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39145
09a3453f
DM
391462012-03-13 David S. Miller <davem@davemloft.net>
39147
8e59da90
DM
39148 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39149 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39151 rtld-global-offsets.h
39152 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39153
2a8ab7f2
DM
39154 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39155 large parameters.
39156
10f62770
DM
39157 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39158
5f0bdb18
DM
39159 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39160 'err' in the ifdef scope in which it is actually used.
39161
09a3453f
DM
39162 * nss/nss_db/db-init.c: Include string.h
39163
b4b2eb5e
DM
391642012-03-12 David S. Miller <davem@davemloft.net>
39165
98bb2f1c
DM
39166 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39167 masking out of the most significant byte of random value used.
39168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39169 Fix coding style in previous change.
39170
b4b2eb5e
DM
39171 * sysdeps/unix/sysv/linux/kernel-features.h
39172 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39173 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39174 expression.
39175 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39176 later.
39177
6e226b09
DM
391782012-03-11 David S. Miller <davem@davemloft.net>
39179
a1bcbd40
DM
39180 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39181 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39183 for 'resultvar' otherwise things get truncated on 64-bit.
39184
cb9d6174
DM
39185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39186 Fix masking out of the most significant byte of random value used.
39187
6e226b09
DM
39188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39189
058c132d
AS
391902012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39191
39192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39193
2d2cd515
DM
391942012-03-09 David S. Miller <davem@davemloft.net>
39195
39196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39197 variables with appropriate CPP guards.
57f41c40
AS
39198 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39199 from the frame pointer, not the stack pointer. Correct layout
39200 comments. Fix test on resulting framesize and the management of
39201 the outregs buffer for pltexit. Preserve floating point return
39202 values across _dl_call_pltexit call.
2d2cd515
DM
39203 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39204 framesize and the management of the outregs buffer for pltexit.
39205 Preserve floating point return values across _dl_call_pltexit
39206 call.
57f41c40
AS
39207 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39208 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39209 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39210 (print_exit): Fix format string for return register value.
39211
9a07f9d0
JM
392122012-03-10 Joseph Myers <joseph@codesourcery.com>
39213
39214 * sunrpc/Makefile (others): Add rpcgen.
39215 ($(objpfx)rpcgen): Remove special build rule and dependency on
39216 libc.
39217 * sunrpc/rpcgen.c: New file.
39218
547b5e30
PE
392192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39220
c524201a
PE
39221 [BZ #13673]
39222 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39223 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39224 * sysdeps/i386/crti.S: Likewise.
39225 * sysdeps/i386/crtn.S: Likewise.
39226 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39227 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39228 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39229 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39230 * sysdeps/sh/crti.S: Likewise.
39231 * sysdeps/sh/crtn.S: Likewise.
39232 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39233
7b6235f2
PE
39234 [BZ #13673]
39235 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39236 with URL.
39237 * locale/programs/locfile-kw.gperf: Likewise.
39238 * locale/programs/charmap-kw.h: Regenerated.
39239 * locale/programs/locfile-kw.h: Likewise.
39240
547b5e30
PE
39241 [BZ #13673]
39242 * intl/plural.y: Replace FSF snail mail address with URL.
39243 * intl/plural.c: Regenerated.
39244
5f0a5dae
RH
392452012-03-09 Richard Henderson <rth@twiddle.net>
39246
39247 * include/math_private.h: Remove file.
39248 * math/math_private.h: Move file ...
39249 * sysdeps/generic/math_private.h: ... here.
39250
b8c03620
RH
39251 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39252 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39253 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39254
4e234f5d 39255 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39256 and <math_private.h>.
39257 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39258 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39259 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39260 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39261 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39262 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39263 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39272 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39274 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39275 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39276 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39278 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39279 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39280 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39281 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39282 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39283 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39284 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39285 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39287 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39289 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39290 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39291 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39292 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39293 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39294 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39295 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39296 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39297 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39298 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39299 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39300 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39301 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39302 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39303 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39304 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39305 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39306 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39307 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39308 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39309 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39310 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39311 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39312 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39313 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39314 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39315 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39316 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39317 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39318 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39319 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39320 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39321 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39322 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39323 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39324 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39325 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39326 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39327 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39328 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39329 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39330 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39331 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39333 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39335 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39336 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39337 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39338 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39339 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39340 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39341 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39343 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39344 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39345 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39346 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39347 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39348 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39349 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39350 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39351 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39352 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39353 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39354 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39355 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39356 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39357 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39358 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39359 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39360 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39361 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39362 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39363 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39364 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39365 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39366 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39367 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39368 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39369 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39370 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39371 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39372 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39373 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39374 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39375 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39376 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39377 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39378 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39379 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39380 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39381 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39382 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39383 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39384 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39385 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39386 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39387 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39388 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39389 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39390 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39391 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39392 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39393 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39394 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39395 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39396 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39397 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39398 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39399 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39400 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39401 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39402 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39403 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39404 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39405 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39406 * sysdeps/ieee754/k_standard.c: Likewise.
39407 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39408 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39409 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39410 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39411 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39412 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39413 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39414 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39415 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39416 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39417 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39418 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39419 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39420 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39421 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39422 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39423 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39424 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39425 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39426 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39427 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39428 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39429 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39430 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39431 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39432 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39433 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39434 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39435 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39436 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39437 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39438 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39439 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39440 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39441 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39442 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39443 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39444 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39445 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39446 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39447 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39448 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39449 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39450 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39451 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39452 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39453 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39454 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39455 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39456 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39457 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39458 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39459 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39460 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39461 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39462 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39463 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39464 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39465 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39466 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39467 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39468 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39469 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39470 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39471 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39472 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39473 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39474 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39475 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39476 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39477 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39479 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39480 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39481 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39483 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39484 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39485 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39486 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39487 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39488 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39489 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39491 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39492 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39493 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39494 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39495 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39496 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39497 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39498 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39500 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39501 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39502 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39503 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39504 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39505 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39506 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39507 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39508 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39509 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39510 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39511 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39512 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39513 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39514 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39515 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39516 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39517 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39518 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39519 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39520 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39521 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39522 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39523 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39524 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39525 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39526 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39527 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39528 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39529 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39530 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39531 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39532 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39533 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39534 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39535 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39536 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39539 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39541 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39543 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39548 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39549 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39552 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39555 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39556 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39557 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39562 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39564 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39565 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39566 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39567 * sysdeps/ieee754/s_lib_version.c: Likewise.
39568 * sysdeps/ieee754/s_matherr.c: Likewise.
39569 * sysdeps/ieee754/s_signgam.c: Likewise.
39570 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39571 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39572 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39573 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39574 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39575 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39576 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39577 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39578 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39579 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39580 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39581 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39582 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39583 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39584 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39585 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39586 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39587 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39588 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39589 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39590 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39591
1991fa03
JM
395922012-03-09 Joseph Myers <joseph@codesourcery.com>
39593
39594 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39595 * sunrpc/rpc_main.c: Likewise.
39596 * sunrpc/rpc_svcout.c: Likewise.
39597
60d6f5a6
DM
395982012-03-09 David S. Miller <davem@davemloft.net>
39599
39600 * include/math_private.h: New file.
39601
4962050e
JM
396022012-03-09 Joseph Myers <joseph@codesourcery.com>
39603
02a6f887
JM
39604 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39605 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39606 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39607 from <bits/socket_type.h>.
39608 (enum __socket_type): Don't define here.
39609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39611 bits/socket_type.h.
39612
c6e013c1
JM
39613 [BZ #13566]
39614 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39615 checking __USE_GNU.
39616
4962050e
JM
39617 * Makerules ($(inst_includedir)/%.h): New rule.
39618 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39619 (install-others): Remove variable setting.
39620 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39621
38842f45
RH
396222012-03-08 Richard Henderson <rth@twiddle.net>
39623
67bb6da6
RH
39624 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39625 from macro to inline function; merge with the
39626 !__LIBC_INTERNAL_MATH_INLINES version.
39627 (__ieee754_sqrtf): Likewise.
39628
15194b4b
RH
39629 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39630 to inline function.
39631 (__rintf, __floor, __floorf): Likewise.
39632
64e21ede
RH
39633 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39634 macro to inline function.
39635 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39636
38842f45
RH
39637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39638 not <math/math_private.h>.
39639
c64bf5fe
DM
396402012-03-08 David S. Miller <davem@davemloft.net>
39641
39642 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39643 copyright year.
39644 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39645
82d86f28
TS
396462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39647
39648 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39649 normalization.
39650 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39651 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39652
aea5d727
UD
396532012-03-08 Ulrich Drepper <drepper@gmail.com>
39654
39655 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39656 be defined individually, they must be defined as a block. Define
39657 S for printing a string instead of hidint the different by using a
39658 macro for adding the 'l'.
39659 * stdio-common/tst-fphex-wide.c: Adjust.
39660
70bca0a3
MP
396612012-03-07 Marek Polacek <polacek@redhat.com>
39662
39663 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39664
65b81130
MP
396652012-03-08 Marek Polacek <polacek@redhat.com>
39666
39667 [BZ #13806]
39668 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39669 * stdio-common/tst-fphex.c: Define a few macros to make the
39670 test reusable. Use them.
39671 * stdio-common/tst-fphex-wide.c: New file.
39672
07037eeb
JM
396732012-03-08 Joseph Myers <joseph@codesourcery.com>
39674
a7a93d50
JM
39675 [BZ #6911]
39676 * manual/macros.texi (gnusystems): New macro.
39677 (nongnusystems): Likewise.
39678 (gnulinuxhurdsystems): Likewise.
39679 (gnuhurdsystems): Likewise..
39680 (gnulinuxsystems): Likewise.
39681 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39682 variants of the GNU system, not "GNU system".
39683 * manual/conf.texi: Likewise.
39684 * manual/errno.texi: Likewise. Update example of errno macro
39685 expansion.
39686 * manual/filesys.texi: Likewise.
39687 (getumask): Document as specific to GNU/Hurd.
39688 * manual/install.texi: Likewise. Reword some references to
39689 GNU/Linux.
39690 * manual/intro.texi: Likewise.
39691 * manual/io.texi: Likewise.
39692 (File Name Portability): Detail which constraints are inapplicable
39693 to all GNU systems and which are only inapplicable to GNU/Hurd.
39694 * manual/job.texi: Likewise.
39695 * manual/llio.texi: Likewise.
39696 (O_NOCTTY): Document as present on GNU/Linux.
39697 * manual/maint.texi: Likewise.
39698 * manual/memory.texi: Likewise.
39699 * manual/pattern.texi: Likewise.
39700 * manual/pipe.texi: Likewise.
39701 * manual/process.texi: Likewise.
39702 * manual/resource.texi: Likewise.
39703 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39704 child on GNU/Hurd.
39705 * manual/setjmp.texi: Likewise.
39706 * manual/signal.texi: Likewise.
39707 * manual/startup.texi: Likewise.
39708 * manual/stdio.texi: Likewise.
39709 * manual/terminal.texi: Likewise.
39710 (ONLCR): Document as POSIX.
39711 (OXTABS): Document availability on GNU/Linux as XTABS.
39712 (ONOEOT): Document availability separately from other bits.
39713 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39714 * manual/time.texi: Likewise.
39715 * manual/users.texi: Likewise.
39716 * INSTALL: Regenerated.
39717 * sysdeps/gnu/errlist.c: Regenerated.
39718
07037eeb
JM
39719 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39720 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39721 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39722 puts.
39723 * configure: Regenerated.
39724
d1d3431a
JM
397252012-03-07 Joseph Myers <joseph@codesourcery.com>
39726
af6a1e37
JM
39727 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39728 default includes instead of AC_HEADER_CHECK.
39729 * sysdeps/i386/configure: Regenerated.
39730
d1d3431a
JM
39731 [BZ #10716]
39732 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39733 * math/s_cacoshf.c (__cacoshf): Likewise.
39734 * math/s_cacoshl.c (__cacoshl): Likewise.
39735 * math/s_casinh.c (__casinh): Set signs of result from argument.
39736 * math/s_casinhf.c (__casinhf): Likewise.
39737 * math/s_casinhl.c (__casinhl): Likewise.
39738 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39739 (casinh_test): Add more tests.
39740 * sysdeps/i386/fpu/libm-test-ulps: Update.
39741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39742
482ff4da
UD
397432012-03-07 Ulrich Drepper <drepper@gmail.com>
39744
872fda05
UD
39745 * po/zh_TW.po: Update from translation team.
39746
a4300c7a
UD
39747 * login/Makefile (distribute): Remove variable.
39748 * catgets/Makefile: Likewise.
39749 * mach/Makefile: Likewise.
39750 * malloc/Makefile: Likewise.
39751 * misc/Makefile: Likewise.
39752 * iconv/Makefile: Likewise.
39753 * nscd/Makefile: Likewise.
39754 * hurd/Makefile: Likewise.
39755 * manual/Makefile: Likewise.
39756 * locale/Makefile: Likewise.
39757 * intl/Makefile: Likewise.
39758 * conform/Makefile: Likewise.
39759 * nss/Makefile: Likewise.
39760 * time/Makefile: Likewise.
39761 * soft-fp/Makefile: Likewise.
39762 * dirent/Makefile: Likewise.
39763 * gmon/Makefile: Likewise.
39764 * po/Makefile: Likewise.
39765 * rt/Makefile: Likewise.
39766 * socket/Makefile: Likewise.
39767 * math/Makefile: Likewise.
39768 * signal/Makefile: Likewise.
39769 * debug/Makefile: Likewise.
39770 * elf/Makefile: Likewise.
39771 * timezone/Makefile: Likewise.
39772 * stdlib/Makefile: Likewise.
39773 * iconvdata/Makefile: Likewise.
39774 * sunrpc/Makefile: Likewise.
39775 * io/Makefile: Likewise.
39776 * argp/Makefile: Likewise.
39777 * inet/Makefile: Likewise.
39778 * hesiod/Makefile: Likewise.
39779 * grp/Makefile: Likewise.
39780 * csu/Makefile: Likewise.
39781 * wctype/Makefile: Likewise.
39782 * crypt/Makefile: Likewise.
39783 * libio/Makefile: Likewise.
39784 * string/Makefile: Likewise.
39785 * nis/Makefile: Likewise.
39786 * resolv/Makefile: Likewise.
39787 * stdio-common/Makefile: Likewise.
39788 * wcsmbs/Makefile: Likewise.
39789 * dlfcn/Makefile: Likewise.
39790 * posix/Makefile: Likewise.
39791
3b7c4e74 39792 [BZ #6959]
482ff4da
UD
39793 * timezone/Makefile: Don't install timezone files, just the programs
39794 and scripts.
39795
f72ed77d
UD
397962012-03-06 Ulrich Drepper <drepper@gmail.com>
39797
a000466f
UD
39798 * nss/databases.def: Add missing gshadow entry.
39799
f72ed77d
UD
39800 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39801
a53b7a4e
MP
398022012-03-06 Marek Polacek <polacek@redhat.com>
39803
39804 [BZ #13726]
39805 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39806 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39807 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39808 * stdio-common/tst-long-dbl-fphex.c: New file.
39809
e9258400
DM
398102012-03-06 David S. Miller <davem@davemloft.net>
39811
39812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39813 (set_obp_int): New function.
39814 (get_obp_int): New function.
39815 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39816 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39817 Avoid unused variable warnings on 'val' and use builtin_expect.
39818 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39819 __builtin_expect.
e9258400
DM
39820 (INLINE_CLONE_SYSCALL): Likewise.
39821
3bd2c723
DM
398222012-03-05 David S. Miller <davem@davemloft.net>
39823
39824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39825
bbb78d03
AS
398262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39827
884c5db4
AS
39828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39829
bbb78d03
AS
39830 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39831 only for |x| >= 40.
39832 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39833
1c9f702a 398342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39835
39836 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39837 Replace gettimeofday with __vdso_gettimeofday.
39838
7be16f82
RM
39839 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39840 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39841 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39842
39843 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39844 time with __vdso_time.
39845
ed58a00f
JM
398462012-03-05 Joseph Myers <joseph@codesourcery.com>
39847
39848 * manual/lang.texi (size_t): Note types to which size_t may be
39849 equivalent with the GNU C Library, but do not describe when
39850 differences between them are significant.
39851
30ee4ced
AJ
398522012-03-05 Andreas Jaeger <aj@suse.de>
39853
39854 * sysdeps/i386/fpu/libm-test-ulps: Update.
39855
b7cd39e8
JM
398562012-03-05 Joseph Myers <joseph@codesourcery.com>
39857
39858 [BZ #3976]
39859 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39860 (__ieee754_pow): Save and restore rounding mode and use
39861 round-to-nearest for main computations.
39862 * math/libm-test.inc (pow_test_tonearest): New function.
39863 (pow_test_towardzero): Likewise.
39864 (pow_test_downward): Likewise.
39865 (pow_test_upward): Likewise.
39866 (main): Call the new functions.
39867 * sysdeps/i386/fpu/libm-test-ulps: Update.
39868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39869
39870 [BZ #3976]
39871 * math/libm-test.inc (cosh_test_tonearest): New function.
39872 (cosh_test_towardzero): Likewise.
39873 (cosh_test_downward): Likewise.
39874 (cosh_test_upward): Likewise.
39875 (sinh_test_tonearest): Likewise.
39876 (sinh_test_towardzero): Likewise.
39877 (sinh_test_downward): Likewise.
39878 (sinh_test_upward): Likewise.
39879 (main): Call the new functions.
39880 * sysdeps/i386/fpu/libm-test-ulps: Update.
39881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39882
6c6a98c9
TV
398832012-03-05 Tom de Vries <tom@codesourcery.com>
39884
39885 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39886 default stack guard is set in last bytes.
39887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39888
21bb2d2e 398892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39890
21bb2d2e 39891 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39892
21bb2d2e
AJ
39893 [BZ #13656]
39894 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39895 possibly allocate from heap instead of stack.
39896 * stdio-common/bug-vfprintf-nargs.c: New file.
39897 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39898
c6922934
AS
398992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39900
39901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39902
bc957d53
MP
399032012-03-03 Marek Polacek <polacek@redhat.com>
39904
39905 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39906 * math/math_private.h: Likewise.
39907 * stdlib/tst-strtod.c: Likewise.
39908 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39909 * sysdeps/x86_64/bits/atomic.h: Likewise.
39910
6358490d
DM
399112012-03-02 David S. Miller <davem@davemloft.net>
39912
39913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39917 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39918 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39919 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39920 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39921
01ae168d
RM
399222012-03-02 Roland McGrath <roland@hack.frob.com>
39923
d9a17c07
RM
39924 [BZ #13792]
39925 * manual/examples/README: New file, says the example source files
39926 can be used under GPL>=2.
39927 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39928 line containing just "*/".
39929 * manual/examples/add.c: Add copyright header (GPL>=2).
39930 * manual/examples/argp-ex1.c: Likewise.
39931 * manual/examples/argp-ex2.c: Likewise.
39932 * manual/examples/argp-ex3.c: Likewise.
39933 * manual/examples/argp-ex4.c: Likewise.
39934 * manual/examples/atexit.c: Likewise.
39935 * manual/examples/db.c: Likewise.
39936 * manual/examples/dir.c: Likewise.
39937 * manual/examples/dir2.c: Likewise.
39938 * manual/examples/execinfo.c: Likewise.
39939 * manual/examples/filecli.c: Likewise.
39940 * manual/examples/filesrv.c: Likewise.
39941 * manual/examples/fmtmsgexpl.c: Likewise.
39942 * manual/examples/genpass.c: Likewise.
39943 * manual/examples/inetcli.c: Likewise.
39944 * manual/examples/inetsrv.c: Likewise.
39945 * manual/examples/isockad.c: Likewise.
39946 * manual/examples/longopt.c: Likewise.
39947 * manual/examples/memopen.c: Likewise.
39948 * manual/examples/memstrm.c: Likewise.
39949 * manual/examples/mkfsock.c: Likewise.
39950 * manual/examples/mkisock.c: Likewise.
39951 * manual/examples/mygetpass.c: Likewise.
39952 * manual/examples/pipe.c: Likewise.
39953 * manual/examples/popen.c: Likewise.
39954 * manual/examples/rprintf.c: Likewise.
39955 * manual/examples/search.c: Likewise.
39956 * manual/examples/select.c: Likewise.
39957 * manual/examples/setjmp.c: Likewise.
39958 * manual/examples/sigh1.c: Likewise.
39959 * manual/examples/sigusr.c: Likewise.
39960 * manual/examples/stpcpy.c: Likewise.
39961 * manual/examples/strdupa.c: Likewise.
39962 * manual/examples/strftim.c: Likewise.
39963 * manual/examples/strncat.c: Likewise.
39964 * manual/examples/subopt.c: Likewise.
39965 * manual/examples/swapcontext.c: Likewise.
39966 * manual/examples/termios.c: Likewise.
39967 * manual/examples/testopt.c: Likewise.
39968 * manual/examples/testpass.c: Likewise.
39969 * manual/examples/timeval_subtract.c: Likewise.
39970
01ae168d
RM
39971 [BZ #13792]
39972 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39973 function to ...
39974 * manual/timeval_subtract.c.texi: ... here, new file.
39975
49efa33d
DM
399762012-03-02 David S. Miller <davem@davemloft.net>
39977
39978 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39979
28afd92d
JM
399802012-03-02 Joseph Myers <joseph@codesourcery.com>
39981
804360ed
JM
39982 [BZ #3976]
39983 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39984 (__sin): Save and restore rounding mode and use round-to-nearest
39985 for all computations.
39986 (__cos): Save and restore rounding mode and use round-to-nearest
39987 for all computations.
39988 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39989 <fenv.h>.
39990 (tan): Save and restore rounding mode and use round-to-nearest for
39991 all computations.
39992 * math/libm-test.inc (cos_test_tonearest): New function.
39993 (cos_test_towardzero): Likewise.
39994 (cos_test_downward): Likewise.
39995 (cos_test_upward): Likewise.
39996 (sin_test_tonearest): Likewise.
39997 (sin_test_towardzero): Likewise.
39998 (sin_test_downward): Likewise.
39999 (sin_test_upward): Likewise.
40000 (tan_test_tonearest): Likewise.
40001 (tan_test_towardzero): Likewise.
40002 (tan_test_downward): Likewise.
40003 (tan_test_upward): Likewise.
40004 (main): Call the new functions.
40005 * sysdeps/i386/fpu/libm-test-ulps: Update.
40006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40007
a6d06d7b
JM
40008 [BZ #10135]
40009 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40010 small n, then large n, before computing and testing k+n.
40011 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40013 Likewise.
40014 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40015 Likewise.
40016 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40017 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40018 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40019 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40020 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40021 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40022 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40023 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40024 * math/libm-test.inc (scalbn_test): Add more tests.
40025 (scalbln_test): Likewise.
40026
07e12bb3
JM
40027 * manual/filesys.texi (mode_t): Describe constraints on size and
40028 signedness, not exact equivalence to a particular type.
40029 (ino_t): Likewise.
40030 (ino64_t): Likewise.
40031 (dev_t): Likewise.
40032 (nlink_t): Likewise.
40033 (blkcnt_t): Likewise.
40034 (blkcnt64_t): Likewise.
40035 * manual/llio.texi (off_t): Likewise.
40036
28afd92d
JM
40037 [BZ #3976]
40038 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40039 (__ieee754_exp): Save and restore rounding mode and use
40040 round-to-nearest for all computations.
40041 * math/libm-test.inc (exp_test_tonearest): New function.
40042 (exp_test_towardzero): Likewise.
40043 (exp_test_downward): Likewise.
40044 (exp_test_upward): Likewise.
40045 (main): Call the new functions.
40046 * sysdeps/i386/fpu/libm-test-ulps: Update.
40047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40048
b1eeb65d
CD
400492012-03-01 Chris Demetriou <cgd@google.com>
40050
40051 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40052 have predictable order.
40053
53362a4b
DM
400542012-03-01 David S. Miller <davem@davemloft.net>
40055
3c969083
DM
40056 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40057
759707de
DM
40058 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40059 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40060 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40061 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40062
dfdb8ff2
DM
40063 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40064 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40065 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40067 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40068 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40069 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40070 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40071 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40072
ead89f96
DM
40073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40074
7f66bd07
DM
40075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40076 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40077 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40078
53362a4b
DM
40079 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40080 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40081 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40082 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40083 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40084 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40085 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40086 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40087 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40088 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40089 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40092 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40093 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40095 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40096 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40097 * sysdeps/sparc/elf/configure: Regenerated.
40098
7b1902cb
JM
400992012-03-01 Joseph Myers <joseph@codesourcery.com>
40100
bec039bc
JM
40101 * configure.in (AS, LD): Require binutils 2.20 or later.
40102 * configure: Regenerated.
40103 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40104 as required minimum version.
40105 * INSTALL: Regenerated.
40106
7b1902cb
JM
40107 [BZ #2541]
40108 [BZ #4108]
40109 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40110 before squaring exponent.
40111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40112 bottom long double and 27 bits of top long double before squaring
40113 exponent.
40114 * math/libm-test.inc (erfc_test): Add more tests.
40115 * sysdeps/i386/fpu/libm-test-ulps: Update.
40116 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40118
f775c276
KT
401192012-03-01 Kai Tietz <ktietz@redhat.com>
40120
40121 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40122 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40123 containing bit-fields.
40124 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40125 * soft-fp/single.h (_FP_UNION_S): Likewise.
40126 * soft-fp/double.h (_FP_UNION_D): Likewise.
40127
5b8a4d4a
JM
401282012-02-29 Joseph Myers <joseph@codesourcery.com>
40129
0bab47b6
JM
40130 [BZ #13786]
40131 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40132 not include ../strcmp.S.
40133 [USE_AS_STRNCASECMP_L]: Likewise.
40134 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40135 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40136 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40137 (__strncasecmp_l_ia32): Define as alias to
40138 __strncasecmp_l_nonascii.
40139
0fcad3e2
JM
40140 [BZ #5794]
40141 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40142 * sysdeps/i386/fpu/libm-test-ulps: Update.
40143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40144
5b8a4d4a
JM
40145 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40147
8fdceb2e
JL
401482012-02-29 Jeff Law <law@redhat.com>
40149
40150 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40151 out of bounds read.
40152
1f393a11
MP
401532012-02-29 Marek Polacek <polacek@redhat.com>
40154
40155 [BZ #13706]
40156 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40157 * elf/Makefile: Add rules to run tst-unused-dep.out.
40158
8847f037
DM
401592012-02-28 David S. Miller <davem@davemloft.net>
40160
40161 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40162 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40165 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40166 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40167
169d7f11
JM
401682012-02-29 Joseph Myers <joseph@codesourcery.com>
40169
40170 * math/libm-test.inc (llround_test): Move one test from
40171 lround_test. Use TEST_f_L in moved test.
40172 (lround_test): Move misplaced test to llround_test. Add testcase
40173 from bug 2561.
40174
39adf059
UD
401752012-02-28 Ulrich Drepper <drepper@gmail.com>
40176
40177 * sysdeps/x86_64/fpu/e_expf.S: New file.
40178 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40179
71b5d1c5
SB
401802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40181
40182 [BZ #13637]
40183 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40184 of remain_len that may cause incomplete multi-byte character and
40185 false match.
40186 * posix/bug-regex33.c: New file.
40187 * posix/Makefile (tests): Add bug-regex33.
40188
1f77f049
JM
401892012-02-28 Joseph Myers <joseph@codesourcery.com>
40190
40191 * manual/macros.texi: New file.
40192 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40193 * manual/libc.texinfo: Include macros.texi.
40194 * manual/creatute.texi: Likewise.
40195 * manual/install.texi: Likewise.
40196 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40197 @glibcadj{} in references to the GNU C Library.
40198 * manual/charset.texi: Likewise.
40199 * manual/conf.texi: Likewise.
40200 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40201 when not using those macros.
40202 * manual/creature.texi: Likewise.
40203 * manual/crypt.texi: Likewise.
40204 * manual/errno.texi: Likewise.
40205 * manual/filesys.texi: Likewise.
40206 * manual/header.texi: Likewise.
40207 * manual/install.texi: Likewise.
40208 * manual/intro.texi: Likewise.
40209 * manual/io.texi: Likewise.
40210 * manual/job.texi: Likewise.
40211 * manual/lang.texi: Likewise.
40212 * manual/libc.texiinfo: Likewise.
40213 * manual/llio.texi: Likewise.
40214 * manual/locale.texi: Likewise.
40215 * manual/maint.texi: Likewise.
40216 * manual/math.texi: Likewise.
40217 * manual/memory.texi: Likewise.
40218 * manual/message.texi: Likewise.
40219 * manual/nss.texi: Likewise.
40220 * manual/pattern.texi: Likewise.
40221 * manual/process.texi: Likewise.
40222 * manual/resource.texi: Likewise.
40223 * manual/search.texi: Likewise.
40224 * manual/setjmp.texi: Likewise.
40225 * manual/signal.texi: Likewise.
40226 * manual/socket.texi: Likewise.
40227 * manual/startup.texi: Likewise.
40228 * manual/stdio.texi: Likewise.
40229 * manual/string.texi: Likewise.
40230 * manual/sysinfo.texi: Likewise.
40231 * manual/syslog.texi: Likewise.
40232 * manual/terminal.texi: Likewise.
40233 * manual/time.texi: Likewise.
40234 * manual/users.texi: Likewise.
40235 * INSTALL: Regenerated.
40236 * NOTES: Regenerated.
d40c5d54 40237 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40238
450bf206
AS
402392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40240
40241 * include/dirent.h: Include <dirstream.h> before
40242 <dirent/dirent.h>.
40243
741a235b
DM
402442012-02-28 David S. Miller <davem@davemloft.net>
40245
40246 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40247 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40248 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40249 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40250
d6b5aa58
DM
402512012-02-27 David S. Miller <davem@davemloft.net>
40252
1aff59a3
DM
40253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40255 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40256 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40257
d6b5aa58
DM
40258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40259 frame pointer instead of stack pointer relative arg slot.
40260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40261 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40262 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40263
433f48bf
CD
402642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40265
40266 [BZ #3992]
40267 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40268
d674b76d
DM
402692012-02-27 David S. Miller <davem@davemloft.net>
40270
40271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40275 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40276 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40277 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40278 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40279
0e7727f7
JM
402802012-02-27 Joseph Myers <joseph@codesourcery.com>
40281
40282 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40283 later. Allow versions 5-9.
43be4ca2 40284 * configure: Regenerated.
0e7727f7
JM
40285 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40286 required minimum version and 4.6 as recommended version. Do not
40287 mention bugs in GCC 2.7 and 2.8.
43be4ca2 40288 * INSTALL: Regenerated.
0e7727f7 40289
a78bc654
DM
402902012-02-27 David S. Miller <davem@davemloft.net>
40291
428d5830
DM
40292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40296 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40297 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40298 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40299 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40300
a78bc654
DM
40301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40302 manipulate bits before adding and subtracting TWO112[sx].
40303 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40304
4579f81c
RM
403052012-02-27 Roland McGrath <roland@hack.frob.com>
40306
36c8acb4
RM
40307 [BZ #13775]
40308 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40309 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40310 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40311 being in POSIX, because they are in 1003.1-2008.
40312
84ad622b
RM
40313 * rt/tst-aio.c: Include <fcntl.h>.
40314 * rt/tst-aio7.c: Likewise.
40315 * rt/tst-aio64.c: Likewise.
40316
4579f81c
RM
40317 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40318
abd923db
JM
403192012-02-27 Joseph Myers <joseph@codesourcery.com>
40320
40321 * manual/install.texi (--with-headers): Describe headers as
40322 interface headers, not private headers.
40323 (Specific advice for GNU/Linux systems): Describe use of headers
40324 from "make headers_install", not private headers from older
40325 kernels.
43be4ca2 40326 * INSTALL: Regenerated.
abd923db
JM
40327 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40328 Change to 2.6.19.
40329 * sysdeps/unix/sysv/linux/configure: Regenerated.
40330
6664049b
JM
40331 * manual/llio.texi (fclean): Remove documentation.
40332
bb8b6697
JM
40333 * manual/Makefile (libc-texi-generated): New variable. Include
40334 version.texi.
40335 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40336 $(libc-texi-generated), not duplicated list of files.
40337 (version.texi, stamp-version): New rules.
40338 (realclean): Remove $(libc-texi-generated), not individual files
40339 from that list. Do not remove dir-add.texinfo.
40340 * manual/libc.texinfo: Comment out uses of edition numbers and
40341 references to printed manual. Remove last-updated dates.
40342 (EDITION): Comment out.
40343 (ISBN): Likewise.
40344 (VERSION, UPDATED): Remove.
40345 (version.texi): Include.
40346
12e5c3b9
AS
403472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40348
40349 * sysdeps/posix/spawni.c: Include <signal.h>.
40350 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40351 * sysdeps/pthread/aio_fsync.c: Likewise.
40352
4efeffc1 403532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 40354
ba63ba08
UD
40355 * conform/Makefile (tests): Run only when not cross-compiling and
40356 when fast-check is not defined.
40357
d94a4670
UD
40358 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40359 * conform/data/limits.h-data: Fixes for POSIX2008.
40360 * conform/run-conformtest.sh: Run all tests.
40361 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40362 headers.
40363 * include/bits/dlfcn.h: Likewise.
40364 * include/langinfo.h: Likewise.
40365 * include/monetary.h: Likewise.
40366 * include/sys/poll.h: Likewise.
40367
40368 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40369 for __USE_GNU.
40370 * posix/spawn.h: Define __need_sigset_t.
40371 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40372 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40373 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40374 to get sigevent_t only.
40375 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40376 only for __USE_GNU.
40377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40378 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40379 process_vm_writev only for __USE_GNU.
40380 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
40381
40382 * conform/Makefile: For now ignore errors from run-conformtest.
40383 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40384 POSIX to avoid namespace pollution. Don't prepend headers.
40385 * conform/data/aio.h-data: Fixes for POSIX testing.
40386 * conform/data/fcntl.h-data: Likewise.
40387 * conform/data/glob.h-data: Likewise.
40388 * conform/data/grp.h-data: Likewise.
40389 * conform/data/pthread.h-data: Likewise.
40390 * conform/data/pwd.h-data: Likewise.
40391 * conform/data/signal.h-data: Likewise.
40392 * conform/data/spawn.h-data: Likewise.
40393 * conform/data/stdio.h-data: Likewise.
40394 * conform/data/stdlib.h-data: Likewise.
40395 * conform/data/stropts.h-data: Likewise.
40396 * conform/data/sys/mman.h-data: Likewise.
40397 * conform/data/sys/stat.h-data: Likewise.
40398 * conform/data/sys/types.h-data: Likewise.
40399 * conform/data/sys/wait.h-data: Likewise.
40400 * conform/data/time.h-data: Likewise.
40401 * conform/data/unistd.h-data: Likewise.
40402 * conform/data/utime.h-data: Likewise.
40403
40404 * io/sys/stat.h: fchmod was always in POSIX.
40405 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40406 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40407 * rt/aio.h: Define __need_timespec before including <time.h>.
40408 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40409 struct. Add forward declaration of pthread_attr_t and use it in
40410 sigevent.
40411 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40413 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40414 always remove CLK_TCK definition.
40415
c20105c3
AS
404162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40417
40418 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40419
7a270350
UD
404202012-02-25 Ulrich Drepper <drepper@gmail.com>
40421
31341567
UD
40422 * conform/run-conformtest.sh: New file.
40423 * conform/Makefile: Run run-conformtest for tests.
40424 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40425 support.
40426
40427 * conform/data/uchar.h-data: New file.
40428 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40429 * conform/data/arpa/inet.h-data: Likewise.
40430 * conform/data/assert.h-data: Likewise.
40431 * conform/data/complex.h-data: Likewise.
40432 * conform/data/cpio.h-data: Likewise.
40433 * conform/data/ctype.h-data: Likewise.
40434 * conform/data/dirent.h-data: Likewise.
40435 * conform/data/dlfcn.h-data: Likewise.
40436 * conform/data/errno.h-data: Likewise.
40437 * conform/data/fcntl.h-data: Likewise.
40438 * conform/data/float.h-data: Likewise.
40439 * conform/data/fmtmsg.h-data: Likewise.
40440 * conform/data/fnmatch.h-data: Likewise.
40441 * conform/data/ftw.h-data: Likewise.
40442 * conform/data/glob.h-data: Likewise.
40443 * conform/data/grp.h-data: Likewise.
40444 * conform/data/iconv.h-data: Likewise.
40445 * conform/data/inttypes.h-data: Likewise.
40446 * conform/data/langinfo.h-data: Likewise.
40447 * conform/data/libgen.h-data: Likewise.
40448 * conform/data/limits.h-data: Likewise.
40449 * conform/data/locale.h-data: Likewise.
40450 * conform/data/math.h-data: Likewise.
40451 * conform/data/monetary.h-data: Likewise.
40452 * conform/data/mqueue.h-data: Likewise.
40453 * conform/data/ndbm.h-data: Likewise.
40454 * conform/data/net/if.h-data: Likewise.
40455 * conform/data/netdb.h-data: Likewise.
40456 * conform/data/netinet/in.h-data: Likewise.
40457 * conform/data/nl_types.h-data: Likewise.
40458 * conform/data/poll.h-data: Likewise.
40459 * conform/data/pthread.h-data: Likewise.
40460 * conform/data/pwd.h-data: Likewise.
40461 * conform/data/regex.h-data: Likewise.
40462 * conform/data/sched.h-data: Likewise.
40463 * conform/data/search.h-data: Likewise.
40464 * conform/data/semaphore.h-data: Likewise.
40465 * conform/data/setjmp.h-data: Likewise.
40466 * conform/data/signal.h-data: Likewise.
40467 * conform/data/spawn.h-data: Likewise.
40468 * conform/data/stdarg.h-data: Likewise.
40469 * conform/data/stdio.h-data: Likewise.
40470 * conform/data/stdlib.h-data: Likewise.
40471 * conform/data/string.h-data: Likewise.
40472 * conform/data/strings.h-data: Likewise.
40473 * conform/data/stropts.h-data: Likewise.
40474 * conform/data/sys/ipc.h-data: Likewise.
40475 * conform/data/sys/mman.h-data: Likewise.
40476 * conform/data/sys/msg.h-data: Likewise.
40477 * conform/data/sys/resource.h-data: Likewise.
40478 * conform/data/sys/select.h-data: Likewise.
40479 * conform/data/sys/sem.h-data: Likewise.
40480 * conform/data/sys/shm.h-data: Likewise.
40481 * conform/data/sys/socket.h-data: Likewise.
40482 * conform/data/sys/stat.h-data: Likewise.
40483 * conform/data/sys/statvfs.h-data: Likewise.
40484 * conform/data/sys/time.h-data: Likewise.
40485 * conform/data/sys/timeb.h-data: Likewise.
40486 * conform/data/sys/times.h-data: Likewise.
40487 * conform/data/sys/types.h-data: Likewise.
40488 * conform/data/sys/uio.h-data: Likewise.
40489 * conform/data/sys/un.h-data: Likewise.
40490 * conform/data/sys/utsname.h-data: Likewise.
40491 * conform/data/sys/wait.h-data: Likewise.
40492 * conform/data/syslog.h-data: Likewise.
40493 * conform/data/tar.h-data: Likewise.
40494 * conform/data/termios.h-data: Likewise.
40495 * conform/data/utime.h-data: Likewise.
40496 * conform/data/utmpx.h-data: Likewise.
40497 * conform/data/varargs.h-data: Likewise.
40498 * conform/data/wchar.h-data: Likewise.
40499 * conform/data/wctype.h-data: Likewise.
40500 * conform/data/wordexp.h-data: Likewise.
40501
40502 * include/stropts.h: New file.
40503 * include/uchar.h: New file.
40504 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40505 * include/assert.h: Likewise.
40506 * include/ctype.h: Likewise.
40507 * include/dirent.h: Likewise.
40508 * include/dlfcn.h: Likewise.
40509 * include/fcntl.h: Likewise.
40510 * include/fnmatch.h: Likewise.
40511 * include/glob.h: Likewise.
40512 * include/grp.h: Likewise.
40513 * include/libio.h: Likewise.
40514 * include/locale.h: Likewise.
40515 * include/math.h: Likewise.
40516 * include/net/if.h: Likewise.
40517 * include/netdb.h: Likewise.
40518 * include/netinet/in.h: Likewise.
40519 * include/pthread.h: Likewise.
40520 * include/pwd.h: Likewise.
40521 * include/regex.h: Likewise.
40522 * include/sched.h: Likewise.
40523 * include/search.h: Likewise.
40524 * include/setjmp.h: Likewise.
40525 * include/signal.h: Likewise.
40526 * include/stdio.h: Likewise.
40527 * include/stdlib.h: Likewise.
40528 * include/string.h: Likewise.
40529 * include/sys/cdefs.h: Likewise.
40530 * include/sys/mman.h: Likewise.
40531 * include/sys/msg.h: Likewise.
40532 * include/sys/resource.h: Likewise.
40533 * include/sys/select.h: Likewise.
40534 * include/sys/socket.h: Likewise.
40535 * include/sys/stat.h: Likewise.
40536 * include/sys/statvfs.h: Likewise.
40537 * include/sys/time.h: Likewise.
40538 * include/sys/times.h: Likewise.
40539 * include/sys/uio.h: Likewise.
40540 * include/sys/utsname.h: Likewise.
40541 * include/sys/wait.h: Likewise.
40542 * include/termios.h: Likewise.
40543 * include/time.h: Likewise.
40544 * include/ulimit.h: Likewise.
40545 * include/unistd.h: Likewise.
40546 * include/utime.h: Likewise.
40547 * include/wchar.h: Likewise.
40548 * include/wctype.h: Likewise.
40549 * include/wordexp.h: Likewise.
40550
40551 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40552
7a270350
UD
40553 * time/time.h: TIME_UTC must be a macro.
40554 Make timespec_get available for ISO C11 only as well.
40555
7724defc
UD
405562012-02-24 Ulrich Drepper <drepper@gmail.com>
40557
40558 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40559 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40560
6b1d1d46
JM
405612012-02-24 Joseph Myers <joseph@codesourcery.com>
40562
40563 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40564
0f8bbd69
JM
405652012-02-24 Joseph Myers <joseph@codesourcery.com>
40566
40567 * manual/texinfo.tex: Update to version 2012-01-19.16.
40568
66ab80bc
JM
405692012-02-24 Joseph Myers <joseph@codesourcery.com>
40570
40571 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40572
74981cc5
RM
405732012-02-24 Roland McGrath <roland@hack.frob.com>
40574
ee968201
RM
40575 [BZ #13738]
40576 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40577 * manual/fdl-1.3.texi: New file.
40578 * manual/fdl-1.1.texi: File removed.
40579
74981cc5
RM
40580 [BZ #13738]
40581 * manual/libc.texinfo (FDL_VERSION): New @set.
40582 Use it for mention of FDL in cover text.
40583 (Documentation License): Use it in @include file name.
40584
7bb764bc
JM
405852012-02-22 Joseph Myers <joseph@codesourcery.com>
40586 Roland McGrath <roland@hack.frob.com>
40587
40588 [BZ #5461]
57f41c40
AS
40589 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40590 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40591 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40592 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40593 name.
40594 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40595
6cbeae47
JM
405962012-02-22 Joseph Myers <joseph@codesourcery.com>
40597
40598 [BZ #2547]
40599 [BZ #11365]
40600 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40601 manipulate bits before adding and subtracting TWO23[sx].
40602 * math/libm-test.inc (nearbyint_test): Add more tests.
40603
fe45ce09
JM
406042012-02-22 Joseph Myers <joseph@codesourcery.com>
40605
40606 [BZ #2548]
40607 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40608 bits before adding and subtracting TWO23[sx].
40609 * math/libm-test.inc (rint_test): Add more tests.
40610 (rint_test_tonearest): Likewise.
40611 (rint_test_towardzero): Likewise.
40612 (rint_test_downward): Likewise.
40613 (rint_test_upward: Likewise.
40614
ff3b3d82
JM
406152012-02-22 Joseph Myers <joseph@codesourcery.com>
40616
40617 [BZ #10110]
40618 * include/stdc-predef.h: New file. Extracted from features.h.
40619 * include/features.h: Include stdc-predef.h.
40620 * Makefile (headers): Add stdc-predef.h.
40621 * CONFORMANCE (Compiler limitations): Update.
40622
ef0aab35
JM
406232012-02-22 Joseph Myers <joseph@codesourcery.com>
40624
40625 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40626
58639409
DM
406272012-02-21 David S. Miller <davem@davemloft.net>
40628
40629 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40630 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40631
c0e70b25
DM
406322012-02-20 David S. Miller <davem@davemloft.net>
40633
40634 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40635 using a normal save/restore sequence, rather than allocating a
40636 dummy stack frame just to store a frame pointer and restore.
40637 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40638
fb06851d
JM
406392012-02-21 Joseph Myers <joseph@codesourcery.com>
40640
40641 * manual/install.texi: Fix stray word in line-wrapped comment.
40642
7a8b71c3
DM
406432012-02-20 David S. Miller <davem@davemloft.net>
40644
d510c123
DM
40645 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40646 both binutils and gcc support GOTDATA.
40647
0722d7c2
DM
40648 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40649 "rd %pc" in the PIC register setup sequences.
40650
3d2b3019
DM
40651 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40652 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40653 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40654 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40655 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40657 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40660 (SYSCALL_ERROR_HANDLER): Likewise.
40661 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40662 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40664 (SYSCALL_ERROR_HANDLER): Likewise.
40665
c80098a9
DM
40666 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40667 (HAVE_GCC_GOTDATA): New.
40668 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40669 relocation support in both binutils and gcc.
40670 * sysdeps/sparc/elf/configure: Regenerate.
40671
3a2545a0
DM
40672 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40673 * sysdeps/sparc/sparc32/elf/configure: Delete.
40674 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40675 * sysdeps/sparc/sparc64/elf/configure: Delete.
40676 * sysdeps/sparc/elf/configure.in: New file.
40677 * sysdeps/sparc/elf/configure: Generate.
40678
7a8b71c3
DM
40679 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40680 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40681 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40682 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40683 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40684
f1e86fca
JM
406852012-02-21 Joseph Myers <joseph@codesourcery.com>
40686
40687 * manual/install.texi: Do not mention specific glibc version
40688 numbers.
40689 * manual/libc.texinfo (VERSION, UPDATED): Update.
40690 (@copying): Use @copyright{} and range of years.
40691
0e7dfaef
JM
406922012-02-21 Joseph Myers <joseph@codesourcery.com>
40693
40694 [BZ #13695]
40695 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40696 [crti.S not in sysdirs] (generated): Do not append.
40697 [crti.S not in sysdirs] (omit-deps): Likewise.
40698 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40699 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40700 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40701 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40702 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40703 Likewise.
40704 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40705 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40706 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40707 * csu/defs.awk: Remove file.
40708 * sysdeps/generic/initfini.c: Likewise.
40709 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40710 variable.
40711 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40712 Likewise.
40713
599af3ca
JM
407142012-02-20 Joseph Myers <joseph@codesourcery.com>
40715
40716 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40717 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40718 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40719 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40720 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40721 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40722 <bits/epoll.h>.
40723 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40724 (__EPOLL_PACKED): Define to empty if not defined by
40725 <bits/epoll.h>.
40726 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40728 bits/epoll.h.
40729
0e499750
JM
407302012-02-20 Joseph Myers <joseph@codesourcery.com>
40731
40732 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40733 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40734 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40735 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40736 <bits/timerfd.h>.
40737 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40739 bits/timerfd.h.
40740
5ad91f6e
JM
407412012-02-20 Joseph Myers <joseph@codesourcery.com>
40742
40743 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40744 in C locale.
40745 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40746 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40747 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40749
06b99b02
AJ
407502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40751
40752 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40753 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40754
7638c0fd
AS
407552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40756
40757 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40758 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40759 defined.
40760 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40761 Likewise.
40762 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40763 entry for 2.16.
40764
92221550
AJ
407652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40766
40767 * math/w_acos.c: Use non-signaling floating-point comparisons.
40768 * math/w_acosf.c: Likewise.
40769 * math/w_acosh.c: Likewise.
40770 * math/w_acoshf.c: Likewise.
40771 * math/w_acoshl.c: Likewise.
40772 * math/w_acosl.c: Likewise.
40773 * math/w_asin.c: Likewise.
40774 * math/w_asinf.c: Likewise.
40775 * math/w_asinl.c: Likewise.
40776 * math/w_atanh.c: Likewise.
40777 * math/w_atanhf.c: Likewise.
40778 * math/w_atanhl.c: Likewise.
40779 * math/w_exp2.c: Likewise.
40780 * math/w_exp2f.c: Likewise.
40781 * math/w_exp2l.c: Likewise.
40782 * math/w_j0.c: Likewise.
40783 * math/w_j0f.c: Likewise.
40784 * math/w_j0l.c: Likewise.
40785 * math/w_j1.c: Likewise.
40786 * math/w_j1f.c: Likewise.
40787 * math/w_j1l.c: Likewise.
40788 * math/w_jn.c: Likewise.
40789 * math/w_jnf.c: Likewise.
40790 * math/w_log.c: Likewise.
40791 * math/w_log10.c: Likewise.
40792 * math/w_log10f.c: Likewise.
40793 * math/w_log10l.c: Likewise.
40794 * math/w_log2.c: Likewise.
40795 * math/w_log2f.c: Likewise.
40796 * math/w_log2l.c: Likewise.
40797 * math/w_logf.c: Likewise.
40798 * math/w_logl.c: Likewise.
40799 * math/w_sqrt.c: Likewise.
40800 * math/w_sqrtf.c: Likewise.
40801 * math/w_sqrtl.c: Likewise.
40802 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40803 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40804 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40805 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40806 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40807
ebaf36eb
JM
408082012-02-19 Joseph Myers <joseph@codesourcery.com>
40809
40810 [BZ #9739]
40811 * manual/string.texi (strnlen): Use correct parameter name in
40812 equivalent expression.
40813
71c254a6
JM
408142012-02-19 Joseph Myers <joseph@codesourcery.com>
40815
40816 [BZ #11174]
40817 * manual/users.texi (seteuid): Consistently use neweuid for
40818 argument name.
40819
16d2c631
JM
408202012-02-19 Joseph Myers <joseph@codesourcery.com>
40821
40822 [BZ #13704]
40823 * manual/nss.texi (Services in the NSS configuration): Correct
40824 list of services in example configuration file.
40825
cd837b09
NB
408262012-02-19 Nick Bowler <nbowler@draconx.ca>
40827
40828 [BZ #11322]
40829 * manual/arith.texi: Remove statements about negative zero
40830 behaving identically to zero.
40831
02c4bbad
JM
408322012-02-18 Joseph Myers <joseph@codesourcery.com>
40833
40834 [BZ #5993]
40835 * manual/install.texi: Do not document upgrading from libc5.
40836
366842e7
JM
408372012-02-18 Joseph Myers <joseph@codesourcery.com>
40838
40839 [BZ #4596]
40840 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40841
dd54084d
DM
408422012-02-18 David S. Miller <davem@davemloft.net>
40843
40844 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40845 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40846 %o7 across the call.
40847 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40848 instead.
40849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40850 SETUP_PIC_REG_LEAF.
40851 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40852 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40853 * sysdeps/sparc/crtn.S: Likewise.
40854
2bcc53a3
UD
408552012-02-17 Ulrich Drepper <drepper@gmail.com>
40856
40857 * aout/Makefile: Remove.
40858
09c093b5
RK
408592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40860
40861 [BZ #13058]
40862 * manual/examples/argp-ex1.c (main): Format definition in GNU
40863 style.
40864 * manual/examples/argp-ex2.c (main): Likewise.
40865 * manual/examples/argp-ex3.c (main): Likewise.
40866 * manual/examples/argp-ex4.c (main): Likewise.
40867 * manual/examples/longopt.c (main): Use new-style prototype
40868 definition.
40869 * manual/examples/strncat.c (main): Specify return type and use
40870 (void) for arguments.
40871 * manual/examples/subopt.c (main): Use char **argv argument.
40872
2ee633a2
JM
408732012-02-17 Joseph Myers <joseph@codesourcery.com>
40874
40875 [BZ #5077]
40876 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40877 rounding modes.
40878
0520adde
FB
408792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40880
40881 [BZ #6907]
40882 * manual/string.texi (strchr): Change when strchrnul is
40883 recommended.
40884
3f4081cd
DGM
408852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40886
40887 [BZ #174]
40888 * manual/locale.texi (setlocale): Document LOCPATH.
40889
d1b10e78
JM
408902012-02-17 Joseph Myers <joseph@codesourcery.com>
40891
40892 [BZ #10210]
40893 * manual/process.texi (execle): Move @dots{} before last argument.
40894
79c6869c
PB
408952012-02-17 Paul Bolle <pebolle@tiscali.nl>
40896
40897 [BZ #12047]
40898 * manual/charset.texi (Generic Charset Conversion): Fix typo
40899 (LC_TYPE -> LC_CTYPE).
40900
cc6e48bc
NB
409012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40902
40903 [BZ #5805]
40904 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40905 (scalbnf): Likewise.
40906 (scalbnl): Likewise.
40907 (scalbln): Likewise.
40908 (scalblnf): Likewise.
40909 (scalblnl): Likewise.
40910 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40911 (vwarnx): Likewise.
40912 (verr): Likewise.
40913 (verrx): Likewise.
40914 * manual/filesys.texi (telldir): Use braces around return type.
40915 * manual/llio.texi (mmap): Add space after comma.
40916 (mmap64): Likewise.
40917 * manual/math.texi (jn): Use @var{} on parameter names.
40918 (jnf): Likewise.
40919 (jnl): Likewise.
40920 (yn): Likewise.
40921 (ynf): Likewise.
40922 (ynl): Likewise.
40923 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40924 line.
40925 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40926 "...".
40927 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40928 (sched_get_priority_max): Likewise.
40929 * manual/signal.texi (sigvec): Add space after comma.
40930 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40931 names.
40932 (if_indextoname): Likewise.
40933 (if_freenameindex): Likewise.
40934 (sendto): Use ',' instead of '.' in prototype.
40935 * manual/startup.texi (syscall): Use @dots{} instead of literal
40936 "...".
40937 * manual/stdio.texi (__fpending): Separate initial words of
40938 paragraph from @deftypefun line.
40939 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40940 "...".
40941 (vsyslog): Use @var{} on parameter names.
40942 * manual/terminal.texi (stty): Use @var{} on parameter names.
40943 * manual/users.texi (getutmp): Use @var{} on parameter names.
40944 (getutmpx): Likewise.
40945
5b23062f
JM
409462012-02-17 Joseph Myers <joseph@codesourcery.com>
40947
40948 [BZ #6884]
40949 * manual/stdio.texi (fopen): Fix typos in description of
40950 ",ccs=STRING".
40951
8dee4833
AJ
409522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40953
40954 [BZ #4026]
40955 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40956 get clock_id definition.
40957
9078ce93
TS
409582012-02-17 Thomas Schwinge <thomas@schwinge.name>
40959
40960 [BZ #4822]
40961 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40962 (madvise): Cast every argument to void on its own.
40963
3835c55f
JM
409642012-02-17 Joseph Myers <joseph@codesourcery.com>
40965
40966 [BZ #9902]
40967 * manual/startup.texi (Exit Status): Fix typo.
40968
35c47e37
JM
409692012-02-17 Joseph Myers <joseph@codesourcery.com>
40970
40971 [BZ #10140]
40972 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40973 * manual/examples/argp-ex2.c: Likewise.
40974 * manual/examples/argp-ex3.c: Likewise.
40975
e3b69ca7
RH
409762012-02-16 Richard Henderson <rth@redhat.com>
40977
40978 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40979 * sysdeps/s390/s390-32/initfini.c: Remove.
40980 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40981 * sysdeps/s390/s390-64/initfini.c: Remove.
40982
df83af67
KK
409832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40984
40985 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40986 compiler output for sysdeps/generic/initfini.c.
40987 * sysdeps/sh/elf/initfini.c: Remove file.
40988
f63f3380
DM
409892012-02-16 David S. Miller <davem@davemloft.net>
40990
fb59b3a4
DM
40991 [BZ #11494]
40992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40993
f63f3380
DM
40994 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40995 * sysdeps/sparc/crti.S: New file.
40996 * sysdeps/sparc/crtn.S: New file.
40997 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40998 * sysdeps/sparc/sparc64/Makefile: Likewise.
40999
df6a4a4a
MF
410002012-02-15 Mike Frysinger <vapier@gentoo.org>
41001
6dd8f3dc 41002 [BZ #3335]
df6a4a4a
MF
41003 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41004
1cac7236
RM
410052012-02-15 Roland McGrath <roland@hack.frob.com>
41006
d2c736f8
RM
41007 [BZ #4822]
41008 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41009
1cac7236
RM
41010 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41011 (write, read, close): Likewise.
41012 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41013
8e475601
JM
410142012-02-15 Joseph Myers <joseph@codesourcery.com>
41015
41016 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41017 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41018 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41019 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41020 <bits/signalfd.h>.
41021 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41023 bits/signalfd.h.
41024
ed656b40
MP
410252012-02-14 Marek Polacek <polacek@redhat.com>
41026
41027 * sysdeps/x86_64/crti.S: New file.
41028 * sysdeps/x86_64/crtn.S: New file.
41029 * sysdeps/x86_64/elf/initfini.c: Remove file.
41030
2a979d3a
JM
410312012-02-13 Joseph Myers <joseph@codesourcery.com>
41032
41033 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41034 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41035 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41036 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41037 <bits/inotify.h>.
41038 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41040 bits/inotify.h.
41041
2a418ac3
JM
410422012-02-13 Joseph Myers <joseph@codesourcery.com>
41043
41044 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41045 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41046 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41047 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41048 <bits/eventfd.h>.
41049 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41051 bits/eventfd.h.
41052
fb779be7
TS
410532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41054
e19e83c5
RM
41055 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41056 __feraiseexcept instead of feraiseexcept.
7c35ffed 41057
fb779be7
TS
41058 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41059 nanosleep invocations.
41060 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41061 strings, and add error checking for a nanosleep invocations.
41062
59ba27a6
PE
410632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41064
41065 Replace FSF snail mail address with URLs, as per GNU coding standards.
41066 Most of the snail mail addresses were wrong anyway, and omitting
41067 them makes the source code easier to maintain. Almost all of the
41068 changes are to license notices and to locale LC_IDENTIFICATION
41069 addresses, except for this one:
41070 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41071 not its snail mail address.
41072
57b957eb
RH
410732012-02-09 Richard Henderson <rth@twiddle.net>
41074
af850b1c
RH
41075 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41076 of kernel-features.h.
41077
57b957eb
RH
41078 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41079
6b73181a
MP
410802012-02-08 Marek Polacek <polacek@redhat.com>
41081
41082 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41083 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41084 * sysdeps/gnu/_G_config.h: Likewise.
41085 * sysdeps/generic/_G_config.h: Likewise.
41086
26ecc33a
AS
410872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41088
6c6dbc63
AS
41089 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41090 tests.
41091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41092
e216c012
AS
41093 * sysdeps/powerpc/powerpc32/crti.S: New file.
41094 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41095 * sysdeps/powerpc/powerpc64/crti.S: New file.
41096 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41097
26ecc33a
AS
41098 * Makeconfig (have-initfini): Don't set.
41099 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41100 * configure.in (nopic_initfini): Don't substitute.
41101 * config.h.in (HAVE_INITFINI): Don't #undef.
41102 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41103 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41104
3add8e13
JM
411052012-02-08 Joseph Myers <joseph@codesourcery.com>
41106
41107 Support crti.S and crtn.S provided directly by architectures.
41108 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41109 [crti.S in sysdirs] (omit-deps): Likewise.
41110 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41111 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41112 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41113 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41114 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41115 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41116 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41117 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41118 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41119 compiler output for sysdeps/generic/initfini.c.
41120 * sysdeps/i386/elf/Makefile: Remove file.
41121 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41122
a22f12b4
MP
411232012-02-07 Marek Polacek <polacek@redhat.com>
41124
41125 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41126 * sysdeps/gnu/_G_config.h: Likewise.
41127 * sysdeps/mach/hurd/_G_config.h: Likewise.
41128
148cf100
MP
411292012-02-07 Marek Polacek <polacek@redhat.com>
41130
41131 * math/Makefile (tests): Add tst-CMPLX2.
41132 * math/tst-CMPLX2.c: New file.
41133
cfdc0dd7
AS
411342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41135
84ba42c4
AS
41136 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41137
cfdc0dd7
AS
41138 * math/libm-test.inc (jn_test): Add missing L suffix.
41139
622c86f4
MP
411402012-02-06 Marek Polacek <polacek@redhat.com>
41141
41142 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41143 * sysdeps/i386/fpu/e_powf.S: Likewise.
41144 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41145 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41146 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41147 * sysdeps/i386/fpu/e_pow.S: Likewise.
41148 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41149 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41150 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41151 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41152 * sysdeps/i386/fpu/e_log2.S: Likewise.
41153 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41154 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41155 * sysdeps/i386/fpu/e_powl.S: Likewise.
41156 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41157 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41158 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41159 * sysdeps/i386/fpu/e_logl.S: Likewise.
41160 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41161 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41162 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41163 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41164 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41165 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41166 * sysdeps/i386/fpu/e_log.S: Likewise.
41167 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41168 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41169 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41170 * sysdeps/i386/fpu/e_logf.S: Likewise.
41171 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41172 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41173 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41174 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41175 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41176 * sysdeps/i386/fpu/e_log10.S: Likewise.
41177 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41178 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41179 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41180 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41181 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41182 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41183 * sysdeps/i386/asm-syntax.h: Likewise.
41184 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41185 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41186 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41187 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41188 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41189 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41190 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41191 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41192 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41193 * sysdeps/powerpc/sysdep.h: Likewise.
41194 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41195 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41196
d4a54ac6
JM
411972012-02-06 Joseph Myers <joseph@codesourcery.com>
41198
41199 [BZ #411]
41200 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41201
314054ea
JM
412022012-02-06 Joseph Myers <joseph@codesourcery.com>
41203
41204 * sysdeps/i386/sysdep.h: Include <features.h>.
41205 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41206 version.
41207
d8e0ca50
JM
412082012-02-05 Joseph Myers <joseph@codesourcery.com>
41209
41210 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41211 Define.
41212 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41213 LOAD_PIC_REG_STR.
41214
b1da7dd9
JM
412152012-02-03 Joseph Myers <joseph@codesourcery.com>
41216
41217 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41218 (SETUP_PIC_REG): Use GET_PC_THUNK.
41219 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41220 macro.
41221
9a1d9254
JM
412222012-02-03 Joseph Myers <joseph@codesourcery.com>
41223
41224 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41225 for non-PIC compilation.
41226 (SETUP_PIC_REG): Add .p2align directive.
41227 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41228 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41229 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41230 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41231 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41232 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41233 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41234 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41235 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41236 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41237 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41238 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41239 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41240 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41241 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41242 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41243 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41244 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41245 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41246 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41247 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41248 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41249 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41250 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41251 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41252 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41253 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41254 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41255 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41256 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41257 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41258 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41259 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41260 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41261 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41262 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41263 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41264 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41265 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41266 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41267 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41268
65dc3b75
JM
412692012-02-03 Joseph Myers <joseph@codesourcery.com>
41270
41271 * math/tst-CMPLX.c: Include <stdio.h>.
41272
d55bf177
JM
412732012-01-31 Joseph Myers <joseph@codesourcery.com>
41274
41275 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41276 float.
41277 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41278 * sysdeps/sparc/bits/mathdef.h: Likewise.
41279
69db4f8f
MP
412802012-01-31 Marek Polacek <polacek@redhat.com>
41281
41282 * libio/libio.h: Don't define _PARAMS.
41283 * locale/programs/config.h: Don't define PARAMS.
41284 * stdlib/strtol_l.c: Likewise.
41285 (__strtol_l): Remove PARAMS from the prototype.
41286
41b81892
UD
412872012-01-31 Ulrich Drepper <drepper@gmail.com>
41288
3b49edc0
UD
41289 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41290 names. Just use the correct names. Remove unnecessary wrapper
41291 functions.
41292 * malloc/arena.c: Likewise.
41293 * malloc/hooks.c: Likewise.
41294
41b81892
UD
41295 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41296 ARENA_TEST says not to. Simplify test for creation of a new arena.
41297 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41298
27a25b6e
UD
412992012-01-30 Ulrich Drepper <drepper@gmail.com>
41300
41301 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41302 into tail calls.
41303 (update_get_addr): New function.
41304 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41305 GET_ADDR_MODULE parameter.
41306
c8a89e7d
JM
413072012-01-30 Joseph Myers <joseph@codesourcery.com>
41308
41309 * crypt/cert.c: Remove __STDC__ conditionals.
41310 * crypt/crypt-entry.c: Likewise.
41311 * crypt/crypt_util.c: Likewise.
41312 * libio/filedoalloc.c: Likewise.
41313 * libio/fileops.c: Likewise.
41314 * libio/genops.c: Likewise.
41315 * libio/iofclose.c: Likewise.
41316 * libio/iofdopen.c: Likewise.
41317 * libio/iofopen.c: Likewise.
41318 * libio/iofopen64.c: Likewise.
41319 * libio/iogetdelim.c: Likewise.
41320 * libio/iopopen.c: Likewise.
41321 * libio/obprintf.c: Likewise.
41322 * libio/oldfileops.c: Likewise.
41323 * libio/oldiofclose.c: Likewise.
41324 * libio/oldiofdopen.c: Likewise.
41325 * libio/oldiofopen.c: Likewise.
41326 * libio/oldiopopen.c: Likewise.
41327 * libio/wfiledoalloc.c: Likewise.
41328 * libio/wgenops.c: Likewise.
41329 * locale/programs/xmalloc.c: Likewise.
41330 * misc/syslog.c: Likewise.
41331 * stdio-common/xbug.c: Likewise.
41332 * string/memchr.c: Likewise.
41333 * string/memcmp.c: Likewise.
41334 * string/memrchr.c: Likewise.
41335 * string/rawmemchr.c: Likewise.
41336 * sysdeps/posix/getcwd.c: Likewise.
41337 * time/strftime_l.c: Likewise.
41338
3b100462
JM
413392012-01-30 Joseph Myers <joseph@codesourcery.com>
41340
41341 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
41342 * config.make.in (config-cflags-sse2avx): Define.
41343 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41344 Fix typo.
41345
607998af
CM
413462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41347
41348 * scripts/config.guess: Update from upstream config git repository.
41349 * scripts/config.sub: Likewise.
41350
3601428f
CM
413512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41352
3ac8b282
CM
41353 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41354 (EM_NUM): Update.
41355 (R_TILEPRO_*, R_TILEGX_*): New macros.
41356
e034841e
CM
41357 * scripts/firstversions.awk: Fix bug in version range handling.
41358
540d7568
CM
41359 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41360
3601428f
CM
41361 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41362
463de862
CM
41363 * include/sys/epoll.h: New file.
41364 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41365 libc_hidden_def.
41366
73139a76
UD
413672012-01-28 Ulrich Drepper <drepper@gmail.com>
41368
96bc5b45
UD
41369 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41370 Avoid unnecessary __WORDSIZE == 64 test.
41371 (fmaxf): Use VEX format if possible.
41372 (fmax): Likewise.
41373 (fminf): Likewise.
41374 (fmin): Likewise.
41375
56f6f6a2
UD
41376 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41377 * math/math_private.h: Remove libc_fegetround* and
41378 libc_fesetround*.
41379 * sysdeps/i386/configure.in: Check for -msse2avx.
41380 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41381 also if SSE2AVX is defined.
41382 Remove libc_fegetround* and libc_fesetround*.
41383 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41384 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41385 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41386 of HAS_YMM_USABLE.
41387 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41388 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41389 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41390 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41391 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41392
73139a76
UD
41393 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41394
d73f93a4
AZ
413952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41396
41397 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41398 size is not set.
41399 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41400
6ee65ed6
UD
414012012-01-27 Ulrich Drepper <drepper@gmail.com>
41402
41403 [BZ #13618]
41404 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41405 relocation.
41406 * Makeconfig (libm): Define.
41407 * elf/Makefile: Add rules to build and run tst-relsort1.
41408 * elf/tst-relsort1.c: New file.
41409 * elf/tst-relsort1mod1.c: New file.
41410 * elf/tst-relsort1mod2.c: New file.
41411
8db21882
JM
414122012-01-27 Joseph Myers <joseph@codesourcery.com>
41413
41414 * math/s_ldexp.c: Remove __STDC__ conditionals.
41415 * math/s_ldexpf.c: Likewise.
41416 * math/s_ldexpl.c: Likewise.
41417 * math/s_nextafter.c: Likewise.
41418 * math/s_nexttowardf.c: Likewise.
41419 * math/s_significand.c: Likewise.
41420 * math/s_significandf.c: Likewise.
41421 * math/s_significandl.c: Likewise.
41422 * math/w_jnl.c: Likewise.
41423 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41424 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41425 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41426 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41427 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41428 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41429 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41430 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41431 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41432 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41433 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41434 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41435 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41436 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41437 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41438 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41439 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41440 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41442 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41443 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41444 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41445 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41446 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41447 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41448 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41449 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41450 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41451 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41452 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41453 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41454 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41455 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41456 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41457 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41458 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41459 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41460 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41461 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41462 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41463 * sysdeps/ieee754/k_standard.c: Likewise.
41464 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41465 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41466 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41467 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41468 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41469 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41470 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41471 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41472 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41473 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41474 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41475 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41476 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41477 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41478 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41479 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41480 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41481 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41482 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41483 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41484 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41485 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41486 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41487 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41488 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41489 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41490 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41491 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41492 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41493 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41494 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41495 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41496 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41497 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41498 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41499 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41500 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41501 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41502 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41503 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41504 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41506 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41507 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41508 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41509 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41511 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41512 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41513 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41514 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41515 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41516 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41517 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41518 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41519 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41520 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41521 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41522 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41523 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41524 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41525 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41526 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41527 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41528 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41529 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41530 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41531 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41532 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41533 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41534 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41535 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41536 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41537 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41538 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41539 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41540 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41541 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41542 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41543 * sysdeps/ieee754/s_matherr.c: Likewise.
41544 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41545 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41546 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41548
965a54a4
JM
415492012-01-26 Joseph Myers <joseph@codesourcery.com>
41550
41551 * crypt/md5.h: Remove __STDC__ conditionals.
41552 * libio/libioP.h: Likewise.
41553 * locale/programs/config.h: Likewise.
41554 * sysdeps/generic/sysdep.h: Likewise.
41555 * sysdeps/i386/asm-syntax.h: Likewise.
41556 * sysdeps/s390/asm-syntax.h: Likewise.
41557 * sysdeps/unix/sysdep.h: Likewise.
41558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41560
7071ad79
JM
415612012-01-26 Joseph Myers <joseph@codesourcery.com>
41562
41563 * libio/libio.h: Remove __STDC__ conditionals.
41564 * malloc/obstack.h: Likewise.
41565 * math/complex.h: Likewise.
41566 * math/math.h: Likewise.
41567 * sysdeps/generic/_G_config.h: Likewise.
41568 * sysdeps/gnu/_G_config.h: Likewise.
41569 * sysdeps/mach/hurd/_G_config.h: Likewise.
41570 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41571 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41572 * sysdeps/sparc/bits/mathdef.h: Likewise.
41573
afc5ed09
UD
415742012-01-26 Ulrich Drepper <drepper@gmail.com>
41575
41576 [BZ #13583]
41577 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41578 Clean up HAS_* macros.
afc5ed09 41579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41580 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41581 possible.
41582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41583 HAS_AVX.
41584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41585 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41587 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41588 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41589
bdb6de1d
JM
415902012-01-25 Joseph Myers <joseph@codesourcery.com>
41591
41592 * elf/tst-unique3.cc (gets): Remove declaration.
41593 * elf/tst-unique3lib.cc (gets): Likewise.
41594 * elf/tst-unique3lib2.cc (gets): Likewise.
41595 * elf/tst-unique4.cc (gets): Likewise.
41596
b15549e6
UD
415972012-01-24 Ulrich Drepper <drepper@gmail.com>
41598
41599 * include/stdio.h: Add C++ protection. Add gets declarations and
41600 definitions.
41601 * debug/tst-chk1.c: Don't declare gets here.
41602 * stdio-common/tst-gets.c: Likewise.
41603
a037381f
JM
416042012-01-24 Joseph Myers <joseph@codesourcery.com>
41605
41606 * posix/glob: Remove directory.
41607
f1d4aa75
JM
416082012-01-24 Joseph Myers <joseph@codesourcery.com>
41609
41610 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41611
81c0c964
PT
416122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41613
41614 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41615 of the non-standard EPFNOSUPPORT.
41616
0ea698ae
ST
416172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41618
41619 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41620 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41621 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41622
d220b117
UD
416232012-01-21 Ulrich Drepper <drepper@gmail.com>
41624
41625 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41626
3e1aa84e
UD
416272012-01-20 Ulrich Drepper <drepper@gmail.com>
41628
41629 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41630 transient errors.
41631 * nscd/grpcache.c (cache_addgr): Likewise.
41632 * nscd/hstcache.c (cache_addhst): Likewise.
41633 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41634 * nscd/pwdcache.c (cache_addpw): Likewise.
41635 * nscd/servicescache.c (cache_addserv): Likewise.
41636
400aa020
UD
416372012-01-16 Ulrich Drepper <drepper@gmail.com>
41638
d77e7869
UD
41639 * malloc/malloc.c: Various cleanups.
41640 * malloc/hooks.c: Likewise.
41641
400aa020
UD
41642 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41643 * stdlib/bug-fmtmsg1.c: New file.
41644
41645 * stdlib/fmtmsg.c (init): Add missing unlock.
41646 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41647
e0a309cf
MP
416482012-01-12 Marek Polacek <polacek@redhat.com>
41649
41650 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41651 and _GNU_SOURCE.
41652
929d11c7
WS
416532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41654
41655 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41656 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41657 macro to ensure uniqueness of label name.
41658 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41659 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41660
41d0e869
UD
416612012-01-11 Ulrich Drepper <drepper@gmail.com>
41662
0cc5ed3b
UD
41663 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41664
41d0e869
UD
41665 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41666 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41667 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41669
a47a831a
UD
416702012-01-10 Ulrich Drepper <drepper@gmail.com>
41671
daa891c0
UD
41672 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41673
41674 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41675 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41676 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41677
e58ef0f2
UD
41678 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41679
a47a831a 41680 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41681 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41682 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41683 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41684
41685 * math/bits/math-finite.h: Add ldexp support.
41686
a0bfc9c7
MP
416872012-01-10 Marek Polacek <polacek@redhat.com>
41688
41689 * locale/programs/localedef.h (show_archive_content): Add noreturn
41690 attribute.
41691
d6e97a1d
UD
416922012-01-09 Ulrich Drepper <drepper@gmail.com>
41693
41694 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41695
d5835c26
UD
416962012-01-08 Ulrich Drepper <drepper@gmail.com>
41697
e5f484c6
UD
41698 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41699
d5835c26
UD
41700 * io/Makefile (headers): Add bits/poll2.h.
41701
d1f741e9
WS
417022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41703
41704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41705 typo #include statement.
41706
ec09c1c4
UD
417072012-01-08 Ulrich Drepper <drepper@gmail.com>
41708
41709 * include/sys/cdefs.h: Define __attribute_alloc_size.
41710 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41711 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41712 * elf/pldd.c: Likewise.
41713 * iconv/iconv_charmap.c: Likewise.
41714 * iconv/iconvconfig.c: Likewise.
41715 * iconv/strtab.c: Likewise.
41716 * locale/programs/locale.c: Likewise.
41717 * locale/programs/localedef.h: Likewise.
41718 * locale/programs/simple-hash.c: Likewise.
41719 * nscd/nscd.h: Likewise.
41720 * nss/makedb.c: Likewise.
41721 * sysdeps/generic/ldconfig.h: Likewise.
41722 * locale/programs/localedef.c: Remove xmalloc prototype.
41723 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41724
20b38e03
PP
417252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41726
41727 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41728 appropriate.
41729
a0da5fe1
UD
417302012-01-08 Ulrich Drepper <drepper@gmail.com>
41731
1d5a644a 41732 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41733 * math/tst-CMPLX.c: New file.
1d5a644a 41734
8784a6db
UD
41735 * math/complex.h (CMPLXL): Fix typo.
41736
d9a216c0
UD
41737 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41738 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41739 GLIBC_2.16.
41740 * debug/tst-chk1.c: Add poll and ppoll tests.
41741 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41742 * include/sys/poll.h: Add hidden proto for ppoll.
41743 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41744 * sysdeps/mach/hurd/ppoll.c: Likewise.
41745 * io/ppoll.c: Likewise.
41746 * debug/poll_chk.c: New file.
41747 * debug/ppoll_chk.c: New file.
41748 * include/bits/poll2.h: New file.
41749 * io/bits/poll2.h: New file.
41750
ac097f5c
UD
41751 [BZ #1350]
41752 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41753
2119dcfa
UD
41754 * configure.in: static is always set to yes. Remove.
41755 * config.make.in: Don't set build-static.
41756 * Makeconfig: Remove use of build-static.
41757 * dlfcn/Makefile: Likewise.
41758 * elf/Makefile: Likewise.
41759 * math/Makefile: Likewise.
41760 * misc/Makefile: Likewise.
41761 * nptl/Makefile: Likewise.
41762 * sysdeps/mach/hurd/Makefile: Likewise.
41763
121766a9
UD
41764 * configure.in: PWD_P is not used anymore.
41765 * config.make.in: Remove PWD_P entry.
41766
51a1d39c 41767 * configure.in: Remove last remnants of RANLIB.
8720d066 41768 No need to check for signed size_t anymore.
215f4bdc
UD
41769 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41770 and IA-64.
3857022a 41771 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41772 * aclocal.m4: Likewise.
41773
d3ed7225
UD
41774 * wcsmbs/mbrtoc16.c: Implement using towc function.
41775 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41776 * wcsmbs/wcsmbsload.c: Likewise.
41777 * iconv/gconv_simple.c: Likewise.
41778 * iconv/gconv_int.h: Likewise.
41779 * iconv/gconv_builtin.h: Likewise.
41780 * iconv/iconv_prog.c: Remove CHAR16 handling.
41781
41782 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41783
41784 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41785
a0da5fe1
UD
41786 * configure.in: Remove --with-elf and --enable-bounded options.
41787 Dont set base_machine for ia64. More non-ELF conditions removed.
41788 Remove testing and setting of leading underscore information.
41789 * config.make.in (build-bounded): Set to no.
41790 * config.h.in: Remove NO_UNDERSCORES entry.
41791 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41792 them.
41793 * csu/start.c: Remove !NO_UNDERSCORE code.
41794 * locale/localeinfo.h: Likewise.
41795 * sysdeps/generic/machine-gmon.h: Likewise.
41796 * sysdeps/generic/sysdep.h: Likewise.
41797 * sysdeps/i386/sysdep.h: Likewise.
41798 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41799 * sysdeps/mach/sysdep.h: Likewise.
41800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41801 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41802 * sysdeps/sh/sysdep.h: Likewise.
41803 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41804 * sysdeps/unix/i386/sysdep.S: Likewise.
41805 * sysdeps/unix/sparc/start.c: Likewise.
41806 * sysdeps/unix/sparc/sysdep.S: Likewise.
41807 * sysdeps/unix/sparc/sysdep.h: Likewise.
41808 * sysdeps/unix/start.c: Likewise.
41809 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41810 * sysdeps/x86_64/sysdep.h: Likewise.
41811
df78418a
UD
418122012-01-07 Ulrich Drepper <drepper@gmail.com>
41813
a784e502
UD
41814 [BZ #13553]
41815 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41816 for non-gcc.
41817 * argp/argp-fmtstream.h: Use const instead __const.
41818 * argp/argp.h: Likewise.
41819 * assert/assert.h: Likewise.
41820 * bits/fenv.h: Likewise.
41821 * bits/sched.h: Likewise.
41822 * bits/sigset.h: Likewise.
41823 * bits/sigthread.h: Likewise.
41824 * catgets/nl_types.h: Likewise.
41825 * conform/data/pthread.h-data: Likewise.
41826 * crypt/crypt-private.h: Likewise.
41827 * crypt/crypt.h: Likewise.
41828 * crypt/crypt_util.c: Likewise.
41829 * ctype/ctype.h: Likewise.
41830 * debug/execinfo.h: Likewise.
41831 * debug/mbsnrtowcs_chk.c: Likewise.
41832 * debug/mbsrtowcs_chk.c: Likewise.
41833 * debug/wcsnrtombs_chk.c: Likewise.
41834 * debug/wcsrtombs_chk.c: Likewise.
41835 * debug/wcstombs_chk.c: Likewise.
41836 * dirent/dirent.h: Likewise.
41837 * dlfcn/dlfcn.h: Likewise.
41838 * elf/neededtest4.c: Likewise.
41839 * grp/grp.h: Likewise.
41840 * gshadow/gshadow.h: Likewise.
41841 * iconv/gconv.h: Likewise.
41842 * iconv/gconv_int.h: Likewise.
41843 * iconv/gconv_simple.c: Likewise.
41844 * iconv/iconv.h: Likewise.
41845 * iconv/loop.c: Likewise.
41846 * iconv/skeleton.c: Likewise.
41847 * include/aio.h: Likewise.
41848 * include/aliases.h: Likewise.
41849 * include/argz.h: Likewise.
41850 * include/arpa/inet.h: Likewise.
41851 * include/assert.h: Likewise.
41852 * include/dirent.h: Likewise.
41853 * include/dlfcn.h: Likewise.
41854 * include/execinfo.h: Likewise.
41855 * include/fcntl.h: Likewise.
41856 * include/fenv.h: Likewise.
41857 * include/glob.h: Likewise.
41858 * include/grp.h: Likewise.
41859 * include/libintl.h: Likewise.
41860 * include/mntent.h: Likewise.
41861 * include/netdb.h: Likewise.
41862 * include/pwd.h: Likewise.
41863 * include/rpc/netdb.h: Likewise.
41864 * include/sched.h: Likewise.
41865 * include/search.h: Likewise.
41866 * include/shadow.h: Likewise.
41867 * include/signal.h: Likewise.
41868 * include/stdio.h: Likewise.
41869 * include/stdlib.h: Likewise.
41870 * include/string.h: Likewise.
41871 * include/sys/socket.h: Likewise.
41872 * include/sys/stat.h: Likewise.
41873 * include/sys/statfs.h: Likewise.
41874 * include/sys/statvfs.h: Likewise.
41875 * include/sys/syslog.h: Likewise.
41876 * include/sys/time.h: Likewise.
41877 * include/sys/uio.h: Likewise.
41878 * include/time.h: Likewise.
41879 * include/unistd.h: Likewise.
41880 * include/utmp.h: Likewise.
41881 * include/wchar.h: Likewise.
41882 * include/wctype.h: Likewise.
41883 * inet/aliases.h: Likewise.
41884 * inet/arpa/inet.h: Likewise.
41885 * inet/netinet/ether.h: Likewise.
41886 * inet/netinet/in.h: Likewise.
41887 * intl/libintl.h: Likewise.
41888 * io/bits/fcntl2.h: Likewise.
41889 * io/fcntl.h: Likewise.
41890 * io/ftw.h: Likewise.
41891 * io/sys/poll.h: Likewise.
41892 * io/sys/stat.h: Likewise.
41893 * io/sys/statfs.h: Likewise.
41894 * io/sys/statvfs.h: Likewise.
41895 * io/utime.h: Likewise.
41896 * libio/bits/stdio.h: Likewise.
41897 * libio/bits/stdio2.h: Likewise.
41898 * libio/libio.h: Likewise.
41899 * libio/libioP.h: Likewise.
41900 * libio/stdio.h: Likewise.
41901 * locale/lc-ctype.c: Likewise.
41902 * locale/locale.h: Likewise.
41903 * login/utmp.h: Likewise.
41904 * malloc/arena.c: Likewise.
41905 * malloc/malloc.c: Likewise.
41906 * malloc/malloc.h: Likewise.
41907 * malloc/mcheck.c: Likewise.
41908 * malloc/mtrace.c: Likewise.
41909 * math/bits/mathcalls.h: Likewise.
41910 * math/fenv.h: Likewise.
41911 * math/math_private.h: Likewise.
41912 * misc/bits/error.h: Likewise.
41913 * misc/bits/syslog.h: Likewise.
41914 * misc/err.h: Likewise.
41915 * misc/error.h: Likewise.
41916 * misc/fstab.h: Likewise.
41917 * misc/mntent.h: Likewise.
41918 * misc/regexp.h: Likewise.
41919 * misc/search.h: Likewise.
41920 * misc/sgtty.h: Likewise.
41921 * misc/sys/mman.h: Likewise.
41922 * misc/sys/syslog.h: Likewise.
41923 * misc/sys/uio.h: Likewise.
41924 * misc/sys/xattr.h: Likewise.
41925 * misc/ttyent.h: Likewise.
41926 * nis/rpcsvc/ypclnt.h: Likewise.
41927 * nss/nss.h: Likewise.
41928 * posix/bits/unistd.h: Likewise.
41929 * posix/fnmatch.h: Likewise.
41930 * posix/glob.h: Likewise.
41931 * posix/sched.h: Likewise.
41932 * posix/spawn.h: Likewise.
41933 * posix/sys/wait.h: Likewise.
41934 * posix/unistd.h: Likewise.
41935 * posix/wordexp.h: Likewise.
41936 * pwd/pwd.h: Likewise.
41937 * resolv/netdb.h: Likewise.
41938 * resource/sys/resource.h: Likewise.
41939 * rt/aio.h: Likewise.
41940 * rt/bits/mqueue2.h: Likewise.
41941 * rt/mqueue.h: Likewise.
41942 * shadow/shadow.h: Likewise.
41943 * signal/signal.h: Likewise.
41944 * socket/send.c: Likewise.
41945 * socket/sendto.c: Likewise.
41946 * socket/sys/socket.h: Likewise.
41947 * stdio-common/printf.h: Likewise.
41948 * stdlib/bits/stdlib.h: Likewise.
41949 * stdlib/fmtmsg.h: Likewise.
41950 * stdlib/monetary.h: Likewise.
41951 * stdlib/stdlib.h: Likewise.
41952 * stdlib/ucontext.h: Likewise.
41953 * streams/stropts.h: Likewise.
41954 * string/argz.h: Likewise.
41955 * string/bits/string2.h: Likewise.
41956 * string/string.h: Likewise.
41957 * string/strings.h: Likewise.
41958 * sunrpc/rpc/auth.h: Likewise.
41959 * sunrpc/rpc/auth_des.h: Likewise.
41960 * sunrpc/rpc/clnt.h: Likewise.
41961 * sunrpc/rpc/netdb.h: Likewise.
41962 * sunrpc/rpc/pmap_clnt.h: Likewise.
41963 * sunrpc/rpc/xdr.h: Likewise.
41964 * sysdeps/generic/inttypes.h: Likewise.
41965 * sysdeps/generic/net/if.h: Likewise.
41966 * sysdeps/generic/sys/swap.h: Likewise.
41967 * sysdeps/gnu/net/if.h: Likewise.
41968 * sysdeps/gnu/utmpx.h: Likewise.
41969 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41970 * sysdeps/i386/i486/bits/string.h: Likewise.
41971 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41972 * sysdeps/s390/bits/string.h: Likewise.
41973 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41974 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41975 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41976 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41977 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41978 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41979 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41980 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41981 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41982 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41983 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41984 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41985 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41986 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41987 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41988 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41989 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41991 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41992 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41993 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41994 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41995 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41996 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41997 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41998 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41999 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42000 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42001 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42002 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42003 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42004 * sysvipc/sys/ipc.h: Likewise.
42005 * sysvipc/sys/msg.h: Likewise.
42006 * sysvipc/sys/sem.h: Likewise.
42007 * sysvipc/sys/shm.h: Likewise.
42008 * termios/termios.h: Likewise.
42009 * time/sys/time.h: Likewise.
42010 * time/time.h: Likewise.
42011 * wcsmbs/bits/wchar2.h: Likewise.
42012 * wcsmbs/uchar.h: Likewise.
42013 * wcsmbs/wchar.h: Likewise.
42014 * wctype/wctype.h: Likewise.
42015
0269750c
UD
42016 [BZ #13551]
42017 * Makeconfig: Remove all but ELF support including AIX support.
42018 * Makerules: Likewise.
42019 * config.h.in: Likewise.
42020 * config.make.in: Likewise.
42021 * configure: Likewise.
42022 * configure.in: Likewise.
42023 * csu/Makefile: Likewise.
42024 * csu/version.c: Likewise.
42025 * debug/Makefile: Likewise.
42026 * dlfcn/Makefile: Likewise.
42027 * elf/Makefile: Likewise.
42028 * extra-lib.mk: Likewise.
42029 * iconv/Makefile: Likewise.
42030 * include/libc-symbols.h: Likewise.
42031 * include/shlib-compat.h: Likewise.
42032 * resolv/Makefile: Likewise.
42033 * resolv/res_libc.c: Likewise.
42034 * rt/Makefile: Likewise.
42035 * sysdeps/i386/asm-syntax.h: Likewise.
42036 * sysdeps/i386/sysdep.h: Likewise.
42037 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42038 * sysdeps/mach/sysdep.h: Likewise.
42039 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42040 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42041 * sysdeps/s390/asm-syntax.h: Likewise.
42042 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42043 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42044 * sysdeps/sh/sysdep.h: Likewise.
42045 * sysdeps/unix/sparc/sysdep.h: Likewise.
42046 * sysdeps/wordsize-32/divdi3.c: Likewise.
42047 * sysdeps/x86_64/sysdep.h: Likewise.
42048
00bbd29b
UD
42049 * argp/Versions: Remove _argp_unlock_xxx.
42050
42051 [BZ #13559]
42052 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42053 * abilist/libBrokenLocale.abilist: Likewise.
42054 * abilist/libanl.abilist: Likewise.
42055 * abilist/libc.abilist: Likewise.
42056 * abilist/libcrypt.abilist: Likewise.
42057 * abilist/libdl.abilist: Likewise.
42058 * abilist/libm.abilist: Likewise.
42059 * abilist/libnsl.abilist: Likewise.
42060 * abilist/libpthread.abilist: Likewise.
42061 * abilist/libresolv.abilist: Likewise.
42062 * abilist/librt.abilist: Likewise.
42063 * abilist/libthread_db.abilist: Likewise.
42064 * abilist/libutil.abilist: Likewise.
42065 * abilist/libnss_db.abilist: New file.
42066
42067 * scripts/abilist.awk: Add support for indirect functions.
42068
a2693a0e
UD
42069 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42070
3f05895f
UD
42071 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42072
ecb6fb48
UD
42073 * shlib-versions: Remove entries for ports architectures.
42074
664f8cb9
UD
42075 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42076 files in ports.
42077 * elf/stackguard-macros.h: Remove support for IA-64.
42078 * elf/tst-auditmod1.c: Likewise.
42079 * sysdeps/generic/ldsodefs.h: Likewise.
42080
7ae81d88
UD
42081 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42082 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42083 configure files.
42084
bdeba135
UD
42085 [BZ #13552]
42086 * configure.in: Remove --enable-omitfp support.
42087 * FAQ.in: Adjust.
42088 * config.make.in: Likewise.
42089 * Makeconfig: Likewise.
42090 * manual/install.texi: Likewise.
42091
d75a0a62
UD
42092 In case anyone cares, the IA-64 architecture could move to ports.
42093 * sysdeps/ia64/*: Removed.
42094 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42095 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42096
dcc9756b
UD
42097 [BZ #13555]
42098 * configure.in: Remove entries for unsupported architectures.
42099
d3761ebc 42100 [BZ #13533]
9954432e
UD
42101 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42102 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42103 routines.
42104 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42105 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42106 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42107 fall back to using wcrtomb.
42108 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42109 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42110 renaming.
42111 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42112 * wcsmbs/tst-c16c32-1.c: New file.
42113
42114 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42115 local variable.
42116
c3a87236
UD
42117 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42118
28926a1b
UD
42119 * elf/tst-unique3.cc: Add explicit declaration of gets.
42120 * elf/tst-unique3lib.cc: Likewise.
42121 * elf/tst-unique3lib2.cc: Likewise.
42122 * elf/tst-unique4.cc: Likewise.
42123
df78418a
UD
42124 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42125
8ecd6b2a
JM
421262012-01-06 Joseph Myers <joseph@codesourcery.com>
42127
42128 [BZ #13566]
42129 * assert/assert.h (static_assert): Don't define for C++.
42130 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42131 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42132
9f115170
UD
421332012-01-03 Ulrich Drepper <drepper@gmail.com>
42134
5e0d0300
UD
42135 * iconv/loop.c (single loop): Fix assertion in storing of
42136 remaining bytes.
42137
9f115170
UD
42138 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42139
81fb02b0
UD
421402012-01-01 Ulrich Drepper <drepper@gmail.com>
42141
42142 * posix/getconf.c: Update copyright year.
42143 * nss/getent.c: Likewise.
a316c1f6 42144 * nss/makedb.c: Likewise.
81fb02b0
UD
42145 * iconv/iconvconfig.c: Likewise.
42146 * iconv/iconv_prog.c: Likewise.
42147 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42148 * elf/pldd.c: Likewise.
42149 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42150 * catgets/gencat.c: Likewise.
42151 * csu/version.c: Likewise.
42152 * elf/ldd.bash.in: Likewise.
42153 * elf/sprof.c (print_version): Likewise.
42154 * locale/programs/locale.c: Likewise.
42155 * locale/programs/localedef.c: Likewise.
a316c1f6 42156 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42157 * nscd/nscd.c (print_version): Likewise.
42158 * debug/xtrace.sh: Likewise.
42159 * malloc/memusage.sh: Likewise.
42160 * malloc/mtrace.pl: Likewise.
42161 * debug/catchsegv.sh: Likewise.
42162
2ba92745
JJ
421632011-12-30 Jakub Jelinek <jakub@redhat.com>
42164
42165 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42166 pure attribute.
42167
dadebdae
UD
421682011-12-24 Ulrich Drepper <drepper@gmail.com>
42169
d3761ebc 42170 [BZ #13533]
db6af3eb
UD
42171 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42172 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42173 transformations.
42174 * iconv/gconv_int.h: Likewise.
42175 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42176 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42177 from libc for GLIBC_2.16.
42178 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42179 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42180 * wcsmbs/uchar.h: Really define mbstate_t.
42181 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42182 * wcsmbs/c16rtomb.c: New file.
42183 * wcsmbs/mbrtoc16.c: New file.
42184 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42185 for C/POSIX locale.
42186 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42187 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42188
dadebdae
UD
42189 * wcsmbs/wchar.h: Add missing __restrict.
42190
67371b56
UD
421912011-12-23 Ulrich Drepper <drepper@gmail.com>
42192
74033a25
UD
42193 [BZ #13532]
42194 * time/Makefile (routines): Add timespec_get.
42195 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42196 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42197 timespec for ISO C11.
42198 * time/timespec_get.c: New file.
42199 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42200 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42201
380d7e87
UD
42202 [BZ #13531]
42203 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42204 * stdlib/stdlib.h: Declare aligned_alloc.
42205 * Versions.def: Add GLIBC_2.16 for libc.
42206 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42207
4e9e7a35
UD
42208 [BZ 13527]
42209 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42210 ISO C11.
42211
380d7e87 42212 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42213 code.
42214
03a71829
UD
42215 [BZ #13528]
42216 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42217
839e283e
UD
42218 [BZ #13529]
42219 * assert/assert.h (static_assert): Define.
42220
ce5294e2 42221 * version.h: Update for 2.16 development version.
90fa7312 42222
8d44e150 42223 [BZ #13526]
d7809905
UD
42224 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42225 _ISOC11_SOURCE.
42226
c0da14cd
UD
42227 * version.h (RELEASE): Bump for 2.15 release.
42228 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42229
530a3249
MP
42230 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42231 Patch by Marek Polacek <mpolacek@redhat.com>.
42232
67371b56
UD
42233 * bits/byteswap.h: Protect long long constants with __extension__.
42234 * sysdeps/i386/bits/byteswap.h: Likewise.
42235 * sysdeps/ia64/bits/byteswap.h: Likewise.
42236 * sysdeps/s390/bits/byteswap.h: Likewise.
42237 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42238
15db4de1
LD
422392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42240
42241 [BZ #13540]
bbe315ea
LD
42242 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42243 destination buffer.
15db4de1
LD
42244 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42245
2b2596b1
MP
422462011-12-23 Marek Polacek <polacek@redhat.com>
42247
42248 * elf/dl-addr.c (determine_info): Add inline keyword.
42249 * elf/tst-auditmod4b.c (check_avx): Likewise.
42250 * elf/tst-auditmod6b.c (check_avx): Likewise.
42251 * elf/tst-auditmod6c.c (check_avx): Likewise.
42252 * elf/tst-auditmod7b.c (check_avx): Likewise.
42253
70c6c246
UD
422542011-12-23 Ulrich Drepper <drepper@gmail.com>
42255
42256 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42257 !__SSE_MATH__.
42258
c044cf14
LD
422592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42260
15db4de1 42261 [BZ #13540]
c044cf14
LD
42262 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42263 processing for last bytes.
42264
6b13d9d9
BH
422652011-08-06 Bruno Haible <bruno@clisp.org>
42266
d455f537
BH
42267 [BZ #13061]
42268 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42269 U+0385, not to U+1FEE.
42270
6b13d9d9
BH
42271 [BZ #13062]
42272 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42273 entry for U+00A5 U+0301.
42274
db910efd
UD
422752011-12-22 Ulrich Drepper <drepper@gmail.com>
42276
27deeafc
UD
42277 [BZ #13166]
42278 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42279 buffer for the output is too small.
42280
aed9d171
UD
42281 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42282 optimization.
42283
db910efd
UD
42284 [BZ #13185]
42285 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42286 SSE flags if possible.
42287
2bd779ae
LD
422882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42289
e7f9dac3 42290 [BZ #13540]
2bd779ae
LD
42291 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42292 processing for last bytes.
42293
154bfc16
JM
422942011-12-22 Joseph Myers <joseph@codesourcery.com>
42295
42296 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42297 (syscall-list-default-options, syscall-list-default-condition)
42298 (syscall-list-includes): Define.
42299 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42300 list of ABIs and options and #if conditions for each ABI. Do not
42301 handle common syscalls between ABIs specially.
42302 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42303 Remove.
42304 (syscall-list-variants, syscall-list-32bit-options)
42305 (syscall-list-32bit-condition, syscall-list-64bit-options)
42306 (syscall-list-64bit-condition): Define.
42307 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42308 (syscall-list-variants, syscall-list-32bit-options)
42309 (syscall-list-32bit-condition, syscall-list-64bit-options)
42310 (syscall-list-64bit-condition): Define.
42311 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42312 Remove.
42313 (syscall-list-variants, syscall-list-32bit-options)
42314 (syscall-list-32bit-condition, syscall-list-64bit-options)
42315 (syscall-list-64bit-condition): Define.
42316 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42317 Remove.
42318 (syscall-list-variants, syscall-list-32bit-options)
42319 (syscall-list-32bit-condition, syscall-list-64bit-options)
42320 (syscall-list-64bit-condition): Define.
42321
21eaf3a5
UD
423222011-12-22 Ulrich Drepper <drepper@gmail.com>
42323
16c6f992
UD
42324 * locale/iso-639.def: Add brx entry.
42325
41043168
UD
42326 [BZ #13328]
42327 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42328 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42329
21eaf3a5
UD
42330 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42331 __feraiseexcept_renamed.
42332
e3a851a2
UD
423332011-12-21 Ulrich Drepper <drepper@gmail.com>
42334
4920765e
UD
42335 [BZ #13538]
42336 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42337 EPOLLET with unsigned values.
42338 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42339 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42340
e3a851a2
UD
42341 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42342 to large cancellation.
42343 * math/s_cacoshf.c: Likewise.
42344 * math/s_cacoshl.c: Likewise.
42345
b27e24b8
RK
423462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42347
42348 [BZ #13305]
aebefeee 42349 [BZ #12786]
b27e24b8
RK
42350 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42351 * math/s_cacoshf.c: Likewise.
42352 * math/s_cacoshl.c: Likewise.
42353
ee190f67
UD
423542011-12-21 Ulrich Drepper <drepper@gmail.com>
42355
42356 [BZ #13439]
42357 * iconv/gconv.h: Define __GCONV_SWAP.
42358 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42359 * iconvdata/utf-16.c: Likewise.
42360 * iconvdata/utf-32.c: Likewise.
42361
707f25df
AS
423622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42363
42364 [BZ #13524]
42365 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42366 numerator after shifting it by one limb.
42367
d2daaa1e
RÁE
423682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42369
42370 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42371 under [__USE_EXTERN_INLINES].
42372
a4647e72
UD
423732011-12-17 Ulrich Drepper <drepper@gmail.com>
42374
42375 [BZ #13446]
42376 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42377
f0b264f1
AZ
423782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42379
42380 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42381 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42382 optimized code.
42383 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42384 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42385 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42386 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42387 for strncasecmp/strncasecmp_l compilation.
42388 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42389 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42390
8ef4f244
MP
423912011-12-08 Marek Polacek <mpolacek@redhat.com>
42392
42393 [BZ #13484]
42394 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42395 of __asm__.
42396
97ac2654
UD
423972011-12-17 Ulrich Drepper <drepper@gmail.com>
42398
42399 [BZ #13506]
42400 * time/tzfile.c (__tzfile_read): Check values from file header.
42401
91d2a845
WS
424022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42403
42404 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42405 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42406 * powerpc/powerpc32/dl-start.S: Likewise.
42407 * powerpc/powerpc32/elf/start.S: Likewise.
42408 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42409 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42410 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42411 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42412 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42413 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42414 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42415 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42416 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42417 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42418 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42419 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42420 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42421 * powerpc/powerpc32/memset.S: Likewise.
42422 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42423 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42424 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42425 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42426 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42427 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42428 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42429 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42430 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42431 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42432 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42433 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42434 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42435
a1267ba1
AZ
424362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42437
42438 * math/libm-test.inc: Added more nearbyint tests.
42439 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42440 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42441 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42442 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42443
ad8ac1bd
RL
424442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42445
42446 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42447 FD_CLOEXEC.
42448
1d3e4b61
UD
424492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42450
42451 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42452 Add wcscpy-ssse3 wcscpy-c.
42453 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42454 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42455 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42456 * sysdeps/x86_64/wcschr.S: New file.
42457 * sysdeps/x86_64/wcsrchr.S: New file.
42458 * string/test-strcmp.c: Remove checking of wcscmp function for
42459 wrong alignments.
42460 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42461 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42462 wcsrchr-sse2 wcsrchr-c.
42463 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42464 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42465 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42466 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42467 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42468 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42469 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42470 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42471 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42472 * wcsmbc/wcschr.c (WCSCHR): New macro.
42473
5b330a2d
UD
424742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42475
42476 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42477 * wcsmbs/test-wcsrchr.c: New file.
42478 * string/test-strrchr.c: Add wcsrchr support.
42479 (WIDE): New macro.
42480 * wcsmbs/test-wcscpy.c: New file.
42481 * string/test-strcpy.c: Add wcscpy support.
42482 (WIDE): New macro.
26428b7c 42483
f039c043
UD
424842011-12-10 Ulrich Drepper <drepper@gmail.com>
42485
42486 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42487 the inner loop.
42488
850fb039
AS
424892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42490
42491 [BZ #13472]
42492 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42493
4efbd5cb
UD
424942011-12-04 Ulrich Drepper <drepper@gmail.com>
42495
52ff5dd0 42496 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42497 Minor optimizations.
52ff5dd0 42498
4efbd5cb
UD
42499 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42500 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42501 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42502
8a426e12
UD
425032011-12-03 Ulrich Drepper <drepper@gmail.com>
42504
aff2453d
UD
42505 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42506 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42507 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42508 for gcc to avoid warnings.
42509 * inet/Makefile (tests): Add tst-checks.
42510 * inet/tst-checks.c: New file.
42511
42512 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42513 warning.
42514
42515 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42516 __wmemcmp_sse2.
42517
42518 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42519 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42520
8a426e12
UD
42521 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42522
9bea3473
UD
425232011-12-02 Ulrich Drepper <drepper@gmail.com>
42524
3a965496
UD
42525 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42526 problem.
42527
9bea3473
UD
42528 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42529
f101631b
UD
425302011-11-29 Joseph Myers <joseph@codesourcery.com>
42531
42532 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42533 conditional on GCC version.
42534 (__arch_compare_and_exchange_val_8_acq)
42535 (__arch_compare_and_exchange_val_16_acq)
42536 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42537 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42538 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42539
a98275aa
UD
425402011-12-02 Joseph Myers <joseph@codesourcery.com>
42541
42542 * sysdeps/sh/backtrace.c: New file.
42543
d4cc29a2
AS
425442011-12-02 Andreas Schwab <schwab@redhat.com>
42545
42546 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42547 parenthesis.
42548
6257af2d
AS
425492011-12-01 Andreas Schwab <schwab@redhat.com>
42550
42551 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42552 falling back to utime.
42553
b5f44c1a
AS
425542011-11-30 Andreas Schwab <schwab@redhat.com>
42555
42556 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42557 expectations for float.
42558
f3a6cc0a
AS
425592011-11-29 Andreas Schwab <schwab@redhat.com>
42560
42561 * locale/weight.h (findidx): Add parameter len.
42562 * locale/weightwc.h (findidx): Likewise.
42563 * posix/fnmatch_loop.c (FCT): Adjust caller.
42564 * posix/regcomp.c (build_equiv_class): Likewise.
42565 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42566 * posix/regexec.c (check_node_accept_bytes): Likewise.
42567 * string/strcoll_l.c (STRCOLL): Likewise.
42568 * string/strxfrm_l.c (STRXFRM): Likewise.
42569
9d65ea3a
UD
425702011-11-17 Ulrich Drepper <drepper@gmail.com>
42571
42572 * Makefile.in: Remove CVSOPT handling.
42573 * configure.in: Remove use of AC_REVISION.
42574 * iconvdata/Makefile (distribute): No need to filter out CVS.
42575 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42576 handling.
42577
5583a086
AS
425782011-11-16 Andreas Schwab <schwab@redhat.com>
42579
42580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42581 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42582 [USE_AS_STRNCASECMP_L]: Likewise.
42583 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42584 NO_TLS_DIRECT_SEG_REFS.
42585 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42586 Fix argument offsets for non-PIC.
42587 [USE_AS_STRNCASECMP_L]: Likewise.
42588 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42589 NO_TLS_DIRECT_SEG_REFS.
42590
d62a8200
UD
425912011-11-15 Ulrich Drepper <drepper@gmail.com>
42592
9d65ea3a 42593 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42594 O_CLOEXEC.
42595 * locale/loadlocale.c (_nl_load_locale): Likewise.
42596
09f93bd3
AS
425972011-11-15 Andreas Schwab <schwab@redhat.com>
42598
446514f9
AS
42599 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42600 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42601 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42602 (SYSCALL_GETTIME): Set errno on error.
42603
09f93bd3
AS
42604 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42605 count references to noai6ai_cached.
42606
312be3f9
UD
426072011-11-15 Ulrich Drepper <drepper@gmail.com>
42608
42609 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42610
42611 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42612 FD_CLOEXEC for /proc/self/maps.
42613
42614 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42615 FD_CLOEXEC for /proc/meminfo.
42616
42617 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42618 gai.conf.
42619
42620 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42621 FD_CLOEXEC for given file.
42622
42623 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42624
42625 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42626 FD_CLOEXEC for /etc/hosts.
42627 (_gethtent): Likewise.
42628
42629 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42630
42631 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42632 cancellation and set FD_CLOEXEC for /etc/netgroup.
42633
42634 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42635 reading /etc/publickey.
42636
42637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42638 allow cancellation when reading /etc/group.
42639
42640 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42641 cancellation.
42642 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42643
42644 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42645 when using data file.
42646
42647 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42648
42649 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42650 (write_nis_obj): Use "c" and "e" in fopen.
42651
42652 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42653
42654 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42655
42656 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42657
42658 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42659
42660 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42661 locale.alias.
42662
42663 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42664
42665 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42666
42667 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42668
42669 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42670 file parsing and set FD_CLOEXEC.
42671
82af0fa8
UD
426722011-11-14 Ulrich Drepper <drepper@gmail.com>
42673
42674 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42675
a5fb313c
AS
426762011-11-14 Andreas Schwab <schwab@redhat.com>
42677
42678 * malloc/arena.c (arena_get2): Don't call reused_arena when
42679 _int_new_arena failed.
42680
6abf3465
UD
426812011-11-14 Ulrich Drepper <drepper@gmail.com>
42682
42683 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42684 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42685 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42686 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42687 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42688 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42689 to compile strcasecmp and strncasecmp.
42690 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42691 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42692
42693 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42694
76e3966e
UD
426952011-11-13 Ulrich Drepper <drepper@gmail.com>
42696
42697 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42698 locale-defines.sym to gen-as-const-headers.
42699 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42700 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42701 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42702 to compile strcasecmp and strncasecmp.
42703 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42704 strcasecmp_l and strncasecmp_l.
42705 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42706 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42707 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42708 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42709 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42710 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42711 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42712 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42713 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42714 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42715 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42716
ab26144e
UD
427172011-11-12 Ulrich Drepper <drepper@gmail.com>
42718
7edb22ef
UD
42719 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42720 result of SYSDEP_GETTIME_CPU to retval.
42721 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42722 parameter list to macro. Remove trailing semicolon. Adjust users.
42723
9694fc44
UD
42724 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42725 variable.
42726
8ad89ef8
UD
42727 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42728 mantissa words.
42729 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42730
0c822ef9
UD
42731 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42732 from unused variable.
42733
874e0564
UD
42734 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42735 DWARF definitions.
42736 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42737 for assembling.
42738
3a2edc79
UD
42739 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42740 over namespaces.
42741
f3c2577f
UD
42742 * sunrpc/rpc_prot.c (rejected): Fix case value.
42743
294ce126
UD
42744 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42745 unsigned long long int to avoid warnings in shift.
42746
5e2b63c6
UD
42747 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42748 of use of trans.
42749 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42750 variable tmp.
42751
e7f4b08e
UD
42752 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42753 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42754 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42755
ab26144e
UD
42756 * nis/nis_table.c (nis_list): Use variable of correct type for
42757 result of __follow_path call.
42758
8a6d5255
AZ
427592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42760
42761 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42762 of math functions ceil, trunc, floor, round, and sqrt, when
42763 avaliable on the platform.
42764 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42765 name clash.
42766 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42767 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42768 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42769
aaddc98c
MP
427702011-10-30 Marek Polacek <mpolacek@redhat.com>
42771
42772 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42773 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42774
95b7042b
RM
427752011-11-11 Roland McGrath <roland@hack.frob.com>
42776
42777 * include/unistd.h: Fix __readlink return type.
42778 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42779
57769839
UD
427802011-11-11 Ulrich Drepper <drepper@gmail.com>
42781
42782 * stdlib/ucontext.h: Undo last change for makecontext.
42783
edc5984d
AS
427842011-11-11 Andreas Schwab <schwab@redhat.com>
42785
98591e58
AS
42786 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42787
edc5984d
AS
42788 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42789 * setjmp/setjmp.h: Mark functions as non-leaf.
42790 * setjmp/bits/setjmp2.h: Likewise.
42791 * stdlib/ucontext.h: Likewise.
42792
77cdc054
AS
427932011-11-10 Andreas Schwab <schwab@redhat.com>
42794
42795 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42796 (reused_arena): Don't check arena limit.
42797 (arena_get2): Atomically check arena limit.
42798
fe72eebd
UD
427992011-11-08 Ulrich Drepper <drepper@gmail.com>
42800
5f078c32
UD
42801 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42802 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42803
fe72eebd
UD
42804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42805 instructions.
42806
ae1bc2fa
AS
428072011-11-07 Andreas Schwab <schwab@redhat.com>
42808
7583a88d
AS
42809 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42810 handler when locking.
42811
ae1bc2fa
AS
42812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42813 Fix size of allocated buffer.
42814
10fb0bfa
AS
428152011-11-04 Andreas Schwab <schwab@redhat.com>
42816
998832a4
AS
42817 [BZ #10103]
42818 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42819 declarations for long double functions.
42820 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42821
10fb0bfa
AS
42822 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42823
3d7ba52b
AS
428242011-11-03 Andreas Schwab <schwab@redhat.com>
42825
a9ae54a1
AS
42826 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42827 installed.
42828
3d7ba52b
AS
42829 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42830 is disabled.
42831
bc8db248
ST
428322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42833
42834 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42835
45b96dd6
AS
428362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42837
647776f6
AS
42838 * include/alloca.h (stackinfo_alloca_round): Define.
42839 (extend_alloca): Use it.
42840 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42841 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42842 here.
42843
d91a8b93
AS
42844 * scripts/check-local-headers.sh: Ignore libaudit.h.
42845
45b96dd6
AS
42846 * nscd/Makefile (extra-objs): Make recursively expanded.
42847
432d41ce
UD
428482011-11-01 Ulrich Drepper <drepper@gmail.com>
42849
34372fc6
UD
42850 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42851 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42852
fadb59f8
UD
42853 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42854 * posix/tst-rfc3484-2.c: Likewise.
42855 * posix/tst-rfc3484-3.c: Likewise.
42856
78239589
UD
42857 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42858 process_vm_writev.
42859 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42860 process_vm_writev.
42861 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42862 process_vm_writev from libc using GLIBC_2.15 version.
42863
432d41ce
UD
42864 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42865
02f9c6cf
PP
428662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42867
42868 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42869 stack usage.
42870
3a2c0242
UD
428712011-10-31 Ulrich Drepper <drepper@gmail.com>
42872
f4ec4833
UD
42873 [BZ #13367]
42874 * nss/getent.c (initgroups_keys): Show error message in case no group
42875 names are given.
42876
3a2c0242
UD
42877 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42878 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42879 __bump_nl_timestamp.
42880 * nscd/connections (nscd_init): When host database is served open
42881 netlink socket and request notification about configuration changes.
42882 (main_loop_poll): Track netlink file descriptor and bump timestamp
42883 in case data becomes available.
42884 (main_loop_epoll): Likewise.
42885 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42886 (database_pers_head): Add extra_data fileds.
42887 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42888 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42889 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42890 Adjust caller.
42891 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42892 in6ai data, call __free_in6ai.
42893 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42894 Add -DHAVE_NETLINK.
42895 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42896 interface information. Reuse previous data if netlink timestamp
42897 is not changed.
42898 (__bump_nl_timestamp): New function.
42899 (__free_in6ai): New function.
42900
636064eb
UD
429012011-10-30 Ulrich Drepper <drepper@gmail.com>
42902
42903 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42904 close_not_cancel_no_status here.
42905 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42906
9beb2334
UD
429072011-10-29 Ulrich Drepper <drepper@gmail.com>
42908
6ef76f3b
UD
42909 [BZ #13276]
42910 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42911 return value.
42912
0ffc4f3e 42913 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42914 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42915 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42916
cb95113e
UD
429172011-07-03 Andreas Jaeger <aj@suse.de>
42918
42919 [BZ #10709]
42920 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42921 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42922 * math/libm-test.inc (sin_test): Add test case.
42923
a1b560ff
UD
429242011-10-29 Ulrich Drepper <drepper@gmail.com>
42925
c9aaface
UD
42926 [BZ #13337]
42927 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42928 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42929
d272e7f1
UD
42930 * elf/chroot_canon.c (chroot_canon): Cleanups.
42931
1bc33071
UD
42932 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42933
1760874d
TJ
42934 [BZ #13335]
42935 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42936 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42937
51d91b18
UD
42938 * string/test-strchr.c: Make usable for strchrnul testing.
42939 * string/test-strchrnul.c: New file.
42940 * string/Makefile (strop-tests): Add strchrnul.
42941
a1b560ff 42942 * po/it.po: Update from translation team.
b611fb81 42943 * po/es.po: Likewise.
a1b560ff 42944
a5b81e1f
UD
429452011-10-28 Ulrich Drepper <drepper@gmail.com>
42946
fd52bc6d
UD
42947 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42948 the three constants needed as parameters. Drop the others.
42949 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42950 __m128i_strloadu_tolower.
52e4b9eb
UD
42951 Create and initialize variable zero and use it in all the places
42952 where _mm_setzero_si128 was used.
fd52bc6d 42953
a5b81e1f
UD
42954 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42955 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42956 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42957 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42958 anymore.
42959 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42960 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42961 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42962 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42963 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42964 __mpranred, __mptan.
42965 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42966 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42967 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42968 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42969 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42970 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42971 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42972 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42973 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42974
b4343346
AS
429752011-10-28 Andreas Schwab <schwab@redhat.com>
42976
0c92d8a8
AS
42977 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42978 redefine if SHARED.
42979 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42980
b4343346
AS
42981 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42982 wide char related routines to wcsmbs subdir.
42983
3871f58f
AS
429842011-10-27 Andreas Schwab <schwab@redhat.com>
42985
42986 [BZ #13344]
42987 * misc/sys/cdefs.h (__THROWNL): Define.
42988 * posix/unistd.h: Use __THREADNL instead of __THREAD
42989 for memory synchronization functions.
42990
94d44d9f
RM
429912011-10-26 Roland McGrath <roland@hack.frob.com>
42992
21b64b15 42993 [BZ #13349]
94d44d9f
RM
42994 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42995 doesn't exist.
42996 * manual/stdio.texi (Obstack Streams): Node removed.
42997
f6ce9294
AS
429982011-10-26 Andreas Schwab <schwab@redhat.com>
42999
80479147
AS
43000 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43001 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43002 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43003
f6ce9294
AS
43004 * math/math_private.h (math_force_eval): Allow non-addressable
43005 arguments.
43006 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43007
618280a1
UD
430082011-10-25 Ulrich Drepper <drepper@gmail.com>
43009
e0016b11
UD
43010 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43011 file is not needed.
43012
43013 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43014 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43016 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43018 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43020 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43021 Add AVX variants.
43022 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43023 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43024 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43025 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43026 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43027 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43028 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43029 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43030 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43031 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43032 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43033 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43034 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43035 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43036 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43037 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43038 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43039 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43040 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43041
43042 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43043 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43044
618280a1
UD
43045 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43046 place. Use VEX encoding when compiling for AVX.
43047
37822576
AS
430482011-10-25 Andreas Schwab <schwab@redhat.com>
43049
1f1e1947
AS
43050 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43051 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43052
37822576
AS
43053 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43054
31ea014d
UD
430552011-10-25 Ulrich Drepper <drepper@gmail.com>
43056
d7826aa1 43057 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43058 useless if() expression.
d7826aa1
UD
43059 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43060 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43061 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43063 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43064 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43065 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43066 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43067 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43068 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43069 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43070 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43071 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43072 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43073 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43074 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43075 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43077 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43078
31ea014d
UD
43079 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43080
16437fec
AS
430812011-10-25 Andreas Schwab <schwab@redhat.com>
43082
43083 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43084 condition.
43085 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43086
31d3cc00
UD
430872011-10-25 Ulrich Drepper <drepper@gmail.com>
43088
43089 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43090 .text section. Avoid duplicate constants.
43091 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43092 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43093 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43095 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43099 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43100 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43101 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43102 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43103 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43104 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43105 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43106 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43107 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43108 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43109 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43110 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43111 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43112 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43113 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43114 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43115 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43116 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43117 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43118 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43119 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43120 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43121 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43122 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43123 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43124 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43125 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43126 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43127 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43128 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43129 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43130 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43131 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43132 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43133 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43134 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43135 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43136
58985aa9
UD
431372011-10-24 Ulrich Drepper <drepper@gmail.com>
43138
202c9deb
UD
43139 * sysdeps/x86_64/dla.h: Move to ...
43140 * sysdeps/x86_64/fpu/dla.h: ...here.
43141 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43142 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43143
af968f62
UD
43144 * config.make.in: Add have-mfma4 entry.
43145 * configure.in: Substitute libc_cv_cc_fma4.
43146 * math/Makefile (dbl-only-routines): Add sincostab.
43147 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43148 Use __sincostab not sincos.
43149 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43150 name is a macro.
43151 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43155 using __copysign.
43156 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43157 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43158 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43159 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43160 and __inv.
43161 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43162 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43163 __copysign.
43164 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43165 define aliases when function name is a macro.
43166 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43167 sysdeps/ieee754/dbl-64/sincos.tbl.
43168 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43169 fma4-enabled routines.
43170 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43171 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43172 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43173 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43174 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43175 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43176 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43177 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43178 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43179 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43180 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43181 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43182 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43183 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43184 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43185 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43186 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43187 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43188 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43190 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43191 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43192 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43193 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43194 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43195 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43196 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43197 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43198 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43199 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43200
58985aa9
UD
43201 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43202 rename.
43203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43210 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43211
a201fbcf
AS
432122011-10-24 Andreas Schwab <schwab@redhat.com>
43213
43214 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43215
fc2ee42a
LD
432162011-10-23 Ulrich Drepper <drepper@gmail.com>
43217
bb3129bd
UD
43218 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43219
0275fff8
UD
43220 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43221 prediction.
43222 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43223
2fa2ae85
UD
43224 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43225 Remove unused variable magic_bits.
43226 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43227
fc2ee42a
LD
43228 * string/strnlen.c: Define and use STRNLEN macro.
43229 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43230 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43231 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43232 * wcsmbs/wcslen.c: Define and use WCSLEN.
43233 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43234 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43235 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43236 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43237 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43238 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43239 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43240
ce7dd29f
LD
432412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43242
43243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43244 strnlen-sse2-no-bsf.
43245 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43247 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43248 Add strnlen support.
43249 (USE_AS_STRNLEN): New macro.
43250 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43251 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43252 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43253 * sysdeps/x86_64/wcslen.S: New file.
43254
979c70a3
MZ
432552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43256
43257 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43258 XMM-moves are used for copying on small sizes.
43259
2d09f82f
LD
432602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43261
43262 * wcsmbs/Makefile (strop-tests): Add wcschr.
43263 * wcsmbs/test-wcschr.c: New file.
43264 * string/test-strchr.c: Update.
43265 Add wcschr support.
43266 (WIDE): New macro.
43267
619fccca
LD
432682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43269
2d09f82f 43270 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43271 * wcsmbs/test-wcslen.c: New file.
43272 * string/test-strlen.c: Update.
43273 Add wcslen support.
43274 (WIDE): New macro.
43275
09f699ea
UD
432762011-10-23 Ulrich Drepper <drepper@gmail.com>
43277
43278 * po/it.po: Update from translation team.
43279
95584d3b
LD
432802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43281
43282 * sysdeps/x86_64/wcscmp.S: Update.
43283 Fix wrong comparison semantics.
43284 wcscmp shall use signed comparison not unsigned.
43285 Don't use substraction to avoid overflow bug.
43286 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43287 * wcsmbc/wcscmp.c: Likewise.
43288 * string/test-strcmp.c: Likewise.
43289 Add new tests to check cases with negative values.
43290
c8b3296b
UD
432912011-10-23 Ulrich Drepper <drepper@gmail.com>
43292
43293 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43294 * sysdeps/x86_64/dla.h: ...here. New file.
43295 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43300 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43302 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43303 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43304
246ad57a
AS
433052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43306
43307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43308 __ynl_finite aliases.
43309
a1a87169
UD
433102011-10-22 Ulrich Drepper <drepper@gmail.com>
43311
0d355eb7
UD
43312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43313
a1a87169
UD
43314 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43315 define DLA_FMA.
43316 [DLA_FMA] (EMULV): Use DLA_FMA.
43317 [DLA_FMA] (MUL12): Use EMULV.
43318 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43319 that are not needed.
43320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43324 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43325 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43326 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43327
ee2aafe0
AS
433282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43329
43330 * math/s_nan.c: Undef __nan.
43331 * math/s_nanf.c: Undef __nanf.
43332 * math/s_nanl.c: Undef __nanl.
43333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43334 "math_private.h".
43335
bc62c2fb
UD
433362011-10-22 Ulrich Drepper <drepper@gmail.com>
43337
77425c63
UD
43338 * math/s_catan.c: Add branch predictions.
43339 * math/s_catanf.c: Likewise.
43340 * math/s_catanh.c: Likewise.
43341 * math/s_catanhf.c: Likewise.
43342 * math/s_catanhl.c: Likewise.
43343 * math/s_catanl.c: Likewise.
43344 * math/s_cexp.c: Likewise.
43345 * math/s_cexpf.c: Likewise.
43346 * math/s_cexpl.c: Likewise.
43347 * math/s_clog.c: Likewise.
43348 * math/s_clog10.c: Likewise.
43349 * math/s_clog10f.c: Likewise.
43350 * math/s_clog10l.c: Likewise.
43351 * math/s_clogf.c: Likewise.
43352 * math/s_clogl.c: Likewise.
43353 * math/s_csqrt.c: Likewise.
43354 * math/s_csqrtf.c: Likewise.
43355 * math/s_csqrtl.c: Likewise.
43356 * math/s_ctanf.c: Likewise.
43357 * math/s_ctanh.c: Likewise.
43358 * math/s_ctanhf.c: Likewise.
43359 * math/s_ctanhl.c: Likewise.
43360 * math/s_ctanl.c: Likewise.
43361
bc62c2fb
UD
43362 * math/math_private.h: Define __nan, __nanf, __nanl.
43363 * math/s_cacosh.c: Include <math_private.h>.
43364 * math/s_cacoshl.c: Likewise.
43365 * math/s_casinh.c: Likewise.
43366 * math/s_casinhf.c: Likewise.
43367 * math/s_casinhl.c: Likewise.
43368 * math/s_ccos.c: Rely entire on ccosh.
43369 * math/s_ccosf.c: Rely entire on ccoshf.
43370 * math/s_ccosl.c: Rely entirely on ccoshl.
43371 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43372 Remove tests for FE_INVALID.
43373 * math/s_ccoshf.c: Likewise.
43374 * math/s_ccoshl.c: Likewise.
43375 * math/s_csin.c: Likewise.
43376 * math/s_csinf.c: Likewise.
43377 * math/s_csinh.c Likewise.
43378 * math/s_csinhf.c: Likewise.
43379 * math/s_csinhl.c: Likewise.
43380 * math/s_csinl.c: Likewise.
43381 * math/s_ctan.c: Likewise.
43382 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43383 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43384 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43385
8ec250a4
UD
433862011-10-21 Ulrich Drepper <drepper@gmail.com>
43387
c196fed8
UD
43388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43389 compilation problems.
43390
8ec250a4
UD
43391 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43392 __builtin_expect.
43393
8d4f46c6
UD
433942011-10-20 Ulrich Drepper <drepper@gmail.com>
43395
ed72b654
UD
43396 * sysdeps/i386/configure.in: Test for -mfma4 option.
43397 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43398 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43399 COMMON_CPUID_INDEX_80000001.
43400 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43401 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43402 use it if FMA3 is not supported.
43403 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43404
8d4f46c6
UD
43405 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43406 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43407
d45c60c2
AS
434082011-10-20 Andreas Schwab <schwab@redhat.com>
43409
43410 [BZ #12892]
43411 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43412 it would create a cycle with a link time dependency.
43413
d9a4d2ab
UD
434142011-10-19 Ulrich Drepper <drepper@gmail.com>
43415
855d1560
UD
43416 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43417 instruction.
43418 * string/Makefile (strop-tests): Add rawmemchr.
43419 * string/test-rawmemchr.c: New file.
43420
d9a4d2ab
UD
43421 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43422 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43423 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43424 when compiling str{,n}casecmp and when AVX is available. Hook up
43425 new optimized code in initializers.
43426
8f3b1ffe
AS
434272011-10-19 Andreas Schwab <schwab@redhat.com>
43428
43429 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43430 __feraiseexcept instead of feraiseexcept.
43431
d38f1dba
UD
434322011-10-18 Ulrich Drepper <drepper@gmail.com>
43433
d9a8d0ab
UD
43434 * math/math_private.h: Define defaults for libc_fetestexcept and
43435 libc_feupdateenv.
43436 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43437 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43438 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43439 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43440 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43441 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43442 libc_fetestexcept and libc_feupdateenv.
43443
4855e3dd
UD
43444 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43445 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43446 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43447 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43448 libc_feholdexcept_setround.
43449
581d30e3
UD
43450 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43451 Add s_nearbyint-c and s_nearbyintf-c.
43452 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43453 nearbyintf inlines.
43454 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43455 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43456 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43457 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43458
d38f1dba
UD
43459 * math/math_private.h: Define defaults for libc_fegetround,
43460 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43461 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43462 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43463 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43464 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43465 standard functions.
43466 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43467 Remove comments and hacks for old compiler versions.
43468 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43469 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43470 libc_feholdexceptl.
43471
caa6c9d8
AS
434722011-10-18 Andreas Schwab <schwab@redhat.com>
43473
43474 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43475 (__feraiseexcept_renamed): Add __NTH.
43476 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43477 namespace violations.
43478
97c066e6
UD
434792011-10-17 Ulrich Drepper <drepper@gmail.com>
43480
99ce7b04
UD
43481 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43482
1004d182
UD
43483 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43484
228a984d
UD
43485 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43486 recently added interfaces.
43487 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43488
c8553a6a
UD
43489 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43490 about macro parameter expansion.
43491
ed22dcf6
UD
43492 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43493 __NO_MATH_INLINES is defined. Cleanups.
43494
43495 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43496 and __floorf is target has SSE4.1.
43497 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43498 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43499 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43500 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43501
b171c137
UD
43502 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43503 name.
43504 (floorf): Likewise.
43505
97c066e6
UD
43506 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43507
629f62ef
AS
435082011-10-17 Andreas Schwab <schwab@redhat.com>
43509
49a43d80
AS
43510 * misc/sys/cdefs.h: Fix last change.
43511
629f62ef
AS
43512 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43513 database lookup.
43514
e453f6cd
UD
435152011-10-16 Ulrich Drepper <drepper@gmail.com>
43516
aa78043a
UD
43517 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43518
ad0f5cad
UD
43519 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43520 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43521 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43522 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43524 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43525 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43526 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43527 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43528 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43529 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43530 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43531 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43532 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43533 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43534 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43535 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43536 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43537 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43538 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43539 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43540 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43541
43542 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43543 ceil, ceilf, floor, floorf.
43544
43545 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43546 Perform IRELATIVE relocations last.
43547
e453f6cd
UD
43548 * elf/do-rel.h: Add another parameter nrelative, replacing the
43549 local variable with the same name. Change name of the function
43550 to end in Rel or Rela (uppercase).
43551 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43552 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43553 elf_dynamic_do_##reloc function.
43554
fd5bdc09
UD
435552011-10-15 Ulrich Drepper <drepper@gmail.com>
43556
79b195b5
UD
43557 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43558 is sufficient, at least on modern CPUs.
43559
d4a28569
UD
43560 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43561
b61099b5
UD
43562 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43563 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43564
bcf01e6d
UD
43565 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43566 __expl_finite.
43567 * math/bits/math-finite.h: Add entries for exp.
43568 * math/e_expl.c: Add __*_finite alias.
43569 * sysdeps/i386/fpu/e_exp.S: Likewise.
43570 * sysdeps/i386/fpu/e_expf.S: Likewise.
43571 * sysdeps/i386/fpu/e_expl.c: Likewise.
43572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43573 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43574 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43575 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43576 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43577 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43578 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43579
ba1a0d59
UD
43580 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43581 is sufficient, at least on modern CPUs.
43582
fd5bdc09
UD
43583 * ctype/ctype-info.c (__ctype_init): Define.
43584 * include/ctype.h (__ctype_init): Declare.
43585 (__ctype_b_loc): The variable is always initialized.
43586 (__ctype_toupper_loc): Likewise.
43587 (__ctype_tolower_loc): Likewise.
43588 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43589 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43590
7872cfb0
AS
435912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43592
b468825a
AS
43593 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43594
7872cfb0
AS
43595 * configure.in: Also look in $cxxmachine/include for C++ system
43596 headers.
43597
be13f7bf
LD
435982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43599
43600 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43601 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43602 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43603 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43604 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43605 (USE_AS_WMEMCMP): New macro.
43606 Fixing indents.
43607 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43608 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43609 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43610 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43612 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43613 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43614 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43615 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43616 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43617 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43618 (USE_AS_WMEMCMP): New macro.
43619 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43620 * sysdeps/string/test-memcmp.c: Update.
43621 Fix simple_wmemcmp.
43622 Add new tests.
43623 * wcsmbs/wmemcmp.c: Update.
43624 (WMEMCMP): New macro.
43625 Fix overflow bug.
43626
556a2007
AJ
436272011-10-12 Andreas Jaeger <aj@suse.de>
43628
43629 [BZ #13268]
43630 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43631
538faaa7
UD
436322011-10-15 Ulrich Drepper <drepper@gmail.com>
43633
ab6737ff
UD
43634 * libio/iofwide.c (do_length): Avoid warning.
43635
538faaa7
UD
43636 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43637
396a21b1
UD
436382011-10-14 Ulrich Drepper <drepper@gmail.com>
43639
cdf2901f
UD
43640 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43641
38ad40ce
UD
43642 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43643 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43644 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43645 * sysdeps/i386/i686/fpu/e_log.S: New file.
43646 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43647 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43648
396a21b1
UD
43649 * ctype/ctype.h: Add support for inlined isXXX functions when
43650 compiling C++ code.
43651
6b1f68c9
AS
436522011-10-14 Andreas Schwab <schwab@redhat.com>
43653
349290c0
AS
43654 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43655
6b1f68c9
AS
43656 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43657
f2282d42
RM
436582011-10-13 Roland McGrath <roland@hack.frob.com>
43659
43660 [BZ #13291]
43661 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43662
5298ffa8
AS
436632011-10-13 Andreas Schwab <schwab@redhat.com>
43664
714fad23
AS
43665 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43666 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43667 feraiseexcept.
43668
81dcc7fb
AS
43669 * sysdeps/x86_64/memrchr.S: Check for zero size.
43670
5298ffa8
AS
43671 * string/stratcliff.c: Add memrchr tests.
43672
951fbcec
LD
436732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43674
43675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43676 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43677 rawmemchr-sse2 rawmemchr-sse2-bsf.
43678 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43679 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43680 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43681 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43682 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43683 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43684 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43685 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43686 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43687 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43688 * string/memrchr.c (MEMRCHR): New macro.
43689
0ac5ae23
UD
436902011-10-12 Ulrich Drepper <drepper@gmail.com>
43691
43692 Add integration with gcc's -ffinite-math-only and optimize wrapper
43693 functions in libm.
43694 * Versions.def: Define GLIBC_2.15 version for libm.
43695 * math/Makefile (headers): Add bits/math-finite.h.
43696 * math/bits/math-finite.h: New file.
43697 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43698 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43699 * math/e_acoshl.c: Add __*_finite alias.
43700 * math/e_acosl.c: Likewise.
43701 * math/e_asinl.c: Likewise.
43702 * math/e_atan2l.c: Likewise.
43703 * math/e_atanhl.c: Likewise.
43704 * math/e_coshl.c: Likewise.
43705 * math/e_exp10.c: Likewise.
43706 * math/e_exp10f.c: Likewise.
43707 * math/e_exp10l.c: Likewise.
43708 * math/e_exp2l.c: Likewise.
43709 * math/e_fmodl.c: Likewise.
43710 * math/e_gammal_r.c: Likewise.
43711 * math/e_hypotl.c: Likewise.
43712 * math/e_j0l.c: Likewise.
43713 * math/e_j1l.c: Likewise.
43714 * math/e_jnl.c: Likewise.
43715 * math/e_lgammal_r.c: Likewise.
43716 * math/e_log10l.c: Likewise.
43717 * math/e_log2l.c: Likewise.
43718 * math/e_logl.c: Likewise.
43719 * math/e_powl.c: Likewise.
43720 * math/e_sinhl.c: Likewise.
43721 * math/e_sqrtl.c: Likewise.
43722 * math/e_scalb.c: Completely rewritten and optimized.
43723 * math/e_scalbf.c: Likewise.
43724 * math/e_scalbl.c: Likewise.
43725 * math/w_acos.c: Likewise.
43726 * math/w_acosf.c: Likewise.
43727 * math/w_acosl.c: Likewise.
43728 * math/w_acosh.c: Likewise.
43729 * math/w_acoshf.c: Likewise.
43730 * math/w_acoshl.c: Likewise.
43731 * math/w_asin.c: Likewise.
43732 * math/w_asinf.c: Likewise.
43733 * math/w_asinl.c: Likewise.
43734 * math/w_atan2.c: Likewise.
43735 * math/w_atan2f.c: Likewise.
43736 * math/w_atan2l.c: Likewise.
43737 * math/w_atanh.c: Likewise.
43738 * math/w_atanhf.c: Likewise.
43739 * math/w_atanhl.c: Likewise.
43740 * math/w_exp10.c: Likewise.
43741 * math/w_exp10f.c: Likewise.
43742 * math/w_exp10l.c: Likewise.
43743 * math/w_fmod.c: Likewise.
43744 * math/w_fmodf.c: Likewise.
43745 * math/w_fmodl.c: Likewise.
43746 * math/w_j0.c: Likewise.
43747 * math/w_j0f.c: Likewise.
43748 * math/w_j0l.c: Likewise.
43749 * math/w_j1.c: Likewise.
43750 * math/w_j1f.c: Likewise.
43751 * math/w_j1l.c: Likewise.
43752 * math/w_jn.c: Likewise.
43753 * math/w_jnf.c: Likewise.
43754 * math/w_log.c: Likewise.
43755 * math/w_logf.c: Likewise.
43756 * math/w_logl.c: Likewise.
43757 * math/w_log10.c: Likewise.
43758 * math/w_log10f.c: Likewise.
43759 * math/w_log10l.c: Likewise.
43760 * math/w_log2.c: Likewise.
43761 * math/w_log2f.c: Likewise.
43762 * math/w_log2l.c: Likewise.
43763 * math/w_pow.c: Likewise.
43764 * math/w_powf.c: Likewise.
43765 * math/w_powl.c: Likewise.
43766 * math/w_remainder.c: Likewise.
43767 * math/w_remainderf.c: Likewise.
43768 * math/w_remainderl.c: Likewise.
43769 * math/w_scalb.c: Likewise.
43770 * math/w_scalbf.c: Likewise.
43771 * math/w_scalbl.c: Likewise.
43772 * math/w_sqrt.c: Likewise.
43773 * math/w_sqrtf.c: Likewise.
43774 * math/w_sqrtl.c: Likewise.
43775 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43776 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43777 used.
43778 * math/math_private.h: Declare __kernel_standard_f.
43779 * math/w_cosh.c: Remove cruft and optimize a bit.
43780 * math/w_coshf.c: Likewise.
43781 * math/w_coshl.c: Likewise.
43782 * math/w_exp2.c: Likewise.
43783 * math/w_exp2f.c: Likewise.
43784 * math/w_exp2l.c: Likewise.
43785 * math/w_hypot.c: Likewise.
43786 * math/w_hypotf.c: Likewise.
43787 * math/w_hypotl.c: Likewise.
43788 * math/w_lgamma.c: Likewise.
43789 * math/w_lgamma_r.c: Likewise.
43790 * math/w_lgammaf.c: Likewise.
43791 * math/w_lgammaf_r.c: Likewise.
43792 * math/w_lgammal.c: Likewise.
43793 * math/w_lgammal_r.c: Likewise.
43794 * math/w_sinh.c: Likewise.
43795 * math/w_sinhf.c: Likewise.
43796 * math/w_sinhl.c: Likewise.
43797 * math/w_tgamma.c: Likewise.
43798 * math/w_tgammaf.c: Likewise.
43799 * math/w_tgammal.c: Likewise.
43800 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43802 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43803 Minor optimizations. Pretty printing. Remove cruft.
43804 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43805 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43806 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43807 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43808 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43809 * sysdeps/i386/fpu/e_asin.S: Likewise.
43810 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43811 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43812 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43813 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43814 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43815 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43816 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43817 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43818 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43819 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43820 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43821 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43822 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43823 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43824 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43825 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43826 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43827 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43828 * sysdeps/i386/fpu/e_log.S: Likewise.
43829 * sysdeps/i386/fpu/e_log10.S: Likewise.
43830 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43831 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43832 * sysdeps/i386/fpu/e_log2.S: Likewise.
43833 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43834 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43835 * sysdeps/i386/fpu/e_logf.S: Likewise.
43836 * sysdeps/i386/fpu/e_logl.S: Likewise.
43837 * sysdeps/i386/fpu/e_pow.S: Likewise.
43838 * sysdeps/i386/fpu/e_powf.S: Likewise.
43839 * sysdeps/i386/fpu/e_powl.S: Likewise.
43840 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43841 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43842 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43843 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43844 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43845 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43846 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43847 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43848 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43849 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43850 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43852 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43853 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43854 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43855 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43856 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43857 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43858 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43859 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43860 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43862 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43863 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43867 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43869 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43870 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43871 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43872 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43873 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43874 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43875 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43876 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43877 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43878 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43879 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43880 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43881 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43882 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43883 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43884 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43885 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43886 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43887 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43888 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43889 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43890 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43891 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43892 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43893 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43894 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43895 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43896 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43897 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43898 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43899 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43900 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43901 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43902 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43903 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43904 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43905 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43906 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43907 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43908 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43909 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43910 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43911 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43912 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43913 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43914 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43915 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43916 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43917 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43918 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43919 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43920 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43921 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43922 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43923 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43924 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43925 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43926 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43927 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43928 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43929 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43930 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43931 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43932 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43933 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43934 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43935 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43936 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43937 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43938 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43939 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43940 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43941 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43942 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43943 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43944 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43945 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43946 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43947 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43948 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43949 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43950 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43951 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43952 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43953 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43954 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43955 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43956 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43957 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43958 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43959 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43960 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43961 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43962 (__isnanf): Likewise.
43963 (__isinf_ns): Likewise.
43964 (__isinf_nsf): Likewise.
43965 (__finite): Likewise.
43966 (__finitef): Likewise.
43967 (__ieee754_sqrt): Define as macro.
43968 (__ieee754_sqrtf): Define as macro.
43969 (__ieee754_sqrtl): Define as macro.
43970 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43971 inlined copy.
43972 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43973 __FINITE_MATH_ONLY__ consistent.
43974 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43975
12cc2fcd
AS
439762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43977
a843a204
AS
43978 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43979 of rawmemchr.
43980
12cc2fcd
AS
43981 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43982
c853acd5
UD
439832011-10-09 Ulrich Drepper <drepper@gmail.com>
43984
43985 * po/ja.po: Update from translation team.
43986
c658d255
RM
439872011-10-08 Roland McGrath <roland@hack.frob.com>
43988
110946e4
RM
43989 * locale/programs/locarchive.c (prepare_address_space): New function.
43990 (create_archive, enlarge_archive, open_archive): Use it.
43991
50604220
RM
43992 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43993 inside [SHARED], where it is used.
43994
c658d255
RM
43995 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43996
43997 * nss/getent.c (netgroup_keys): Remove unused variable.
43998 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43999
6a621eb7
UD
440002011-10-08 Ulrich Drepper <drepper@gmail.com>
44001
7edb55ce
UD
44002 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44003 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44004 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44005 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44006 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44007 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44008 * math/Makefile (libm-calls): Add s_isinf_ns.
44009 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44010 * math/multc3.c: Likewise.
44011 * math/s_casin.c: Likewise.
44012 * math/s_casinf.c: Likewise.
44013 * math/s_casinl.c: Likewise.
44014 * math/s_ccos.c: Likewise.
44015 * math/s_ccosf.c: Likewise.
44016 * math/s_ccosl.c: Likewise.
44017 * math/s_ctan.c: Likewise.
44018 * math/s_ctanf.c: Likewise.
44019 * math/s_ctanh.c: Likewise.
44020 * math/s_ctanhf.c: Likewise.
44021 * math/s_ctanhl.c: Likewise.
44022 * math/s_ctanl.c: Likewise.
44023 * math/w_fmod.c: Likewise.
44024 * math/w_fmodf.c: Likewise.
44025 * math/w_fmodl.c: Likewise.
44026 * math/w_remainder.c: Likewise.
44027 * math/w_remainderf.c: Likewise.
44028 * math/w_remainderl.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44030 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44031 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44033 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44034 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44035 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44036 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44037
187da0ae
UD
44038 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44039 of the number.
44040 * stdio-common/printf_fphex.c: Likewise.
44041 * stdio-common/printf_size.c: Likewise.
44042
9277c064
UD
44043 * math/e_exp10.c: Include math_private.h using <...> not "...".
44044 * math/e_exp10f.c: Likewise.
44045 * math/e_exp10l.c: Likewise.
44046 * math/e_exp2l.c: Likewise.
44047 * math/e_j0l.c: Likewise.
44048 * math/e_j1l.c: Likewise.
44049 * math/e_jnl.c: Likewise.
44050 * math/e_lgammal_r.c: Likewise.
44051 * math/e_rem_pio2l.c: Likewise.
44052 * math/e_scalb.c: Likewise.
44053 * math/e_scalbf.c: Likewise.
44054 * math/e_scalbl.c: Likewise.
44055 * math/k_cosl.c: Likewise.
44056 * math/k_sinl.c: Likewise.
44057 * math/k_tanl.c: Likewise.
44058 * math/s_cacoshf.c: Likewise.
44059 * math/s_catan.c: Likewise.
44060 * math/s_catanf.c: Likewise.
44061 * math/s_catanh.c: Likewise.
44062 * math/s_catanhf.c: Likewise.
44063 * math/s_catanhl.c: Likewise.
44064 * math/s_catanl.c: Likewise.
44065 * math/s_ccosh.c: Likewise.
44066 * math/s_ccoshf.c: Likewise.
44067 * math/s_ccoshl.c: Likewise.
44068 * math/s_cexp.c: Likewise.
44069 * math/s_cexpf.c: Likewise.
44070 * math/s_cexpl.c: Likewise.
44071 * math/s_clog.c: Likewise.
44072 * math/s_clog10.c: Likewise.
44073 * math/s_clog10f.c: Likewise.
44074 * math/s_clog10l.c: Likewise.
44075 * math/s_clogf.c: Likewise.
44076 * math/s_clogl.c: Likewise.
44077 * math/s_csin.c: Likewise.
44078 * math/s_csinf.c: Likewise.
44079 * math/s_csinh.c: Likewise.
44080 * math/s_csinhf.c: Likewise.
44081 * math/s_csinhl.c: Likewise.
44082 * math/s_csinl.c: Likewise.
44083 * math/s_csqrt.c: Likewise.
44084 * math/s_csqrtf.c: Likewise.
44085 * math/s_csqrtl.c: Likewise.
44086 * math/s_ctan.c: Likewise.
44087 * math/s_ctanf.c: Likewise.
44088 * math/s_ctanh.c: Likewise.
44089 * math/s_ctanhf.c: Likewise.
44090 * math/s_ctanhl.c: Likewise.
44091 * math/s_ctanl.c: Likewise.
44092 * math/s_ldexp.c: Likewise.
44093 * math/s_ldexpf.c: Likewise.
44094 * math/s_ldexpl.c: Likewise.
44095 * math/s_significand.c: Likewise.
44096 * math/s_significandf.c: Likewise.
44097 * math/s_significandl.c: Likewise.
44098 * math/w_acos.c: Likewise.
44099 * math/w_acosf.c: Likewise.
44100 * math/w_acosh.c: Likewise.
44101 * math/w_acoshf.c: Likewise.
44102 * math/w_acoshl.c: Likewise.
44103 * math/w_acosl.c: Likewise.
44104 * math/w_asin.c: Likewise.
44105 * math/w_asinf.c: Likewise.
44106 * math/w_asinl.c: Likewise.
44107 * math/w_atan2.c: Likewise.
44108 * math/w_atan2f.c: Likewise.
44109 * math/w_atan2l.c: Likewise.
44110 * math/w_atanh.c: Likewise.
44111 * math/w_atanhf.c: Likewise.
44112 * math/w_atanhl.c: Likewise.
44113 * math/w_cosh.c: Likewise.
44114 * math/w_coshf.c: Likewise.
44115 * math/w_coshl.c: Likewise.
44116 * math/w_dremf.c: Likewise.
44117 * math/w_exp10.c: Likewise.
44118 * math/w_exp10f.c: Likewise.
44119 * math/w_exp10l.c: Likewise.
44120 * math/w_exp2.c: Likewise.
44121 * math/w_exp2f.c: Likewise.
44122 * math/w_fmod.c: Likewise.
44123 * math/w_fmodf.c: Likewise.
44124 * math/w_fmodl.c: Likewise.
44125 * math/w_hypot.c: Likewise.
44126 * math/w_hypotf.c: Likewise.
44127 * math/w_hypotl.c: Likewise.
44128 * math/w_j0.c: Likewise.
44129 * math/w_j0f.c: Likewise.
44130 * math/w_j0l.c: Likewise.
44131 * math/w_j1.c: Likewise.
44132 * math/w_j1f.c: Likewise.
44133 * math/w_j1l.c: Likewise.
44134 * math/w_jn.c: Likewise.
44135 * math/w_jnf.c: Likewise.
44136 * math/w_jnl.c: Likewise.
44137 * math/w_lgamma.c: Likewise.
44138 * math/w_lgamma_r.c: Likewise.
44139 * math/w_lgammaf.c: Likewise.
44140 * math/w_lgammaf_r.c: Likewise.
44141 * math/w_lgammal.c: Likewise.
44142 * math/w_lgammal_r.c: Likewise.
44143 * math/w_log.c: Likewise.
44144 * math/w_log10.c: Likewise.
44145 * math/w_log10f.c: Likewise.
44146 * math/w_log10l.c: Likewise.
44147 * math/w_log2.c: Likewise.
44148 * math/w_log2f.c: Likewise.
44149 * math/w_log2l.c: Likewise.
44150 * math/w_logf.c: Likewise.
44151 * math/w_logl.c: Likewise.
44152 * math/w_pow.c: Likewise.
44153 * math/w_powf.c: Likewise.
44154 * math/w_powl.c: Likewise.
44155 * math/w_remainder.c: Likewise.
44156 * math/w_remainderf.c: Likewise.
44157 * math/w_remainderl.c: Likewise.
44158 * math/w_scalb.c: Likewise.
44159 * math/w_scalbf.c: Likewise.
44160 * math/w_scalbl.c: Likewise.
44161 * math/w_sinh.c: Likewise.
44162 * math/w_sinhf.c: Likewise.
44163 * math/w_sinhl.c: Likewise.
44164 * math/w_sqrt.c: Likewise.
44165 * math/w_sqrtf.c: Likewise.
44166 * math/w_sqrtl.c: Likewise.
44167 * math/w_tgamma.c: Likewise.
44168 * math/w_tgammaf.c: Likewise.
44169 * math/w_tgammal.c: Likewise.
44170
6a621eb7
UD
44171 * po/ja.po: Update from translation team.
44172
bf582445
AJ
441732011-09-29 Andreas Jaeger <aj@suse.de>
44174
f9efbf3a
AJ
44175 [BZ #13179]
44176 * sunrpc/netname.c (netname2host): Fix logic.
44177
bf582445
AJ
44178 [BZ #6779]
44179 [BZ #6783]
44180 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44181 correctly.
44182 * math/w_remainder.c (__remainder): Likewise.
44183 * math/w_remainderf.c (__remainderf): Likewise.
44184 * math/libm-test.inc (remainder_test): Add test cases.
44185
48693bea
AK
441862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44187
44188 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44189 sdiv_qrnnd.
44190
42622229
LD
441912011-10-07 Ulrich Drepper <drepper@gmail.com>
44192
44193 * string/test-memcmp.c: Avoid unncessary #defines.
44194 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44195
093ecf92
LD
441962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44197
44198 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44199 Use new sse2 version for core i3 - i7 as it's faster
44200 than sse42 version.
44201 (bit_Prefer_PMINUB_for_stringop): New.
44202 * sysdeps/x86_64/rawmemchr.S: Update.
44203 Replace with faster SSE2 version.
44204 * sysdeps/x86_64/memrchr.S: New file.
44205 * sysdeps/x86_64/memchr.S: Update.
44206 Replace with faster SSE2 version.
44207
fde56e5c
MP
442082011-09-12 Marek Polacek <mpolacek@redhat.com>
44209
44210 * elf/dl-load.c (lose): Add cast to avoid warning.
44211
21fd49a9
UD
442122011-10-07 Ulrich Drepper <drepper@gmail.com>
44213
5a06e643
UD
44214 * po/ca.po: Update from translation team.
44215
684ae515
UD
44216 * inet/getnetgrent_r.c: Hook up nscd.
44217 * nscd/Makefile (routines): Add nscd_netgroup.
44218 (nscd-modules): Add netgroupcache.
44219 (CFLAGS-netgroupcache.c): Define.
44220 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44221 (cache_search): Add const to second parameter.
44222 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44223 INNETGR.
44224 (dbs): Add netgrdb entry.
44225 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44226 (verify_persistent_db): Handle netgrdb.
44227 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44228 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44229 GETFDNETGR.
44230 (netgroup_response_header): Define.
44231 (innetgroup_response_header): Define.
44232 (datahead): Add netgroup_response_header and innetgroup_response_header
44233 elements.
44234 * nscd/nscd.conf: Add entries for netgroup cache.
44235 * nscd/nscd.h (dbtype): Add netgrdb.
44236 (_PATH_NSCD_NETGROUP_DB): Define.
44237 (netgroup_iov_disabled): Declare.
44238 (xmalloc, xcalloc, xrealloc): Move declarations here.
44239 (cache_search): Adjust prototype.
44240 Add netgroup-related prototypes.
44241 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44242 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44243 (__nscd_innetgr): Declare.
44244 * nscd/selinux.c (perms): Use access_vector_t as element type and
44245 add netgroup-related initializers.
44246 * nscd/netgroupcache.c: New file.
44247 * nscd/nscd_netgroup.c: New file.
44248 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44249 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44250 For four parameters use innetgr.
44251 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44252 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44253 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44254 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44255
21fd49a9
UD
44256 * nscd/connections.c (register_traced_file): Don't register file
44257 for disabled databases.
44258
054c0457
UD
442592011-10-06 Ulrich Drepper <drepper@gmail.com>
44260
32b63198
UD
44261 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44262
054c0457
UD
44263 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44264 from tree and freeing node.
44265
64031225
JO
442662011-09-25 Jiri Olsa <jolsa@redhat.com>
44267
44268 * nss/nsswitch.c (__nss_database_lookup): Handle
44269 nss_parse_service_list out of memory case.
44270
0490345c
JO
442712011-09-15 Jiri Olsa <jolsa@redhat.com>
44272
44273 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44274 out of memory case.
44275
3a62d00d
AS
442762011-10-04 Andreas Schwab <schwab@redhat.com>
44277
44278 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44279 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44280 pass it down.
44281 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44282 elf_machine_rela, elf_machine_lazy_rel.
44283 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44284 (ELF_DYNAMIC_DO_REL): Likewise.
44285 (ELF_DYNAMIC_DO_RELA): Likewise.
44286 (ELF_DYNAMIC_RELOCATE): Likewise.
44287 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44288 to ELF_DYNAMIC_DO_REL.
44289 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44290 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44291 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44292 elf_machine_rela.
44293 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44294 skip_ifunc, don't call ifunc function if non-zero.
44295 (elf_machine_rela): Likewise.
44296 (elf_machine_lazy_rel): Likewise.
44297 (elf_machine_lazy_rela): Likewise.
44298 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44299 (elf_machine_lazy_rel): Likewise.
44300 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44301 Likewise.
44302 (elf_machine_lazy_rel): Likewise.
44303 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44304 Likewise.
44305 (elf_machine_lazy_rel): Likewise.
44306 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44307 (elf_machine_lazy_rel): Likewise.
44308 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44309 (elf_machine_lazy_rel): Likewise.
44310 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44311 (elf_machine_lazy_rel): Likewise.
44312 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44313 (elf_machine_lazy_rel): Likewise.
44314 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44315 (elf_machine_lazy_rel): Likewise.
44316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44317 (elf_machine_lazy_rel): Likewise.
44318
68577918
UD
443192011-09-28 Ulrich Drepper <drepper@gmail.com>
44320
44321 * nss/nss_files/files-init.c (_nss_files_init): Use static
44322 initialization for all the *_traced_file variables.
44323
68822d74
AS
443242011-09-28 Andreas Schwab <schwab@redhat.com>
44325
44326 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44327
2056100b
RM
443282011-09-27 Roland McGrath <roland@hack.frob.com>
44329
44330 [BZ #13226]
44331 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44332
32c76b63
AS
443332011-09-27 Andreas Schwab <schwab@redhat.com>
44334
44335 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44336 Reread the line before reparsing it.
44337
bf972c9d
AS
443382011-09-26 Andreas Schwab <schwab@redhat.com>
44339
44340 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44341
e057a1b5
JM
443422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44343 Maxim Kuvyrkov <maxim@codesourcery.com>
44344 Joseph Myers <joseph@codesourcery.com>
44345
44346 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44347 if needed for __stack_chk_guard.
44348
bc7e1c36
RM
443492011-09-19 Roland McGrath <roland@hack.frob.com>
44350
ecb1482f
RM
44351 * sysdeps/posix/spawni.c (script_execute): Always define it.
44352 It will be optimized away if unused.
44353 (maybe_script_execute): New function.
44354 (__spawni): Call it.
44355
bc7e1c36
RM
44356 * Makerules: Don't include tls.make.
44357 (config-tls): Always set to thread.
44358 * tls.make.c: File removed.
44359
1c3b002b
MF
443602011-09-19 Mike Frysinger <vapier@gentoo.org>
44361
44362 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44363 * config.make.in (CPPFLAGS-config): New substituted variable.
44364
2840865d
UD
443652011-09-15 Ulrich Drepper <drepper@gmail.com>
44366
88738eb6
UD
44367 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44368
cbf645a6 44369 [BZ #13192]
2840865d
UD
44370 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44371 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44372
b402e91a
RM
443732011-09-15 Roland McGrath <roland@hack.frob.com>
44374
44375 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44376 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44378 (CALL_FAIL): Likewise.
44379 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44380 (CALL_FAIL): Macro removed.
44381 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44382
4c1a1f71
UD
443832011-09-15 Ulrich Drepper <drepper@gmail.com>
44384
44385 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44386 for __FINITE_MATH_ONLY__ == 1.
44387
edc121be
AS
443882011-09-15 Andreas Schwab <schwab@redhat.com>
44389
44390 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44391 __ieee754_sqrt instead of sqrt.
44392 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44393 __ieee754_sqrtf instead of sqrtf.
44394 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44395 __floorf instead of floorf.
44396 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44397 __floorf, __truncf instead of floorf, truncf.
44398
cd205654
UD
443992011-09-14 Ulrich Drepper <drepper@gmail.com>
44400
ee4d0315
UD
44401 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44402
cd205654
UD
44403 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44404 __extern_always_inline.
44405 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44406 32-bit.
44407
48b67d71
AS
444082011-09-14 Andreas Schwab <schwab@redhat.com>
44409
44410 * elf/rtld.c (dl_main): Also relocate in dependency order when
44411 doing symbol dependency testing.
44412
1ae12c75
AS
444132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44414
44415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44416 Always define `refsym'.
44417
995a80df
AS
444182011-09-13 Andreas Schwab <schwab@redhat.com>
44419
e529793b
AS
44420 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44421 (__FD_ELT): Renamed from __FDELT.
44422 * misc/bits/select2.h (__FD_ELT): Likewise.
44423 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44424 __FD_MASK instead of __FDELT, __FDMASK.
44425 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44426 Likewise.
44427 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44428 Likewise.
44429
52d4fef8
AS
44430 * elf/Makefile (gen-ldd): Fix pattern.
44431
995a80df
AS
44432 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44433 (init_tls): Likewise.
44434
8682f8b0
UD
444352011-09-12 Ulrich Drepper <drepper@gmail.com>
44436
44437 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44438
de82006d
AS
444392011-09-12 Andreas Schwab <schwab@redhat.com>
44440
a7c8e6a1
AS
44441 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44442 `struct cmsghdr *' instead of `void *'.
44443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44444 Likewise.
44445
0f31fe77
AS
444462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44447
44448 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44449 if non-absolute.
44450 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44451 ldd_rewrite_script.
0f31fe77 44452
32b4c839
UD
444532011-09-11 Ulrich Drepper <drepper@gmail.com>
44454
83cd1420
UD
44455 * configure.in: Remove --with-tls option.
44456 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44457 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44458 out in case it is missing.
44459 * sysdeps/ia64/elf/configure.in: Likewise.
44460 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44461 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44462 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44463 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44464 * sysdeps/sh/elf/configure.in: Likewise.
44465 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44466 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44467 * sysdeps/x86_64/elf/configure.in: Likewise.
44468 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44469 * sysdeps/mach/hurd/tls.h: Likewise.
44470
633f745d
UD
44471 [BZ #13067]
44472 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44473
f318beb8
UD
44474 [BZ #13090]
44475 * configure.in: Fix use of AC_INIT.
44476
32b4c839
UD
44477 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44478
3ce1f295
UD
444792011-09-10 Ulrich Drepper <drepper@gmail.com>
44480
bb016596
UD
44481 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44482 __set_errno.
8e58439c
UD
44483 * malloc/hooks.c: Likewise.
44484
aebae053 44485 [BZ #11929]
02d46fc4
UD
44486 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44487 variables statically.
44488 (narenas): Initialize.
44489 (list_lock): Initialize.
bb016596
UD
44490 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44491 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44492 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44493 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44494 Add initializers to main_arena and mp_.
44495 (malloc_state): Remove pagesize member. Change all users to use
44496 GLRO(dl_pagesize).
44497
44498 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44499 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44500 is always initialized.
44501
22a89187
UD
44502 * malloc/malloc.c: Removed unused configurations and dead code.
44503 * malloc/arena.c: Likewise.
44504 * malloc/hooks.c: Likewise.
02d46fc4 44505 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44506
d063d164
UD
44507 * include/tls.h: Removed. USE___THREAD must always be defined.
44508 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44509 * elf/dl-libc.c: Likewise.
44510 * elf/dl-tsd.c: Likewise.
44511 * include/errno.h: Likewise.
44512 * include/netdb.h: Likewise.
44513 * include/resolv.h: Likewise.
44514 * inet/herrno-loc.c: Likewise.
44515 * inet/herrno.c: Likewise.
44516 * malloc/arena.c: Likewise.
44517 * malloc/hooks.c: Likewise.
44518 * malloc/malloc.c: Likewise.
44519 * resolv/res-state.c: Likewise.
44520 * resolv/res_libc.c: Likewise.
44521 * sysdeps/i386/dl-machine.h: Likewise.
44522 * sysdeps/ia64/dl-machine.h: Likewise.
44523 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44524 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44525 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44526 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44527 * sysdeps/sh/dl-machine.h: Likewise.
44528 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44529 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44530 * sysdeps/unix/i386/sysdep.S: Likewise.
44531 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44532 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44533 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44534 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44535 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44536 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44537 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44539 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44541 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44542 * sysdeps/x86_64/dl-machine.h: Likewise.
44543 * tls.make.c: Likewise.
44544
3ce1f295
UD
44545 * configure.in: Remove --with-__thread option. Make tests for
44546 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44547 tls_model attribute fail if no support is available. Remove
44548 USE_IN_LIBIO.
44549 * Makeconfig: Adjust for dropped configure option. All features are
44550 now mandatory.
44551 * Makerules: Likewise.
44552 * Versions.def: Likewise.
44553 * argp/argp-fmtstream.c: Likewise.
44554 * argp/argp-fmtstream.h: Likewise.
44555 * argp/argp-help.c: Likewise.
44556 * assert/assert.c: Likewise.
44557 * config.h.in: Likewise.
44558 * config.make.in: Likewise.
44559 * configure: Likewise.
44560 * configure.in: Likewise.
44561 * csu/Versions: Likewise.
44562 * csu/init.c: Likewise.
44563 * elf/tst-audit2.c: Likewise.
44564 * elf/tst-tls10.c: Likewise.
44565 * elf/tst-tls10.h: Likewise.
44566 * elf/tst-tls11.c: Likewise.
44567 * elf/tst-tls12.c: Likewise.
44568 * elf/tst-tls14.c: Likewise.
44569 * elf/tst-tlsmod11.c: Likewise.
44570 * elf/tst-tlsmod12.c: Likewise.
44571 * elf/tst-tlsmod13.c: Likewise.
44572 * elf/tst-tlsmod13a.c: Likewise.
44573 * elf/tst-tlsmod14a.c: Likewise.
44574 * elf/tst-tlsmod15b.c: Likewise.
44575 * elf/tst-tlsmod16a.c: Likewise.
44576 * elf/tst-tlsmod16b.c: Likewise.
44577 * elf/tst-tlsmod7.c: Likewise.
44578 * elf/tst-tlsmod8.c: Likewise.
44579 * elf/tst-tlsmod9.c: Likewise.
44580 * gmon/gmon.c: Likewise.
44581 * grp/fgetgrent_r.c: Likewise.
44582 * grp/putgrent.c: Likewise.
44583 * hurd/fopenport.c: Likewise.
44584 * include/libc-symbols.h: Likewise.
44585 * include/tls.h: Likewise.
44586 * intl/gettextP.h: Likewise.
44587 * intl/loadinfo.h: Likewise.
44588 * locale/global-locale.c: Likewise.
44589 * locale/localeinfo.h: Likewise.
44590 * mach/devstream.c: Likewise.
44591 * malloc/arena.c: Likewise.
44592 * malloc/set-freeres.c: Likewise.
44593 * misc/err.c: Likewise.
44594 * misc/getttyent.c: Likewise.
44595 * misc/mntent_r.c: Likewise.
44596 * posix/getopt.c: Likewise.
44597 * posix/wordexp.c: Likewise.
44598 * pwd/fgetpwent_r.c: Likewise.
44599 * resolv/Versions: Likewise.
44600 * resolv/res_hconf.c: Likewise.
44601 * shadow/fgetspent_r.c: Likewise.
44602 * shadow/putspent.c: Likewise.
44603 * stdio-common/printf_fphex.c: Likewise.
44604 * stdio-common/tmpfile.c: Likewise.
44605 * stdlib/abort.c: Likewise.
44606 * stdlib/fmtmsg.c: Likewise.
44607 * sunrpc/auth_unix.c: Likewise.
44608 * sunrpc/clnt_perr.c: Likewise.
44609 * sunrpc/clnt_tcp.c: Likewise.
44610 * sunrpc/clnt_udp.c: Likewise.
44611 * sunrpc/clnt_unix.c: Likewise.
44612 * sunrpc/openchild.c: Likewise.
44613 * sunrpc/svc_simple.c: Likewise.
44614 * sunrpc/svc_tcp.c: Likewise.
44615 * sunrpc/svc_udp.c: Likewise.
44616 * sunrpc/svc_unix.c: Likewise.
44617 * sunrpc/xdr.c: Likewise.
44618 * sunrpc/xdr_array.c: Likewise.
44619 * sunrpc/xdr_rec.c: Likewise.
44620 * sunrpc/xdr_ref.c: Likewise.
44621 * sunrpc/xdr_stdio.c: Likewise.
44622
1248c1c4
PB
446232011-09-09 Ulrich Drepper <drepper@gmail.com>
44624
44625 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44626
446272011-07-03 Andreas Jaeger <aj@suse.de>
44628
44629 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44630 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44631 regenerate with gen-libm-tests.pl.
44632
446332010-05-12 Petr Baudis <pasky@suse.cz>
44634
44635 [BZ #11589]
44636 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44637 around j0() zero points by switching to j1().
44638 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44639 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44641 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44642
f22e1074
UD
446432011-09-09 Ulrich Drepper <drepper@gmail.com>
44644
f19009c1
UD
44645 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44646 instead of 0.
44647 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44648 instead of 0.
f19009c1
UD
44649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44650 Patch in part by Pavel Roskin <proski@gnu.org>.
44651
3f8cc204
UD
44652 [BZ #13138]
44653 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44654 realloc.
44655 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44656 Free memory block if necessary.
44657
f22e1074
UD
44658 [BZ #12847]
44659 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44660 be NULL. Don't lock in this case.
44661
0a2349f9
RM
446622011-09-09 Roland McGrath <roland@hack.frob.com>
44663
44664 * elf/elf.h (ELFOSABI_GNU): New macro.
44665 (ELFOSABI_LINUX): Define to that.
44666
f3cdd467
DZ
446672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44668
44669 * string/strncat.c (strncat): Undef the symbol in case it has been
44670 defined in bits/string.h.
44671
74718d13
UD
446722011-09-09 Ulrich Drepper <drepper@gmail.com>
44673
633e9e0f
UD
44674 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44675
0a2349f9 44676 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44677 link map.
44678
f9924780
AJ
446792011-08-17 Andreas Jaeger <aj@suse.de>
44680
44681 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44682
7f5517aa
PP
446832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44684 Ian Lance Taylor <iant@google.com>
44685
44686 * math/libm-test.inc (lround_test): New testcase.
44687 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44688
762011fe
UD
446892011-09-08 Ulrich Drepper <drepper@gmail.com>
44690
92963737
UD
44691 * Makefile: Remove support for automatic cvs check-ins.
44692 * Makerules: Likewise.
44693 * config.make.in: Likewise.
44694 * configure.in: Likewise.
44695 * intl/Makefile: Likewise.
44696 * locale/Makefile: Likewise.
44697 * po/Makefile: Likewise.
44698 * posix/Makefile: Likewise.
44699 * sysdeps/gnu/Makefile: Likewise.
44700 * sysdeps/mach/hurd/Makefile: Likewise.
44701 * sysdeps/sparc/sparc32/Makefile: Likewise.
44702
b0727fd8
JS
44703 [BZ #13118]
44704 * posix/Makefile (bug-regex32-ENV): Define.
44705 Patch by John Stanley <jpsinthemix@verizon.net>.
44706
a0f33f99
UD
44707 * misc/Makefile (headers): Add bits/select2.h.
44708 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44709 * misc/bits/select2.h: New file.
44710 * include/bits/select2.h: New file.
44711 * debug/Makefile (routines): Add fdelt_chk.
44712 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44713 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44714 FD_ISSET.
44715 * debug/fdelt_chk.c: New file.
44716
762011fe
UD
44717 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44718 * wcsmbs/test-wmemcmp.c: Likewise.
44719 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44720 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44721
447222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44723
44724 * string/Makefile (strop-tests): Add memcmp.
44725 * string/test-wmemcmp.c: New file.
44726 * string/test-memcmp.c: Add wmemcmp support.
44727
7f513ec8
RM
447282011-09-08 Roland McGrath <roland@hack.frob.com>
44729
0442afb4
RM
44730 [BZ #13153]
44731 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44732 2011-07-19 change.
44733
7f513ec8
RM
44734 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44735 garbage value in a __mach_port_mod_refs call in the cases of the
44736 task-self and thread-self ports.
44737
a12b2239
ST
447382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44739
44740 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44741
610f9ab4
AS
447422011-09-08 Andreas Schwab <schwab@redhat.com>
44743
7f513ec8 44744 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44745
48882a1a
LD
447462011-09-07 Ulrich Drepper <drepper@gmail.com>
44747
b49865be
UD
44748 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44749
fdc86bc9
UD
44750 * elf/dl-libc.c (dlerror_run): Pass back error code from
44751 dl_catch_error.
44752
c966526a
UD
44753 [BZ #13123]
44754 * elf/dl-load.c (lose): Free l_origin if it is valid.
44755
48882a1a
LD
44756 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44757 names.
44758 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44759 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44760 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44761 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44762 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44763 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44764
77a2a8b4
AZ
447652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44766
44767 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44768 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44769 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44770 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44771 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44772 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44773 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44774 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44775 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44776 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44777
24f579d8
AM
447782011-08-15 Alan Modra <amodra@gmail.com>
44779
44780 [BZ #13092]
44781 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44782 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44783 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44784 ppc_mcount to static-only-routines.
44785 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44786 __mcount_internal.
44787 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44788 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44789
3d4837df
UD
447902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44791
44792 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44793 for finite and infinity parameters.
44794
22700377
WS
447952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44796
44797 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44798 and add nop instructions for throughput optimization.
44799 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44800
5025581e
WS
448012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44802
44803 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44804 aligned copy for power7 with vector-scalar instructions.
44805 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44806
08a300c9
L
448072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44808
44809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44810 AVX check.
44811
59178ef9
AS
448122011-09-07 Andreas Schwab <schwab@redhat.com>
44813
44814 [BZ #13144]
44815 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44816 last change.
44817
e38ba7ab
UD
448182011-09-07 Ulrich Drepper <drepper@gmail.com>
44819
44820 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44821 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44822 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44823 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44824 clock_gettime.
44825
d53a73ac
UD
448262011-09-06 Ulrich Drepper <drepper@gmail.com>
44827
fc8bffcc
UD
44828 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44829 Forgot to demangle the pointer.
44830
ceaa0c5d
UD
44831 * sysdeps/i386/sysdep.h: Define atom_text_section.
44832 * sysdeps/x86_64/sysdep.h: Likewise.
44833 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44834 section with atom_text_section.
44835 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44836 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44837 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44838 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44839 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44840
a77d3c17
UD
44841 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44842 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44843 already be defined. Change to take two parameters and don't assign
44844 result to variable. Adjust all users.
44845 Define INTERNAL_GETTIME if not already defined.
44846 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44847 call.
44848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44849 HAVE_CLOCK_GETTIME_VSYSCALL.
44850 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44851
d53a73ac
UD
44852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44853 gettimeofday vsyscall, just use time.
44854
a8f84144
AS
448552011-09-06 Andreas Schwab <schwab@redhat.com>
44856
44857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44858 <errno.h>.
44859
ef606249
UD
448602011-09-06 Ulrich Drepper <drepper@gmail.com>
44861
44862 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44863 syscall on x86-64.
44864 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44865 syscall.
44866 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44867 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44868 syscall if possible.
44869
6585cb60
UD
448702011-09-05 Ulrich Drepper <drepper@gmail.com>
44871
44872 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44873 e_ident. Don't pass to find_mapsXX.
44874 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44875
a5f524e4
LD
448762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44877
44878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44879 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44880 * sysdeps/x86_64/multiarch/strchr.S: Update.
44881 Check bit_slow_BSF bit.
44882 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44883 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44884 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44885
554881ef
UD
448862011-09-05 Ulrich Drepper <drepper@gmail.com>
44887
d96de963
UD
44888 [BZ #13134]
44889 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44890 before glibc 2.15.
44891 (tryshell): Define.
44892 (__spawni): Change last parameter to be flag. Test
44893 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44894 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44895 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44896 * posix/spawni.c: Likewise.
44897 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44898 * posix/spawnp.c: Likewise. Change normal version to use
44899 SPAWN_XFLAGS_USE_PATH.
44900 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44901 SPAWN_XFLAGS_TRY_SHELL.
44902
d48e5868
UD
44903 [BZ #13150]
44904 * posix/glob.h: Remove gcc 1.x support.
44905
554881ef
UD
44906 [BZ #13068]
44907 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44908
693fb948
LD
449092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44910
44911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44912 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44913 strrchr-sse2-bsf
44914 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44915 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44916 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44917 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44918 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44919 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44920
1b48c537
UD
449212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44922
49d42c37
UD
44923 * sysdeps/x86_64/wcscmp.S: New file.
44924
1b48c537
UD
44925 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44926 wcscmp-c wcscmp-sse2
44927 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44928 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44929 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44930 * wcsmbs/wcscmp.c: Allow renaming.
44931
15c95c5d
DM
449322011-09-05 David S. Miller <davem@davemloft.net>
44933
44934 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44935 stack slot, rather than the struct return pointer slot.
44936 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44937 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44939 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44940
2f0ad8f3
UD
449412011-09-05 Ulrich Drepper <drepper@gmail.com>
44942
d88ae418
UD
44943 * po/ja.po: Update from translation team.
44944
2f0ad8f3
UD
44945 [BZ #13144]
44946 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44947 kernel in 64-bit binaries.
44948
5f4318d1
DM
449492011-09-01 David S. Miller <davem@davemloft.net>
44950
44951 * elf/elf.h (HWCAP_SPARC_*): Move to..
44952 * sysdeps/sparc/sysdep.h: this new file and add new values.
44953 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44954 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44955 _DL_HWCAP_COUNT to 24.
44956 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44957 entries.
44958 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44959 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44960 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44962 instead of magic constants.
44963 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44964
3ba57516
DM
449652011-08-31 David S. Miller <davem@davemloft.net>
44966
44967 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44968 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44969 Reimplement to do errno handling inline.
44970 (SYSCALL_ERROR_HANDLER): New macro.
44971 (__SYSCALL_STRING): Do not do errno handling in asm.
44972 (__CLONE_SYSCALL_STRING): Delete.
44973 (__INTERNAL_SYSCALL_STRING): Delete.
44974 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44975 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44976 (PSEUDO): Reimplement to do errno handling inline.
44977 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44978 (SYSCALL_ERROR_HANDLER): New macro.
44979 (__SYSCALL_STRING): Do not do errno handling in asm.
44980 (__CLONE_SYSCALL_STRING): Delete.
44981 (__INTERNAL_SYSCALL_STRING): Delete.
44982 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44983 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44984 i386.
44985 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44986 (inline_syscall*): Add 'err' argument.
44987 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44988 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44989 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44990 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44991
44992 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44993 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44994
2bc17433
AS
449952011-08-30 Andreas Schwab <schwab@redhat.com>
44996
44997 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44998
fbeb5f4d
JO
449992011-08-29 Jiri Olsa <jolsa@redhat.com>
45000
45001 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45002 directive.
45003
ad69cc26
DM
450042011-08-24 David S. Miller <davem@davemloft.net>
45005
45006 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45007
39dd69df
AS
450082011-08-24 Andreas Schwab <schwab@redhat.com>
45009
45010 * elf/Makefile: Add rules to build and run unload8 test.
45011 * elf/unload8.c: New file.
45012 * elf/unload8mod1.c: New file.
45013 * elf/unload8mod1x.c: New file.
45014 * elf/unload8mod2.c: New file.
45015 * elf/unload8mod3.c: New file.
45016
45017 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45018 it wasn't used.
45019
2c0b250a
DM
450202011-08-23 David S. Miller <davem@davemloft.net>
45021
45022 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45023 subtract stack bias.
45024 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45025 %sp not %fp in calculations.
45026 (_JMPBUF_UNWINDS_ADJ): Likewise.
45027
22044b48
DM
45028 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45029 (aio_suspend): Call it to force an exception region around the
45030 AIO_MISC_WAIT() invocation.
45031
2cae4995
AS
450322011-08-23 Andreas Schwab <schwab@redhat.com>
45033
45034 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45035 backslash.
45036
873a772e
AJ
450372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45038
45039 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45040 protection macro.
45041 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45042 and <dl-machine.h>.
45043 (Elf64_FuncDesc): Remove.
45044
25ad0df1
DM
450452011-08-22 David S. Miller <davem@davemloft.net>
45046
45047 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45048 sigaltstack check, add missing cfi directives.
45049 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45050 missing cfi directives, and sigaltstack handling.
45051
e888bcbe
AS
450522011-08-16 Andreas Schwab <schwab@redhat.com>
45053
45054 [BZ #11724]
45055 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45056 object is seen twice.
45057 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45058
45059 * elf/Makefile (distribute): Add tst-initorder2.c.
45060 (tests): Add tst-initorder2.
45061 (modules-names): Add tst-initorder2a tst-initorder2b
45062 tst-initorder2c tst-initorder2d. Add rules to build them.
45063 ($(objpfx)tst-initorder2.out): New rule.
45064 * elf/tst-initorder2.c: New file.
45065 * elf/tst-initorder2.exp: New file.
45066
87162f46
AS
450672011-08-22 Andreas Schwab <schwab@redhat.com>
45068
70538b7f
AS
45069 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45070
f55ffe58
AS
45071 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45072 dependencies back to end of function.
45073
87162f46
AS
45074 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45075 $(elfobjdir)/ld.so.
45076
91b392a4
UD
450772011-08-21 Ulrich Drepper <drepper@gmail.com>
45078
45079 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45080 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45081 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45082 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45083 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45084 of __vdso_gettimeofday.
45085 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45086 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45087 attribute_hidden.
45088 (_libc_vdso_platform_setup): Remove initialization of
45089 __vdso_gettimeofday and __vdso_time.
45090
5c43483f
UD
450912011-08-20 Ulrich Drepper <drepper@gmail.com>
45092
775a77e7
UD
45093 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45094 and fgetc_unlocked.
45095 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45096 getc_unlocked.
89f447ed 45097
49c74ba9
UD
45098 * elf/dl-open.c (add_to_global): Report additions to the global scope
45099 for LD_DEBUG=scopes.
45100 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45101 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45102
5c43483f
UD
45103 [BZ #13114]
45104 * stdio-common/Makefile (tests): Add bug24.
45105 * stdio-common/bug24.c: New file.
45106
a101b025
AJ
451072011-08-19 Andreas Jaeger <aj@suse.de>
45108
45109 [BZ #13114]
45110 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45111 non-existant file when using close-on-exec mode.
45112
c88f1766
UD
451132011-08-20 Ulrich Drepper <drepper@gmail.com>
45114
0276a718
UD
45115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45116 the very first instruction.
45117
c88f1766
UD
45118 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45119 the CFI state in the end.
45120 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45121 inclusion of dl-trampoline.h.
45122 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45123
51ccffa0
AS
451242011-08-19 Andreas Schwab <schwab@redhat.com>
45125
94d7165f
AS
45126 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45127 expectations for long double.
45128
51ccffa0
AS
45129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45130 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45131
fd708658 451322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45133
45134 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45135 artificual limit depends upon the system page size.
45136
44f0a71e
UD
451372011-08-17 Ulrich Drepper <drepper@gmail.com>
45138
45139 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45140 * resolv/Makefile: Define CFLAGS-libresolv.
45141
8de79a24
AS
451422011-08-17 Andreas Schwab <schwab@redhat.com>
45143
45144 * nss/makedb.c (compute_tables): Make variables used in nested
45145 function static.
45146
27724598
UD
451472011-08-17 Ulrich Drepper <drepper@gmail.com>
45148
c5305d88
UD
45149 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45150 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45151 if buffer was too small.
45152
27724598
UD
45153 * elf/pldd.c (main): Attach to all threads in the process.
45154 Rewrite /proc handling to use *at functions.
45155
076fe015
UD
451562011-08-16 Ulrich Drepper <drepper@gmail.com>
45157
174baab3
UD
45158 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45159 specifies first scope to show.
45160 (dl_open_worker): Update callers. Move printing scope of new
45161 object to before the relocation.
44f0a71e 45162 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45163 * sysdeps/generic/ldsodefs.h: Update declaration.
45164
076fe015
UD
45165 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45166 string for the scope number.
45167
a60df2c3
UD
451682011-08-14 Ulrich Drepper <drepper@gmail.com>
45169
45170 * nscd/servicescache.c (cache_addserv): Make sure written is always
45171 initialized.
45172
5e4287d1
RM
451732011-08-14 Roland McGrath <roland@hack.frob.com>
45174
85ae0589
RM
45175 * sysdeps/i386/i486/bits/atomic.h
45176 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45177 statement expression, so as to suppress "set but not used" warning.
45178 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45179
69f63097
RM
45180 * string/strncat.c (STRNCAT): Use prototype definition.
45181
675456ef
RM
45182 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45183 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45184 -Iprograms here.
45185 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45186 (localedef-modules): Add localedef.
45187 (locale-modules): Add locale.
45188
5e4287d1
RM
45189 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45190 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45191 to avoid a warning.
45192
9c96ff23
DM
451932011-08-14 David S. Miller <davem@davemloft.net>
45194
45195 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45196 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45197
f9ddf089
UD
451982011-08-13 Ulrich Drepper <drepper@gmail.com>
45199
44f0a71e 45200 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45201 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45202 * elf/rtld.c (dl_main): Set l_name of vDSO.
45203 Call _dl_show_scope when DL_DEBUG_SCOPES.
45204 (process_dl_debug): Recognize scopes flag and also set it for all.
45205 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45206 Declare _dl_show_scope.
45207
1dc27704
UD
45208 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45209 (do_dlopen): Pass caller_dlopen to dl_open.
45210 (__libc_dlopen_mode): Initialize caller_dlopen.
45211
f9ddf089
UD
45212 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45213 of libc. Make tolower call locale-independent. Optimize a bit by
45214 using isdigit instead of isalnum.
45215 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45216
9ac533d3
UD
452172011-08-12 Ulrich Drepper <drepper@gmail.com>
45218
45219 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45220 was a dependency or dynamically loaded.
45221
89edf2e9
UD
452222011-08-11 Ulrich Drepper <drepper@gmail.com>
45223
8e999d29
UD
45224 * intl/l10nflist.c: Allow architecture-specific pop function.
45225 * sysdeps/x86_64/l10nflist.c: New file.
45226
89edf2e9
UD
45227 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45228 classification.
45229
14d96785
AS
452302011-08-10 Andreas Schwab <schwab@redhat.com>
45231
45232 * include/dirent.h: Add libc_hidden_proto for scandirat and
45233 scandirat64. Don't declare __scandirat64.
45234 * dirent/scandirat.c: Add libc_hidden_def.
45235 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45236 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45237
6761ac04
DM
452382011-08-10 David S. Miller <davem@davemloft.net>
45239
45240 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45241 enum.
45242 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45243 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45244 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45245
c55fbd1e
UD
452462011-08-09 Ulrich Drepper <drepper@gmail.com>
45247
45248 * Versions.def [libc]: Add GLIBC_2.15.
45249 * dirent/Makefile (routines): Add scandirat and scandirat64.
45250 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45251 GLIBC_2.15.
45252 * dirent/dirent.h: Declare scandirat and scandirat64.
45253 * dirent/scandirat.c: New file.
45254 * dirent/scandirat64.c: New file.
45255 * sysdeps/wordsize-64/scandirat.c: New file.
45256 * sysdeps/wordsize-64/scandirat64.c: New file.
45257 * dirent/opendir.c: Define opendirat.
45258 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45259 using scandirat.
45260 * dirent/scandir64.c: Adjust for scandir.c change.
45261 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45262 __scandirat64, and __scandir_cancel_handler.
45263 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45264 additional parameter and use openat instead of open (outside of ld.so).
45265 Add new __opendir as wrapper around __opendirat.
45266 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45267 here without requiring old scandirat implementation.
45268
879165f2
UD
452692011-08-08 Ulrich Drepper <drepper@gmail.com>
45270
45271 * dirent/scandir.c (cancel_handler): Renamed to
45272 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45273 defined. Adjust users.
45274 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45275 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45276
cb7e923b
UD
452772011-08-04 Ulrich Drepper <drepper@gmail.com>
45278
16292edd
UD
45279 * string/test-string.h (IMPL): Use __STRING to expand name and then
45280 stringify it.
45281
cb7e923b
UD
45282 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45283 of cleanups.
45284
cff82933
LD
452852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45286
45287 * string/Makefile: Update.
45288 (strop-tests): Append strncat.
45289 * string/test-wcscmp.c: New file.
45290 New comprehensive test for wcscmp.
45291 * string/test-strcmp.c: Update.
45292 (WIDE): New define.
45293
9be9bfcc
AS
452942011-07-22 Andreas Schwab <schwab@redhat.com>
45295
45296 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45297 line.
45298
2e96f1c7
AS
452992011-07-26 Andreas Schwab <schwab@redhat.com>
45300
45301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45302 encoding to ACE if AI_IDN.
45303
85188888
JJ
453042011-08-01 Jakub Jelinek <jakub@redhat.com>
45305
45306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45307 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45308
5fa16e9b
LD
453092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45310
45311 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45312 Fix overflow bug in strncat.
45313 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45314
45315 * string/test-strncat.c: Update.
45316 Add new tests for checking overflow bugs.
45317
453182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45319
45320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45321 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45322 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45323 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45324 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45325 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45326 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45327 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45328 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45329
45330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45331 (USE_AS_STRCAT): Define.
45332 Add strcat and strncat support.
45333 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45334
8c1a459f
AS
453352011-07-25 Andreas Schwab <schwab@redhat.com>
45336
45337 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45338 __n bigger than INT_MAX+1.
45339 (__strncmp_g): Likewise.
45340
bba33c28
UD
453412011-07-23 Ulrich Drepper <drepper@gmail.com>
45342
798be72d
UD
45343 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45344 * libio/stido.h: Likewise.
45345
8accd4dc
UD
45346 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45347 (AF_NFC): Define.
45348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45349 (AF_NFC): Define.
45350
cbff0d96
UD
45351 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45352 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45353 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45354 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45355 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45356
9191c04a
UD
45357 [BZ #13021]
45358 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45359 installed.
45360
bba33c28
UD
45361 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45362 typo.
45363 (_dl_x86_64_save_sse): Likewise.
45364
90f139dd
UD
453652011-07-22 Ulrich Drepper <drepper@gmail.com>
45366
1aae088a
UD
45367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45368 OSXSAVE.
45369 (_dl_x86_64_save_sse): Likewise.
45370
8e2045f5
UD
45371 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45372
90f139dd
UD
45373 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45374
1d002f25
AS
453752011-07-21 Andreas Schwab <schwab@redhat.com>
45376
45377 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45378 change.
45379 (_dl_x86_64_save_sse): Use correct AVX check.
45380
21137f89
UD
453812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45382
45383 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45384 bug in strncpy/strncat.
45385 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45386
a65c0b7a
UD
453872011-07-21 Ulrich Drepper <drepper@gmail.com>
45388
45389 * string/tester.c (test_strcat): Add tests for different alignments
45390 of source and destination.
45391 (test_strncat): Likewise.
45392
6986b98a
UD
453932011-07-20 Ulrich Drepper <drepper@gmail.com>
45394
90bb2039
UD
45395 [BZ #12852]
45396 * posix/glob.c (glob): Check passed in values before using them in
45397 expressions to avoid some overflows.
45398 (glob_in_dir): Likewise.
45399
5644ef54
UD
45400 [BZ #13007]
45401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45402 check for AVX enablement so that we don't crash with old kernels and
45403 new hardware.
45404 * elf/tst-audit4.c: Add same checks here.
45405 * elf/tst-audit6.c: Likewise.
45406
45407 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 45408
bfc9dc9b
AS
454092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45410
45411 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45412
702e64bb
UD
454132011-07-20 Ulrich Drepper <drepper@gmail.com>
45414
45415 * po/cs.po: Update from translation team.
45416 * po/bg.po: Likewise.
45417
295e904f
MP
454182011-07-12 Marek Polacek <mpolacek@redhat.com>
45419
45420 * misc/sys/cdefs.h: Add support for const attribute.
45421 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45422 to gnu_dev_{major,minor,makedev} functions.
45423
3ff94596
MP
454242011-07-20 Marek Polacek <mpolacek@redhat.com>
45425
45426 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45427
28b59fca
AS
454282011-07-20 Andreas Schwab <schwab@redhat.com>
45429
45430 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45431 strlen results.
45432
19df733e
AK
454332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45434
45435 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45436 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45437 register in order to avoid conflicts with the soft frame pointer
45438 being held in r11 when necessary.
45439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45440 (INTERNAL_VSYSCALL_NCS): Likewise.
45441
c8835729
MP
454422011-07-14 Marek Polacek <mpolacek@redhat.com>
45443
45444 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45445 * elf/dl-fini.c (_dl_fini): Adjust caller.
45446 * elf/dl-close.c (_dl_close_worker): Likewise.
45447 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45448
b902330c
MP
454492011-07-15 Marek Polacek <mpolacek@redhat.com>
45450
8991e135
MP
45451 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45452 "aux_cache->nlibs < 0".
45453
b902330c
MP
45454 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45455 in the reload-count case.
45456
99710781
LD
454572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45458
45459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45460 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45461 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45462 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45463 * sysdeps/x86_64/multiarch/strcat.S: New file.
45464 * sysdeps/x86_64/multiarch/strncat.S: New file.
45465 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45466 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45467 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45468 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45469 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45470 (USE_AS_STRCAT): Define.
45471 Add strcat and strncat support.
45472 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45473 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45474 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45475 * string/strncat.c: Update.
45476 (USE_AS_STRNCAT): Define.
45477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45478 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45479 and i7.
45480 * sysdeps/x86_64/multiarch/init-arch.h
45481 (bit_Prefer_PMINUB_for_stringop): New.
45482 (index_Prefer_PMINUB_for_stringop): Likewise.
45483 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45484 bit_Prefer_PMINUB_for_stringop.
45485
7dc6bd90
UD
454862011-07-19 Ulrich Drepper <drepper@gmail.com>
45487
45488 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45489 buffer64.
45490 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45491 of casting of buffer.
45492 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45493 buffer32 and buffer64.
45494 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45495 writes instead of casting of buffer.
45496 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45497 buffer32.
45498 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45499 casting of buffer.
45500
e0e72284
AS
455012011-07-19 Andreas Schwab <schwab@redhat.com>
45502
45503 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45504
feb1eb0b
UD
455052011-07-19 Ulrich Drepper <drepper@gmail.com>
45506
45507 * nscd/nscd.c (termination_handler): Don't do anything for a database
45508 if it has not yet been initialized.
45509
298711ff
UD
455102011-07-18 Ulrich Drepper <drepper@gmail.com>
45511
45512 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45513
455142011-07-15 Marek Polacek <mpolacek@redhat.com>
45515
45516 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45517
f9d68389
UD
455182011-07-18 Ulrich Drepper <drepper@gmail.com>
45519
45520 * po/nl.po: Update from translation team.
45521 * po/sv.po: Likewise.
45522
db290cf5
RM
455232011-07-16 Roland McGrath <roland@hack.frob.com>
45524
45525 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45526 now disallowed by GCC.
5c550700 45527
fd5e21c7
RM
45528 * configure.in (use-default-link): Default to yes if a test -shared
45529 link meets our qualifications.
45530 * configure: Regenerated.
45531
5c550700
RM
45532 * config.make.in (output-format): New variable.
45533 * configure.in: Check for ld --print-output-format support.
45534 * configure: Regenerated.
45535 * Makerules ($(common-objpfx)format.lds)
45536 [$(output-format) != unknown]: Just use $(output-format),
45537 instead of the linker-script munging.
45538
9fa2c032
RM
455392011-07-14 Roland McGrath <roland@hack.frob.com>
45540
a6928d51
RM
45541 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45542 of $(common-objpfx)shlib.lds.
45543 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45544
661607b3
RM
45545 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45546 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45547
9fa2c032
RM
45548 * configure.in (-z relro check): Adjust test code to add a large
45549 writable data section after it.
45550 * configure: Regenerated.
45551
defe9061
RM
455522011-07-11 Roland McGrath <roland@hack.frob.com>
45553
45554 * configure.in (-z relro check): Fix test code to make the variable
45555 truly const.
45556 * configure: Regenerated.
45557
319b9ad4
UD
455582011-07-11 Ulrich Drepper <drepper@gmail.com>
45559
45560 * nscd/nscd.h (struct traced_file): Define.
45561 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45562 elements. Add traced_files.
45563 (inotify_fd): Declare.
45564 (register_traced_file): Declare.
45565 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45566 (inotify_fd): Export.
45567 (resolv_conf_descr): Remove.
45568 (nscd_init): Move inotify descriptor creation to main.
45569 Don't register files for notification here.
45570 (register_traced_file): New function.
45571 (invalidate_cache): Don't use reset_res to determine whether to call
45572 res_init, go through the list of registered files.
45573 (main_loop_poll): The inotify descriptors are now stored in the
45574 structures for the traced files.
45575 (main_loop_epoll): Likewise
45576 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45577 to __nss_disable_nscd.
45578 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45579 for a database anymore. Check the records for all the registered
45580 files instead.
45581 * nss/Makefile (libnss_files-routines): Add files-init.
45582 (libnss_db-routines): Add db-init.
45583 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45584 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45585 * nss/nss_db/db-init.c: New file.
45586 * nss/nss_files/files-init.c: New file.
45587 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45588 __nss_lookup_function.
45589 (__nss_lookup_function): Call nss_load_library.
45590 (nss_load_all_libraries): New function.
45591 (__nss_disable_nscd): Take parameter with callback function for files
45592 to register. Set is_nscd. Load all the DSOs for the NSS modules
45593 used for the cached services.
45594 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45595 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45596 options for features to all the files in nscd.
45597
45598 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45599
23bee3e8
RM
456002011-07-10 Roland McGrath <roland@hack.frob.com>
45601
45602 * csu/elf-init.c (__libc_csu_init): Comment typo.
45603
46a5b7f0
UD
456042011-07-09 Ulrich Drepper <drepper@gmail.com>
45605
45606 * po/pl.po: Update from translation team.
45607 * po/ja.po: Likewise.
45608 * po/ru.po: Likewise.
45609 * po/ko.po: Likewise.
45610 * po/fr.po: Likewise.
45611
d30cf5bb
RM
456122011-07-09 Roland McGrath <roland@hack.frob.com>
45613
113ddea4
RM
45614 * configure.in (.ctors/.dtors header and trailer check):
45615 Use an empirical test on a built program.
45616 * configure: Regenerated.
45617
574920b4
RM
45618 * configure.in (-z relro check): Use an empirical test on a built DSO.
45619 Detect, but do not require, on ia64.
45620 * configure: Regenerated.
45621
d30cf5bb
RM
45622 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45623 Update tests that use readelf to use $READELF instead.
45624 * configure: Regenerated.
45625
8538fdb3
UD
456262011-07-08 Ulrich Drepper <drepper@gmail.com>
45627
45628 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45629 if the result is not used.
45630
04d08991
AJ
456312011-07-05 Andreas Jaeger <aj@suse.de>
45632
45633 [BZ#9696]
45634 * stdlib/tst-strtod.c: Add testcase.
45635
de283087
AD
456362011-07-07 Ulrich Drepper <drepper@gmail.com>
45637
4e5f31c8 45638 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45639 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45640 The latter has a higher limit. Take additional parameter to pass to
45641 the new function.
45642 (__pathconf): Pass file to __statfs_link_max.
45643 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45644 __statfs_link_max.
45645 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45646 __statfs_link_max.
45647
de283087
AD
45648 [BZ #12868]
45649 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45650 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45651 Handle Lustre.
45652 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45653 (__statfs_filesize_max): Likewise.
45654 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45655
c75fa153
AJ
456562011-07-05 Andreas Jaeger <aj@suse.de>
45657
45658 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45659
1a544854
UD
456602011-07-06 Marek Polacek <mpolacek@redhat.com>
45661
45662 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45663 `status' variable.
45664 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45665 Likewise.
45666
6f0eec67
UD
456672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45668
45669 * Makefile (strop-tests): Add strncat.
45670 * string/test-strncat.c: New file.
45671
aae30307
UD
456722011-06-30 Marek Polacek <mpolacek@redhat.com>
45673
45674 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45675
c0cfb5eb
UD
456762011-06-21 Andreas Jaeger <aj@suse.de>
45677
45678 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45679 Copy rule from iconvdata/Makefile.
45680
01636b21
UD
456812011-07-06 Ulrich Drepper <drepper@gmail.com>
45682
45683 [BZ #12922]
45684 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45685 but no long options are defined, just return 'W'.
45686
9895c8bc
UD
456872011-06-22 Marek Polacek <mpolacek@redhat.com>
45688
45689 [BZ #9696]
45690 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45691
5d4cf042
UD
456922011-07-06 Ulrich Drepper <drepper@gmail.com>
45693
45694 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45695 netgroups to read.
960e5535 45696 (innetgr): Likewise.
5d4cf042 45697
751eb97e
RM
456982011-07-05 Roland McGrath <roland@hack.frob.com>
45699
45700 * config.make.in (install_root): Default to $(DESTDIR).
45701
f15f1e45
UD
457022011-07-05 Ulrich Drepper <drepper@gmail.com>
45703
45704 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45705
4e34ac6a
RM
457062011-07-02 Roland McGrath <roland@hack.frob.com>
45707
5e9b6af4
RM
45708 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45709
84f9ea0f
RM
45710 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45711 containing directory rather than embedding absolute directory names.
45712
ea5ee9f7
RM
45713 * scripts/check-local-headers.sh: Rewritten using awk.
45714 Match by word, not by line. Print error messages for matches.
45715 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45716
1b74661a
RM
45717 * Makerules [shlib-lds-flags empty]:
45718 ($(common-objpfx)libc_pic.opts): New target.
45719 ($(common-objpfx)libc_pic.os.clean): New target.
45720 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45721
45722 * config.make.in (OBJCOPY): New variable.
45723 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45724 * configure: Regenerated.
45725
f781ef40
RM
45726 * config.make.in (use-default-link): New variable.
45727 * configure.in (use_default_link): Grok --with-default-link to set it.
45728 * configure: Regenerated.
45729 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45730 (shlib-lds, shlib-lds-flags): Define to empty.
45731
2d4fa81e
RM
45732 * Makerules (shlib-lds): New variable.
45733 (shlib-lds-flags): New variable.
45734 (build-shlib, build-moduile, build-module-asneeded): Use it.
45735 ($(common-objpfx)libc.so): Use $(shlib-lds).
45736 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45737 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45738
31fffa6b
RM
45739 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45740 DT_FLAGS/DT_FLAGS_1 with zero flags.
45741
4e34ac6a
RM
45742 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45743 linker script munging.
45744
fcfc776b
UD
457452011-07-02 Ulrich Drepper <drepper@gmail.com>
45746
45747 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45748 as 128-bit value.
45749 * crypt/sha512.c (sha512_process_block): Perform total addition using
45750 128-bit if possible.
45751 (__sha512_finish_ctx): Likewise.
45752 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45753 as 64-bit value.
45754 * crypt/sha256.c (SWAP64): Define.
45755 (sha256_process_block): Perform total addition using 64-bit if
45756 possible.
45757 (__sha256_finish_ctx): Likewise.
45758
99231d9a
UD
457592011-07-01 Ulrich Drepper <drepper@gmail.com>
45760
45761 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45762 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45763 * nscd/hstcache.c (cache_addhst): Likewise.
45764 * nscd/grpcache.c (cache_addgr): Likewise.
45765 * nscd/aicache.c (addhstaiX): Likewise
45766 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45767
445b4a53
TK
457682011-07-01 Thorsten Kukuk <kukuk@suse.de>
45769
45770 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45771 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45772 * nscd/hstcache.c (cache_addhst): Likewise.
45773 * nscd/grpcache.c (cache_addgr): Likewise.
45774 * nscd/aicache.c (addhstaiX): Likewise
45775
6d4d8e8e
AS
457762011-07-01 Andreas Schwab <schwab@redhat.com>
45777
45778 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45779 domain only when needed.
45780
89f654c5
AS
457812011-06-30 Andreas Schwab <schwab@redhat.com>
45782
45783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45784 is always restored.
45785
cf3b23ff
UD
457862011-06-29 Ulrich Drepper <drepper@gmail.com>
45787
45788 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45789 are re-adding the entry.
45790 * nscd/servicescache.c (cache_addserv): Likewise.
45791
751626f9
AJ
457922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45793
45794 * sysdeps/generic/dl-irel.h: fix protection against multiple
45795 inclusions.
45796 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45797
9113ea1f
UD
457982011-06-28 Ulrich Drepper <drepper@gmail.com>
45799
5c0b8d90
UD
45800 [BZ #12935]
45801 * malloc/memusage.sh: Fix quoting in message.
45802 * debug/xtrace.sh: Likewise.
45803
9113ea1f
UD
45804 * configure.in: Remove support for --experimental-malloc option, make
45805 it the default.
45806 * config.make.in: Likewise.
45807 * malloc/Makefile: Likewise.
45808
a4172181
AS
458092011-06-27 Andreas Schwab <schwab@redhat.com>
45810
45811 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45812 two-byte characters.
45813
78a7eee7
RM
458142011-06-27 Roland McGrath <roland@hack.frob.com>
45815
62bede13
RM
45816 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45817 AC_CACHE_CHECK invocation.
45818 * configure: Regenerated.
45819
78a7eee7
RM
45820 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45821
5ce33a62
UD
458222011-06-27 Ulrich Drepper <drepper@gmail.com>
45823
034807a9
UD
45824 [BZ #12350]
45825 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45826 bit from old_res_options.
45827
4902da17
UD
45828 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45829
5ce33a62
UD
45830 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45831 value type for setfct.
45832
c2344f56
L
458332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45834
45835 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45836 __gettimeofday instead of gettimeofday.
45837
68468076
UD
458382011-06-26 Ulrich Drepper <drepper@gmail.com>
45839
45840 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45841
acb0d739
L
458422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45843
45844 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45845
45846 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45847 info.
45848
8912479f
L
458492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45850
45851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45852 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45853 strcpy-sse2-unaligned strncpy-sse2-unaligned
45854 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45855 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45856 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45857 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45858 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45859 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45860 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45861 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45862 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45863 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45864 (STRCPY): Support SSE2 and SSSE3 versions.
45865
d5495a11
UD
458662011-06-24 Ulrich Drepper <drepper@gmail.com>
45867
45868 [BZ #12874]
45869 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45870 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45871 kernels which artificially limit size of requests.
45872
0b1cbaae
L
458732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45874
45875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45876 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45877 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45878 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45879 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45880 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45881 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45882 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45883 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45884 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45885 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45886 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45887 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45888 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45889 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45891 Enable unaligned load optimization for Intel Core i3, i5 and i7
45892 processors.
45893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45894 Define.
45895 (index_Fast_Unaligned_Load): Define.
45896 (HAS_FAST_UNALIGNED_LOAD): Define.
45897
07f494a0
MP
458982011-06-23 Marek Polacek <mpolacek@redhat.com>
45899
45900 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45901
fa3fc0fe
UD
459022011-06-22 Ulrich Drepper <drepper@gmail.com>
45903
45904 [BZ #12907]
45905 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45906 until it is clear that the information is realy needed.
45907 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45908
e12df166
AS
459092011-06-22 Andreas Schwab <schwab@redhat.com>
45910
45911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45912
852eb34d
UD
459132011-06-22 Ulrich Drepper <drepper@gmail.com>
45914
84e2a551
UD
45915 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45916 /sys/devices/system/cpu/online if it is usable.
45917
852eb34d
UD
45918 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45919 reading the information from the /proc filesystem to once a second.
45920
6e502e19
UD
459212011-06-21 Andreas Jaeger <aj@suse.de>
45922
45923 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45924 NULL after inclusion of kernel headers.
45925
75d39ff2
UD
459262011-06-21 Ulrich Drepper <drepper@gmail.com>
45927
51f9aa6a
UD
45928 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45929 calls to internal_setent.
45930
c0244a9d
UD
45931 [BZ #12885]
45932 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45933 addresses using gethostbyname4_r ignore IPv4 addresses.
45934
c5e3c2ae
UD
45935 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45936 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45937
75d39ff2
UD
45938 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45939
42675c6f
DM
459402011-06-20 David S. Miller <davem@davemloft.net>
45941
45942 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45943 inclusions.
45944 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45945
45946 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45947 (elf_irel): Use it.
45948 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45949 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45950 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45951 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45952 * sysdeps/x86_64/dl-irel.h: Likewise.
45953
45954 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45955 * elf/dl-sym.c: Likewise.
45956
57912a71
UD
459572011-06-15 Ulrich Drepper <drepper@gmail.com>
45958
45959 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45960 need to dereference resplen2.
45961
ee22793d
AS
459622011-06-14 Andreas Schwab <schwab@redhat.com>
45963
45964 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45965
a9e836b0
UD
459662011-06-15 Ulrich Drepper <drepper@gmail.com>
45967
77fb9117
UD
45968 * Makeconfig: Define vardbdir and inst_vardbdir.
45969 * nss/Makefile: Add rules to install db-Makefile.
45970
40c1b22c
UD
45971 * nss/nss_db/db-XXX.c: Cleanup.
45972
9f2da732
UD
45973 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45974 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45975 GLIBC_PRIVATE.
45976 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45977 * nss/makedb.c: Implement -g option to specify that value strings
45978 are generated and should not be added to table iterated over for
45979 get*ent calls.
45980 * nss/nss_db/db-initgroups.c: New file.
45981
82e9a1f7
UD
45982 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45983 interface.
45984
c41af17e
UD
45985 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45986 (internal_getgrouplist): Adjust to name change.
45987 Update use_initgroups_entry if this is not the first call.
45988 * nss/databases.def: Add initgroups entry.
45989
a9e836b0
UD
45990 * nss/makedb.c (compute_tables): Check result of multiple hash table
45991 sizes to minimize maximum chain length.
45992
2666d441
UD
459932011-06-14 Ulrich Drepper <drepper@gmail.com>
45994
45995 * Versions.def: Add entry for libnss_db.
45996 * shlib-versions: Likewise.
45997 * nss/Makefile: Add rules to build libnss_db.
45998 * nss/Versions: Add libnss_db information. Organize libnss_files
45999 entries better.
46000 * nss/db-Makefile: Add gshadow support. Change rules for the new
46001 makedb progra. Some minor improvements to generate smaller files.
46002 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46003 here from...
46004 * nss/makedb.c: ...here.
46005 Improve database format to be smaller and require less memory at
46006 runtime.
46007 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46008 db anymore.
46009 * nss/nss_db/db-netgrp.c: Likewise.
46010 * nss/nss_db/db-open.c: Likewise.
46011 * nss/nss_files/flies-XXX.x: Adjust comments.
46012 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46013 * nss/nss_files/files-grp.c: Likewise.
46014 * nss/nss_files/files-hosts.c: Likewise.
46015 * nss/nss_files/files-network.c: Likewise.
46016 * nss/nss_files/files-proto.c: Likewise.
46017 * nss/nss_files/files-pwd.c: Likewise.
46018 * nss/nss_files/files-rpc.c: Likewise.
46019 * nss/nss_files/files-service.c: Likewise.
46020 * nss/nss_files/files-sgrp.c: Likewise.
46021 * nss/nss_files/files-spwd.c: Likewise.
46022 * nss/nss_db/db-alias.c: Removed.
46023 * nss/nss_db/dummy-db.h: Removed.
46024
9ee76b5a
UD
460252011-06-02 Ulrich Drepper <drepper@gmail.com>
46026
46027 * nss/makedb.c: Rewritten to not use database library.
46028 * nss/Makefile: Update to build new makedb program.
46029
c71ca1f8
AJ
460302011-06-14 Andreas Jaeger <aj@suse.de>
46031
46032 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46033 memset declaration.
46034
3154bfb8
UD
460352011-06-10 Andreas Schwab <schwab@redhat.com>
46036
46037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46038 tmpbuf.
46039
b350afab
RM
460402011-06-10 Roland McGrath <roland@hack.frob.com>
46041
decd4e50
RM
46042 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46043 * elf/Makefile ($(objpfx)ld.so): Likewise.
46044
5615eaf2
RM
46045 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46046 Don't list ld.so twice in dependencies.
46047
46048 * posix/bug-regex31.c: Include <stdlib.h>.
46049
46050 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46051
46052 * nis/nss_compat/compat-spwd.c
46053 (getspent_next_nss_netgr): Remove unused variable.
46054 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46055
46056 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46057 nonmembers" output to use the right array.
46058
46059 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46060
46061 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46062
46063 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46064 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46065 * catgets/gencat.c (read_input_file): Likewise.
46066 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46067
46068 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46069 variable definition inside #if's controlling its use.
46070
46071 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46072
46073 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46074
46075 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46076
46077 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46078 unreachable code.
46079
46080 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46081
b68e08db
RM
46082 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46083 * configure: Regenerated.
46084
b350afab
RM
46085 * Makerules: Revert last change.
46086 * elf/Makefile: Likewise.
46087
28368601
RM
460882011-06-09 Roland McGrath <roland@hack.frob.com>
46089
46090 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46091 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46092 (reloc-link): Likewise.
46093
11988f8f
UD
460942011-06-09 Ulrich Drepper <drepper@gmail.com>
46095
46096 * elf/Makefile: Add rules to build pldd.
46097 * elf/pldd.c: New file.
46098 * elf/pldd-xx.c: New file.
46099
e80fab37
UD
461002011-06-07 Ulrich Drepper <drepper@gmail.com>
46101
46102 * version.h: Update for 2.15 development version.
46103
9b849836
DM
461042011-06-07 David S. Miller <davem@davemloft.net>
46105
46106 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46107 ifuncs.
46108 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46109 elf_machine_lazy_rel): Likewise.
46110 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46111 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46112 elf_machine_lazy_rel): Likewise.
46113 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46114 dl_hwcap via passed in argument.
46115 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46116 Likewise.
46117
5a31b283
AK
461182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46119
46120 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46121
069e52f8
RM
461222011-06-06 Roland McGrath <roland@hack.frob.com>
46123
46124 [BZ #12849]
46125 * manual/fdl-1.1.texi: New file, verbatim from:
46126 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46127 * manual/lgpl-2.1.texi: New file, verbatim from:
46128 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46129 * manual/Makefile (licenses): New variable, list those new file names.
46130 (texis): Use it.
46131 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46132
46133 * manual/fdl.texi: File removed.
46134 * manual/lesser.texi: File removed.
46135 * manual/libc.texinfo (Copying, Documentation License):
46136 Use new @include file names, put @appendix directive before @include.
46137
f16846a5
JJ
461382011-06-04 Jakub Jelinek <jakub@redhat.com>
46139
46140 [BZ #12841]
46141 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46142 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46143 (mq_open): Add __NTH.
46144
3d29045b
L
461452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46146
46147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46148 Assume Intel Core i3/i5/i7 processor if AVX is available.
46149
8c297311
UD
461502011-05-31 Ulrich Drepper <drepper@gmail.com>
46151
46152 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46153 typo.
46154
c8fc0c91
UD
461552011-05-31 Andreas Schwab <schwab@redhat.com>
46156
46157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46158 memory. Use alloca_account. Fix memory leak when retrying.
46159
5b27a807
UD
461602011-05-31 Ulrich Drepper <drepper@gmail.com>
46161
356f8bc6
UD
46162 * version.h (RELEASE): Bump for 2.14 release.
46163 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46164
5b27a807
UD
46165 * config.make.in (RANLIB): Remove entry.
46166
01f16ab0
UD
461672011-05-30 Ulrich Drepper <drepper@gmail.com>
46168
41fce8bd
UD
46169 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46170 (libc.pot): Work around missing support for .ksh extension in xgettext.
46171
4769ae77
UD
46172 [BZ #12684]
46173 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46174 if both request failed.
46175 (send_dg): In case of server errors clear resplen or *resplen2.
46176
6b1e7d19
UD
46177 [BZ #12454]
46178 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46179 when there are multiple maps.
46180 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46181 (_dl_fini): Remove test here.
46182
01f16ab0
UD
46183 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46184
b1ebd700
UD
461852011-05-29 Ulrich Drepper <drepper@gmail.com>
46186
7ae22829
UD
46187 [BZ #12350]
46188 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46189 bit from old_res_options.
46190 (gaih_inet): Likewise.
46191
553149f6 46192 [BZ #11099]
18a84741 46193 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46194 as signed.
46195
652ffab1
UD
46196 * resolv/res_init.c (res_setoptions): Make the code more compact.
46197
16985fd0
UD
46198 [BZ #11558]
46199 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46200 set RES_USEVC.
46201
0464f746
UD
46202 [BZ #11634]
46203 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46204
7d17596c
UD
46205 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46206
cf6bbbd7
UD
46207 [BZ #11781]
46208 * malloc/malloc.h: Declare malloc hook variables as volatile.
46209
13f1ab36
UD
46210 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46211 in last patch.
46212
b1ebd700
UD
46213 [BZ #11799]
46214 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46215 raise in the comment.
80e2212d
UD
46216 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46217 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46218 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46219
ce67228d
UD
462202011-05-28 Ulrich Drepper <drepper@gmail.com>
46221
8887a920
UD
46222 [BZ #12811]
46223 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46224 grow the buffers more if it already has to be sufficient.
46225 (build_wcs_upper_buffer): Likewise.
46226 * posix/regexec.c (check_matching): Likewise.
46227 (clean_state_log_if_needed): Likewise.
46228 (extend_buffers): Don't enlarge buffers beyond size of the input
46229 buffer.
46230 Patches mostly by Emil Wojak <emil@wojak.eu>.
46231 * posix/bug-regex32.c: New file.
46232 * posix/Makefile (tests): Add bug-regex32.
46233
4f031072
UD
46234 * locale/findlocale.c (_nl_find_locale): Return right away if
46235 _nl_explode_name failed.
46236 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46237
d0478f0c
UD
46238 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46239
de81b246
UD
46240 * debug/xtrace.sh: Unify messages.
46241 * malloc/memusage.sh: Likewise.
46242
c738465a
UD
46243 [BZ #12813]
46244 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46245 time symbol from vDSO. Substitute with vsyscall if not available.
46246 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46247 __vdso_time.
46248
f1f929d7
UD
46249 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46250 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46251 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46252 Add sendmmsg and internal_sendmmsg.
46253 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46254 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46255 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46256
ce67228d
UD
46257 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46258 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46259 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46260
e57420c6
UD
462612011-05-27 Ulrich Drepper <drepper@gmail.com>
46262
a8509ca5
UD
46263 [BZ #12813]
46264 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46265 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46266 available.
46267 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46268 __vdso_getcpu.
46269
e57420c6
UD
46270 [BZ #12814]
46271 * iconvdata/Makefile (tests): Add bug-iconv9.
46272 * iconvdata/bug-iconv9.c: New file.
46273
4d07db15
AS
462742011-05-27 Andreas Schwab <schwab@redhat.com>
46275
46276 [BZ #12814]
46277 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46278
ea486f69
JJ
462792011-05-25 Jakub Jelinek <jakub@redhat.com>
46280
46281 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46282 (struct user_regs_struct): Change intcs field back to cs.
46283
6f038433
UD
462842011-05-25 Ulrich Drepper <drepper@gmail.com>
46285
46286 * po/ja.po: Update from translation team.
46287
67f86a25
UD
462882011-05-23 Ulrich Drepper <drepper@gmail.com>
46289
46290 [BZ #12795]
46291 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46292 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46293
def7fbd6
AS
462942011-05-20 Andreas Schwab <schwab@redhat.com>
46295
46296 * stdlib/longlong.h: Update from GCC.
46297
f50ef8f1
AS
462982011-05-23 Andreas Schwab <schwab@redhat.com>
46299
46300 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46301 parameter name.
46302 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46303 Add parameter name.
46304 (__sysconf): Pass it down.
46305
de7ce8f1
UD
463062011-05-22 Ulrich Drepper <drepper@gmail.com>
46307
f2962a71
UD
46308 [BZ #12671]
46309 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46310 some situations.
46311 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46312 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46313 add in in __libc_use_alloca calls. Adjust callers.
46314 (glob): Use malloc in some situations.
46315
de7ce8f1
UD
46316 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46317 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46318 pltexit.
46319
aec84f53
UD
463202011-05-21 Ulrich Drepper <drepper@gmail.com>
46321
05bb4a68
UD
46322 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46323 and CLOCK_BOOTTIME_ALARM.
46324
7ea72f99
UD
46325 [BZ #12782]
46326 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46327 is returned.
46328
7e4afad5
UD
46329 * string/_strerror.c (__strerror_r): Print negative errors as signed
46330 numbers.
46331
8e211fec
UD
46332 [BZ #12777]
46333 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46334 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46335 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46336
f7d82dc9
UD
46337 * configure.in: Fix typo in redirection and correct removal of test
46338 files in two cases.
46339
cc9e536d
UD
46340 [BZ #12788]
46341 * locale/setlocale.c (new_composite_name): Fix test to check for
46342 identical name of all categories.
46343
aec84f53
UD
46344 [BZ #12792]
46345 * libio/filedoalloc.c (local_isatty): New function.
46346 (_IO_file_doallocate): Use local_isatty.
46347 * stdio-common/perror.c (perror): In case a new stream is used
46348 forward the stream error.
46349 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46350 error flag.
46351
78e64fdc
RT
463522011-05-20 Ulrich Drepper <drepper@gmail.com>
46353
34a9094f
UD
46354 [BZ #11869]
46355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46356 alloca.
46357 * include/alloca.h (extend_alloca_account): Define.
46358
78e64fdc
RT
46359 [BZ #11857]
46360 * posix/regex.h: Fix comments with documentation of user-accessible
46361 fields after compilation and describe correct free'ing of pattern
46362 after re_compile_pattern.
46363 Patch by Reuben Thomas <rrt@sc3d.org>.
46364
457bddfc
RA
463652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46366
46367 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46368 and -mno-altivec to prevent the compiler from using Altivec and/or
46369 VSX instructions when the corresponding registers are not available.
46370
a4527b51
AS
463712011-05-19 Andreas Schwab <schwab@redhat.com>
46372
46373 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46374
ed690b2f
UD
463752011-05-19 Ulrich Drepper <drepper@gmail.com>
46376
46377 * libio/freopen.c (freopen): Use __dup2, not dup2.
46378 * libio/freopen64.c (freopen64): Likewise.
46379
8db73634
L
463802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46381
46382 [BZ #12775]
46383 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46384 * math/Makefile (tests): Add test-powl.
46385 (CFLAGS-test-powl.c): Define.
46386 * math/test-powl.c: New file.
46387
0a197a9d
L
463882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46389
46390 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46391
ee30c380
UD
463922011-05-17 Ulrich Drepper <drepper@gmail.com>
46393
46394 [BZ #11837]
46395 * iconvdata/gb18030.c: Update to GB18020-2005.
46396
6ce75379
UD
463972011-05-16 Ulrich Drepper <drepper@gmail.com>
46398
a4b89fd8
AR
46399 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46400 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46401 Patch by Aharon Robbins <arnold@skeeve.com>.
46402
ea389b12
UD
46403 [BZ #11892]
46404 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46405 on the stack.
46406
68a3f91f
UD
46407 [BZ #11895]
46408 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46409 through underflows.
46410
15cc7dd1
UD
46411 [BZ #12766]
46412 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46413 point to strings before performing equality test for error_one_per_line
46414 mode.
46415
f3799213
UD
46416 [BZ #11697]
46417 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46418
d79a9c94
UD
46419 [BZ #11820]
46420 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46421 (struct user_fpregs_struct): Avoid __uint*_t types.
46422
56e5eb46
UD
46423 [BZ #6420]
46424 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46425 symbol info. Use it instead of calling _dl_addr locally.
46426 (lock_and_info): New function.
46427 (tr_freehook): Call lock_and_info and pass symbol info as additional
46428 parameter to tr_where.
46429 (tr_mallochook): Likewise.
46430 (tr_reallochook): Likewise.
46431 (tr_memalignhook): Likewise.
46432
6ce75379
UD
46433 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46434 used and couldn't be at all thread-safe.
46435
f8a3b5bf
UD
464362011-05-15 Ulrich Drepper <drepper@gmail.com>
46437
94b7cc37
UD
46438 * libio/freopen.c (freopen): Don't close old file descriptor
46439 before the new one is opened. Instead dup the new file descriptor
46440 to the old one after the new stream is created.
46441 * libio/freopen64.c (freopen64): Likewise.
46442 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46443 * libio/fileops.c (_IO_new_file_close_it): Handle new
46444 _IO_FLAGS2_NOCLOSE flag.
46445 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46446 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46447 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46448 _IO_FLAGS2_NOCLOSE flag.
46449 * include/unistd.h: Add hidden_proto for dup3.
46450 Define __have_dup3.
46451 * io/dup3.c: Define hidden symbol.
46452 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46453
bd25564e
UD
46454 [BZ #7101]
46455 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46456 when an incomplete long option is used.
46457 * posix/tst-getopt_long1.c: New file.
46458 * posix/Makefile (tests): Add tst-getopt_long1.
46459
c84cfef4
UD
46460 [BZ #10138]
46461 * scripts/config.guess: Update from autoconf-2.68.
46462 * scripts/config.sub: Likewise.
46463
3b85df27
UD
46464 [BZ #10157]
46465 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46466 tests into ...
46467 (has_cpuclock): ...this. New function.
46468 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46469 macro here based on has_cpuclock code.
46470
15a856b1
UD
46471 [BZ #10149]
46472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46473 First byte (not low byte) is now always NUL.
46474 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46475
05f399e6
UD
46476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46477 Use non-cancelable interfaces.
46478
10a52685 46479 [BZ #9809]
94ecc67d
UD
46480 * locale/iso-639.def: Add entry for Sorani.
46481
f8a3b5bf
UD
46482 [BZ #11901]
46483 * include/stdlib.h: Move include protection to the right place.
46484 Define abort_msg_s. Declare __abort_msg with it.
46485 * stdlib/abort.c (__abort_msg): Adjust type.
46486 * assert/assert.c (__assert_fail_base): New function. Majority
46487 of code from __assert_fail. Allocate memory for __abort_msg with
46488 mmap.
46489 (__assert_fail): Now call __assert_fail_base.
46490 * assert/assert-perr.c: Remove bulk of implementation. Use
46491 __assert_fail_base.
46492 * include/assert.hL Declare __assert_fail_base.
46493 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46494 mmap.
46495 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46496
1af4e298
UD
464972011-05-14 Ulrich Drepper <drepper@gmail.com>
46498
f8a3b5bf 46499 [BZ #11952]
d26dfc60
MG
46500 [BZ #12453]
46501 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46502 until all modules are registered in the DTV.
46503 * elf/Makefile: Add rules to build and run tst-tls19.
46504 * elf/tst-tls19.c: New file.
46505 * elf/tst-tls19mod1.c: New file.
46506 * elf/tst-tls19mod2.c: New file.
46507 * elf/tst-tls19mod3.c: New file.
46508 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46509
2fc54d6f
UD
46510 [BZ #12083]
46511 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46512 correctly.
46513
98d76b46
UD
46514 [BZ #12601]
46515 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46516 two-byte sequence errors.
46517 * iconvdata/Makefile (tests): Add bug-iconv8.
46518 * iconvdata/bug-iconv8.c: New file.
46519
da3c19ef
UD
46520 [BZ #12626]
46521 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46522 buf2 definition.
46523
ca408c15
UD
46524 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46525
d6f67f7d
UD
46526 [BZ #12432]
46527 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46528 (dummy_getcfa): New function.
46529 (init): Get _Unwind_GetCFA address, use dummy if not found.
46530 (backtrace_helper): In recursion check, also check whether CFA changes.
46531 (__backtrace): Completely initialize arg.
46532
1af4e298 46533 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46534 storing incomplete byte sequence in state object. Avoid testing for
46535 guaranteed too small input if we know there is enough data available.
1af4e298 46536
da62f81b
AS
465372011-05-11 Andreas Schwab <schwab@redhat.com>
46538
46539 * Makeconfig (+link-pie): Indent.
46540 * Rules (binaries-pie): Define if $(have-fpie) and
46541 $(build-shared).
46542 (binaries-shared): Also filter out $(binaries-pie).
46543 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46544 * nscd/Makefile (others-pie): Add nscd.
46545 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46546 ($(objpfx)nscd): Remove command override.
46547 * login/Makefile (others-pie): Add pt_chown.
46548 ($(objpfx)pt_chown): Remove command override.
46549 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46550 remove command overrides.
46551
fcabc0f8
UD
465522011-05-13 Ulrich Drepper <drepper@gmail.com>
46553
20030ae6
UD
46554 * libio/tst_putwc.c: Fix error messages.
46555
fcabc0f8
UD
46556 [BZ #12724]
46557 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46558 currently writing and seek to current position when not.
46559 * libio/Makefile (tests): Add bug-fclose1.
46560 * libio/bug-fclose1.c: New file.
46561
320a5dc0
PB
465622011-05-12 Ulrich Drepper <drepper@gmail.com>
46563
46564 [BZ #12511]
46565 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46566 don't set DF_1_NODELETE here.
46567 (do_lookup_x): When entering new entry test for copy relocation
46568 and if necessary set DF_1_NODELETE flag.
46569 * elf/tst-unique4.cc: New file.
46570 * elf/tst-unique4.h: New file.
46571 * elf/tst-unique4lib.cc: New file.
46572 * elf/Makefile: Add rules to build and run tst-unique4.
46573 Patch by Piotr Bury <pbury@goahead.com>.
46574
22836f52
UD
465752011-05-11 Ulrich Drepper <drepper@gmail.com>
46576
f574184a
UD
46577 [BZ #12052]
46578 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46579
e1fb097f
UD
46580 [BZ #12625]
46581 * misc/mntent_r.c (addmntent): Flush the stream after the output
46582
22836f52
UD
46583 [BZ #12393]
46584 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46585 (is_trusted_path_normalize): Skip initial colon. Append slash
46586 to empty buffer. Duplicate is_trusted_path code but allow
46587 constructed patch to be prefix.
46588 (is_dst): Allow $ORIGIN followed by /.
46589 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46590 Correct testing of result of is_trusted_path_normalize
46591 (decompose_rpath): Fix warning.
46592
7b3b0b2a
UD
465932011-05-10 Ulrich Drepper <drepper@gmail.com>
46594
46595 [BZ #11257]
46596 * grp/initgroups.c (internal_getgrouplist): When we found the service
46597 list through the initgroups entry in nsswitch.conf do not always
46598 continue on a successful lookup. Don't always use the
eac80ce2 46599 __nss_group_database value if it is set.
7b3b0b2a
UD
46600 * nss/nsswitch.conf (initgroups): Change action for successful db
46601 lookup to continue for compatibility.
46602
2a81eaa5
UD
466032011-05-09 Ulrich Drepper <drepper@gmail.com>
46604
be97a69e
UD
46605 [BZ #11532]
46606 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46607 and CP774 modules.
46608 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46609 and CP774 modules.
46610 * iconvdata/tst-tables.sh: Likewise.
46611 * iconvdata/cp770.c: New file.
46612 * iconvdata/cp771.c: New file.
46613 * iconvdata/cp772.c: New file.
46614 * iconvdata/cp773.c: New file.
46615 * iconvdata/cp774.c: New file.
46616 * iconvdata/testdata/CP770: New file.
46617 * iconvdata/testdata/CP770..UTF8: New file.
46618 * iconvdata/testdata/CP771: New file.
46619 * iconvdata/testdata/CP771..UTF8: New file.
46620 * iconvdata/testdata/CP772: New file.
46621 * iconvdata/testdata/CP772..UTF8: New file.
46622 * iconvdata/testdata/CP773: New file.
46623 * iconvdata/testdata/CP773..UTF8: New file.
46624 * iconvdata/testdata/CP774: New file.
46625 * iconvdata/testdata/CP774..UTF8: New file.
46626
46627 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46628 END CHARMAP line.
46629 * iconvdata/gen-8bit-gap.sh: Likewise.
46630 * iconvdata/gen-8bit.sh: Likewise.
46631
c1e9e399
UD
46632 * locale/iso-639.def: Add ary entry.
46633
24c55fb3 46634 [BZ #11258]
96b4b1b0
UD
46635 * locale/C-translit.h.in: Add U20A1 transliteration.
46636
bdc2f971
KB
46637 [BZ #12178]
46638 * locale/iso-639.def: Add wae entry.
46639 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46640
2952b117
UD
46641 [BZ #12545]
46642 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46643 for n.
46644
2a81eaa5
UD
46645 [BZ #12711]
46646 * locale/C-translit.h.in: Add entry for U20B9.
46647 Patch by pravin.d.s@gmail.com.
46648
28377d1b
UD
466492011-05-08 Ulrich Drepper <drepper@gmail.com>
46650
7fb90fb8
UD
46651 [BZ #12713]
46652 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46653 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46654 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46655 in rtld. Use *stat64.
7fb90fb8 46656 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46657 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46658 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46659 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46660 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46661 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46662 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46663 __fstatat64 macros.
7fb90fb8
UD
46664 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46665 * dirent/rewinddir.c: Add libc_hidden_def.
46666 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46667 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46668
28377d1b
UD
46669 * include/dirent.h (__alloc_dir): Add flags parameter.
46670 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46671 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46672 __alloc_dir.
46673 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46674 from fdopendir if O_CLOEXEC is already set.
46675
66bdbaa4
AM
466762011-03-15 Alan Modra <amodra@gmail.com>
46677
46678 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46679 l_tls_firstbyte_offset non-zero. Save padding offset in
46680 l_tls_firstbyte_offset for later use.
46681 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46682 freeing static tls block.
46683
95721191
JN
466842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46685
46686 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46687 where #ifdef was intended. The intent is to prevent ARG_MAX from
46688 being defined by the kernel headers.
46689
f87dfb1f
UD
466902011-05-07 Ulrich Drepper <drepper@gmail.com>
46691
46692 [BZ #12734]
46693 * resolv/resolv.h: Define RES_NOTLDQUERY.
46694 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46695 no-tld-query and set RES_NOTLDQUERY.
46696 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46697 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46698 modern BIND to search name as TLD unless forbidden.
46699
47c3cd7a
UD
467002011-05-07 Petr Baudis <pasky@suse.cz>
46701 Ulrich Drepper <drepper@gmail.com>
46702
46703 [BZ #12393]
46704 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46705 (is_trusted_path): ...to here.
c1e9ea35 46706 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46707 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46708 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46709
8a35c912
PP
467102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46711
46712 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46713 __BEGIN/__END_DECLS.
46714
acd41f47
UD
467152011-05-06 Ulrich Drepper <drepper@gmail.com>
46716
46717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46718 NSS_STATUS_NOTFOUND if no record was found.
46719
597df647
AS
467202011-05-05 Andreas Schwab <schwab@redhat.com>
46721
46722 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46723 (headers-not-in-tirpc): Remove rpc/netdb.h
46724 * resolv/netdb.h: Revert last change.
46725
b9af1301
PP
467262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46727
46728 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46729 circular dependency between libgcc.a and libc.a.
46730
4e34d5f5
AS
467312011-05-05 Andreas Schwab <schwab@redhat.com>
46732
46733 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46734 * nis/Makefile: Don't install rpcsvc/*.
46735 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46736 instead of <rpc/types.h>.
46737 (MAXHOSTNAMELEN): Define.
46738
00ee369c
AS
467392011-05-03 Andreas Schwab <schwab@redhat.com>
46740
46741 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46742
0b592a30
MB
467432011-04-28 Maciej Babinski <mbabinski@google.com>
46744
46745 [BZ #12714]
46746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46747 gethostbyname4_r when IPv6 results are possible.
46748
6e04cbbe
UD
467492011-05-02 Ulrich Drepper <drepper@gmail.com>
46750
46751 [BZ #12723]
46752 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46753 _PC_PIPE_BUF handling.
46754
e4ecafe0
BH
467552011-04-30 Bruno Haible <bruno@clisp.org>
46756
46757 [BZ #12717]
46758 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46759 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46760 to 'int'.
46761 * inet/getnameinfo.c (getnameinfo): Likewise.
46762
125ee683
UD
467632011-04-29 Ulrich Drepper <drepper@gmail.com>
46764
46765 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46766 to groups setting in database lookup.
46767 * nss/nsswitch.conf: Add initgroups entry.
46768
b722481a
EB
467692011-04-22 Ulrich Drepper <drepper@gmail.com>
46770
46771 [BZ #12685]
46772 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46773 mode string.
46774 Patch by Eric Blake <eblake@redhat.com>.
46775
4df46dbd
L
467762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46777
46778 * sunrpc/Makefile (need-export-routines): Add svc_run.
46779 (routines): Remove svc_run.
46780 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46781 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46782 * sunrpc/svc_run.c (svc_run): Likewise.
46783 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46784
e84142d2
UD
467852011-04-21 Ulrich Drepper <drepper@gmail.com>
46786
46787 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46788 problem in reallocation in last patch.
46789
877175d8
UD
467902011-04-20 Ulrich Drepper <drepper@gmail.com>
46791
46792 * sunrpc/Makefile: Move inclusion of Rules.
46793
ab8eed78
UD
467942011-04-19 Ulrich Drepper <drepper@gmail.com>
46795
46796 * nss/nss_files/files-initgroups.c: New file.
46797 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46798 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46799 _nss_files_initgroups_dyn.
46800
e3d8f584
RS
468012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46802
46803 * elf/elf.h (R_ARM_IRELATIVE): Define.
46804
af190f45
UD
468052011-04-19 Ulrich Drepper <drepper@gmail.com>
46806
46807 * po/ru.po: Update from translation team.
46808
53cf59ef
UD
468092011-04-17 Ulrich Drepper <drepper@gmail.com>
46810
46811 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46812 dependencies.
46813
4c559bcd
MF
468142011-02-06 Mike Frysinger <vapier@gentoo.org>
46815
46816 [BZ #12653]
46817 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46818 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46819 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46821 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46822
4420675c
AS
468232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46824
46825 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46826 differing bytes.
46827 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46828 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46829 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46830
75ea32ab
UD
468312011-04-17 Ulrich Drepper <drepper@gmail.com>
46832
46833 [BZ #12420]
46834 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46835 storing it.
46836 * stdlib/bug-getcontext.c: New file.
46837 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46838
27390476
AK
468392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46840
46841 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46842 instructions into .machine "z9-109".
46843 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46844 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46845
10442705
AK
468462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46847
46848 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46849 between environment variables and auxiliary vector.
46850
7b57bfe5
UD
468512011-04-16 Ulrich Drepper <drepper@gmail.com>
46852
46853 * Makefile: Add rules to build linkobj/libc.so.
46854 * include/libc-symbols.h: Define libc_hidden_nolink.
46855 * include/rpc/auth.h: Mark functions which are to be hidden.
46856 * include/rpc/auth_des.h: Likewise.
46857 * include/rpc/auth_unix.h: Likewise.
46858 * include/rpc/clnt.h: Likewise.
46859 * include/rpc/des_crypt.h: Likewise.
46860 * include/rpc/key_prot.h: Likewise.
46861 * include/rpc/pmap_clnt.h: Likewise.
46862 * include/rpc/pmap_prot.h: Likewise.
46863 * include/rpc/pmap_rmt.h: Likewise.
46864 * include/rpc/rpc_msg.h: Likewise.
46865 * include/rpc/svc.h: Likewise.
46866 * include/rpc/svc_auth.h: Likewise.
46867 * include/rpc/xdr.h: Likewise.
46868 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46869 * nss/Makefile: Likewise.
46870 * sunrpc/Makefile: Don't install headers. Build library with normal
46871 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46872 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46873 for the compat linking library. Remove use of INTDEF/INTUSE.
46874 * sunrpc/auth_none.c: Likewise.
46875 * sunrpc/auth_unix.c: Likewise.
46876 * sunrpc/authdes_prot.c: Likewise.
46877 * sunrpc/authuxprot.c: Likewise.
46878 * sunrpc/clnt_gen.c: Likewise.
46879 * sunrpc/clnt_perr.c: Likewise.
46880 * sunrpc/clnt_raw.c: Likewise.
46881 * sunrpc/clnt_simp.c: Likewise.
46882 * sunrpc/clnt_tcp.c: Likewise.
46883 * sunrpc/clnt_udp.c: Likewise.
46884 * sunrpc/clnt_unix.c: Likewise.
46885 * sunrpc/des_crypt.c: Likewise.
46886 * sunrpc/des_soft.c: Likewise.
46887 * sunrpc/get_myaddr.c: Likewise.
46888 * sunrpc/key_call.c: Likewise.
46889 * sunrpc/key_prot.c: Likewise.
46890 * sunrpc/netname.c: Likewise.
46891 * sunrpc/pm_getmaps.c: Likewise.
46892 * sunrpc/pm_getport.c: Likewise.
46893 * sunrpc/pmap_clnt.c: Likewise.
46894 * sunrpc/pmap_prot.c: Likewise.
46895 * sunrpc/pmap_prot2.c: Likewise.
46896 * sunrpc/pmap_rmt.c: Likewise.
46897 * sunrpc/publickey.c: Likewise.
46898 * sunrpc/rpc_cmsg.c: Likewise.
46899 * sunrpc/rpc_common.c: Likewise.
46900 * sunrpc/rpc_dtable.c: Likewise.
46901 * sunrpc/rpc_prot.c: Likewise.
46902 * sunrpc/rpc_thread.c: Likewise.
46903 * sunrpc/rtime.c: Likewise.
46904 * sunrpc/svc.c: Likewise.
46905 * sunrpc/svc_auth.c: Likewise.
46906 * sunrpc/svc_authux.c: Likewise.
46907 * sunrpc/svc_raw.c: Likewise.
46908 * sunrpc/svc_run.c: Likewise.
46909 * sunrpc/svc_simple.c: Likewise.
46910 * sunrpc/svc_tcp.c: Likewise.
46911 * sunrpc/svc_udp.c: Likewise.
46912 * sunrpc/svc_unix.c: Likewise.
46913 * sunrpc/svcauth_des.c: Likewise.
46914 * sunrpc/xcrypt.c: Likewise.
46915 * sunrpc/xdr.c: Likewise.
46916 * sunrpc/xdr_array.c: Likewise.
46917 * sunrpc/xdr_float.c: Likewise.
46918 * sunrpc/xdr_intXX_t.c: Likewise.
46919 * sunrpc/xdr_mem.c: Likewise.
46920 * sunrpc/xdr_rec.c: Likewise.
46921 * sunrpc/xdr_ref.c: Likewise.
46922 * sunrpc/xdr_sizeof.c: Likewise.
46923 * sunrpc/xdr_stdio.c: Likewise.
46924
e6c61494
UD
469252011-04-10 Ulrich Drepper <drepper@gmail.com>
46926
46927 [BZ #12650]
46928 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46929 * sysdeps/ia64/dl-tls.h: Likewise.
46930 * sysdeps/powerpc/dl-tls.h: Likewise.
46931 * sysdeps/s390/dl-tls.h: Likewise.
46932 * sysdeps/sh/dl-tls.h: Likewise.
46933 * sysdeps/sparc/dl-tls.h: Likewise.
46934 * sysdeps/x86_64/dl-tls.h: Likewise.
46935 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46936
34fe483e
AS
469372011-03-14 Andreas Schwab <schwab@redhat.com>
46938
46939 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46940 rpath element also skip the following colon.
46941 (expand_dynamic_string_token): Add is_path parameter and pass
46942 down to DL_DST_REQUIRED and _dl_dst_substitute.
46943 (decompose_rpath): Call expand_dynamic_string_token with
46944 non-zero is_path. Ignore empty rpaths.
46945 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46946 with zero is_path.
46947
f12a32e6
AS
469482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46949
46950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46951 Make cancelable.
46952
38a7d692
UD
469532011-04-09 Ulrich Drepper <drepper@gmail.com>
46954
46955 [BZ #12655]
46956 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46957 Patch by Filipe David Manana <fdmanana@apache.org>.
46958
e451d22b
AS
469592011-04-07 Andreas Schwab <schwab@redhat.com>
46960
46961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46962 Maintain aligned stack.
46963 (CHECK_RSP): Remove unused macro.
46964
dedc7c7b
UD
469652011-04-03 Ulrich Drepper <drepper@gmail.com>
46966
46967 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46968 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46969
94521213
UD
469702011-04-02 Ulrich Drepper <drepper@gmail.com>
46971
46972 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46973
8cb700c0 46974 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46975
0354e355
L
469762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46977
46978 [BZ #12518]
46979 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46980 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46981 * sysdeps/x86_64/memmove.c: New file.
46982 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46983 (memcpy): Renamed to ...
46984 (__new_memcpy): This.
46985 (memcpy): Provide GLIBC_2_14 memcpy.
46986 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46987 (memcpy): Provide GLIBC_2_2_5 memcpy.
46988
8593482f
UD
469892011-04-01 Ulrich Drepper <drepper@gmail.com>
46990
46991 [BZ #12631]
46992 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46993
81a5726b
AS
469942011-03-30 Andreas Schwab <schwab@redhat.com>
46995
46996 * misc/syncfs.c: New file.
46997 * misc/Makefile (routines): Add syncfs.
46998 * posix/unistd.h: Declare syncfs.
46999 * sysdeps/unix/syscalls.list: Add syncfs.
47000
00e5419f
AS
470012011-04-01 Andreas Schwab <schwab@redhat.com>
47002
47003 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47004 open_by_handle_at.
47005 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47006 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47008 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47010 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47011 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47012
748876bf
UD
470132011-04-01 Ulrich Drepper <drepper@gmail.com>
47014
658e451d
UD
47015 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47016 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47017 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47019 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47021 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47022
748876bf
UD
47023 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47024 sync_file_range.c with -fexceptions.
47025 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47026 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47027 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47028 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47029 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47030 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47031 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47032 sync_file_range as cancellation point
47033 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47034 now a wrapper around __call_sync_file_range with cancellation handling.
47035 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47036 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47037 function name to __call_sync_file_range.
47038 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47039 Add call_sync_file_range.
748876bf 47040
6e63d5e1
AS
470412011-04-01 Andreas Schwab <schwab@redhat.com>
47042
47043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47044 bits/timex.h.
6e63d5e1 47045
46998f74
UD
470462011-04-01 Ulrich Drepper <drepper@gmail.com>
47047
4c1423ed
UD
47048 * iconv/iconv.h: Fix typo in comment.
47049 * io/fcntl.h: Likewise.
47050 * libio/stdio.h: Likewise.
47051 * posix/spawn.h: Likewise.
47052 * posix/unistd.h: Likewise.
47053 * stdlib/stdlib.h: Likewise.
47054 * time/time.h: Likewise.
47055 * wcsmbs/wchar.h: Likewise.
47056
158648c0
UD
47057 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47058 open_by_handle): Add.
47059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47060 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47061 Augment a few comments.
47062 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47066 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47067 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47068 open_by_handle.
47069
46998f74
UD
47070 * io/fcntl.h (AT_EMPTY_PATH): Define.
47071
83fe108b
UD
470722011-03-30 Ulrich Drepper <drepper@gmail.com>
47073
47074 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47075 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47076 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47077 to...
47078 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47079 * Versions.def: Add GLIBC_2.14.
47080 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47081 Export.
83fe108b 47082
bb242059
UD
470832011-03-22 Ulrich Drepper <drepper@gmail.com>
47084
47085 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47086 round counter.
47087 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47088
c97a1282
L
470892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47090
47091 [BZ #12597]
47092 * string/test-strncmp.c (do_page_test): New function.
47093 (check2): Likewise.
47094 (test_main): Call check2.
47095 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47096
2a115601
UD
470972011-03-20 Ulrich Drepper <drepper@gmail.com>
47098
47099 [BZ #12587]
47100 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47101 Handle cache information in CPU leaf 4.
47102 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47103
8126d904
UD
471042011-03-18 Ulrich Drepper <drepper@gmail.com>
47105
042c49c6 47106 [BZ #12583]
8126d904
UD
47107 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47108 character representation.
47109 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47110
ccfe366e
RA
471112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47112
47113 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47114 END(__isnan) to END(__isnanf) to match function entry point/label
47115 EALIGN(__isnanf,...).
47116
c6e13027
JJ
471172011-03-10 Jakub Jelinek <jakub@redhat.com>
47118
47119 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47120
33f85a3f
UD
471212011-03-10 Ulrich Drepper <drepper@gmail.com>
47122
028478fa
UD
47123 [BZ #12510]
47124 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47125 copy from the symbol referenced in the relocation to initialize the
47126 used variable.
47127 Patch by Piotr Bury <pbury@goahead.com>.
47128 * elf/Makefile: Add rules to build and tst-unique3.
47129 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47130 * elf/tst-unique3.cc: New file.
47131 * elf/tst-unique3.h: New file.
47132 * elf/tst-unique3lib.cc: New file.
47133 * elf/tst-unique3lib2.cc: New file.
47134
33f85a3f
UD
47135 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47136
03592fc7
MF
471372011-03-10 Mike Frysinger <vapier@gentoo.org>
47138
47139 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47140 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47141 to _start.
03592fc7 47142
6a5ee102
UD
471432011-03-06 Ulrich Drepper <drepper@gmail.com>
47144
47145 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47146 to-be-loaded object along a path to loader is ld.so.
47147
7e4ba49c
HJ
471482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47149 Ulrich Drepper <drepper@gmail.com>
47150
47151 * sysdeps/x86_64/memset.S: After aligning destination, code
47152 branches to different locations depending on the value of
47153 misalignment, when multiarch is enabled. Fix this.
47154
471552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47156
47157 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47158 Set _x86_64_preferred_memory_instruction for AMD processsors.
47159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47160 Set bit_Prefer_SSE_for_memop for AMD processors.
47161
13a804de
UD
471622011-03-04 Ulrich Drepper <drepper@gmail.com>
47163
47164 * libio/fmemopen.c (fmemopen): Optimize a bit.
47165
9d25c392
AS
471662011-03-03 Andreas Schwab <schwab@redhat.com>
47167
47168 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47169
a5543c6a
RM
471702011-03-03 Roland McGrath <roland@redhat.com>
47171
47172 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47173
012d35f7
DM
471742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47175
7e4ba49c 47176 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47177 __bzero_ultra1 instead of __memset_ultra1.
47178
4bff6e01
AS
471792011-02-23 Andreas Schwab <schwab@redhat.com>
47180 Ulrich Drepper <drepper@gmail.com>
47181
47182 [BZ #12509]
47183 * include/link.h (struct link_map): Add l_orig_initfini.
47184 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47185 returning unsuccessfully.
47186 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47187 close of a file loaded at startup, restore the original l_initfini
47188 list.
47189 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47190 list, store the pointer.
47191 * elf/Makefile ($(objpfx)noload-mem): New rule.
47192 (noload-ENV): Define.
47193 (tests): Add $(objpfx)noload-mem.
47194 * elf/noload.c: Include <memcheck.h>.
47195 (main): Call mtrace. Close all opened handles.
47196
f2092faf
AS
471972011-02-17 Andreas Schwab <schwab@redhat.com>
47198
47199 [BZ #12454]
47200 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47201 dependencies are missing.
47202
6c8a2e88
ST
472032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47204
f2092faf 47205 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47206 Hurd needs munmap.
47207 * sysdeps/mach/hurd/ifreq.h: New file.
47208
84a42118
PB
472092011-01-27 Petr Baudis <pasky@suse.cz>
47210 Ulrich Drepper <drepper@gmail.com>
47211
071f805e 47212 [BZ 12445]#
84a42118
PB
47213 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47214 to extend_alloca().
47215 * stdio-common/bug23.c: New file.
47216 * stdio-common/Makefile (tests): Add bug23.
47217
e23fe25b
AS
472182010-09-28 Andreas Schwab <schwab@redhat.com>
47219 Ulrich Drepper <drepper@gmail.com>
47220
47221 [BZ #12489]
47222 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47223 before performing relro protection. At old place add assertion
47224 to make sure nothing changed.
47225
d3f02e10
NS
472262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47227 Glauber de Oliveira Costa <glommer@gmail.com>
47228
47229 * elf/elf.h: Add new ARM TLS relocs.
47230
d55fd7a5
RA
472312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47232
47233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47234 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47235 cast from r3.
47236 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47237 'tests' variable.
47238 * sysdeps/wordsize-64/tst-writev.c: New file.
47239
2206397e
RA
472402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47241
47242 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47243 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47244 insns in _dl_start to prevent a TOC reference before relocs are
47245 resolved.
47246
e9433893
UD
472472011-02-15 Ulrich Drepper <drepper@gmail.com>
47248
47249 [BZ #12469]
47250 * Makeconfig: Remove RANLIB definition.
47251 * Makerules: Don't use RANLIB.
47252 * aclocal.m4: Remove ranlib test.
47253 * configure.in: No need to check for ranlib.
47254 * elf/rtld-Rules: Don't use RANLIB.
47255
f75286c6
ST
472562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47257
8e31c82d
ST
47258 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47259 protection macro.
47260 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47261 inclusion protection macro.
47262
f75286c6
ST
47263 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47264 SIGRTMIN and SIGRTMAX and print information in that case only when
47265 SIGRTMIN is defined.
47266
c1d0e639
JJ
472672011-02-11 Jakub Jelinek <jakub@redhat.com>
47268
47269 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47270 arginfo fn returning -1.
47271
47272 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47273 and thousands string is zero terminated.
47274
edf9294e
AS
472752011-02-03 Andreas Schwab <schwab@redhat.com>
47276
47277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47278 sysdeps/unix/sysv/linux/bits/socket.h.
47279
2b7e92df
ST
472802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47281
edf9294e
AS
47282 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47283 (__CPU_COUNT): Remove old macros.
47284 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47285 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47286 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
47287 (__sched_cpualloc, __sched_cpufree): Add declarations.
47288
a4c7ea7b
UD
472892011-02-05 Ulrich Drepper <drepper@gmail.com>
47290
47291 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47292 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47293 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47294 (readdhstai): Return value of addhstaiX call.
47295 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47296 (addgrbyX): Return value returned by cache_addgr.
47297 (readdgrbyname): Return value returned by addgrbyX.
47298 (readdgrbygid): Likewise.
47299 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47300 (addpwbyX): Return value returned by cache_addpw.
47301 (readdpwbyname): Return value returned by addhstbyX.
47302 (readdpwbyuid): Likewise.
47303 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47304 (addservbyX): Return value returned by cache_addserv.
47305 (readdservbyname): Return value returned by addservbyX:
47306 (readdservbyport): Likewise.
47307 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47308 (addhstbyX): Return value returned by cache_addhst.
47309 (readdhstbyname): Return value returned by addhstbyX.
47310 (readdhstbyaddr): Likewise.
47311 (readdhstbynamev6): Likewise.
47312 (readdhstbyaddrv6): Likewise.
47313 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47314 (readdinitgroups): Return value returned by addinitgroupsX.
47315 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47316 (prune_cache): Keep track of timeout value of re-added entries.
47317 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47318 * nscd/nscd.h: Adjust prototypes of readd* functions.
47319
a0bf67cc
RM
473202011-02-04 Roland McGrath <roland@redhat.com>
47321
47322 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47323 (nis_stats): Likewise.
47324 * nis/nis_modify.c (nis_modify): Likewise.
47325 * nis/nis_remove.c (nis_remove): Likewise.
47326 * nis/nis_add.c (nis_add): Likewise.
47327
47328 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47329
47330 * posix/fnmatch_loop.c: Add some consts.
47331
47332 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47333
435b95eb
L
473342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47335
47336 [BZ #12460]
47337 * config.make.in (config-cflags-novzeroupper): Define.
47338 * configure.in: Substitute libc_cv_cc_novzeroupper.
47339 * elf/Makefile (AVX-CFLAGS): Define.
47340 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47341 (CFLAGS-tst-auditmod4a.c): Likewise.
47342 (CFLAGS-tst-auditmod4b.c): Likewise.
47343 (CFLAGS-tst-auditmod6b.c): Likewise.
47344 (CFLAGS-tst-auditmod6c.c): Likewise.
47345 (CFLAGS-tst-auditmod7b.c): Likewise.
47346 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47347
8517b15e
UD
473482011-02-02 Ulrich Drepper <drepper@gmail.com>
47349
47350 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47351 function to the callback.
47352 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47353
10a656fe
AS
473542011-02-02 Andreas Schwab <schwab@redhat.com>
47355
47356 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47357 of errno.
47358
968dad0a
UD
473592011-01-19 Ulrich Drepper <drepper@gmail.com>
47360
9f94d2ea 47361 [BZ #11724]
968dad0a
UD
47362 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47363 of constructors.
47364 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47365 of destructors.
47366 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47367
47368 [BZ #11724]
47369 * elf/Makefile: Add rules to build and run new test.
47370 * elf/tst-initorder.c: New file.
47371 * elf/tst-initorder.exp: New file.
47372 * elf/tst-initordera1.c: New file.
47373 * elf/tst-initordera2.c: New file.
47374 * elf/tst-initordera3.c: New file.
47375 * elf/tst-initordera4.c: New file.
47376 * elf/tst-initorderb1.c: New file.
47377 * elf/tst-initorderb2.c: New file.
47378 * elf/tst-order-a1.c: New file.
47379 * elf/tst-order-a2.c: New file.
47380 * elf/tst-order-a3.c: New file.
47381 * elf/tst-order-a4.c: New file.
47382 * elf/tst-order-b1.c: New file.
47383 * elf/tst-order-b2.c: New file.
47384 * elf/tst-order-main.c: New file.
47385 New test case by George Gensure <werkt0@gmail.com>.
47386
86e92359
UD
473872010-10-01 Andreas Schwab <schwab@redhat.com>
47388
47389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47390 decoding ACE if AI_CANONIDN.
47391
5d5732b0
UD
473922011-01-18 Ulrich Drepper <drepper@gmail.com>
47393
47394 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47395
a77e8cbc
UD
473962011-01-17 Ulrich Drepper <drepper@gmail.com>
47397
6392473f
UD
47398 * version.h (RELEASE): Bump for 2.13 release.
47399 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47400
620a0529
UD
47401 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47402
18ba70a5
UD
47403 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47404 MADV_NOHUGEPAGE.
32465c3e
UD
47405 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47406 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47407 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47408 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47409 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47410 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47411
c0dafcf1
UD
47412 * posix/getconf.c: Update copyright year.
47413 * catgets/gencat.c: Likewise.
47414 * csu/version.c: Likewise.
47415 * debug/catchsegv.sh: Likewise.
47416 * debug/xtrace.sh: Likewise.
47417 * elf/ldconfig.c: Likewise.
47418 * elf/ldd.bash.in: Likewise.
47419 * elf/sprof.c (print_version): Likewise.
47420 * iconv/iconv_prog.c: Likewise.
47421 * iconv/iconvconfig.c: Likewise.
47422 * locale/programs/locale.c: Likewise.
47423 * locale/programs/localedef.c: Likewise.
47424 * malloc/memusage.sh: Likewise.
47425 * malloc/mtrace.pl: Likewise.
47426 * nscd/nscd.c (print_version): Likewise.
47427 * nss/getent.c: Likewise.
47428
a77e8cbc
UD
47429 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47430 PF_CAIF, and PF_ALG.
47431 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47432
77e8bddf
AS
474332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47434
1f20b93a
AS
47435 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47436 (modules-names): Use them.
47437 (ifunc-test-modules, ifunc-pie-tests): Define.
47438 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47439 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47440 (test-extras): Likewise.
47441 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47442 $(compile-command.c).
47443 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47444 (all-built-dso): Define.
47445 (check-textrel.out, check-execstack.out): Depend on it.
47446
77e8bddf
AS
47447 * configure.in: Don't override --enable-multi-arch.
47448
bc425b33
UD
474492011-01-15 Ulrich Drepper <drepper@gmail.com>
47450
47451 [BZ #6812]
47452 * nscd/hstcache.c (tryagain): Define.
47453 (cache_addhst): Return tryagain not notfound for temporary errors.
47454 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47455 failed.
47456
794c3ad3
UD
474572011-01-14 Ulrich Drepper <drepper@gmail.com>
47458
70181fdd
UD
47459 [BZ #10563]
47460 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47461 to make the syscall.
47462 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47463
794c3ad3
UD
47464 [BZ #12378]
47465 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47466 and fall back to matching as normal character if the string ends before
47467 the matching ']' is found. This is what POSIX requires.
47468 * posix/testfnm.c: Adjust test result.
47469 * posix/globtest.sh: Adjust test result. Add new test.
47470 * posix/tst-fnmatch.input: Likewise.
47471 * posix/tst-fnmatch2.c: Add new test.
47472
68dc9497
AS
474732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47474
47475 * elf/Makefile (check-execstack): Revert last change. Depend on
47476 check-execstack.h.
47477 (check-execstack.h): New target.
47478 (generated): Add check-execstack.h.
47479 * elf/check-execstack.c: Include "check-execstack.h".
47480 (main): Revert last change.
47481 (handle_file): Return zero if GNU_STACK is absent and
47482 DEFAULT_STACK_PERMS doesn't include PF_X.
47483
451f001b
UD
474842011-01-13 Ulrich Drepper <drepper@gmail.com>
47485
cfa28e56
UD
47486 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47487 in child fails because the descriptor is already closed.
8cf8ce17
UD
47488 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47489 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47490 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47491
1086d70d
UD
47492 [BZ #12397]
47493 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47494 syscall.
47495
451f001b
UD
47496 [BZ #10484]
47497 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47498 temporary buffer used to handle multi lookups locally.
a85b5cb4 47499 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47500
08769175
UD
475012011-01-12 Ulrich Drepper <drepper@gmail.com>
47502
47503 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47504 loader is ld.so.
47505
5e49c52e
UD
475062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47507
47508 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47509 alignment for SSE2.
47510
60522a5f
UD
475112011-01-12 Ulrich Drepper <drepper@gmail.com>
47512
47513 [BZ #12394]
47514 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47515 characters. When rounding increased number of integer digits recompute
47516 number of groups.
47517 * stdio-common/tst-grouping.c: New file.
47518 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47519
f257bbd7
UD
475202011-01-09 Ulrich Drepper <drepper@gmail.com>
47521
47522 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47523 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47524
47525 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47526 void.
47527 * bits/select.h: Likewise.
47528
fa9c15cb
UD
475292011-01-08 Ulrich Drepper <drepper@gmail.com>
47530
47531 * po/ja.po: Update from translation team.
47532
16c2895f
DM
475332011-01-04 David S. Miller <davem@sunset.davemloft.net>
47534
47535 [BZ #11155]
47536 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47537 implementation just like for lxstat, fxstatat, et al.
47538
2543fef2
JM
475392010-12-27 Jim Meyering <meyering@redhat.com>
47540
47541 [BZ #12348]
47542 * posix/regexec.c (build_trtable): Return failure indication upon
47543 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47544
98727dbe
UD
475452010-12-25 Ulrich Drepper <drepper@gmail.com>
47546
5bd6dc5c
UD
47547 [BZ #12201]
47548 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47549 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47550 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47551 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47552
97983464
UD
47553 [BZ #12207]
47554 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47555
98727dbe
UD
47556 [BZ #12204]
47557 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47558 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47559
4a531bb0
L
475602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47561
47562 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47563 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47564 script has SORT_BY_INIT_PRIORITY.
47565 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47566 NO_CTORS_DTORS_SECTIONS is defined.
47567 * elf/soinit.c: Likewise.
47568 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47569 NO_CTORS_DTORS_SECTIONS is defined.
47570 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47571 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47572 * sysdeps/sh/init-first.c: Likewise.
47573 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47574
07eb4b71
UD
475752010-12-24 Ulrich Drepper <drepper@gmail.com>
47576
47577 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47578 always use the slow path.
47579
30950a5f
RA
475802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47581
47582 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47583 similar rule which adds the sysdep directories to the header search in
47584 order to pick up the correct platform stackinfo.h.
47585 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47586 perform test if it is, otherwise return successfully without testing.
47587 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47588 DEFAULT_STACK_PERMS define in stackinfo.h.
47589 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47590 defined in stackinfo.h.
47591 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47592 DEFAULT_STACK_PERMS defined in stackinfo.h.
47593 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47594 * sysdeps/ia64/stackinfo.h: Likewise.
47595 * sysdeps/s390/stackinfo.h: Likewise.
47596 * sysdeps/sh/stackinfo.h: Likewise.
47597 * sysdeps/sparc/stackinfo.h: Likewise.
47598 * sysdeps/x86_64/stackinfo.h: Likewise.
47599 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47600 PF_X for powerpc64. Retain PF_X for powerpc32.
47601
db753e2c
UD
476022010-12-19 Ulrich Drepper <drepper@gmail.com>
47603
14b697f7
UD
47604 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47605 accurately.
db753e2c
UD
47606 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47607 GETDENTS_64BIT_ALIGNED.
47608
28300719
UD
476092010-12-14 Ulrich Drepper <dreper@gmail.com>
47610
14b697f7 47611 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47612
4f197237
AS
476132010-12-10 Andreas Schwab <schwab@redhat.com>
47614
dbb0472f
AS
47615 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47616 _GNU_SOURCE.
47617
4f197237
AS
47618 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47619 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47620 Remove __restrict.
47621 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47622 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47623
fb88ac72
UD
476242010-12-09 Ulrich Drepper <drepper@gmail.com>
47625
47626 [BZ #11655]
47627 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47628 are initialized.
47629
42acbb92
JJ
476302010-12-09 Jakub Jelinek <jakub@redhat.com>
47631
47632 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47633
c038d98d
UD
476342010-12-03 Ulrich Drepper <drepper@gmail.com>
47635
47636 * po/it.po: Update from translation team.
47637
3a4a2499
L
476382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47639
47640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47641 unused codes.
47642
1e24cf6e
UD
476432010-11-30 Ulrich Drepper <drepper@gmail.com>
47644
47645 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47646
a7690819
AS
476472010-11-24 Andreas Schwab <schwab@redhat.com>
47648
47649 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47650 specially.
47651 (gaih_getanswer_slice): Likewise.
47652
3bf8d1b1
JJ
476532010-10-20 Jakub Jelinek <jakub@redhat.com>
47654
47655 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47656
6db52fbb
PB
476572010-05-31 Petr Baudis <pasky@suse.cz>
47658
47659 [BZ #11149]
47660 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47661 silently even in the chroot mode.
47662
eaca7569
UD
476632010-11-22 Ulrich Drepper <drepper@gmail.com>
47664
47665 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47666 last patch a bit. Pretty printing
47667
3056dcdb
UD
476682010-05-31 Petr Baudis <pasky@suse.cz>
47669
47670 [BZ #10085]
47671 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47672 initialization of skip_initgroups_dyn.
47673
cf7c9078
UD
476742010-11-19 Ulrich Drepper <drepper@gmail.com>
47675
47676 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47677 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47678
a1fb5e3e
UD
476792010-11-16 Ulrich Drepper <drepper@gmail.com>
47680
47681 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47682
3540d66b
AS
476832010-11-11 Andreas Schwab <schwab@redhat.com>
47684
47685 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47686 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47687 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47688 ($(objpfx)tst-fnmatch-mem): New rule.
47689 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47690 * posix/tst-fnmatch.c (main): Call mtrace.
47691
13b69574
L
476922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47693
47694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47695 Support Intel processor model 6 and model 0x2c.
47696
da93d214
LM
476972010-11-10 Luis Machado <luisgpm@br.ibm.com>
47698
47699 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47700 signed comparison.
47701
8ca52c6e
L
477022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47703
47704 [BZ #12205]
47705 * string/test-strncasecmp.c (check_result): New function.
47706 (do_one_test): Use it.
47707 (check1): New function.
47708 (test_main): Use it.
47709 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47710 Support strcasecmp and strncasecmp.
47711
69da074d
UD
477122010-11-08 Ulrich Drepper <drepper@gmail.com>
47713
47714 [BZ #12194]
47715 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47716 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47717
ff02d528
L
477182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47719
47720 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47721 IFUNC support.
47722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47723 memset-x86-64.
47724 * sysdeps/x86_64/multiarch/bzero.S: New file.
47725 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47726 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47727 * sysdeps/x86_64/multiarch/memset.S: New file.
47728 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47730 Set bit_Prefer_SSE_for_memop for Intel processors.
47731 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47732 Define.
47733 (index_Prefer_SSE_for_memop): Define.
47734 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47735
344d0b54
LM
477362010-11-04 Luis Machado <luisgpm@br.ibm.com>
47737
47738 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47739 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47740
c0dde15b
UD
477412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47742
47743 [BZ #12191]
47744 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47745 (__x86_64_raw_data_cache_size_half): Likewise.
47746 (__x86_64_raw_shared_cache_size): Likewise.
47747 (__x86_64_raw_shared_cache_size_half): Likewise.
47748
47749 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47750 (__x86_64_raw_data_cache_size_half): Likewise.
47751 (__x86_64_raw_shared_cache_size): Likewise.
47752 (__x86_64_raw_shared_cache_size_half): Likewise.
47753 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47754 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47755 and __x86_64_raw_shared_cache_size_half. Round
47756 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47757 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47758 to multiple of 256 bytes.
47759
0e516e0e
MS
477602010-11-03 Ulrich Drepper <drepper@gmail.com>
47761
47762 [BZ #12167]
47763 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47764 of inacessible symlinks. Verify result of symlink before returning it.
47765 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47766 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47767
0e012e87
ER
477682010-10-28 Erich Ritz <erichritz@gmail.com>
47769
47770 * math/math.h (isinf): Fix typo in comment.
47771
de0ff7bc
UD
477722010-11-01 Ulrich Drepper <drepper@gmail.com>
47773
47774 * po/da.po: Update from translation team.
47775
fa41c84d
UD
477762010-10-26 Ulrich Drepper <drepper@gmail.com>
47777
47778 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47779 is added to the list.
47780
f0967738
AK
477812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47782 Ulrich Drepper <drepper@gmail.com>
47783
47784 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47785 the global list here. Move code to...
47786 (_dl_add_to_namespace_list): ...here. New function.
47787 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47788 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47789 * elf/dl-load.c (lose): Don't remove the element from the list.
47790 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47791 (_dl_map_object): Likewise.
47792
477932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47794
47795 [BZ #12159]
47796 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47797 into all bytes of SSE register.
47798 Patch by Richard Li <richardpku@gmail.com>.
47799
f0967738 478002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47801
47802 [BZ #12140]
47803 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47804 perturbing.
47805
d0b9e94f
MB
478062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47807
47808 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47809 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47810 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47811 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47813 submachine.
47814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47815
8e9f92e9
AS
478162010-10-22 Andreas Schwab <schwab@redhat.com>
47817
47818 * include/dlfcn.h (__RTLD_SECURE): Define.
47819 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47820 mode & __RTLD_SECURE instead.
47821 (open_path): Rename preloaded parameter to secure.
47822 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47823 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47824 * elf/dl-deps.c (openaux): Likewise.
47825 * elf/rtld.c (struct map_args): Remove is_preloaded.
47826 (map_doit): Don't use it.
47827 (dl_main): Likewise.
47828 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47829 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47830
bc96fbda
AS
478312010-09-09 Andreas Schwab <schwab@redhat.com>
47832
47833 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47834 (sysd-rules-targets): Remove duplicates.
47835 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47836 rtld-%.$o dependency.
47837
22cd1c9b
AS
478382010-10-18 Andreas Schwab <schwab@redhat.com>
47839
47840 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47841 _dl_map_object do it.
47842
18edac48
UD
478432010-10-19 Ulrich Drepper <drepper@gmail.com>
47844
47845 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47846 fast fma builtins, define the macros in the C99 standard.
47847 (FP_FAST_FMAF): Likewise.
47848 (FP_FAST_FMAL): Likewise.
47849 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47850
47851 * bits/mathdef.h: Update copyright year.
47852 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47853
d2050124
MM
478542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47855
47856 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47857 builtins, define the macros in the C99 standard.
47858 (FP_FAST_FMAF): Likewise.
47859 (FP_FAST_FMAL): Likewise.
47860 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47861 multiply/add.
47862 (FP_FAST_FMAF): Likewise.
47863
475facd1
JJ
478642010-10-15 Jakub Jelinek <jakub@redhat.com>
47865
47866 [BZ #3268]
47867 * math/libm-test.inc (fma_test): Some new testcases.
47868 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47869 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47870 y and infinite z. Do multiplication by C already in long double.
47871 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47873 y and infinite z. Do bitwise or of inexact bit into u.d.
47874 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47875 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47876 * sysdeps/i386/fpu/s_fma.S: Removed.
47877 * sysdeps/i386/fpu/s_fmal.S: Removed.
47878
7c08a05c
JJ
478792010-10-16 Jakub Jelinek <jakub@redhat.com>
47880
47881 [BZ #3268]
47882 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47884 computation is not scheduled after fetestexcept. Fix value
47885 of minimum denormal long double.
47886
f3f7372d
JJ
478872010-10-14 Jakub Jelinek <jakub@redhat.com>
47888
47889 [BZ #3268]
47890 * math/libm-test.inc (fma_test): Add some more tests.
47891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47892 correctly.
47893
14d43591
AS
478942010-10-15 Andreas Schwab <schwab@redhat.com>
47895
47896 * scripts/data/localplt-s390-linux-gnu.data: New file.
47897 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47898
5e908464
JJ
478992010-10-13 Jakub Jelinek <jakub@redhat.com>
47900
47901 [BZ #3268]
47902 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47903 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47904 instead of dbl-64.
47905 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47906 inlines.
47907 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47909 if one of x and y is very large and the other is subnormal.
47910 * sysdeps/s390/fpu/s_fmaf.c: New file.
47911 * sysdeps/s390/fpu/s_fma.c: New file.
47912 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47913 * sysdeps/powerpc/fpu/s_fma.S: New file.
47914 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47915 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47916 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47917
479182010-10-12 Jakub Jelinek <jakub@redhat.com>
47919
47920 [BZ #3268]
47921 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47922 fma tests.
47923 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47924 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47925 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47926 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47927 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47928 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47929 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47930
b833d51f
UD
479312010-10-12 Ulrich Drepper <drepper@redhat.com>
47932
47933 [BZ #12078]
47934 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47935 * posix/bug-regex31.input: Add test case.
47936
1751705d
UD
479372010-10-11 Ulrich Drepper <drepper@gmail.com>
47938
e9b9cbf5
UD
47939 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47940 * posix/bug-regex31.input: New file.
47941
47942 [BZ #12078]
47943 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47944 (parse_sub_exp): Fix last change, use postorder.
47945
ef06edbe
UD
47946 * posix/bug-regex31.c: New file.
47947 * posix/Makefile: Add rules to build and run bug-regex31.
47948
a129c80d
UD
47949 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47950
47951 [BZ #12078]
47952 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47953
b76b818e
UD
47954 [BZ #12108]
47955 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47956 to have entries in sys_siglist.
47957
1751705d
UD
47958 [BZ #12093]
47959 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47960 be NULL.
47961
9ff8d36f
JJ
479622010-10-07 Jakub Jelinek <jakub@redhat.com>
47963
47964 [BZ #3268]
47965 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47966 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47967 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47968 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47969 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47970 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47971 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47972 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47973 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47974 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47975 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47976 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47977 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47978 * math/ftestexcept.c (fetestexcept): Likewise.
47979 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47980 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47981 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47982 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47983 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47984 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47985 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47986
af325969
UD
479872010-10-11 Ulrich Drepper <drepper@gmail.com>
47988
c579b202 47989 [BZ #12107]
af325969
UD
47990 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47991 newline.
47992
67a67b95
UD
479932010-10-06 Ulrich Drepper <drepper@gmail.com>
47994
47995 * string/bug-strstr1.c: New file.
47996 * string/Makefile: Add rules to build and run bug-strstr1.
47997
5fb308bc
EB
479982010-10-05 Eric Blake <eblake@redhat.com>
47999
48000 [BZ #12092]
48001 * string/str-two-way.h (two_way_long_needle): Always clear memory
48002 when skipping input due to the shift table.
48003
45db99c7
UD
480042010-10-03 Ulrich Drepper <drepper@gmail.com>
48005
3b111893
UD
48006 [BZ #12005]
48007 * malloc/mcheck.c: Handle large requests.
48008
45db99c7
UD
48009 [BZ #12077]
48010 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48011 for strncmp and strncasecmp.
48012 * string/stratcliff.c: Add tests for strcmp and strncmp.
48013 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48014
cf7a1eb8
NI
480152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48016
48017 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48018 __set_fpscr.
48019
6484ba5e
AJ
480202010-09-30 Andreas Jaeger <aj@suse.de>
48021
48022 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48023 (CGROUP_SUPER_MAGIC): Define.
48024 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48025 Handle btrfs and cgroup file systems.
48026 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48027 Likewise.
48028
91c42559
LM
480292010-09-27 Luis Machado <luisgpm@br.ibm.com>
48030
48031 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48032 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48033
87a97932
AK
480342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48035
48036 [BZ #12067]
48037 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48038 trying to locate the ELF header.
48039
c21cc9bc
AS
480402010-09-27 Andreas Schwab <schwab@redhat.com>
48041
48042 [BZ #11611]
48043 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48044 Mask out sign-bit copies when constructing f_fsid.
48045
315970f6
PB
480462010-09-24 Petr Baudis <pasky@suse.cz>
48047
48048 * debug/stack_chk_fail_local.c: Add missing licence exception.
48049 * debug/warning-nop.c: Likewise.
48050
1ac7a2c7
JM
480512010-09-15 Joseph Myers <joseph@codesourcery.com>
48052
48053 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48054 implementing getdents64 using getdents syscall, set d_type if
48055 __ASSUME_GETDENTS32_D_TYPE.
48056
56801c50
AS
480572010-09-16 Andreas Schwab <schwab@redhat.com>
48058
48059 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48060 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48061
dda51327
UD
480622010-09-21 Ulrich Drepper <drepper@redhat.com>
48063
48064 [BZ #12037]
48065 * posix/unistd.h: Undo change of feature selection for ftruncate from
48066 2010-01-11.
48067
8ffcee4a
UD
480682010-09-20 Ulrich Drepper <drepper@redhat.com>
48069
a545ecd9 48070 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48071 detection.
48072
e24f0a8b
AS
480732010-09-20 Andreas Schwab <schwab@redhat.com>
48074
48075 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48076 fanotify_mark.
48077 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48078
7291c56f
AS
480792010-09-14 Andreas Schwab <schwab@redhat.com>
48080
48081 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48082 variables after CHECK_SP call.
48083 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48084
bc5fb037
AS
480852010-09-13 Andreas Schwab <schwab@redhat.com>
48086 Ulrich Drepper <drepper@redhat.com>
48087
48088 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48089 re-relocationg ld.so.
48090 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48091 _dl_init_paths call.
48092 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48093 here anymore.
48094
e66e7419
UD
480952010-09-14 Ulrich Drepper <drepper@redhat.com>
48096
48097 * resolv/res_init.c (__res_vinit): Count the default server we added.
48098
c044aa75
CLT
480992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48100 Ulrich Drepper <drepper@redhat.com>
48101
48102 [BZ #11968]
48103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48104 (____longjmp_chk): Use %ebx for saving value across system call.
48105 Add unwind info.
48106
32cf4069
AS
481072010-09-06 Andreas Schwab <schwab@redhat.com>
48108
48109 * manual/Makefile: Don't mix pattern rules with normal rules.
48110
817328ee
AS
481112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48112
48113 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48114 operation.
48115 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48116 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48117 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48118 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48119 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48120 Likewise.
48121
29fddf61
UD
481222010-09-04 Ulrich Drepper <drepper@redhat.com>
48123
48124 [BZ #11979]
48125 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48126 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48127
0959ffc9
UD
481282010-09-02 Ulrich Drepper <drepper@redhat.com>
48129
48130 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48131 * sysdeps/x86_64/addmul_1.S: Likewise.
48132 * sysdeps/x86_64/lshift.S: Likewise.
48133 * sysdeps/x86_64/mul_1.S: Likewise.
48134 * sysdeps/x86_64/rshift.S: Likewise.
48135 * sysdeps/x86_64/sub_n.S: Likewise.
48136 * sysdeps/x86_64/submul_1.S: Likewise.
48137
ece29840
ST
481382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48139
0959ffc9
UD
48140 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48141 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48142 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48143 * bits/sched.h [__need_schedparam]
ece29840 48144 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48145 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48146 (__defined_schedparam): Define to 1.
ece29840
ST
48147 (__sched_param): New structure, identical to sched_param.
48148 (__need_schedparam): Undefine.
48149
e53a31fe
MF
481502010-08-31 Mike Frysinger <vapier@gentoo.org>
48151
fdc0c10d
MF
48152 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48153 (epoll_create1): Declare.
48154
e53a31fe
MF
48155 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48156
a726d796
AS
481572010-08-31 Andreas Schwab <schwab@redhat.com>
48158
48159 [BZ #7066]
48160 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48161 shifting retval into place.
48162
2f3e3dc7
UD
481632010-09-01 Ulrich Drepper <drepper@redhat.com>
48164
f2933da9
UD
48165 * nis/rpcsvc/nis.h: Update copyright notice.
48166 * nis/rpcsvc/nis.x: Likewise.
48167 * nis/rpcsvc/nis_callback.h: Likewise.
48168 * nis/rpcsvc/nis_callback.x: Likewise.
48169 * nis/rpcsvc/nis_object.x: Likewise.
48170 * nis/rpcsvc/nis_tags.h: Likewise.
48171 * nis/rpcsvc/yp.h: Likewise.
48172 * nis/rpcsvc/yp.x: Likewise.
48173 * nis/rpcsvc/ypupd.h: Likewise.
48174 * nis/yp_xdr.c: Likewise.
48175 * nis/ypupdate_xdr.c: Likewise.
48176
2f3e3dc7
UD
48177 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48178 mainly the body of pmap_getport. Add parameters to specify timeouts.
48179 (pmap_getport): Use __libc_rpc_getport.
48180 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48181 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48182 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48183
f3dcc2f9
AS
481842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48185
48186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48187 fanotify_mark.
48188
6d34eb5b
RM
481892010-08-27 Roland McGrath <roland@redhat.com>
48190
48191 * sysdeps/i386/i686/multiarch/Makefile
48192 (CFLAGS-varshift.c): New variable.
48193
9ea3de11
UD
481942010-08-27 Ulrich Drepper <drepper@redhat.com>
48195
c96d23fc
UD
48196 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48197 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48198
9ea3de11
UD
48199 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48200
48201 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48202
623aac7f
L
482032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48204
48205 * sysdeps/x86_64/strlen.S: Unroll the loop.
48206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48207 strlen-sse2 strlen-sse2-bsf.
48208 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48209 __strlen_no_bsf if bit_Slow_BSF is set.
48210 (__strlen_sse42): Removed.
48211 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48212 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48213
8b2b7715
RM
482142010-08-25 Roland McGrath <roland@redhat.com>
48215
48216 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48217 * sysdeps/x86_64/multiarch/varshift.c: New file.
48218 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48219 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48220 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48221 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48222
e73015f2
L
482232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48224
48225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48226 strlen-sse2 strlen-sse2-bsf.
48227 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48228 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48229 (__strlen_sse2): Removed.
48230 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48231 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48233 bit_Slow_BSF for Atom.
48234 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48235 (index_Slow_BSF): Define.
48236 (HAS_SLOW_BSF): Define.
48237
df24a73e
UD
482382010-08-25 Ulrich Drepper <drepper@redhat.com>
48239
48240 [BZ #10851]
48241 * resolv/res_init.c (__res_vinit): When no server address at all
48242 is given default to loopback.
48243
f2ac4868
RM
482442010-08-24 Roland McGrath <roland@redhat.com>
48245
09055553
RM
48246 * configure.in: Remove config-name.h generation.
48247 * configure: Regenerated.
48248 * config-name.in: File removed.
48249 * scripts/config-uname.sh: New file.
48250 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48251 ($(objdir)config-name.h): New target.
48252
f2ac4868
RM
48253 * sunrpc/rpc_parse.h: Avoid nested comment.
48254
73f27d5e
RH
482552010-08-24 Richard Henderson <rth@redhat.com>
48256 Ulrich Drepper <drepper@redhat.com>
48257 H.J. Lu <hongjiu.lu@intel.com>
48258
48259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48261 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48262 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48263 _mm_alignr_epi8 with _mm_loadu_si128.
48264 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48265 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48266 (__m128i_shift_right): Removed.
48267 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48268 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48269 * sysdeps/x86_64/multiarch/varshift.h: New file.
48270 * sysdeps/x86_64/multiarch/varshift.S: New file.
48271
84b9230c
MF
482722010-08-21 Mike Frysinger <vapier@gentoo.org>
48273
48274 * configure.in: Move assembler checks to before sysdep dir checking.
48275
9bbd0ddc
PB
482762010-08-20 Petr Baudis <pasky@suse.cz>
48277
48278 * LICENSES: Sync the sunrpc license.
48279
9da4bb31
UD
482802010-08-19 Ulrich Drepper <drepper@redhat.com>
48281
a7ab6ec8
UD
48282 * sunrpc/auth_des.c: Update copyright notice once again.
48283 * sunrpc/auth_none.c: Likewise.
48284 * sunrpc/auth_unix.c: Likewise.
48285 * sunrpc/authdes_prot.c: Likewise.
48286 * sunrpc/authuxprot.c: Likewise.
48287 * sunrpc/bindrsvprt.c: Likewise.
48288 * sunrpc/clnt_gen.c: Likewise.
48289 * sunrpc/clnt_perr.c: Likewise.
48290 * sunrpc/clnt_raw.c: Likewise.
48291 * sunrpc/clnt_simp.c: Likewise.
48292 * sunrpc/clnt_tcp.c: Likewise.
48293 * sunrpc/clnt_udp.c: Likewise.
48294 * sunrpc/clnt_unix.c: Likewise.
48295 * sunrpc/des_crypt.c: Likewise.
48296 * sunrpc/des_soft.c: Likewise.
48297 * sunrpc/get_myaddr.c: Likewise.
48298 * sunrpc/getrpcport.c: Likewise.
48299 * sunrpc/key_call.c: Likewise.
48300 * sunrpc/key_prot.c: Likewise.
48301 * sunrpc/openchild.c: Likewise.
48302 * sunrpc/pm_getmaps.c: Likewise.
48303 * sunrpc/pm_getport.c: Likewise.
48304 * sunrpc/pmap_clnt.c: Likewise.
48305 * sunrpc/pmap_prot.c: Likewise.
48306 * sunrpc/pmap_prot2.c: Likewise.
48307 * sunrpc/pmap_rmt.c: Likewise.
48308 * sunrpc/rpc/auth.h: Likewise.
48309 * sunrpc/rpc/auth_unix.h: Likewise.
48310 * sunrpc/rpc/clnt.h: Likewise.
48311 * sunrpc/rpc/des_crypt.h: Likewise.
48312 * sunrpc/rpc/key_prot.h: Likewise.
48313 * sunrpc/rpc/netdb.h: Likewise.
48314 * sunrpc/rpc/pmap_clnt.h: Likewise.
48315 * sunrpc/rpc/pmap_prot.h: Likewise.
48316 * sunrpc/rpc/pmap_rmt.h: Likewise.
48317 * sunrpc/rpc/rpc.h: Likewise.
48318 * sunrpc/rpc/rpc_des.h: Likewise.
48319 * sunrpc/rpc/rpc_msg.h: Likewise.
48320 * sunrpc/rpc/svc.h: Likewise.
48321 * sunrpc/rpc/svc_auth.h: Likewise.
48322 * sunrpc/rpc/types.h: Likewise.
48323 * sunrpc/rpc/xdr.h: Likewise.
48324 * sunrpc/rpc_clntout.c: Likewise.
48325 * sunrpc/rpc_cmsg.c: Likewise.
48326 * sunrpc/rpc_common.c: Likewise.
48327 * sunrpc/rpc_cout.c: Likewise.
48328 * sunrpc/rpc_dtable.c: Likewise.
48329 * sunrpc/rpc_hout.c: Likewise.
48330 * sunrpc/rpc_main.c: Likewise.
48331 * sunrpc/rpc_parse.c: Likewise.
48332 * sunrpc/rpc_parse.h: Likewise.
48333 * sunrpc/rpc_prot.c: Likewise.
48334 * sunrpc/rpc_sample.c: Likewise.
48335 * sunrpc/rpc_scan.c: Likewise.
48336 * sunrpc/rpc_scan.h: Likewise.
48337 * sunrpc/rpc_svcout.c: Likewise.
48338 * sunrpc/rpc_tblout.c: Likewise.
48339 * sunrpc/rpc_util.c: Likewise.
48340 * sunrpc/rpc_util.h: Likewise.
48341 * sunrpc/rpcinfo.c: Likewise.
48342 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48343 * sunrpc/rpcsvc/key_prot.x: Likewise.
48344 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48345 * sunrpc/rpcsvc/mount.x: Likewise.
48346 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48347 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48348 * sunrpc/rpcsvc/rex.x: Likewise.
48349 * sunrpc/rpcsvc/rstat.x: Likewise.
48350 * sunrpc/rpcsvc/rusers.x: Likewise.
48351 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48352 * sunrpc/rpcsvc/spray.x: Likewise.
48353 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48354 * sunrpc/rtime.c: Likewise.
48355 * sunrpc/svc.c: Likewise.
48356 * sunrpc/svc_auth.c: Likewise.
48357 * sunrpc/svc_authux.c: Likewise.
48358 * sunrpc/svc_raw.c: Likewise.
48359 * sunrpc/svc_run.c: Likewise.
48360 * sunrpc/svc_simple.c: Likewise.
48361 * sunrpc/svc_tcp.c: Likewise.
48362 * sunrpc/svc_udp.c: Likewise.
48363 * sunrpc/svc_unix.c: Likewise.
48364 * sunrpc/svcauth_des.c: Likewise.
48365 * sunrpc/xcrypt.c: Likewise.
48366 * sunrpc/xdr.c: Likewise.
48367 * sunrpc/xdr_array.c: Likewise.
48368 * sunrpc/xdr_float.c: Likewise.
48369 * sunrpc/xdr_mem.c: Likewise.
48370 * sunrpc/xdr_rec.c: Likewise.
48371 * sunrpc/xdr_ref.c: Likewise.
48372 * sunrpc/xdr_sizeof.c: Likewise.
48373 * sunrpc/xdr_stdio.c: Likewise.
48374
9da4bb31
UD
48375 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48376 handling.
48377
bdaa77bc
AS
483782010-08-19 Andreas Schwab <schwab@redhat.com>
48379
48380 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48381
fe2f79db
LM
483822010-08-19 Luis Machado <luisgpm@br.ibm.com>
48383
48384 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48385 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48386 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48387 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48388 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48389 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48390 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48391 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48392 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48393 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48394 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48395 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48396 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48397 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48398
b9b42ee0
AB
483992010-07-26 Anton Blanchard <anton@samba.org>
48400
48401 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48402 * malloc/arena.c (heap_trim): Likewise.
48403
1c06ba31
UD
484042010-08-16 Ulrich Drepper <drepper@redhat.com>
48405
48406 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48407 here. Not...
48408 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48409 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48410
f8392f40
L
484112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48412
48413 * sysdeps/i386/elf/Makefile: New file.
48414
3162f12e
AS
484152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48416
48417 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48418 from fanotify_init.
48419 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48421
28c90b2c
UD
484222010-08-15 Ulrich Drepper <drepper@redhat.com>
48423
48424 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48425 of strncasecmp_l.
1feccb6c 48426 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 48427
ca6bb004
UD
484282010-08-14 Ulrich Drepper <drepper@redhat.com>
48429
e9f82e0d
UD
48430 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48431 strncase_l-nonascii.
48432 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48433 Add strncase_l-ssse3.
48434 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48435 * sysdeps/x86_64/strcmp.S: Likewise.
48436 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48437 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48438 * sysdeps/x86_64/strncase.S: New file.
48439 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48440 * sysdeps/x86_64/strncase_l.S: New file.
48441 * string/Makefile (strop-tests): Add strncasecmp.
48442 * string/test-strncasecmp.c: New file.
48443
48444 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48445 warning.
48446
ca6bb004
UD
48447 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48448 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48449
052fa7b3
AS
484502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48451
48452 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48453
962dba78
UD
484542010-08-12 Ulrich Drepper <drepper@redhat.com>
48455
48456 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48457 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48458 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48459
bebff237
AM
484602010-05-01 Alan Modra <amodra@gmail.com>
48461
48462 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48463 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48464 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48465 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48466 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48467 tidying. Don't tail-call __sigjmp_save for static lib.
48468 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48469 save location.
48470 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48471 (CALL_MCOUNT): Add eh info, and nop after bl.
48472 (TAIL_CALL_SYSCALL_ERROR): New macro.
48473 (PSEUDO_RET): Use it.
48474 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48475 Correct save location of integer regs and cr.
48476 (_dl_profile_resolve): Correct cr save location. Delete nops
48477 after bl when SHARED. Reduce cfi size a little by better
48478 placement of cfi directives.
48479 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48480 make a stack frame. Instead use parm save area as a temp.
48481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48482 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48484 Don't make a stack frame for parent, use parm save area.
48485 Increase child stack frame to 112 bytes. Don't save unused reg,
48486 and adjust reg usage. Set up cfi on error recovery and
48487 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48489 (__makecontext): Add dummy nop after jump to exit.
48490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48491 Use correct parm save area and cr save, reduce stack frame.
48492 Correct cfi for possible PSEUDO_RET frame setup.
48493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48494 Branch to local label emitted by PSEUDO_RET rather than
48495 __syscall_error.
48496
02637374
AS
484972010-08-12 Andreas Schwab <schwab@redhat.com>
48498
48499 [BZ #11904]
48500 * locale/programs/locale.c (print_assignment): New function.
48501 (show_locale_vars): Use it.
48502
c3e2f19b
UD
485032010-08-11 Ulrich Drepper <drepper@redhat.com>
48504
3cdaa6ad
UD
48505 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48506 field.
48507 (struct statfs64): Likewise.
48508 (_STATFS_F_FLAGS): Define.
48509 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48510 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48511 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48512 (ST_VALID): Define locally.
48513 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48514 __statvfs_getflags, use the provided value.
48515 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48516 __ASSUME_STATFS_F_FLAGS.
48517
754f7da3
UD
48518 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48519
10b3bedc
UD
48520 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48521 Add sys/fanotify.h.
48522 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48523 fanotify_mask for GLIBC_2.13.
48524 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48525 fanotify_init and fanotify_mark.
48526 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48527 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48528
c08fb0d7
UD
48529 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48530 Add prlimit.
48531 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48532 prlimit64 for GLIBC_2.13.
48533 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48534 prlimit64.
48535 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48536 syscall.
48537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48538 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48539 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48540 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48541 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48542 add prlimit alias.
48543 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48544
15bac72b
UD
48545 [BZ #11903]
48546 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48547 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48548
c3e2f19b
UD
48549 * nss/Makefile: Add rules to build and run tst-nss-test1.
48550 * shlib-versions: Add entry for libnss_test1.
48551 * nss/nss_test1.c: New file.
48552 * nss/tst-nss-test1.c: New file.
48553
48554 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48555 (__nss_configure_lookup): Set appropriate entry in
48556 __nss_configure_lookup to true.
48557 * nss/nsswitch.h: Define enum with indeces of databases in
48558 databases and __nss_database_custom arrays. Declare
48559 __nss_database_custom.
48560 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48561 to avoid using nscd when custom rules are installed.
48562 * nss/getXXbyYY_r.c: Likewise.
48563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48564
48565 * nss/nss_files/files-parse.c: Whitespace fixes.
48566
f15ce4d8
UD
485672010-08-09 Ulrich Drepper <drepper@redhat.com>
48568
48569 [BZ #11883]
48570 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48571 * posix/fnmatch_loop.c: Likewise.
48572
d22e4cc9
AK
485732010-07-17 Andi Kleen <ak@linux.intel.com>
48574
48575 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48576 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48577 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48578 * Versions.def [GLIBC_2.13]: Add.
48579
805bc17d
UD
485802010-08-06 Ulrich Drepper <drepper@redhat.com>
48581
48582 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48583 Also fail if tpwd after pwuid call is NULL.
48584
5a42321d
ST
485852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48586
48587 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48588 when converting to ms.
48589
fd3ebeda
ST
485902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48591
48592 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48593 EOPNOTSUPP errors with ENOTTY.
48594 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48595 EOPNOTSUPP errors with ENOTTY.
48596
73507d3a
UD
485972010-07-31 Ulrich Drepper <drepper@redhat.com>
48598
48599 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48600 Add strcasecmp_l-ssse3.
48601 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48602 strcasecmp.
48603 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48604 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48605 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48606
fe36dd02
UD
486072010-07-30 Ulrich Drepper <drepper@redhat.com>
48608
66f6765a
UD
48609 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48610
42e08a54
UD
48611 * string/Makefile (strop-tests): Add strcasecmp.
48612 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48613 strcasecmp_l-nonascii.
48614 (gen-as-const-headers): Add locale-defines.sym.
48615 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48616 * sysdeps/x86_64/strcasecmp.S: New file.
48617 * sysdeps/x86_64/strcasecmp_l.S: New file.
48618 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48619 * sysdeps/x86_64/locale-defines.sym: New file.
48620 * string/test-strcasecmp.c: New file.
48621
fe36dd02
UD
48622 * string/test-strcasestr.c: Test both ends of the range of characters.
48623 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48624
48cbc0d6
RM
486252010-07-29 Roland McGrath <roland@redhat.com>
48626
76e6d6bc 48627 [BZ #11856]
48cbc0d6
RM
48628 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48629
880113d9
UD
486302010-07-27 Ulrich Drepper <drepper@redhat.com>
48631
48632 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48633 for ld.so.
48634
deb9cabb
AS
486352010-07-27 Andreas Schwab <schwab@redhat.com>
48636
48637 * manual/memory.texi (Malloc Tunable Parameters): Document
48638 M_PERTURB.
48639
1c7570ff
RM
486402010-07-26 Roland McGrath <roland@redhat.com>
48641
48642 [BZ #11840]
48643 * configure.in (-fgnu89-inline check): Set and substitute
48644 gnu89_inline, not libc_cv_gnu89_inline.
48645 * configure: Regenerated.
48646 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48647
24fb0f88
UD
486482010-07-26 Ulrich Drepper <drepper@redhat.com>
48649
48650 * string/test-strnlen.c: New file.
48651 * string/Makefile (strop-tests): Add strnlen.
48652 * string/tester.c (test_strnlen): Add a few more test cases.
48653 * string/tst-strlen.c: Better error reporting.
48654
48655 * sysdeps/x86_64/strnlen.S: New file.
48656
8e96b93a
UD
486572010-07-24 Ulrich Drepper <drepper@redhat.com>
48658
48659 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48660 lower-latency instructions.
48661
dbc676d4
UD
486622010-07-23 Ulrich Drepper <drepper@redhat.com>
48663
48664 * string/test-strcasestr.c: New file.
48665 * string/test-strstr.c: New file.
48666 * string/Makefile (strop-tests): Add strstr and strcasestr.
48667 * string/str-two-way.h: Don't undefine MAX.
48668 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48669
f6a31e0e
AS
486702010-07-21 Andreas Schwab <schwab@redhat.com>
48671
48672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48673 strcasestr-nonascii.
48674 (CFLAGS-strcasestr-nonascii.c): Define.
48675 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48676 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48677 Remove unused attribute.
48678
5dbc3b6c
RM
486792010-07-20 Roland McGrath <roland@redhat.com>
48680
48681 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48682 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48683 ld.so.cache was broken. With it, there is no way to disable dsocaps
48684 like LD_HWCAP_MASK can disable hwcaps.
48685
23d101d8
EPM
486862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48687
48688 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48689
cc9f2e47
UD
486902010-07-16 Ulrich Drepper <drepper@redhat.com>
48691
48692 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48693 call in strcasestr.
48694 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48695 __strcasestr_sse42_nonascii.
48696 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48697 strcasestr-nonascii.c.
48698 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48699
77c1b069
LM
487002010-06-15 Luis Machado <luisgpm@br.ibm.com>
48701
48702 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48703 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48704 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48705 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48706
440566c3
UD
487072010-07-09 Ulrich Drepper <drepper@redhat.com>
48708
48709 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48710 fcntl.
48711
5be9d05d
AS
487122010-07-06 Andreas Schwab <schwab@redhat.com>
48713
c30b7ee2 48714 [BZ #11577]
5be9d05d
AS
48715 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48716 dl_signal_cerror.
48717
8a492a67
UD
487182010-07-06 Ulrich Drepper <drepper@redhat.com>
48719
48720 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48721 _PC_PIPE_BUF using F_GETPIPE_SZ.
48722
713df3d5
RM
487232010-07-05 Roland McGrath <roland@redhat.com>
48724
48725 * manual/arith.texi (Rounding Functions): Fix rint description
48726 implicit in round description.
48727
702e8f14
UD
487282010-07-02 Ulrich Drepper <drepper@redhat.com>
48729
48730 * elf/Makefile: Fix linking for a few tests to make recent linker
48731 happy.
48732
52ed8be9
AS
487332010-06-30 Andreas Schwab <schwab@redhat.com>
48734
48735 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48736 $(common-objpfx)libc_nonshared.a.
48737
f47c9a11
LM
487382010-06-21 Luis Machado <luisgpm@br.ibm.com>
48739
48740 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48741 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48742 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48743 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48744 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48745 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48746 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48747 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48762 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48763 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48764 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48765 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48766 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48767 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48768 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48769 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48770 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48771 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48772 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48773 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48788
6fb8cbcb
L
487892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48790
48791 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48792 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48793 * string/memmove.c (memmove): Renamed to ...
48794 (MEMMOVE): ...this. Default to memmove.
48795 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48796 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48797 (END_CHK): Define.
48798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48799 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48800 mempcpy-ssse3-back memmove-ssse3-back.
48801 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48802 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48803 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48804 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48805 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48806 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48807 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48808 * sysdeps/x86_64/multiarch/memmove.c: New file.
48809 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48810 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48811 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48812 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48813 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48814 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48815 Define.
48816 (index_Fast_Copy_Backward): Define.
48817 (HAS_ARCH_FEATURE): Define.
48818 (HAS_FAST_REP_STRING): Define.
48819 (HAS_FAST_COPY_BACKWARD): Define.
48820
4e733bac 488212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48822
48823 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48824 Restore proper fallback handling.
48825
63c4ed22
UD
488262010-06-19 Ulrich Drepper <drepper@redhat.com>
48827
ac2b484c
UD
48828 [BZ #11701]
48829 * posix/group_member.c (__group_member): Correct checking loop.
48830
63c4ed22
UD
48831 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48832 OOM in getpwuid_r correctly. Return error number when the caller
48833 should return, otherwise -1.
48834 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48835 call returning > 0 value.
48836 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48837
765ade4b
AS
488382010-06-07 Andreas Schwab <schwab@redhat.com>
48839
48840 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48841 libc_nonshared.a from targets in modules-names.
48842
80da2e09
KS
488432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48844
48845 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48846 requires it.
48847
158db122
LM
488482010-06-10 Luis Machado <luisgpm@br.ibm.com>
48849
48850 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48851 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48852 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48853 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48854
caa78cf8
AS
488552010-06-02 Andreas Schwab <schwab@redhat.com>
48856
48857 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48858
b2ef2c01
UD
488592010-06-14 Ulrich Drepper <drepper@redhat.com>
48860
48861 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48862 and F_GETPIPE_SZ.
48863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48867 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48868 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48869
fbd643b6
RM
488702010-06-14 Roland McGrath <roland@redhat.com>
48871
48872 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48873
f32f2869
JJ
488742010-06-07 Jakub Jelinek <jakub@redhat.com>
48875
48876 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48877 __REDIRECT followed by __THROW.
48878 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48879 * posix/getopt.h (getopt): Likewise.
48880
2a50c078
EPM
488812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48882
48883 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48884 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48885 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48886 in AT_FLAGS.
48887 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48888 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48889
eb5ad2eb
LM
488902010-05-28 Luis Machado <luisgpm@br.ibm.com>
48891
48892 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48893
3c88fe1e
L
488942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48895
48896 [BZ #11640]
48897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48898 Properly check family and model.
48899
d2f73151
TY
489002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48901
48902 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48903
ebd2e13d
LM
489042010-05-24 Luis Machado <luisgpm@br.ibm.com>
48905
48906 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48907
b32b8b45
UD
489082010-05-21 Ulrich Drepper <drepper@redhat.com>
48909
48910 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48911 symbol reference.
48912
9acbe24d
AS
489132010-05-19 Andreas Schwab <schwab@redhat.com>
48914
48915 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48916 symbol reference.
48917
f0ccf6ea
AS
489182010-05-21 Andreas Schwab <schwab@redhat.com>
48919
3d04ff3a
AS
48920 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48921 and internal_recvmmsg.
48922 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48923 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48924 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48925 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48926
f0ccf6ea
AS
48927 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48928 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48929 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48930
5b08ac57
AS
489312010-05-20 Andreas Schwab <schwab@redhat.com>
48932
48933 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48934
4828935d
LM
489352010-05-17 Luis Machado <luisgpm@br.ibm.com>
48936
48937 POWER7 optimizations.
48938 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48939 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48940
373d545e
UD
489412010-05-19 Ulrich Drepper <drepper@redhat.com>
48942
48943 * version.h: Update for 2.13 development version.
48944
21a2b1ae
AS
489452010-05-12 Andrew Stubbs <ams@codesourcery.com>
48946
48947 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48948 exceptions. Return 0.
48949
3f7dcb2b
RM
489502010-05-07 Roland McGrath <roland@redhat.com>
48951
48952 * elf/ldconfig.c (main): Add a const.
48953
5f24d53a 489542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48955
a160f8d8
UD
48956 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48957 (args_options): Add no-idn option.
48958 (ahosts_keys_int): Add idn_flags to ai_flags.
48959 (parse_option): Handle 'i' option to clear idn_flags.
48960
5f24d53a
UD
48961 * malloc/malloc.c (_int_free): Possible race in the most recently
48962 added check. Only act on the data if no current modification
48963 happened.
265bb1ce
UD
48964
48965See ChangeLog.17 for earlier changes.