]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: optimized memmove for POWER7/PPC32
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3f17b03b
AZ
12014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
07aedd78
AZ
3 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4 multiarch objects.
5 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6 file: multiarch power7 memmove.
7 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8 multiarch default memmove.
9 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10 multiarch memove for powerpc32/power4.
11
17762f66
AZ
12 * string/bcopy.c: Use full path to include memmove.c.
13 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14 multiarch objects.
15 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16 bcopy for powerpc64.
17 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
18 bcopy for powerpc64.
19 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
20 and memmove implementations.
21 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22 optimized multiarch memmove for POWER7/powerpc64.
23 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24 default multiarch memmove for powerpc64.
25 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26 multiarch for powerpc64.
27 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28 for POWER7/powerpc64.
29 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30 memmove for POWER7/powerpc64.
31
d6f68bbe
AZ
32 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
33 glibc default one.
34
3f17b03b
AZ
35 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36 __ELF_NATIVE_CLASS equal to 64.
37
08192659
RM
382014-07-07 Roland McGrath <roland@hack.frob.com>
39
f4c4021b
RM
40 * sysdeps/nptl/lowlevellock.h: File removed.
41
f083450f
RM
42 * NEWS: NPTL is no longer an add-on!
43 * nptl/internaltypes.h: Moved ...
44 * sysdeps/nptl/internaltypes.h: ... here.
45 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46 * sysdeps/nptl/fork.c: Likewise.
47 * sysdeps/nptl/gai_misc.h: Likewise.
48 * sysdeps/nptl/librt-cancellation.c: Likewise.
49 * sysdeps/nptl/jmp-unwind.c: Likewise.
50 * sysdeps/nptl/setxid.h: Likewise.
51 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
52 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
53 * sysdeps/unix/sysv/linux/arm/Implies: New file.
54 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
55 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
56 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
57 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
58 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
59 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
60 * sysdeps/unix/sysv/linux/mips/Implies: New file.
61 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
62 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
63 * sysdeps/unix/sysv/linux/sh/Implies: New file.
64 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
65 * sysdeps/unix/sysv/linux/tile/Implies: New file.
66 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
67 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
68 * nptl/Makeconfig: Moved ...
69 * sysdeps/nptl/Makeconfig: ... here.
70 * nptl/configure: File removed.
71 * nptl/ANNOUNCE: File removed.
72 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
73 * sysdeps/unix/sysv/linux/configure: Regenerated.
74
08192659
RM
75 * nptl/Makefile (routines): Add libc_pthread_init,
76 libc_multiple_threads, register-atfork and unregister-atfork.
77 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
78 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
79 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
80 pthread-pi-defines.sym, structsem.sym.
81 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
82 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
83 [$(subdir) = nptl] (tests): Add tst-setgetname.
84 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
85 * sysdeps/unix/sysv/linux/sigaction.c: Just include
86 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
87 [!LIBC_SIGACTION]: Remove aliases.
88 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
89 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
90 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
91 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
92 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
93 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
94 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
95 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
96 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
97 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
98 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
99 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
100 __libc_allocate_rtsig_private.
101 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
102 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
103 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
104 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
105 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
106 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
107 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
108 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
109 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
110 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
111 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
112 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
113 * nptl/internaltypes.h: ... here.
114 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
115 * sysdeps/nptl/jmp-unwind.c: ... here.
116 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
117 * nptl/libc-lowlevellock.c: ... here.
118 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
119 * nptl/libc_multiple_threads.c: ... here.
120 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
121 * nptl/libc_pthread_init.c: ... here.
122 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
123 * nptl/lowlevelbarrier.sym: ... here.
124 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
125 * nptl/lowlevelcond.sym: ... here.
126 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
127 * nptl/lowlevellock.c: ... here.
128 * nptl/lowlevellock.h: Moved ...
129 * sysdeps/nptl/lowlevellock.h: ... here.
130 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
131 * nptl/lowlevelrobustlock.c: ... here.
132 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
133 * nptl/lowlevelrobustlock.sym: ... here.
134 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
135 * nptl/lowlevelrwlock.sym: ... here.
136 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
137 * nptl/pt-fork.c: ... here.
138 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
139 * nptl/pthread-pi-defines.sym: ... here.
140 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
141 * nptl/pthread_attr_getaffinity.c: ... here.
142 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
143 * nptl/pthread_attr_setaffinity.c: ... here.
144 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
145 * nptl/pthread_mutex_cond_lock.c: ... here.
146 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
147 Update #include.
148 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
149 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
150 * nptl/pthread_once.c: ... here, replacing old file.
151 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
152 * nptl/pthread_yield.c: ... here.
153 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
154 * nptl/register-atfork.c: ... here.
155 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
156 * nptl/sem_post.c: ... here.
157 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
158 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
159 * nptl/sem_timedwait.c: ... here.
160 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
161 * nptl/sem_trywait.c: ... here.
162 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
163 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
164 * nptl/sem_wait.c: ... here.
165 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
166 * nptl/structsem.sym: ... here.
167 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
168 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
169 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
170 * nptl/unregister-atfork.c: ... here.
171 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
172 * nptl/unwindbuf.sym: ... here.
173 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
174 * sysdeps/nptl/fork.c: ... here.
175 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
176 * sysdeps/nptl/fork.h: ... here.
177 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
178 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
179 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
180 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
181 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
182 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
183 * sysdeps/unix/sysv/linux/getpid.c: ... here.
184 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
185 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
186 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
187 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
188 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
189 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
190 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
191 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
192 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
193 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
194 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
195 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
196 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
197 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
198 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
199 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
200 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
201 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
202 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
203 * sysdeps/unix/sysv/linux/raise.c: ... here.
204 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
205 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
206 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
207 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
208 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
209 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
210 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
211 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
212 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
213 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
214 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
215 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
216 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
217 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
218 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
219
96baf6ff
SP
2202014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
221
222 * sysdeps/generic/memcopy.h: Add comment for
223 MEMCPY_OK_FOR_FWD_MEMMOVE.
224
6b7b14b2
WN
2252014-07-04 Will Newton <will.newton@linaro.org>
226
1570a72b
WN
227 * string/memchr.c: Merge from gnulib.
228 [_LIBC]: Remove conditionals.
229 (__ptr_t): Remove define.
230 (LONG_MAX_32_BITS): Likewise.
231 (LONG_MAX): Likewise.
232 (MEMCHR): Use ANSI prototype and optimize algorithm.
233
6b7b14b2
WN
234 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
235
38851324
SP
2362014-07-03 Roland McGrath <roland@hack.frob.com>
237
3d9eb57c
RM
238 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
239 (lll_futex_timed_wait_bitset): Fix syscall argument count.
240
78b984ae
RM
241 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
242 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
243 in a bare environment with no <stdlib.h> installed.
244 * sysdeps/nptl/configure: Regenerated.
245
2d5976a5
RM
246 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
247
c1f5acd4
RM
248 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
249 AC_EGREP_CPP for kernel header checks, so they only succeed if
250 including <linux/version.h> actually works right.
251 * sysdeps/unix/sysv/linux/configure: Regenerated.
252
4d614fe5
RM
253 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
254 value so it's not diagnosed as unused.
255
38851324
SP
256 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
257 thing) with "ifeq ($(subdir),rt)".
258
b3ec00e5
RH
2592014-07-03 Richard Henderson <rth@redhat.com>
260
69862e25
RH
261 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
262 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
263 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
264
d5e16ade
RH
265 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
266 (math_force_eval): New.
267
ca7b945c
RH
268 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
269 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
270
cd1175a3
RH
271 * sysdeps/alpha/fpu/s_round.c: Remove file.
272 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
273
b3ec00e5
RH
274 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
275 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
276 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
277 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
278 (_dl_start, print_statistics): Likewise.
279 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
280 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
281
282 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
283 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
284 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
285 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
286 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
287 (HP_SMALL_TIMING_AVAIL): Define.
288 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
289 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
290 (HP_SMALL_TIMING_AVAIL): Define.
291 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
292 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
293
294 * sysdeps/aarch64/hp-timing.h: New file.
295
296 * sysdeps/generic/hp-timing.h: Remove dead comment.
297 * sysdeps/generic/hp-timing-common.h: New file.
298 * sysdeps/alpha/hp-timing.h: Include it.
299 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
300 * sysdeps/i386/i686/hp-timing.h: Likewise.
301 * sysdeps/ia64/hp-timing.h: Likewise.
302 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
303 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
304 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
305 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
306 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
307 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
308 (hp_timing_t): New.
309
310 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
311 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
312 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
313 * elf/rtld.c (_dl_start_final): Likewise.
314 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
315 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
316 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
317 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
318 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
319 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
320 (HP_TIMING_DIFF_INIT): Remove.
321 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
322 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
323 (HP_TIMING_DIFF_INIT): Remove.
324 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
325 * sysdeps/i386/i686/hp-timing.c: Remove file.
326 * sysdeps/x86_64/hp-timing.c: Remove file.
327 * sysdeps/ia64/hp-timing.c: Remove file.
328 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
329 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
330 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
331 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
332
333 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
334 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
335 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
336 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
337 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
338 (HP_TIMING_ACCUM): Remove.
339 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
340 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
341 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
342
343 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
344 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
345 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
346 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
347 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
348 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
349 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
350 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
351
352 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
353
225f410f
MR
3542014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
355
356 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
357
3247f285
SP
3582014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
359
360 Sync up with gettext.
361 * intl/loadmsgcat.c: Define O_BINARY if not defined.
362 [_MSC_VER]: Include malloc.h
363 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
364 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
365 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
366 TEMP_FAILURE_RETRY. Cast return of alloca.
367 [!_LIBC] Call gl_rwlock_init.
368 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
369
d12704c7
SP
3702014-07-02 Roland McGrath <roland@hack.frob.com>
371
372 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
373 before checking its value.
374
99f8dc92
SP
3752014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
376
05fdac77
SP
377 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
378
99f8dc92
SP
379 * debug/memcpy_chk.c: Don't include pagecopy.h.
380 * debug/mempcpy_chk.c: Likewise.
381 * string/memcpy.c: Likewise.
382 * string/memmove.c: Likewise.
383 * sysdeps/powerpc/memmove.c: Likewise.
384 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
385 definition of PAGE_COPY_FWD_MAYBE here...
386 * sysdeps/generic/pagecopy.h: ... from here.
387 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
388
bc8ea385
VR
3892014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
390 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391
392 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
394 optimizations.
395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
396 (__libc_ifunc_impl_list): Likewise.
397 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
398 multiarch strcat for PPC64.
399 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
400 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
401
fe5f34e4
RM
4022014-07-02 Roland McGrath <roland@hack.frob.com>
403
404 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
405
256aa665
SP
4062014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
407
d4eb8195
SP
408 * intl/loadmsgcat.c: Remove declaration of
409 get_sysdep_segment_value.
410 (get_sysdep_segment_value): Use ISO C style.
411 (_nl_load_domain): Use ISO C style. Get rid of redundant
412 semicolon. Fix typo and formatting in comment.
413 (_nl_unload_domain): Use ISO C style.
414
256aa665
SP
415 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
416
b100f9aa
WN
4172014-07-02 Will Newton <will.newton@linaro.org>
418
419 * malloc/obstack.c: Merge from gnulib master.
420 [HAVE_CONFIG_H]: Remove conditional code.
421 [!_LIBC]: Include config.h.
422 [!ELIDE_CODE]: Don't include inttypes.h, include
423 stdint.h unconditionally.
424 (print_and_abort): Mark as _Noreturn.
425 (_obstack_allocated_p): Mark as __attribute_pure__.
426 (obstack_free): Rename to __obstack_free.
427 [!__attribute__]: Remove conditional code.
428 * malloc/obstack.h: Merge from gnulib master.
429 [__cplusplus]: Move conditional down.
430 [!__attribute_pure__]: Define __attribute_pure__ here
431 if it is not already defined.
432 (_obstack_memory_used): Mark as __attribute_pure__.
433 [!__obstack_free]: Define as obstack_free.
434 [__GNUC__]: Remove check for ancient NeXT gcc.
435
c4c41244
PE
4362014-07-02 Will Newton <will.newton@linaro.org>
437 Paul Eggert <eggert@cs.ucla.edu>
438
439 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
440
e1e041c4
SP
4412014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
442
443 * resolv/gethnamaddr.c: Add comment warning that the file is
444 not maintained.
445
ccf431ff
CD
4462014-07-01 Carlos O'Donell <carlos@redhat.com>
447
d34570a6
CD
448 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
449 entries.
450
ccf431ff
CD
451 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
452 entry for aio_cancel and aio_cancel64.
453 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
454 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
455 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
456 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
457 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
458 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
459 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
460 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
461 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
462 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
463 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
464 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
465 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
466
ca06321d
RM
4672014-07-01 Roland McGrath <roland@hack.frob.com>
468
469 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
470 * nptl/pthread_mutex_lock.c: Likewise.
471 * nptl/pthread_mutex_timedlock.c: Likewise.
472 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
473
a1ac3184
RH
4742014-07-01 Richard henderson <rth@redhat.com>
475
631021e0
RH
476 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
477 (__isnan, __isnanl): Remove.
478 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
479
a1ac3184
RH
480 * sysdeps/alpha/fpu/libm-test-ulps: Update.
481
0c1d731f
SL
4822014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
483
484 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
485
76985d3e
SP
4862014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
487
488 * resolv/nss_dns/dns-host.c (getanswer_r)
489 [MULTI_PTRS_ARE_ALIASES]: Remove code.
490
b0cb3096
JM
4912014-07-01 Joseph Myers <joseph@codesourcery.com>
492
493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
494 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
495 undefine.
496 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
497 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
498
4d76cb39
RM
4992014-07-01 Roland McGrath <roland@hack.frob.com>
500
501 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
502 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
503
504 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
505 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
506
507 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
508 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
509 ... here.
510 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
511 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
512
513 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
514 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
515 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
516 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
517
518 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
519 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
520 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
521 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
522 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
523 Moved ...
524 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
525 ... here.
526 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
527 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
528 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
529 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
530 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
531 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
532 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
533 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
534 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
535 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
536 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
537 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
538 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
539 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
540 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
542 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
543 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
544 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
545 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
546 ... here.
547 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
548 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
549 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
550 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
551 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
552 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
553 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
554 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
555
0cdcad17
DH
5562014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
557
558 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
559 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
560 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
561 Add sysdep.
562
9b71d0e3
AZ
5632014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
564
565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
566
665390c2
JM
5672014-06-30 Joseph Myers <joseph@codesourcery.com>
568
ae05a9d7
JM
569 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
570 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
571
a7672a2f
JM
572 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
573
665390c2
JM
574 * sysdeps/arm/libm-test-ulps: Regenerated.
575
d7a05d07
MR
5762014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
577 Roland McGrath <roland@hack.frob.com>
578
579 * test-skeleton.c (signal_handler): Kill the whole process group
580 before killing the child individually.
581 (main): Report any failure on `setpgid'.
582
46f1d8a6
RM
5832014-06-30 Roland McGrath <roland@hack.frob.com>
584
585 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
586 from _TLS_H to _ARM_NPTL_TLS_H.
587 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
588 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
589
9c37ec0b
JM
5902014-06-30 Joseph Myers <joseph@codesourcery.com>
591
ce9c5b3e
JM
592 [BZ #16539]
593 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
594 (__expm1l): Return argument unchanged when small but not
595 subnormal.
596
3a6e9887
JM
597 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
598 include macro name.
599 (_FP_UNPACK_RAW_1_P): Likewise.
600 (_FP_PACK_RAW_1): Likewise.
601 (_FP_PACK_RAW_1_P): Likewise.
602 (_FP_MUL_MEAT_1_wide): Likewise.
603 (_FP_MUL_MEAT_DW_1_hard): Likewise.
604 (_FP_MUL_MEAT_1_hard): Likewise.
605 (_FP_DIV_MEAT_1_imm): Likewise.
606 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
607 (_FP_DIV_MEAT_1_udiv): Likewise.
608 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
609 (_FP_UNPACK_RAW_2): Likewise.
610 (_FP_UNPACK_RAW_2_P): Likewise.
611 (_FP_PACK_RAW_2): Likewise.
612 (_FP_PACK_RAW_2_P): Likewise.
613 (_FP_MUL_MEAT_DW_2_wide): Likewise.
614 (_FP_MUL_MEAT_2_wide): Likewise.
615 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
616 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
617 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
618 (_FP_MUL_MEAT_2_gmp): Likewise.
619 (_FP_DIV_MEAT_2_udiv): Likewise.
620 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
621 (_FP_FRAC_SRL_4): Likewise.
622 (_FP_FRAC_SRST_4): Likewise.
623 (_FP_FRAC_SRS_4): Likewise.
624 (_FP_UNPACK_RAW_4): Likewise.
625 (_FP_UNPACK_RAW_4_P): Likewise.
626 (_FP_PACK_RAW_4): Likewise.
627 (_FP_PACK_RAW_4_P): Likewise.
628 (_FP_MUL_MEAT_DW_4_wide): Likewise.
629 (_FP_MUL_MEAT_4_wide): Likewise.
630 (_FP_MUL_MEAT_4_gmp): Likewise.
631 (umul_ppppmnnn): Likewise.
632 (_FP_DIV_MEAT_4_udiv): Likewise.
633 (__FP_FRAC_ADD_4): Likewise.
634 (__FP_FRAC_SUB_3): Likewise.
635 (__FP_FRAC_SUB_4): Likewise.
636 (__FP_FRAC_DEC_3): Likewise.
637 (__FP_FRAC_DEC_4): Likewise.
638 (__FP_FRAC_ADDI_4): Likewise.
639 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
640 (_FP_FRAC_SRL_8): Likewise.
641 (_FP_FRAC_SRS_8): Likewise.
642
9c37ec0b
JM
643 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
644 include macro name.
645 (FP_UNPACK_RAW_EP): Likewise.
646 (FP_PACK_RAW_E): Likewise.
647 (FP_PACK_RAW_EP): Likewise.
648 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
649 (_FP_ISSIGNAN): Likewise.
650 (_FP_ADD_INTERNAL): Likewise.
651 (_FP_FMA): Likewise.
652 (_FP_CMP): Likewise.
653 (_FP_SQRT): Likewise.
654 (_FP_TO_INT): Likewise.
655 (_FP_FROM_INT): Likewise.
656 (FP_EXTEND): Likewise.
657 (_FP_DIV_MEAT_N_loop): Likewise.
658
2125f674
MR
6592014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
660
661 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
662 throughout.
663
edea4028
JM
6642014-06-29 Joseph Myers <joseph@codesourcery.com>
665
666 [BZ #17097]
667 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
668 result with correct sign in case of exponents that produce
669 overflow except for X very close to 1.
670
dd0ba018
PE
6712014-06-28 Paul Eggert <eggert@cs.ucla.edu>
672
673 mktime: merge #if/#ifdef usage from glibc
674 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
675 as that works with both Glibc's and Gnulib's style.
676 See thread starting at Siddhesh Poyarekar's bug report at:
677 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
678
64df73c2
SP
6792014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
680
681 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
682 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
683 * sysdeps/tile/tilegx/memmove.c: Remove file.
684
f1eafb41
JM
6852014-06-27 Joseph Myers <joseph@codesourcery.com>
686
687 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
688 abi-name definition.
689 * scripts/soversions.awk: Do not handle or generate ABI lines.
690 * shlib-versions: Remove ABI entries.
691 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
692 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
693
58eb0862
RM
6942014-06-27 Roland McGrath <roland@hack.frob.com>
695
37caf178
RM
696 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
697 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
698 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
699 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
700 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
701 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
702 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
703 Moved ...
704 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
705 ... here.
706 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
707 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
709 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
710 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
711 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
712 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
713 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
714 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
715 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
716 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
717 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
719 Moved ...
720 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
721 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
722 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
723 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
724 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
725 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
726 Moved ...
727 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
728 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
729 Moved ...
730 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
731 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
732 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
733 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
734 Moved ...
735 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
736 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
738 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
740 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
742 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
743 Moved ...
744 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
745 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
746 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
747 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
748 Moved ...
749 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
750 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
751 Moved ...
752 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
753 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
755 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
756 Moved ...
757 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
758 ... here.
759 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
760 Identical file removed.
761 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
762 Moved ...
763 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
764 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
765 Identical file removed.
766 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
767 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
768 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
769 Moved ...
770 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
771 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
772 Identical file removed.
773 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
774 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
775 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
776 Identical file removed.
777 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
778 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
779 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
780 Identical file removed.
781 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
784 Identical file removed.
785 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
786 Moved ...
787 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
788 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
789 Identical file removed.
790 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
791 Moved ...
792 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
793 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
794 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
795 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
796 Identical file removed.
797 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
798 Moved ...
799 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
800 ... here.
801 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
802 Identical file removed.
803 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
804 Moved ...
805 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
806 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
807 Identical file removed.
808 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
809 Moved ...
810 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
811 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
812 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
813 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
814 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
815 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
816 Moved ...
817 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
818 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
819 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
820
58eb0862
RM
821 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
822 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
823 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
824 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
825 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
826
6f12d062
AS
8272014-06-27 Arjun Shankar <arjun.is@lostca.se>
828
829 [BZ #17092]
830 * nscd/nscd.c (monitor_child): Return exit status of child
831 instead of return value from wait syscall.
832
be254932
JM
8332014-06-27 Joseph Myers <joseph@codesourcery.com>
834
cb403c34
JM
835 * configure.ac (libc_commonpagesize): Remove variable.
836 (libc_relro_required): Likewise.
837 (libc_cv_z_relro): Remove configure test.
838 * configure: Regenerated.
839 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
840 variable.
841 (libc_relro_required): Likewise.
842 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
843 (libc_relro_required): Likewise.
844 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
845 (libc_relro_required): Likewise.
846 * sysdeps/arm/preconfigure: Regenerated.
847 * sysdeps/ia64/preconfigure: Remove file.
848 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
849 variable.
850 (libc_relro_required): Likewise.
851
be254932
JM
852 [BZ #16561]
853 [BZ #16562]
854 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
855 (__ieee754_yn): Set FE_TONEAREST mode internally and then
856 recompute overflowing results in original rounding mode.
857 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
858 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
859 recompute overflowing results in original rounding mode.
860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
861 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
862 recompute overflowing results in original rounding mode.
863 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
864 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
865 recompute overflowing results in original rounding mode.
866 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
867 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
868 recompute overflowing results in original rounding mode.
869 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
870 (libc_feholdsetround_ctx): New macro.
871 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
872 * sysdeps/i386/fpu/libm-test-ulps: Update.
873 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
874
b351d85a
JM
8752014-06-26 Joseph Myers <joseph@codesourcery.com>
876
877 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
878 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
879 corresponding .cpsetup call.
880
3cb4de47
RM
8812014-06-26 Roland McGrath <roland@hack.frob.com>
882
883 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
884 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
885 * sysdeps/arm/Makefile [$(subdir) = csu]
886 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
887 (static-only-routines): Add aeabi_read_tp here.
888 (shared-only-routines): Add libc-aeabi_read_tp here.
889 (CFLAGS-libc-start.c): Add -fexceptions here.
890 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
891 (sysdep_routines, static-only-routines, shared-only-routines):
892 Don't add to these here.
893 (CFLAGS-libc-start.c): Likewise.
894
895 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
896 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
897 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
898 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
899 * sysdeps/arm/Makefile [$(subdir) = rt]
900 (librt-sysdep_routines, librt-shared-only-routines):
901 Append rt-aeabi_unwind_cpp_pr1 here.
902 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
903 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
904 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
905 (libpthread-sysdep_routines, libpthread-shared-only-routines):
906 Append nptl-aeabi_unwind_cpp_pr1 here.
907 (tests): Filter out tst-cleanupx4 here.
908 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
909 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
910 Don't do those here.
911
354426bb
JM
9122014-06-26 Joseph Myers <joseph@codesourcery.com>
913
914 * scripts/list-sources.sh: Do not handle ports specially.
915
28b0a8c9
RM
9162014-06-26 Roland McGrath <roland@hack.frob.com>
917
a3dd035d
RM
918 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
919 * sysdeps/arm/feupdateenv.c: Likewise.
920
28b0a8c9
RM
921 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
922
e66a8203
JM
9232014-06-26 Joseph Myers <joseph@codesourcery.com>
924
925 * manual/texinfo.tex: Update to version 2014-05-05.10 with
926 trailing whitespace removed.
927 * scripts/config.guess: Update to version 2014-03-23.
928 * scripts/config.sub: Update to version 2014-05-01
929 * scripts/install-sh: Update to version 2013-12-25.23.
930 * scripts/move-if-change: Update from gnulib.
931
74171115
SP
9322014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
933
b97c9ce5
SP
934 * debug/memmove_chk.c: Remove pagecopy.h include.
935
4000f892
SP
9362014-06-26 Paul Eggert <eggert@cs.ucla.edu>
937
74171115
SP
938 * time/mktime.c (leapyear): Remove inline keyword. The code is now
939 identical to gnulib mktime.
940
a8779c28
JM
9412014-06-26 Joseph Myers <joseph@codesourcery.com>
942
e64708de
JM
943 * configure.ac: Do not test for machine being rs6000. Do not test
944 for powerpc*-*soft.
945 * configure: Regenerated.
946
a8779c28
JM
947 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
948 test.
949 * configure: Regenerated.
950 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
951 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
952 Remove configure test.
953 * sysdeps/arm/configure: Regenerated.
954 * sysdeps/nptl/configure.ac: Do not check
955 libc_cv_asm_cfi_directives.
956 * sysdeps/nptl/configure: Regenerated.
957 * sysdeps/x86_64/nptl/configure.ac: Remove file.
958 * sysdeps/x86_64/nptl/configure: Remove generated file.
959 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
960 unconditional.
961 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
962
2aac0a86
SP
9632014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
964
059bf913
SP
965 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
966 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
967 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
968 it is defined.
969
4cf5b6d0
SP
970 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
971 instead of whether it is defined.
972 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
973 * sysdeps/hppa/dl-machine.h: Likewise.
974 * sysdeps/ia64/dl-machine.h: Likewise.
975 * sysdeps/m68k/dl-machine.h: Likewise.
976 * sysdeps/microblaze/dl-machine.h: Likewise.
977 * sysdeps/mips/dl-machine.: Likewise.
978 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
979 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
980 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
981 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
982 * sysdeps/sh/dl-machine.h: Likewise.
983 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
984 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
985 * sysdeps/tile/dl-machine.h: Likewise.
986 * sysdeps/x86_64/dl-machine.h: Likewise.
987
2aac0a86
SP
988 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
989 code.
990 (verify_persistent_db): Likewise.
991
6ad2df0b
RM
9922014-06-26 Roland McGrath <roland@hack.frob.com>
993
d8a483f3
RM
994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
995 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
997 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
999 Moved ...
1000 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1001 ... here.
1002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1003 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1005 Identical file removed.
1006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1007 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1009 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1011 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1013 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1015 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1017 Moved ...
1018 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1020 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1022 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1024 Moved ...
1025 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1027 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1029 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1031 Identical file removed.
1032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1033 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1035 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1037 Moved ...
1038 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1039 ... here.
1040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1041 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1043 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1045 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1047 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1049 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1051 Moved ...
1052 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1054 Moved ...
1055 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1057 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1059 Moved ...
1060 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1062 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1063
52ae23b4
RM
1064 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1065 folded into ...
1066 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1067 * sysdeps/unix/sysv/linux/s390/Versions
1068 (libpthread: GLIBC_2.19): New version set.
1069 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1070 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1071 (librt: GLIBC_2.3.3): New version set.
1072 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1073 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1074 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1075 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1076 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1077 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1078 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1079 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1080 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1081 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1082 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1083 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1084 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1086 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1088 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1090 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1092 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1094 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1095 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1096 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1097 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1098 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1100 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1102 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1108 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1110 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1112 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1114 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1116 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1117
39507e4a
RM
1118 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1119 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1120 (__libc_vfork): Define the function under this name.
1121 [!NOT_IN_libc] (__vfork): Make this an alias.
1122 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1124 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1125 (__libc_vfork): Define the function under this name.
1126 [!NOT_IN_libc] (__vfork): Make this an alias.
1127 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1128 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1129 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1130 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1131 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1132 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1133
e549ee56
RM
1134 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1135 code that was previously under [RESET_PID].
1136 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1137 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1138 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1139
6ad2df0b
RM
1140 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1141 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1142 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1143 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1144 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1145 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1146 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1147 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1148 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1149 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1150 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1151 Moved ...
1152 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1154 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1155 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1160 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1161 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1162 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1166 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1168 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1169 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1170 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1171 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1172 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1173 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1174 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1175 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1176 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1177 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1178 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1179 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1180 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1181
7c1c1d8e
RM
11822014-06-25 Roland McGrath <roland@hack.frob.com>
1183
1184 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1185 that was previously under [RESET_PID].
1186 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1187
3e239be6
JM
11882014-06-25 Joseph Myers <joseph@codesourcery.com>
1189
74385da5
JM
1190 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1191 not undefine and redefine.
1192 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1193 [O_CLOEXEC]: Make code unconditional.
1194 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1195 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1196 <kernel-features.h>.
1197 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1198 conditional variable definition.
1199 (shm_open) [O_CLOEXEC]: Make code unconditional.
1200 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1201 code.
1202
c2570a0b
JM
1203 * configure.ac (USE_REGPARMS): Don't define here.
1204 * configure: Regenerated.
1205 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1206 * sysdeps/i386/configure: Regenerated.
1207
11b076bb
JM
1208 * nptl/createthread.c: Don't include kernel-features.h.
1209 * nptl/pthread_cancel.c: Likewise.
1210 * nptl/pthread_condattr_setclock.c: Likewise.
1211 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1212 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1213 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1214 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1215 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1216 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1217 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1218 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1220 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1221 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1222 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1223 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1224 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1225 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1226 * nscd/gai.c: Likewise.
1227 * nss/nss_db/db-open.c: Likewise.
1228 * sysdeps/generic/ldsodefs.h: Likewise.
1229 * sysdeps/sh/nptl/tls.h: Likewise.
1230 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1231 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1232 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1233 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1234 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1235 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1236 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1237 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1238 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1239 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1240 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1241 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1242 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1243 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1244 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1245 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1246 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1247 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1248 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1249 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1250 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1251 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1252 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1253 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1254 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1255 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1256 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1257 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1258 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1259 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1260 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1261 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1262 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1263 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1264 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1265 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1266 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1267 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1268 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1269 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1270 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1271 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1272 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1273 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1274 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1275 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1276 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1277 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1278 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1279 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1280 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1281 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1282 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1283 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1284 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1285 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1286 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1287 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1310 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1311 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1312 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1313 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1314 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1315 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1316 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1317 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1318 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1319 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1320 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1321 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1322 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1323 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1324 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1325 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1326 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1327 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1328 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1329 * sysdeps/unix/sysv/linux/system.c: Likewise.
1330 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1331 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1332 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1333 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1334 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1335 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1336 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1337
92072d57
JM
1338 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1339 * configure: Regenerated.
1340 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1341
3e239be6
JM
1342 * configure.ac (base_machine): Do not set specially for particular
1343 machines here.
1344 * configure: Regenerated.
1345 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1346 settings from configure.ac.
1347 * sysdeps/i386/preconfigure: New file.
1348 * sysdeps/s390/preconfigure: Likewise.
1349 * sysdeps/sh/preconfigure: Likewise.
1350 * sysdeps/sparc/preconfigure: Likewise.
1351
06d50baa
RM
13522014-06-25 Roland McGrath <roland@hack.frob.com>
1353
74836003
RM
1354 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1355 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1356 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1357 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1358 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1359 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1360 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1361 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1362 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1363 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1364 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1365 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1366 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1367 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1368 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1369 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1370 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1371 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1372 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1373
1374 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1375 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1376 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1377 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1378 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1379 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1380 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1381 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1382 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1383 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1384 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1385 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1386 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1387 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1388 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1389 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1390 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1391 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1392 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1393 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1394 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1395 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1396 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1397 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1398 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1399 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1400 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1401 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1402 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1403 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1404 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1405 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1406 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1407 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1408 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1409 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1410 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1411 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1412
06d50baa
RM
1413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1414 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1416 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1418 Moved ...
1419 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1420 ... here.
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1422 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1424 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1426 Moved ...
1427 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1429 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1431 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1433 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1435 Moved ...
1436 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1438 Moved ...
1439 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1441 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1443 Moved ...
1444 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1448 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1450 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1454 Moved ...
1455 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1456 ... here.
1457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1460 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1462 Moved ...
1463 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1465 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1469 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1471 Moved ...
1472 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1474 Moved ...
1475 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1479 Moved ...
1480 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1484 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1485
a4ccbc9b
JM
14862014-06-25 Joseph Myers <joseph@codesourcery.com>
1487
0828edbf
JM
1488 * timezone/checktab.awk: Update from tzcode 2014e.
1489 * timezone/private.h: Likewise.
1490 * timezone/tzfile.h: Likewise.
1491 * timezone/zdump.c: Likewise.
1492 * timezone/zic.c: Likewise.
1493
a4ccbc9b
JM
1494 * sysdeps/unix/sysv/linux/kernel-features.h
1495 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1496 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1497 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1498 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1499 Remove conditional code.
1500
9aea0cb8
WN
15012014-06-25 Will Newton <will.newton@linaro.org>
1502
1503 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1504 (_dl_arm_cap_flags): Add HWCAP2 values.
1505 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1506 (_DL_HWCAP_COUNT): Increase to 37.
1507 (_DL_HWCAP_LAST): New define.
1508 (_DL_HWCAP2_LAST): New define.
1509 (_dl_procinfo): Add support for printing
1510 AT_HWCAP2 entries.
1511 (_dl_string_hwcap): Use _dl_hwcap_string.
1512
6eaa65ce
AZ
15132014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1514
1515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1516
0f5b7185
JM
15172014-06-25 Joseph Myers <joseph@codesourcery.com>
1518
cfd2ea50
JM
1519 * README: Do not mention ports directory.
1520
cecf2ed4
JM
1521 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1522 Remove macro.
1523 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1524 <kernel-features.h>.
1525 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1526 conditional variable definition.
1527 (__futimes): Update comment.
1528 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1529 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1530
a638de82
JM
1531 [BZ #16560]
1532 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1533 arguments close to 0.
1534 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1535 Likewise.
1536 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1537 Likewise.
1538 * math/auto-libm-test-in: Add more tests of exp10.
1539 * math/auto-libm-test-out: Regenerated.
1540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1541
0f5b7185
JM
1542 * sysdeps/unix/sysv/linux/kernel-features.h
1543 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1544 * sysdeps/unix/sysv/linux/readv.c: Do not include
1545 <kernel-features.h>.
1546 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1547 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1548 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1549 unconditional.
1550 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1551 conditional code.
1552 * sysdeps/unix/sysv/linux/writev.c: Do not include
1553 <kernel-features.h>.
1554 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1555 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1556 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1557 unconditional.
1558 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1559 conditional code.
1560
c7aec4be
WN
15612014-06-25 Will Newton <will.newton@linaro.org>
1562
1563 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1564 comment changes throughout the file. Remove checks
1565 for HAVE_*_H definitions that are not required.
1566 (__gen_tempname): Call abort if an unknown kind value is
1567 passed.
1568
c5241f95
AS
15692014-06-25 Andreas Schwab <schwab@suse.de>
1570
1571 [BZ #17086]
1572 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1573 scalbln, scalblnf, scalblnl in libc.
1574
911422da
SP
15752014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1576
1577 [BZ #17086]
1578 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1579 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1580 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1581
0d749bbe
RM
15822014-06-24 Roland McGrath <roland@hack.frob.com>
1583
1584 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1585 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1586 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1587 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1588 Update #include.
1589 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1590 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1591 Update #include.
1592 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1593 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1594 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1595 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1596 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1597 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1598 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1599 * sysdeps/x86/bits/semaphore.h: ... here.
1600 * sysdeps/x86/nptl/elide.h: Moved ...
1601 * sysdeps/x86/elide.h: ... here.
1602 * sysdeps/x86_64/nptl/Implies: File removed.
1603 * sysdeps/i386/nptl/Implies: File removed.
1604
0ea5d373
JM
16052014-06-24 Joseph Myers <joseph@codesourcery.com>
1606
4060283d
JM
1607 [BZ #16539]
1608 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1609 return the argument for normal arguments with exponent below -64.
1610 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1611 Likewise.
1612 * math/auto-libm-test-in: Add another test of expm1.
1613 * math/auto-libm-test-out: Regenerated.
1614
e7dd3c8c
JM
1615 [BZ #16287]
1616 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1617 calling __erfcl for arguments at least 16.
1618 * math/auto-libm-test-in: Add more tests of erf.
1619 * math/auto-libm-test-out: Regenerated.
1620
0ea5d373
JM
1621 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1622 individual architectures.
1623 * sysdeps/unix/sysv/linux/configure: Regenerated.
1624 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1625 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1626 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1627 (ldd_rewrite_script): Define variable.
1628 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1630 file.
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1632 generated file.
1633 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1634 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1635 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1636 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1637 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1638 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1639 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1640 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1641
2307e126
SP
16422014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1643
1644 [BZ #17084]
1645 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1646 Rename member __data.d to __data.__elision_data.
1647
c0a4ed77
W
16482014-06-24 Wilco <wdijkstr@arm.com>
1649
1650 * NEWS: Add 16918 to fixed bug list.
1651
b8c00573
W
16522014-06-24 Wilco <wdijkstr@arm.com>
1653
1654 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1655
b5570d92
W
16562014-06-24 Wilco <wdijkstr@arm.com>
1657
1658 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1659 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1660 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1661 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1662 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1663 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1664 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1665 Use _FPU_MASK_RM.
1666
947bdca2
W
16672014-06-24 Wilco <wdijkstr@arm.com>
1668
1669 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1670
00f669ed
W
16712014-06-24 Wilco <wdijkstr@arm.com>
1672
1673 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1674 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1675 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1676 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1677
db59bad3
W
16782014-06-24 Wilco <wdijkstr@arm.com>
1679
1680 [BZ #16918]
1681 * sysdeps/arm/feupdateenv.c (feupdateenv):
1682 Rewrite to reduce FPSCR accesses and fix return value.
1683
001f7b77
W
16842014-06-24 Wilco <wdijkstr@arm.com>
1685
1686 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1687 Optimize to avoid unnecessary FPSCR writes.
1688 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1689 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1690 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1691 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1692
4841e6a6
W
16932014-06-24 Wilco <wdijkstr@arm.com>
1694
1695 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1696 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1697 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1698 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1699 Call libc_fetestexcept_vfp.
1700 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1701 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1702 __SOFTFP__ ifdef so that they can be built for softfp.
1703
0813022c
SP
17042014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1705
08e5862f
SP
1706 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1707 argument type signed char.
1708
0813022c
SP
1709 * Makerules (check-abi): Dump diff of symlist if the test
1710 fails.
1711
3fc7236a
RM
17122014-06-23 Roland McGrath <roland@hack.frob.com>
1713
aba8ef95
RM
1714 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1715 using abort.
1716
3fc7236a
RM
1717 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1718 Remove unused variable ST.
1719
4da6db51
JM
17202014-06-23 Joseph Myers <joseph@codesourcery.com>
1721
4648909d
JM
1722 [BZ #16354]
1723 [BZ #17061]
1724 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1725 small arguments before calling __expm1.
1726 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1727 small arguments before calling __expm1f.
1728 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1729 small arguments before calling __expm1l.
1730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1731 Likewise.
1732 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1733 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1734 spurious underflow for some cosh tests.
1735 * math/auto-libm-test-out: Regenerated.
1736 * sysdeps/i386/fpu/libm-test-ulps: Update.
1737
46a3d3c7
JM
1738 [BZ #17050]
1739 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1740 (__ieee754_y1): Set errno if return value overflows.
1741 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1742 (__ieee754_y1f): Set errno if return value overflows.
1743 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1744 (__ieee754_y1l): Set errno if return value overflows.
1745 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1746 (__ieee754_y1l): Set errno if return value overflows.
1747 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1748 * math/auto-libm-test-out: Regenerated.
1749
863893ec
JM
1750 * math/gen-auto-libm-tests.c: Document use of
1751 ignore-zero-inf-sign.
1752 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1753 (input_flags): Add ignore-zero-inf-sign.
1754 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1755 * math/gen-libm-test.pl (generate_testfile): Handle
1756 ignore-zero-inf-sign.
1757 * math/auto-libm-test-in: Mark some cpow tests with
1758 ignore-zero-inf-sign and some with xfail-rounding.
1759 * math/auto-libm-test-out: Regenerated.
1760 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1761 * sysdeps/i386/fpu/libm-test-ulps: Update.
1762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1763
4da6db51
JM
1764 [BZ #16315]
1765 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1766 overflowing or underflowing operations take place with sign of
1767 result.
1768 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1769 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1770 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1771 (__ieee754_pow): Recompute overflowing and underflowing results in
1772 original rounding mode.
1773 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1774 (__powl_helper): Allow negative argument X and scale negated value
1775 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1776 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1777 overflowing or underflowing operations take place with sign of
1778 result.
1779 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1780 Include <math.h>.
1781 * math/auto-libm-test-in: Add more tests of pow.
1782 * math/auto-libm-test-out: Regenerated.
1783 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1784 (pow_tonearest_test_data): Remove.
1785 (pow_test_tonearest): Likewise.
1786 (pow_towardzero_test_data): Likewise.
1787 (pow_test_towardzero): Likewise.
1788 (pow_downward_test_data): Likewise.
1789 (pow_test_downward): Likewise.
1790 (pow_upward_test_data): Likewise.
1791 (pow_test_upward): Likewise.
1792 (main): Don't call removed functions.
1793 * sysdeps/i386/fpu/libm-test-ulps: Update.
1794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1795
5686b236
RM
17962014-06-23 Roland McGrath <roland@hack.frob.com>
1797
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1799 Moved ...
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1802 Moved ...
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1805 Moved ...
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1808 Moved ...
1809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1811 File removed.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1813 File removed.
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1815 File removed.
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1817 File removed.
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1819 File removed.
1820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1821 File removed.
1822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1823 File removed.
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1825 File removed.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1827 File removed.
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1829 File removed.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1831 File removed.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1833 File removed.
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1835 Moved ...
1836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1838 Moved ...
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1840 ... here.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1842 Moved ...
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1845 Moved ...
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1848 Moved ...
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1851 Moved ...
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1854 Moved ...
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1857 Moved ...
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1860 Moved ...
1861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1864 ... here.
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1866 Moved ...
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1869 Moved ...
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1871 ... here.
1872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1873 Moved ...
1874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1875 ... here.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1877 Moved ...
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1879 ... here.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1881 Moved ...
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1884 Moved ...
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1889 Moved ...
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1891 ... here.
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1893 Moved ...
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1895 ... here.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1897 Moved ...
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1900 Moved ...
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1903 Moved ...
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1906 Moved ...
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1909 Moved ...
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1911 ... here.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1913 Moved ...
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1916 Moved ...
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1919 Moved ...
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1922 Moved ...
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1927 Moved ...
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1930 Moved ...
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1933 Moved ...
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1935 ... here.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1937 Moved ...
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1939 ... here.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1941 Moved ...
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1943 ... here.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1945 Moved ...
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1948 Moved ...
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1951 Moved ...
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1954 Moved ...
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1956 ... here.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1958 Moved ...
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1960 ... here.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1962 Moved ...
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1964 ... here.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1966 Moved ...
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1969 Moved ...
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1971
e6d90d67
WD
19722014-06-23 Will Newton <will.newton@linaro.org>
1973 Wilco <wdijkstr@arm.com>
1974
1975 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1976 implementation. Include get-rounding-mode.h.
1977 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1978 [!libc_feholdsetround_noex_ctx]: Define
1979 libc_feholdsetround_noex_ctx.
1980 [!libc_feholdsetround_noexf_ctx]: Define
1981 libc_feholdsetround_noexf_ctx.
1982 [!libc_feholdsetround_noexl_ctx]: Define
1983 libc_feholdsetround_noexl_ctx.
1984 (libc_feholdsetround_ctx): New function.
1985 (libc_feresetround_ctx): New function.
1986 (libc_feholdsetround_noex_ctx): New function.
1987 (libc_feresetround_noex_ctx): New function.
1988
d42df555
RM
19892014-06-23 Roland McGrath <roland@hack.frob.com>
1990
88a46474
RM
1991 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1992 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1993 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1994 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1995 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1996 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1997
15bed472
RM
1998 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1999 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2000 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2001 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2002 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2003 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2004 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2005 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2006 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2007 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2009 Moved ...
2010 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2011 ... here.
2012 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2013 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2014 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2015 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2016 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2017 Moved ...
2018 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2020 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2021 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2022 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2023 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2024 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2025 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2026 Moved ...
2027 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2028 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2029 Moved ...
2030 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2031 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2032 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2034 Moved ...
2035 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2036 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2037 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2038 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2039 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2040 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2041 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2042 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2043 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2044 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2045 Moved ...
2046 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2047 ... here.
2048 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2049 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2050 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2051 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2052 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2053 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2057 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2058 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2059 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2061 Moved ...
2062 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2064 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2066 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2067 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2068 Moved ...
2069 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2071 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2072 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2073 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2074
d42df555
RM
2075 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2076 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2077 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2078 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2079 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2080 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2081 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2082 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2083 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2084 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2085 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2086 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2087 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2088 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2090 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2091 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2092 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2093 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2094 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2095 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2096 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2097 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2098 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2099 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2102 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2103
76e5216e
JM
21042014-06-23 Joseph Myers <joseph@codesourcery.com>
2105
2106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2107 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2108 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2109 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2110 (IPV6_PMTUDISC_INTERFACE): Likewise.
2111 (IPV6_PMTUDISC_OMIT): Likewise.
2112
7a81cbcc
AS
21132014-06-23 Andreas Schwab <schwab@suse.de>
2114
2115 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2116 Remove unused errout label.
2117
db224009
AZ
21182014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2119
2120 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2121 macro: hardware supports Vector Crypto instructions.
2122
f393b4aa
WN
21232014-06-23 Will Newton <will.newton@linaro.org>
2124
cc7d0447
WN
2125 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2126 rather than __builtin_expect.
2127
d6d06225
WN
2128 * elf/dl-lookup.c (undefined_msg): Remove variable.
2129 (_dl_lookup_symbol_x): Replace undefined_msg with string
2130 literal.
2131
f393b4aa
WN
2132 * elf/dl-lookup.c (do_lookup_unique): New function.
2133 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2134 to a separate function.
2135
ac60763e
AS
21362014-06-23 Andreas Schwab <schwab@suse.de>
2137
2138 [BZ #17079]
2139 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2140 before reading the next line.
2141
c5c13355
WN
21422014-06-23 Will Newton <will.newton@linaro.org>
2143
2144 * test-skeleton.c (signal_handler): Use printf and %m
2145 rather than perror. Use printf rather than fprintf to
2146 stderr. Use puts rather than fputs to stderr.
2147 (main): Likewise.
2148
bd3675f9
LC
21492014-06-22 Ludovic Courtès <ludo@gnu.org>
2150
2151 * nscd/nscd.c (thread_info_t): Remove typedef.
2152 (thread_info): Remove variable.
2153
d03efb2f
AM
21542014-06-21 Allan McRae <allan@archlinux.org>
2155
2156 * NEWS: Mention CVE-2014-4043.
2157
bc4a86fa
RM
21582014-06-20 Roland McGrath <roland@hack.frob.com>
2159
dc9a54f8
RM
2160 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2161 * nptl/smp.h: ... here.
2162
bd7022c4
RM
2163 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2164
26ffd5e6
RM
2165 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2166 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2167 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2168 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2169
93a6d082
RM
2170 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2171 * nptl/stack-aliasing.h: New file.
2172 * sysdeps/i386/i686/stack-aliasing.h: New file.
2173 * sysdeps/i386/i686/nptl/Makefile: File removed.
2174 * sysdeps/x86_64/stack-aliasing.h: New file.
2175 * sysdeps/x86_64/nptl/Makefile
2176 (CFLAGS-pthread_create.c): Variable removed.
2177
bc4a86fa
RM
2178 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2179 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2180 old file.
2181 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2182 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2183 old file.
2184
2272ffc1
JM
21852014-06-21 Joseph Myers <joseph@codesourcery.com>
2186
2187 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2188 (__ASSUME_SIGFRAME_V2): Remove macro.
2189 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2190 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2191 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2192 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2193 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2194 Declare as function. Remove conditional macro definitions.
2195 (__default_rt_sa_restorer): Likewise.
2196 (__default_sa_restorer_v1): Remove declaration.
2197 (__default_sa_restorer_v2): Likewise.
2198 (__default_rt_sa_restorer_v1): Likewise.
2199 (__default_rt_sa_restorer_v2): Likewise.
2200 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2201 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2202 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2203
4b88139b
RM
22042014-06-20 Roland McGrath <roland@hack.frob.com>
2205
2206 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2207 (libpthread-routines): Add sysdep.
2208 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2209 * sysdeps/unix/sysv/linux/sparc/Versions
2210 (libpthread: GLIBC_2.3.3): New version set.
2211 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2212 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2213 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2214 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2215 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2216 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2217 Moved ...
2218 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2219 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2220 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2221 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2222 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2223 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2224 * sysdeps/sparc/nptl/sem_init.c: ... here.
2225 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2226 * sysdeps/sparc/nptl/sem_post.c: ... here.
2227 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2228 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2229 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2230 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2231 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2232 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2233 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2234 (libpthread-routines): Add cpu_relax.
2235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2236 File removed.
2237 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2238 (librt: GLIBC_2.3.3): New version set.
2239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2240 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2241 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2242 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2245 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2247 Moved ...
2248 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2250 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2252 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2254 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2256 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2258 Moved ...
2259 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2260 Update #include.
2261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2262 Moved ...
2263 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2264 Update #include.
2265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2266 Moved ...
2267 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2268 Update #include.
2269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2270 Moved ...
2271 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2272 Update #include.
2273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2274 Moved ...
2275 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2276 Update #include.
2277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2278 Moved ...
2279 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2280 Update #include.
2281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2282 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2283 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2286 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2287 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2288 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2290 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2292 Moved ...
2293 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2294 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2295 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2297 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2298
d7109027
JM
22992014-06-20 Joseph Myers <joseph@codesourcery.com>
2300
9bc6103d
JM
2301 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2302 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2303 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2304 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2305 * nscd/nscd.c: Likewise.
2306 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2307 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2308 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2309 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2310
d7109027
JM
2311 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2312 <kernel-features.h>.
2313 (init_mq_netlink): Remove conditional have_sock_cloexec
2314 definitions. Remove code conditional on have_sock_cloexec < 0.
2315 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2316 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2317 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2318 <kernel-features.h>.
2319 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2320 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2321
d92d8f8a
L
23222014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2323
2324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2325 Add tests for memset_chk and memset.
2326
2327 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2328 with AVX2_Usable.
2329
4e6d2347
MR
23302014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2331
257ce712
MR
2332 [BZ #16046]
2333 * elf/tst-dl-iter-static.c: New file.
2334 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2335
4e6d2347
MR
2336 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2337 error.
2338
a2a76afe
JM
23392014-06-20 Joseph Myers <joseph@codesourcery.com>
2340
7fd00f99
JM
2341 * sysdeps/unix/sysv/linux/kernel-features.h
2342 (__ASSUME_F_GETOWN_EX): Remove macro.
2343 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2344 <kernel-features.h>.
2345 (miss_F_GETOWN_EX): Remove variable or macro.
2346 (do_fcntl): Do not check miss_F_GETOWN_EX.
2347 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2348
4a103975
JM
2349 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2350 Remove macro.
2351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2352 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2353 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2354
a2a76afe
JM
2355 * sysdeps/unix/sysv/linux/kernel-features.h
2356 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2357 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2358 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2359 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2360
90e5dd48
MR
23612014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2362
2363 [BZ #17075]
2364 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2365 Fix calculation of the symbol's value.
2366 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2367 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2368 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2369 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2370 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2371 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2372 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2373 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2374 (modules-names): Add `tst-armtlsdescmod',
2375 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2376 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2377 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2378 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2379 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2380 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2381 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2382 ($(objpfx)tst-armtlsdescloc): New dependency.
2383 ($(objpfx)tst-armtlsdescextnow): Likewise.
2384 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2385 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2386 TLS scheme support.
2387 * sysdeps/arm/configure: Regenerate.
2388
809fdf0d
JM
23892014-06-20 Joseph Myers <joseph@codesourcery.com>
2390
2391 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2392 (__atfct_seterrno_2): Likewise.
2393 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2394 <kernel-features.h>.
2395 (__ASSUME_ATFCTS): Do not undefine and redefine.
2396 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2397 (__have_atfcts): Remove conditional definition.
2398 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2399 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2400 unreachable if [__ASSUME_ATFCTS].
2401 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2402 not undefine and redefine.
2403 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2404 <kernel-features.h>.
2405 (faccessat) [__NR_faccessat]: Make code unconditional.
2406 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2407 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2408 <kernel-features.h>.
2409 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2410 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2411 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2412 <kernel-features.h>.
2413 (fchownat) [__NR_fchownat]: Make code unconditional.
2414 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2415 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2416 <kernel-features.h>.
2417 (futimesat) [__NR_futimesat]: Make code unconditional.
2418 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2419 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2420 <kernel-features.h>.
2421 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2422 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2423 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2424 <kernel-features.h>.
2425 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2426 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2427 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2428 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2429 <kernel-features.h>.
2430 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2431 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2432 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2433 <kernel-features.h>.
2434 (linkat) [__NR_linkat]: Make code unconditional.
2435 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2436 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2437 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2438 <kernel-features.h>.
2439 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2440 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2441 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2442 <kernel-features.h>.
2443 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2444 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2445 * sysdeps/unix/sysv/linux/openat.c: Do not include
2446 <kernel-features.h>.
2447 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2448 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2449 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2450 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2451 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2452 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2453 <kernel-features.h>.
2454 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2455 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2456 result of INLINE_SYSCALL directly, not via int variable.
2457 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2458 <kernel-features.h>.
2459 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2460 (renameat) [__NR_renameat]: Make code unconditional.
2461 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2462 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2463 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2464 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2465 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2466 (__ASSUME_ATFCTS): Do not undefine and redefine.
2467 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2468 <kernel-features.h>.
2469 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2470 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2471 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2472 <kernel-features.h>.
2473 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2474 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2475 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2476 (__ASSUME_ATFCTS): Do not undefine and redefine.
2477 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2478 <kernel-features.h>.
2479 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2480 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2481 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2482 <kernel-features.h>.
2483 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2484 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2485
224c6c51
L
24862014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2487
2488 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2489
aa6ec754
AS
24902014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2491
2492 [BZ #17069]
2493 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2494 constructed tree before returning error.
2495 * posix/bug-regexp36.c: Expand test case.
2496
d8c2869d
SL
24972014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2498
3ef6b850
SL
2499 [BZ #6803]
2500 * math/libm-test.inc (scalbln_test_date):
2501 Add errno expectations.
2502 * math/w_scalblnf.c: New File.
2503 Add wrapper which checks for setting errno to ERANGE.
2504 Add weak_alias for corresponding scalbln function.
2505 * math/w_scalbln.c: Likewise.
2506 * math/w_scalblnl.c: Likewise.
2507 * math/Makefile (libm-calls): Add w_scalbln.
2508 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2509 Remove weak_alias for corresponding scalbln function.
2510 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2512 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2514 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2515 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2516 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2517 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2518 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2519 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2520 Remove long_double_symbol for scalblnl function in libm, libc.
2521 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2522 Add wrapper which checks for setting errno to ERANGE.
2523 Add long_double_symbol for scalblnl function in libm, libc.
2524 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2525 Remove long_double_symbol for scalblnl in libm.
2526 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2527 Add wrapper which checks for setting errno to ERANGE.
2528 Add long_double_symbol for scalblnl function in libm.
2529 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2530 Do not use wrapper because of own implementation.
2531
c8daec5c
L
25322014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2535 3 bytes for __pad1 for x32.
2536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2537
5c74e47c
LM
25382014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2539 H.J. Lu <hongjiu.lu@intel.com>
2540
2541 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2542 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2543 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2544 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2545 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2546
4d43ef1e
AS
25472014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2548
2549 [BZ #17069]
2550 * posix/regcomp.c (parse_expression): Deallocate partially
2551 constructed tree before returning error.
2552 * posix/Makefile.c (tests): Add bug-regex36.
2553 (generated): Add bug-regex36.mtrace.
2554 (tests-special): Add $(objpfx)bug-regex36-mem.out
2555 (bug-regex36-ENV): New variable.
2556 ($(objpfx)bug-regex36-mem.out): New rule.
2557 * posix/bug-regex36.c: New file.
2558
51a7380b
WN
25592014-06-19 Will Newton <will.newton@linaro.org>
2560
2561 * malloc/malloc.c (systrim): If extra is zero then return
2562 early.
2563
91b84fe5
SP
25642014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2565
2566 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2567
f940b965
RE
25682014-06-19 Richard Earnshaw <rearnsha@arm.com>
2569
2570 * sysdeps/aarch64/strchr.S: New file.
2571
4ba7a00f
JM
25722014-06-18 Joseph Myers <joseph@codesourcery.com>
2573
2574 [BZ #17022]
2575 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2576 from arguments -2 or below.
2577 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2578 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2579
b3a9f56b
AS
25802014-06-18 Andreas Schwab <schwab@suse.de>
2581
2582 [BZ #17062]
2583 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2584 of a bracket expr not to run off the end of the string.
2585 * posix/Makefile (tests): Add tst-fnmatch3.
2586 * posix/tst-fnmatch3.c: New file.
2587
85d89278
JM
25882014-06-18 Joseph Myers <joseph@codesourcery.com>
2589
2590 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2591 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2592 [$(cross-compiling) = no]: Likewise.
2593 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2594 [$(cross-compiling) = no]: Likewise.
2595
754c5a08
RS
25962014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2597
2598 [BZ #17031]
2599 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2600 double, adjusted for any remainder from the high double.
2601 * math/libm-test.inc (nearbyint): Add tests.
2602 (rint): Likewise.
2603
556f529d
AZ
26042014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2605
2606 * nptl/sysdeps/powerpc/Makefile: Moved ...
2607 * sysdeps/powerpc/nptl/Makefile: ... here.
2608 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2609 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2610 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2611 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2612 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2613 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2614 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2615 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2616 * nptl/sysdeps/powerpc/tls.h: Moved ...
2617 * sysdeps/powerpc/nptl/tls.h: ... here.
2618
91c03c53
JM
26192014-06-16 Joseph Myers <joseph@codesourcery.com>
2620
2621 [BZ #16681]
2622 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2623 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2624 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2625 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2626 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2627 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2628 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2629 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2630 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2631
a76e63c5
AS
26322014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2633
2634 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2635
f2f6d82f
AS
26362014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2637
ea8a15f6
AS
2638 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2639 defined operator.
2640
f2f6d82f
AS
2641 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2642 $TIMEOUTFACTOR.
2643
a7291117
FW
26442014-06-16 Florian Weimer <fweimer@redhat.com>
2645
2646 [BZ #17058]
2647 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2648 non-executed part of the test.
2649
3d7c00e3
AS
26502014-06-16 Andreas Schwab <schwab@suse.de>
2651
2652 * string/bits/string2.h (strdup, strndup): Update feature guard.
2653
6957fb31
DM
26542014-06-14 David S. Miller <davem@davemloft.net>
2655
2656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2657
11b9e55b
AS
26582014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2659
1d2a0492
AS
2660 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2661 that was previously under [RESET_PID].
2662 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2663
11b9e55b
AS
2664 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2665 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2666 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2667 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2668 (__libc_vfork): New strong alias.
2669 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2670
0f6901d0
AK
26712014-06-14 Andi Kleen <ak@linux.intel.com>
2672
2673 * sysdeps/generic/elide.h: New file.
2674
38bbbb9f
SL
26752014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2676
2677 * Makefile (installed-headers): Adjust path of pthread.h header.
2678
45193bb8
RM
26792014-06-13 Roland McGrath <roland@hack.frob.com>
2680
9a25fd1e
RM
2681 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2682 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2683 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2684 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2685
4004f7e4
RM
2686 * nptl/sysdeps/s390/Makefile: Moved ...
2687 * sysdeps/s390/nptl/Makefile: ... here.
2688 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2689 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2690 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2691 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2692 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2693 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2694 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2695 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2696 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2697 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2698 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2699 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2700 * nptl/sysdeps/s390/tls.h: Moved ...
2701 * sysdeps/s390/nptl/tls.h: ... here.
2702
45193bb8
RM
2703 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2704 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2705
f6fdf533
DM
27062014-06-13 David S. Miller <davem@davemloft.net>
2707
2708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2711 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2715 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2716 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2717 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2718 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2719 Remove RESET_PID cpp guards.
2720 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2721 Remove RESET_PID cpp guards.
2722 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2723
f5d71e14
AS
27242014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2725
2726 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2727 __sp to uintptr_t.
2728
b7aa8caa
AK
27292014-06-13 Andi Kleen <ak@linux.intel.com>
2730
4b266200
AZ
2731 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2732 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2733 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2734 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2735 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2736 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2737 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2738 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2739 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2740 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2741 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2742 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2743 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2744 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2745 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2746 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2747 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2748 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2749 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2750 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2751
2752 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2753 (pthread_rwlock_rdlock): Add elision.
2754 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2755 (pthread_rwlock_wrlock): Add elision.
2756 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2757 (pthread_rwlock_trywrlock): Add elision.
2758 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2759 (pthread_rwlock_tryrdlock): Add elision.
2760 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2761 (pthread_rwlock_tryrdlock): Add elision unlock.
2762 * nptl/sysdeps/pthread/pthread.h:
2763 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2764 (PTHREAD_RWLOCK_INITIALIZER,
2765 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2766 Handle new elision field.
2767 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2768 * sysdeps/arm/nptl/bits/pthreadtypes.h
2769 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2770 * sysdeps/sh/nptl/bits/pthreadtypes.h
2771 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2772 * sysdeps/tile/nptl/bits/pthreadtypes.h
2773 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2774 * sysdeps/a/nptl/bits/pthreadtypes.h
2775 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2776 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2777 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2778 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2779 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2780 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2781 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2782 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2783 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2784 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2785 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2786 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2787 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2788 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2789 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2790 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2791 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2792 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2793 (elision_init): Set try_xbegin to zero when no RTM.
2794 * sysdeps/x86/nptl/bits/pthreadtypes.h
2795 (pthread_rwlock_t): Change __pad1 to __rwelision.
2796 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2797
a832bdd3
AK
27982014-06-13 Andi Kleen <ak@linux.intel.com>
2799
2800 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2801 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2802 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2803 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2804
995a46bb
MI
28052014-06-13 Meador Inge <meadori@codesourcery.com>
2806
2807 [BZ #16996]
03ed7738 2808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2809 that the cached result has been set before returning it.
2810
45262aee
RM
28112014-06-12 Roland McGrath <roland@hack.frob.com>
2812
febf6cc5
RM
2813 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2814 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2815 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2816 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2817 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2818 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2819
e2682246
RM
2820 * nptl/sysdeps/sparc/Makefile: Moved ...
2821 * sysdeps/sparc/nptl/Makefile: ... here.
2822 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2823 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2824 * nptl/sysdeps/sparc/tls.h: Moved ...
2825 * sysdeps/sparc/nptl/tls.h: ... here.
2826 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2827 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2828 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2829 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2830 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2831 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2832 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2833 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2834 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2835 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2836 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2837 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2838 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2839 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2840 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2841 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2842 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2843 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2844 Update #include.
2845 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2846 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2847 Update #include.
2848 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2849 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2850 Update #include.
2851 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2852 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2853 Update #include.
2854
b0725f43
RM
2855 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2856
b14368b8
RM
2857 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2858 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2859
c5620eb3
RM
2860 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2861 (struct list_links): Type removed.
2862 (struct thread_node, struct timer_node): Replace struct list_links
2863 with struct list_head.
2864 (list_unlink_ip): Likewise.
2865 * sysdeps/pthread/timer_routines.c
2866 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2867 (list_append, list_insbefore): Likewise.
2868 (list_init): Function removed.
2869 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2870 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2871 * sysdeps/pthread/Makefile: ... here, new file.
2872
2873 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2874 * sysdeps/nptl/Implies: ... here.
2875 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2876 * nptl/sysdeps/pthread/list.h: Moved ...
2877 * include/list.h: ... here.
2878 * nptl/sysdeps/pthread/createthread.c: Moved ...
2879 * nptl/createthread.c: ... here.
2880 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2881 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2882 * nptl/pt-longjmp.c: ... here.
2883 * nptl/sysdeps/pthread/Makefile: Moved ...
2884 * sysdeps/nptl/Makefile: ... here.
2885 * nptl/sysdeps/pthread/Subdirs: Moved ...
2886 * sysdeps/nptl/Subdirs: ... here.
2887 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2888 * sysdeps/nptl/aio_misc.h: ... here.
2889 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2890 * sysdeps/nptl/bits/libc-lock.h: ... here.
2891 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2892 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2893 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2894 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2895 * nptl/sysdeps/pthread/configure: Moved ...
2896 * sysdeps/nptl/configure: ... here.
2897 * nptl/sysdeps/pthread/configure.ac: Moved ...
2898 * sysdeps/nptl/configure.ac: ... here.
2899 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2900 * sysdeps/nptl/gai_misc.h: ... here.
2901 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2902 * sysdeps/nptl/librt-cancellation.c: ... here.
2903 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2904 * sysdeps/nptl/malloc-machine.h: ... here.
2905 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2906 * sysdeps/nptl/pthread-functions.h: ... here.
2907 * nptl/sysdeps/pthread/pthread.h: Moved ...
2908 * sysdeps/nptl/pthread.h: ... here.
2909 * nptl/sysdeps/pthread/setxid.h: Moved ...
2910 * sysdeps/nptl/setxid.h: ... here.
2911 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2912 * sysdeps/nptl/sigfillset.c: ... here.
2913 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2914 * sysdeps/nptl/tcb-offsets.h: ... here.
2915 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2916 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2917 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2918 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2919 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2920 * sysdeps/pthread/allocalim.h: ... here.
2921 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2922 * sysdeps/pthread/bits/sigthread.h: ... here.
2923 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2924 * sysdeps/pthread/flockfile.c: ... here.
2925 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2926 * sysdeps/pthread/ftrylockfile.c: ... here.
2927 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2928 * sysdeps/pthread/funlockfile.c: ... here.
2929 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2930 * sysdeps/pthread/posix-timer.h: ... here.
2931 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2932 * sysdeps/pthread/timer_create.c: ... here.
2933 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2934 * sysdeps/pthread/timer_delete.c: ... here.
2935 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2936 * sysdeps/pthread/timer_getoverr.c: ... here.
2937 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2938 * sysdeps/pthread/timer_gettime.c: ... here.
2939 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2940 * sysdeps/pthread/timer_routines.c: ... here.
2941 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2942 * sysdeps/pthread/timer_settime.c: ... here.
2943 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2944 * sysdeps/pthread/tst-timer.c: ... here.
2945 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2946 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2947
e876b090
RM
2948 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2949 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2950
f6b07b3d
RM
2951 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2952 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2953 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2954 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2955 Update #include target.
2956 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2957 * sysdeps/i386/i686/nptl/Makefile: ... here.
2958 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2959 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2960 Update #include target.
2961 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2962 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2963 * nptl/sysdeps/i386/Makefile: Moved ...
2964 * sysdeps/i386/nptl/Makefile: ... here.
2965 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2966 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2967 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2968 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2969 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2970 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2971 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2972 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2973 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2974 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2975 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2976 * nptl/sysdeps/i386/tls.h: Moved ...
2977 * sysdeps/i386/nptl/tls.h: ... here.
2978
45262aee
RM
2979 * sysdeps/sh/Makefile [$(subdir) = csu]
2980 (gen-as-const-headers): Add tcb-offsets.sym.
2981 * nptl/sysdeps/sh/Makefile: File removed.
2982 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2983 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2984 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2985 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2986 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2987 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2988 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2989 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2990 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2991 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2992 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2993 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2994 * nptl/sysdeps/sh/tls.h: Moved ...
2995 * sysdeps/sh/nptl/tls.h: ... here.
2996 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2997 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2999 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3000 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3001 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3002 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3003 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3004 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3005 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3006 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3007 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3008 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3009 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3010 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3011 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3012 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3013 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3014 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3015 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3016 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3017 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3018 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3019 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3020 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3021 Moved ...
3022 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3024 Moved ...
3025 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3026 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3027 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3028 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3029 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3031 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3033 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3034 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3035 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3037 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3038 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3039 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3040 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3041 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3043 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3044
35a5e3e3
SL
30452014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3046
3047 * posix/spawn_faction_addopen.c: Include string.h.
3048
14642b85
RM
30492014-06-11 Roland McGrath <roland@hack.frob.com>
3050
3051 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3052 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3053 * nptl/sysdeps/x86_64/Makefile: Moved ...
3054 * sysdeps/x86_64/nptl/Makefile: ... here.
3055 * nptl/sysdeps/x86_64/configure: Moved ...
3056 * sysdeps/x86_64/nptl/configure: ... here.
3057 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3058 * sysdeps/x86_64/nptl/configure.ac: ... here.
3059 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3060 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3061 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3062 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3063 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3064 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3065 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3066 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3067 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3068 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3069 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3070 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3071 * nptl/sysdeps/x86_64/tls.h: Moved ...
3072 * sysdeps/x86_64/nptl/tls.h: ... here.
3073 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3074 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3075 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3076 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3077
3078 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3079
31c44fea
AZ
30802014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3081
3082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3083
e81a4f9a
JM
30842014-06-11 Joseph Myers <joseph@codesourcery.com>
3085
3086 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3087 type.
3088 [POSIX] (off_t): Likewise.
3089 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3090 [POSIX] (S_ISBLK): Require macro.
3091 [POSIX] (S_ISCHR): Likewise.
3092 [POSIX] (S_ISDIR): Likewise.
3093 [POSIX] (S_ISFIFO): Likewise.
3094 [POSIX] (S_ISREG): Likewise.
3095 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3096 optional-macro.
3097 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3098 type.
3099 [POSIX] (time_t): Likewise.
3100 [POSIX] (timer_t): Likewise.
3101
89e435f3
FW
31022014-06-11 Florian Weimer <fweimer@redhat.com>
3103
3104 [BZ #17048]
3105 * posix/spawn_int.h (struct __spawn_action): Make the path string
3106 non-const to support deallocation.
3107 * posix/spawn_faction_addopen.c
3108 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3109 * posix/spawn_faction_destroy.c
3110 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3111 path in all spawn_do_open actions.
3112 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3113 posix_spawn_file_actions_addopen.
3114
c3a2ebe1
CM
31152014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3116
3117 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3118 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3119 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3120 conditional code always true.
3121 (__libc_vfork): New alias.
3122
9503784a
RM
31232014-06-11 Roland McGrath <roland@hack.frob.com>
3124
c9cab3d2
RM
3125 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3126 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3127
d3996c79
RM
3128 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3129
ba5ec611
RM
3130 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3131 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3132
f12b4814
RM
3133 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3134 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3135
9503784a
RM
3136 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3137 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3138
e23d3d26
VR
31392014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3140
3141 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3142 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3143 multiarch strcmp for PPC64.
3144 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3145 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3147 multiarch optimizations.
3148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3149 (__libc_ifunc_impl_list): Likewise.
3150
42b1161e
SP
31512014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3152
3153 * benchtests/scripts/validate_benchout.py: New script.
3154 * benchtests/Makefile (bench-func): Call it.
3155 * benchtests/scripts/benchout.schema.json: New file.
3156
2d0fc4dc
CM
31572014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3158
4a594c34
AZ
3159 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3160 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3161 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3162 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3163 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3164 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3165 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3166 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3167 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3168 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3169 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3170 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3171 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3172 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3173 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3174 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3176 Moved ...
4a594c34 3177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3178 ... here.
4a594c34 3179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3180 Moved ...
4a594c34
AZ
3181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3183 Moved ...
4a594c34 3184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3185 ... here.
4a594c34 3186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3187 Moved ...
4a594c34 3188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3189 ... here.
4a594c34 3190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3191 Moved ...
4a594c34
AZ
3192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3194 Moved ...
4a594c34 3195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3196 ... here.
4a594c34 3197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3198 Moved ...
4a594c34 3199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3200 ... here.
4a594c34 3201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3202 Moved ...
4a594c34
AZ
3203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3205 Moved ...
4a594c34 3206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3207 ... here.
4a594c34 3208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3209 Moved ...
4a594c34 3210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3211 ... here.
4a594c34 3212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3213 Moved ...
4a594c34 3214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3215 ... here.
4a594c34 3216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3217 Moved ...
4a594c34
AZ
3218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3220 Moved ...
4a594c34 3221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3222 ... here.
4a594c34 3223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3224 Moved ...
4a594c34 3225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3226 ... here.
4a594c34 3227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3228 Moved ...
4a594c34 3229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3230 ... here.
4a594c34 3231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3232 Moved ...
4a594c34
AZ
3233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3235 Moved ...
4a594c34 3236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3237 ... here.
4a594c34 3238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3239 Moved ...
4a594c34 3240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3241 ... here.
4a594c34 3242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3243 Moved ...
4a594c34
AZ
3244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 3246 Moved ...
4a594c34 3247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 3248 ... here.
4a594c34 3249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 3250 Moved ...
4a594c34
AZ
3251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 3253 Moved ...
4a594c34
AZ
3254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 3256 Moved ...
4a594c34 3257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 3258 ... here.
4a594c34 3259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 3260 Moved ...
4a594c34 3261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 3262 ... here.
4a594c34 3263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 3264 Moved ...
4a594c34 3265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 3266 ... here.
4a594c34 3267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 3268 Moved ...
4a594c34
AZ
3269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 3271 Moved ...
4a594c34 3272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 3273 ... here.
4a594c34 3274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 3275 Moved ...
4a594c34 3276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 3277 ... here.
4a594c34
AZ
3278 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3279 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3280 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3281 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3282 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 3283 Moved ...
4a594c34 3284 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 3285 ... here.
4a594c34
AZ
3286 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3287 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3288 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3289 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3290 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3291 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3292 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3293 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3295 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3296 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3297 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3298 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 3299 Moved ...
4a594c34
AZ
3300 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3301 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 3302 Moved ...
4a594c34
AZ
3303 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3304 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3305 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3306 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 3307 Moved ...
4a594c34
AZ
3308 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3309 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3310 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3311 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3312 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3313 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3314 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 3315
0570cfed
W
33162014-06-10 Wilco <wdijkstr@arm.com>
3317
3318 * math/test-fenv-return.c: New file.
3319 * math/Makefile: Add new test test-fenv-return.
3320
f8ba1b56
JM
33212014-06-10 Joseph Myers <joseph@codesourcery.com>
3322
3323 [BZ #17042]
3324 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3325 when x - 1 is zero.
3326 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3327 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3328 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3329 0.0L for an argument of 1.0L.
3330 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3331 Likewise.
3332 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3333 value when x - 1 is zero.
3334 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3335 * sysdeps/i386/fpu/libm-test-ulps: Update.
3336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3337
2c3520d9
BO
33382014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3339
3340 [BZ #15119]
3341 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3342
acaa4d24
RM
33432014-06-09 Roland McGrath <roland@hack.frob.com>
3344
3345 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3346 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3347
962b744d
RM
33482014-06-09 Roland McGrath <roland@hack.frob.com>
3349
d752f0cc
RM
3350 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3351 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3352
34eda6d1
RM
3353 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3354 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3355
50f0a637
RM
3356 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3357 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3358
08f41f04
RM
3359 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3360 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3361
962b744d
RM
3362 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3363 if not already defined.
3364 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3365 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3366 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3367 (TLS_INIT_TP): Use it.
3368 (TLS_DEFINE_INIT_TP): New macro.
3369 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3370
09f19b05
JM
33712014-06-09 Joseph Myers <joseph@codesourcery.com>
3372
3373 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3374 constant.
3375 [POSIX] (IXANY): Likewise.
3376 [POSIX] (OLCUC): Likewise.
3377 [POSIX || POSIX2008] (CBAUD): Do not allow.
3378 [POSIX || POSIX2008] (DEFECHO): Likewise.
3379 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3380 [POSIX || POSIX2008] (ECHOKE): Likewise.
3381 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3382 [POSIX || POSIX2008] (EXTA): Likewise.
3383 [POSIX || POSIX2008] (EXTB): Likewise.
3384 [POSIX || POSIX2008] (FLUSHO): Likewise.
3385 [POSIX || POSIX2008] (LOBLK): Likewise.
3386 [POSIX || POSIX2008] (PENDIN): Likewise.
3387 [POSIX || POSIX2008] (SWTCH): Likewise.
3388 [POSIX || POSIX2008] (VDISCARD): Likewise.
3389 [POSIX || POSIX2008] (VDSUSP): Likewise.
3390 [POSIX || POSIX2008] (VLNEXT): Likewise.
3391 [POSIX || POSIX2008] (VREPRINT): Likewise.
3392 [POSIX || POSIX2008] (VSTATUS): Likewise.
3393 [POSIX || POSIX2008] (VWERASE): Likewise.
3394 (B*): Change to B[0123456789]*.
3395 * conform/data/time.h-data [POSIX || UNIX98]
3396 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3397 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3398 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3399 [POSIX] (tm_*): Do not allow.
3400
686554bf
JM
34012014-06-07 Joseph Myers <joseph@codesourcery.com>
3402
3403 * Makefile (install): Don't set LANGUAGE.
3404 * Makefile.in (install): Likewise.
3405 * assert/Makefile (test-assert-ENV): Remove variable.
3406 (test-assert-perr-ENV): Likewise.
3407 * elf/Makefile (neededtest4-ENV): Likewise.
3408 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3409 [$(cross-compiling) = no]: Don't set LANGUAGE.
3410 * io/ftwtest-sh (LANG): Remove variable.
3411 * libio/Makefile (tst-widetext-ENV): Likewise.
3412 * manual/install.texi (Running make install): Don't refer to
3413 environment settings for make install.
3414 * INSTALL: Regenerated.
3415 * nptl/tst-tls6.sh: Don't set LANG.
3416 * posix/globtest.sh (LANG): Remove variable.
3417 * string/Makefile (tester-ENV): Likewise.
3418 (inl-tester-ENV): Likewise.
3419 (noinl-tester-ENV): Likewise.
3420 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3421 [$(cross-compiling) = no]: Don't set LANGUAGE.
3422 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3423 without explicit environment settings.
3424
68e6b6b1
RM
34252014-06-06 Roland McGrath <roland@hack.frob.com>
3426
3427 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3428 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3429 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3430 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3431
4d3ae034
CM
34322014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3433
3434 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3435 other files in the crypt directory.
3436 * crypt/crypt.c: Remove duplicate includes.
3437 * crypt/crypt-entry.c: Likewise.
3438 * crypt/crypt_util.c: Likewise.
3439
8540f6d2
JM
34402014-06-06 Joseph Myers <joseph@codesourcery.com>
3441
3442 * Makeconfig (run-program-env): New variable.
3443 (run-program-prefix-before-env): Likewise.
3444 (run-program-prefix-after-env): Likewise.
3445 (run-program-prefix): Define in terms of new variables.
3446 (built-program-cmd-before-env): New variable.
3447 (built-program-cmd-after-env): Likewise.
3448 (built-program-cmd): Define in terms of new variables.
3449 (test-program-prefix-before-env): New variable.
3450 (test-program-prefix-after-env): Likewise.
3451 (test-program-prefix): Define in terms of new variables.
3452 (test-program-cmd-before-env): New variable.
3453 (test-program-cmd-after-env): Likewise.
3454 (test-program-cmd): Define in terms of new variables.
3455 * Rules (make-test-out): Use $(run-program-env).
3456 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3457 (help): Do not mention environment variables. Mention
3458 --timeoutfactor option.
3459 (timeoutfactor): New variable.
3460 (blacklist_exports): Remove function.
3461 (exports): Remove variable.
3462 (command): Do not include ${exports}.
3463 * manual/install.texi (Configuring and compiling): Do not mention
3464 test wrappers preserving environment variables. Mention that last
3465 assignment to a variable must take precedence.
3466 * INSTALL: Regenerated.
3467 * benchtests/Makefile (run-bench): Use $(run-program-env).
3468 * catgets/Makefile ($(objpfx)test1.cat): Use
3469 $(built-program-cmd-before-env), $(run-program-env) and
3470 $(built-program-cmd-after-env).
3471 ($(objpfx)test2.cat): Do not specify environment variables
3472 explicitly.
3473 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3474 $(run-program-env) and $(built-program-cmd-after-env).
3475 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3476 $(run-program-env) and $(test-program-cmd-after-env).
3477 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3478 explicitly.
3479 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3480 run_program_env and test_program_cmd_after_env arguments.
3481 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3482 * elf/tst-pathopt.sh: Use run_program_env argument.
3483 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3484 $(test-wrapper-env) and $(run-program-env).
3485 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3486 run_program_env arguments.
3487 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3488 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3489 $(test-program-prefix-before-env), $(run-program-env) and
3490 $(test-program-prefix-after-env).
3491 ($(objpfx)tst-gettext2.out): Likewise.
3492 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3493 run_program_env and test_program_prefix_after_env arguments.
3494 * intl/tst-gettext2.sh: Likewise.
3495 * intl/tst-gettext4.sh: Do not set environment variables
3496 explicitly.
3497 * intl/tst-gettext6.sh: Likewise.
3498 * intl/tst-translit.sh: Likewise.
3499 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3500 $(test-program-prefix-before-env), $(run-program-env) and
3501 $(test-program-prefix-after-env).
3502 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3503 run_program_env and test_program_prefix_after_env arguments.
3504 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3505 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3506 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3507 explicitly with each use of ${test_wrapper_env}.
3508 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3509 $(test-program-prefix-before-env), $(run-program-env) and
3510 $(test-program-prefix-after-env).
3511 * posix/tst-getconf.sh: Do not set environment variables
3512 explicitly.
3513 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3514 run_program_env and test_program_prefix_after_env arguments.
3515 * stdio-common/tst-printf.sh: Do not set environment variables
3516 explicitly.
3517 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3518 $(test-program-prefix-before-env), $(run-program-env) and
3519 $(test-program-prefix-after-env).
3520 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3521 run_program_env and test_program_prefix_after_env arguments.
3522 Split $test calls into $test_pre and $test.
3523 * timezone/Makefile (build-testdata): Use
3524 $(built-program-cmd-before-env), $(run-program-env) and
3525 $(built-program-cmd-after-env).
3526
ed36bfa1
AZ
35272014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3528
3529 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3530 strlen for non SHARED builds.
3531
fc75bf46
SP
35322014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3533
3534 * nptl/allocatestack.c (check_list): Inlined function...
3535 (__reclaim_stacks): ... here.
3536
d89b3d80
OB
35372014-06-05 Ondřej Bílka <neleai@seznam.cz>
3538
3539 [BZ #15698]
3540 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3541 memory overrun.
3542
2bf18041
JM
35432014-06-05 Joseph Myers <joseph@codesourcery.com>
3544
3545 * Rules (make-test-out): Include
3546 LOCPATH=$(common-objpfx)localedata in default environment.
3547 * debug/Makefile (tst-chk1-ENV): Remove variable.
3548 (tst-chk2-ENV): Likewise.
3549 (tst-chk3-ENV): Likewise.
3550 (tst-chk4-ENV): Likewise.
3551 (tst-chk5-ENV): Likewise.
3552 (tst-chk6-ENV): Likewise.
3553 (tst-lfschk1-ENV): Likewise.
3554 (tst-lfschk2-ENV): Likewise.
3555 (tst-lfschk3-ENV): Likewise.
3556 (tst-lfschk4-ENV): Likewise.
3557 (tst-lfschk5-ENV): Likewise.
3558 (tst-lfschk6-ENV): Likewise.
3559 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3560 (tst-iconv7-ENV): Likewise.
3561 * intl/Makefile (LOCPATH-ENV): Likewise.
3562 (tst-codeset-ENV): Likewise.
3563 (tst-gettext3-ENV): Likewise.
3564 (tst-gettext5-ENV): Likewise.
3565 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3566 (tst-fopenloc-ENV): Likewise.
3567 (tst-fgetws-ENV): Remove variable.
3568 (tst-ungetwc1-ENV): Likewise.
3569 (tst-ungetwc2-ENV): Likewise.
3570 (bug-ungetwc2-ENV): Likewise.
3571 (tst-swscanf-ENV): Likewise.
3572 (bug-ftell-ENV): Likewise.
3573 (tst-fgetwc-ENV): Likewise.
3574 (tst-fseek-ENV): Likewise.
3575 (tst-ftell-partial-wide-ENV): Likewise.
3576 (tst-ftell-active-handler-ENV): Likewise.
3577 (tst-ftell-append-ENV): Likewise.
3578 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3579 (tst-regexloc-ENV): Likewise.
3580 (bug-regex1-ENV): Likewise.
3581 (tst-regex-ENV): Likewise.
3582 (tst-regex2-ENV): Likewise.
3583 (bug-regex5-ENV): Likewise.
3584 (bug-regex6-ENV): Likewise.
3585 (bug-regex17-ENV): Likewise.
3586 (bug-regex18-ENV): Likewise.
3587 (bug-regex19-ENV): Likewise.
3588 (bug-regex20-ENV): Likewise.
3589 (bug-regex22-ENV): Likewise.
3590 (bug-regex23-ENV): Likewise.
3591 (bug-regex25-ENV): Likewise.
3592 (bug-regex26-ENV): Likewise.
3593 (bug-regex30-ENV): Likewise.
3594 (bug-regex32-ENV): Likewise.
3595 (bug-regex33-ENV): Likewise.
3596 (bug-regex34-ENV): Likewise.
3597 (bug-regex35-ENV): Likewise.
3598 (tst-rxspencer-ENV): Likewise.
3599 (tst-rxspencer-no-utf8-ENV): Likewise.
3600 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3601 (tst-sscanf-ENV): Likewise.
3602 (tst-swprintf-ENV): Likewise.
3603 (tst-swscanf-ENV): Likewise.
3604 (test-vfprintf-ENV): Likewise.
3605 (scanf13-ENV): Likewise.
3606 (bug14-ENV): Likewise.
3607 (tst-grouping-ENV): Likewise.
3608 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3609 (tst-strtod3-ENV): Likewise.
3610 (tst-strtod4-ENV): Likewise.
3611 (tst-strtod5-ENV): Likewise.
3612 (testmb2-ENV): Likewise./
3613 * string/Makefile (tst-strxfrm-ENV): Likewise.
3614 (tst-strxfrm2-ENV): Likewise.
3615 (bug-strcoll1-ENV): Likewise.
3616 (test-strcasecmp-ENV): Likewise.
3617 (test-strncasecmp-ENV): Likewise.
3618 * time/Makefile (tst-strptime-ENV): Likewise.
3619 (tst-ftime_l-ENV): Likewise.
3620 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3621 (tst-mbrtowc-ENV): Likewise.
3622 (tst-wcrtomb-ENV): Likewise.
3623 (tst-mbrtowc2-ENV): Likewise.
3624 (tst-c16c32-1-ENV): Likewise.
3625 (tst-mbsnrtowcs-ENV): Likewise.
3626
cd1fb604
OB
36272014-06-05 Ondřej Bílka <neleai@seznam.cz>
3628
3629 * manual/resource.texi (How to get information about the memory
3630 subsystem?): Fix typo.
3631 Reported by Peon de la Parra Ivan <peon@keba.com>
3632
b42eca7d
GY
36332014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3634
3635 [BZ #16882]
3636 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3637 (pthread_spin_lock): Branch out of spin loop to proper location.
3638 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3639 (pthread_spin_lock): Likewise.
3640
902b71f9
DM
3641 * nptl/tst-spin4.c: New test.
3642 * nptl/Makefile (tests): Add tst-spin4.
3643
f9d2d032
AS
36442014-06-03 Andreas Schwab <schwab@suse.de>
3645
3646 [BZ #15946]
3647 * resolv/res_send.c (send_dg): Reload file descriptor after
3648 calling reopen.
3649
cf7bfd28
SL
36502014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3651
3652 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3653
111cc714
RH
36542014-06-03 Richard Henderson <rth@redhat.com>
3655
89b4bd6b
RH
3656 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3657 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3658 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3659 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3660 in the SAVE_PID block.
3661 (__libc_vfork): New alias.
71840409 3662 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3663
111cc714
RH
3664 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3665 child in registers, not on the stack. Remove RESET_PID conditionals.
3666 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3667
ccc39911
MS
36682014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3669
3670 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3671
693096cc
W
36722014-06-03 Wilco <wdijkstr@arm.com>
3673
3674 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3675 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3676 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3677 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3678 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3679 Likewise.
3680
0b4366bc
W
36812014-06-03 Wilco <wdijkstr@arm.com>
3682
3683 * sysdeps/aarch64/fpu/math_private.h
3684 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3685 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3686 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3687 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3688 Fix declarations.
3689
8747cd03
KS
36902014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3691
3692 * crypt/crypt-private.h: Include ufc-crypt.h.
3693 (__b64_from_24bit): Declare extern.
3694 * crypt/crypt_util.c(__b64_from_24bit): New function.
3695 (b64t): New static const variable.
3696 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3697 (b64t): Remove variable.
3698 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3699 * crypt/sha256-crypt.c: Include crypt-private.h.
3700 (b64t): Remove variable.
3701 (__sha256_crypt_r): Remove b64_from_24bit and replace
3702 with __b64_from_24bit.
3703 * crypt/sha512-crypt.c: Likewise.
3704
d936d379
RM
37052014-06-02 Roland McGrath <roland@hack.frob.com>
3706
3707 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3708 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3709 Label the code __libc_vfork rather than __vfork.
3710 [!NOT_IN_libc] (vfork): Define as weak alias.
3711 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3712 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3713 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3714
9fa76613
SP
37152014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3716
3717 * malloc/malloc.c (malloc_info): Fix format specifier for
3718 n_mmaps.
3719
a88dadbe
W
37202014-06-02 Wilco <wdijkstr@arm.com>
3721
3722 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3723 FPCR write.
3724
c95b3011
W
37252014-06-02 Wilco <wdijkstr@arm.com>
3726
3727 [BZ #17009]
3728 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3729 Rewrite to reduce FPCR/FPSR accesses.
3730
6b4d7a90
DM
37312014-06-01 David S. Miller <davem@davemloft.net>
3732
3733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3734
30f3d07c
DM
37352014-05-31 David S. Miller <davem@davemloft.net>
3736
3737 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3738 to occur in round to nearest mode when |x| >= 2.0
3739
74f31c18
RH
37402014-05-30 Richard Henderson <rth@twiddle.net>
3741
f0712b54
RH
3742 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3743 (PSEUDO_RET_NOERRNO): Remove.
3744 (ret): Don't redefine.
3745 (ret_NOERRNO): Define in terms of ret.
3746 (ret_ERRVAL): Likewise.
3747
74f31c18
RH
3748 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3749 use of PSEUDO_RET; perform the error check directly.
3750
30477995
MM
37512014-05-30 Marko Myllynen <myllynen@redhat.com>
3752
3753 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3754 with __int128_t.
3755
62a58816
SP
37562014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3757
3758 * malloc/malloc (malloc_info): Fix formatting.
3759
4d653a59
SP
37602014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3761 Roland McGrath <roland@hack.frob.com>
3762
3763 * malloc/malloc (malloc_info): Also print mmapped statistics.
3764
5190c17f
RM
37652014-05-30 Roland McGrath <roland@hack.frob.com>
3766
3767 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3768 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3769
987c0269
OB
37702014-05-30 Ondřej Bílka <neleai@seznam.cz>
3771
3772 * malloc/malloc.c (malloc_info): Inline mi_arena.
3773
af4e8ef9
RH
37742014-05-29 Richard Henderson <rth@twiddle.net>
3775
1670e207
RH
3776 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3777 Remove comma before expanding ASM_ARGS_##nr.
3778 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3779 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3780 of ASM_ARGS_##nr.
3781 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3782 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3783 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3784 (ASM_ARGS_1): Add leading comma.
3785
11a28aee
RH
3786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3787 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3788 to __errno_location.
3789 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3790 Remove the expected plt for __errno_location.
3791
a17e5ffb 3792 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3793 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3794 call to __read_tp.
3795
b5be4597
RH
3796 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3797 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3798 it and break it down.
3799 (DOCARGS_0, DOCARGS_1): Do nothing.
3800 (DOCARGS_2): Update to store into the new stack frame.
3801 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3802 (UNDOCARGS_1): Update to restore from the new stack frame.
3803 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3804 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3805
645d44ab
RH
3806 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3807 (SINGLE_THREAD_P): New parameter for result regno.
3808 (PSEUDO): Update to match; use cbz instead of beq.
3809
a8b4f04a
RH
3810 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3811 Use ENTRY to define the _nocancel entry point. Share the syscall
3812 and syscall error check paths with the cancel path.
3813 (PSEUDO_END): New.
3814
af4e8ef9
RH
3815 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3816 whitespace; tabs before and after asm mnemonics.
3817
26b0d2e1
EW
38182014-05-29 Eric Wong <normalperson@yhbt.net>
3819
3820 [BZ #15132]
3821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3822 Call fstat64 or stat64 internally, depending on arguments passed.
3823 Replace stat buffer argument with file descriptor argument.
3824 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3825 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3826 Pass fd to __internal_statvfs instead of calling fstat64.
3827 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3828 Pass fd to __internal_statvfs64 instead of calling fstat64.
3829 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3830 Pass -1 to __internal_statvfs instead of calling stat64.
3831 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3832 Pass -1 to __internal_statvfs64 instead of calling stat64.
3833
1efe2bd9
RM
38342014-05-28 Roland McGrath <roland@hack.frob.com>
3835
0d3b7a19
RM
3836 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3837 that was previously under [RESET_PID].
3838 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3839
1efe2bd9
RM
3840 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3841 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3842
a6bea3ca
RM
38432014-05-27 Roland McGrath <roland@hack.frob.com>
3844
30b6629e
RM
3845 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3846
a6bea3ca
RM
3847 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3848 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3849
3dfb9a5c
OB
38502014-05-27 Ondřej Bílka <neleai@seznam.cz>
3851
3852 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3853
774f9285
AS
38542014-05-27 Andreas Schwab <schwab@suse.de>
3855
3856 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3857 TLS_INIT_TP macro.
3858 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3859 * elf/rtld.c (init_tls, dl_main): Likewise.
3860 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3861 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3862 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3863 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3864 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3865 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3866 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3867 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3868 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3869 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3870 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3871 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3872 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3873 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3874 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3875 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3876 * sysdeps/generic/tls.h: Update description.
3877
36ffe739
WN
38782014-05-27 Will Newton <will.newton@linaro.org>
3879
3880 [BZ #16990]
3881 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3882 and restore r2 rather than just restoring.
3883
2482ae43
SP
38842014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3885
3886 [BZ #16724]
3887 * libio/tst-ftell-append.c: New test case.
3888 * libio/Makefile (tests): Add test case.
3889 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3890 append mode.
3891 * libio/wfileops.c (do_ftell_wide): Likewise.
3892
3d1024e8
AZ
38932014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3894
bab90016
AZ
3895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3896
c7a8d667
AZ
3897 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3898 ...
3899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3901 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3902 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3903 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3904 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3905 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3906 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3907 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3908 Moved ...
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3910 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3911 Moved ...
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3913 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3914 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3915 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3916 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3918 ...
3919 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3920 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3921 Moved ...
3922 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3923 here.
3924 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3925 ...
3926 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3927 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3928 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3929
daee7851
AZ
3930 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3931 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3932 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3933 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3934
50a40819
AZ
3935 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3936 merge into ...
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3938 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3939 ...
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3941 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3942 ...
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3944 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3945 Moved ...
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3947 here.
3948 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3949 Moved ...
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3952 Moved ...
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3954
8464c2a1
AZ
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3956 conditional [RESET_PID].
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3958 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3959 removed.
3960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3961 removed.
3962
3d1024e8
AZ
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3964 <tcb-offsets.h>.
3965 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3966 (__libc_vfork): New strong alias.
3967 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3968 removed.
3969 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3970 Removed.
3971
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3973 <tcb-offsets.h>.
3974 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3975 (__libc_vfork): New strong alias.
3976 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3977 removed.
3978 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3979 removed.
3980
fdfd175d
CD
39812014-05-26 Carlos O'Donell <carlos@redhat.com>
3982
3983 * malloc/malloc.c (mi_arena): New function.
3984 (malloc_info): Remove nested function mi_arena. Call non-nosted
3985 function mi_arena.
3986
d298c416
AZ
39872014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3988
3989 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3990 by insrwi.
3991 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3992 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3993 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3994 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3995 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3996 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3997 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3998
b60ea6ff
AS
39992014-05-26 Andreas Schwab <schwab@suse.de>
4000
4001 [BZ #16984]
4002 * locale/programs/repertoire.c (repertoire_read): Add slash
4003 between I18NPATH element and file name.
4004 * locale/programs/locfile.c (locfile_read): Likewise.
4005
67365926
SL
40062014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4007
4008 * nptl/pthread_mutexattr_settype.c
4009 (__pthread_mutexattr_settype):
4010 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4011
f8bdf1f0
SL
40122014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4013
4014 * nptl/tst-mutex5 (do_test):
4015 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4016
15eaf6ff
SP
40172014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4018
4019 * benchtests/README: Document 'init' directive.
4020 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4021 BENCH_INIT.
4022 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4023 (parse_file): Recognize 'init' directive.
4024
75f11331
KM
40252014-05-26 Kyle McMartin <kyle@redhat.com>
4026
4027 [BZ #16796]
4028 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4029 alignment of struct pthread.
4030
c3ec475c
SP
40312014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4032
4033 [BZ #16878]
4034 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4035 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4036 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4037 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4038
82aab97c
RH
40392014-05-25 Richard Henderson <rth@twiddle.net>
4040
aa2f176d
RH
4041 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4042 (SINGLE_THREAD_P_PIC): Remove.
4043 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4044 (SINGLE_THREAD_P_PIC): Remove.
4045
ca3cfa40
RH
4046 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4047 branch to syscall error ...
4048 (PSEUDO): ... here.
4049 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4050 from __local_syscall_error to .Lsyscall_error.
4051 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4052 (SYSCALL_ERROR): Update label name.
4053
6e6c2d01
RH
4054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4055 Do not use DOARGS/UNDOARGS.
4056 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4057 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4058 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4059 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4060 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4061
c69abcee
RH
4062 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4063 block comment.
4064
82aab97c
RH
4065 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4066 define if !NOT_IN_libc.
4067 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4068 define with non-default symbol versions.
4069
8820e3ac
RH
40702014-05-23 Richard Henderson <rth@twiddle.net>
4071
900e445f
RH
4072 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4073 (vfork, __vfork): Define via compat_symbol.
4074
8820e3ac
RH
4075 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4076 [!HAVE_IFUNC] (vfork_compat): Remove.
4077 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4078
e59252a5
JM
40792014-05-23 Joseph Myers <joseph@codesourcery.com>
4080
4081 [BZ #16978]
4082 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4083 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4084 variable.
4085
132c7f5f
RH
40862014-05-23 Richard Henderson <rth@twiddle.net>
4087
bc89e962
RH
4088 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4089 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4090 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4091 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4092
4093 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4094 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4095 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4096 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4097 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4098 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4099 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4100 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4101 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4102 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4103 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4104 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4105 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4106 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4107 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4108 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4112 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4113 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4114 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4115 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4116 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4118 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4120 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4121 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4122 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4124 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4125 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4126 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4127 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4128 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4129 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4130 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4131 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4132 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4133 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4134 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4135 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4136 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4137 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4138 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4139 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4140 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4141 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4142 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4143 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4144 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4145 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4146 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4147 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4148 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4149
e2fa4bc2
RH
4150 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4151 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4152 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4153 before exiting on error.
4154 (__libc_vfork): New strong alias.
4155 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4156 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4157
279b24e2
RH
4158 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4159 that was previously under [RESET_PID].
4160 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4161
132c7f5f
RH
4162 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4163
b72592e7
JM
41642014-05-23 Joseph Myers <joseph@codesourcery.com>
4165
4166 [BZ #16977]
4167 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4168 value when x - 1 is zero.
4169 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4170 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4171 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4172 0.0L for an argument of 1.0L.
4173 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4174 Likewise.
4175 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4176 value when x - 1 is zero.
4177 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4178 * sysdeps/i386/fpu/libm-test-ulps: Update.
4179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4180
2302d679
RV
41812014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4182
4183 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4184 alphasort and versionsort.
4185
32999d63
AZ
41862014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4187
4188 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4189 macro.
4190 [copysignf]: Likewise.
4191
019324d0
SP
41922014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4193
4194 * crypt/md5-crypt.c: Fix formatting.
4195
34fff5c2
KS
41962014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4197
4198 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4199 (b64_from_24bit): New function.
4200
3d2badac
AZ
42012014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202
4203 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4204 libc_hidden_builtin_def to ifunc.
4205 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4206 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4207
f7bb179f 42082014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4209
4210 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4211 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4212
4134b50d
JM
42132014-05-21 Joseph Myers <joseph@codesourcery.com>
4214
bb7d0337
JM
4215 * nscd/Depend (linuxthreads): Remove.
4216 (nptl): Add.
4217 * resolv/Depend (linuxthreads): Remove.
4218 * rt/Depend (linuxthreads): Remove.
4219
4134b50d
JM
4220 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4221 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4222 $(common-objpfx)elf/.
4223 (link-libc-before-gnulib): Likewise.
4224 (elfobjdir): Remove variable.
4225 * Makefile (install): Use $(elf-objpfx) instead of
4226 $(common-objpfx)elf/.
4227 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4228 $(elfobjdir)/.
4229 (link-libc-deps): Likewise.
4230 ($(common-objpfx)libc.so): Likewise.
4231 ($(common-objpfx)linkobj/libc.so): Likewise.
4232 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4233 instead of $(common-objpfx)elf/.
4234 (symbolic-link-list): Likewise.
4235 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4236 [$(cross-compiling) = no]: Likewise.
4237 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4238 $(elfobjdir)/.
4239 (static-gnulib-arch): Likewise.
4240 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4241 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4242 $(common-objpfx)elf/.
4243
3612eb8f
RH
42442014-05-21 Richard Henderson <rth@redhat.com>
4245
a6b3657b
RH
4246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4247 (SINGLE_THREAD_P): Use the correct width load. Fold
4248 into the ldr offset.
4249
3612eb8f
RH
4250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4251 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4252
175cef41
JM
42532014-05-20 Joseph Myers <joseph@codesourcery.com>
4254
4255 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4256 (libgcc_s_resume): Use __attribute_used__.
4257 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4258 Likewise.
4259
e13bccd3
AZ
42602014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4261
4262 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4263 optimization when used with float constants.
4264
7c112a38
AZ
4265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4266
ae75a883
AJ
42672014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4268
4269 [BZ #16915]
4270 * locale/nl_langinfo_l.c: Make direct reference to every
4271 _nl_current_CATEGORY symbol.
4272 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4273 (tests-static): Add tst-langinfo-static.
4274 (tests-special): Add tst-langinfo-static.out.
4275 ($(objpfx)tst-langinfo.out): Redirect output.
4276 ($(objpfx)tst-langinfo-static.out): New.
4277 * localedata/tst-langinfo.sh: Send output to stdout.
4278 * localedata/tst-langinfo-static.c: New file.
4279
4406c41c
AJ
4280 [BZ #16965]
4281 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4282 when the shift amount is modulo the limb size.
4283
4c0a1e63
RH
42842014-05-20 Richard Henderson <rth@redhat.com>
4285
de9d8f20
RH
4286 [BZ #16967]
4287 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4288 Change type of sa_flags from unsigned int to int.
4289
4c0a1e63
RH
4290 [BZ #16966]
4291 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
4292
4293 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4294
a60339aa
WN
42952014-05-20 Will Newton <will.newton@linaro.org>
4296
4297 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4298 Test the return value of the system call in the nocancel case.
4299
7d05a816
YR
43002014-05-20 Will Newton <will.newton@linaro.org>
4301 Yvan Roux <yvan.roux@linaro.org>
4302
4303 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4304 #include of asm/ptrace.h.
4305 (PTRACE_GET_THREAD_AREA): Remove #undef.
4306 (PTRACE_GETHBPREGS): Likewise.
4307 (PTRACE_SETHBPREGS): Likewise.
4308 (struct user_regs_struct): New structure.
4309 (struct user_fpsimd_struct): New structure.
4310 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4311 #include of asm/ptrace.h and second #include of sys/user.h.
4312 (PTRACE_GET_THREAD_AREA): Remove #undef.
4313 (PTRACE_GETHBPREGS): Likewise.
4314 (PTRACE_SETHBPREGS): Likewise.
4315 (ELF_NGREG): Use new struct user_regs_struct.
4316 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4317
af121e37
AZ
43182014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4319
4320 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4321 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4322
834caf06
JM
43232014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4324
4325 [BZ #16958]
4326 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4327 membar to avoid block loads/stores to overlap previous stores.
4328
e184a918
RH
43292014-05-17 Richard Henderson <rth@redhat.com>
4330
4331 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4332 Create the __##syscall_name##_nocancel entry point.
4333 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4334 Remove; let the sysdep-cancel.h code create it.
4335
f56c7a6a
DM
43362014-05-17 David S. Miller <davem@davemloft.net>
4337
4338 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4339 Protect with __USE_GNU.
4340 (TIOCSET_TEMPT): Likewise.
4341 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4342 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4343 these are already provided in bits/ioctl-types.h
4344
f75616b2
RM
43452014-05-16 Roland McGrath <roland@hack.frob.com>
4346
3edeca86
RM
4347 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4348 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4349
f75616b2
RM
4350 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4351 Use wait4 regardless of [__NR_waitpid].
4352
deb0f7f6
MR
43532014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4354
4355 PR libgcc/60166
4356 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4357 (_FP_NANSIGN_Q): Set the quiet bit.
4358
79520f4b
JM
43592014-05-16 Joseph Myers <joseph@codesourcery.com>
4360
4361 * benchtests/Makefile
4362 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4363 not $(common-objpfx)math/libm.so.
4364 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4365 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4366 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4367 $(common-objpfx)dlfcn/libdl.so.
4368 ($(objpfx)tst-audit8): Depend on $(libm), not
4369 $(common-objpfx)math/libm.so.
4370 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4371 not $(common-objpfx)dlfcn/libdl.so.
4372 * math/Makefile
4373 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4374 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4375 [$(build-shared) = yes].
4376 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4377 $(common-objpfx)nptl/libpthread.so.
4378 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4379 $(common-objpfx)math/libm.so$(libm.so-version) or
4380 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4381 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4382 $(common-objpfx)dlfcn/libdl.so.
4383 * setjmp/Makefile (link-libm): Remove variable.
4384 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4385 * stdio-common/Makefile (link-libm): Remove variable.
4386 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4387 * stdlib/Makefile (link-libm): Remove variable.
4388 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4389 ($(objpfx)tst-strtod-round): Likewise.
4390 ($(objpfx)tst-tininess): Likewise.
4391 ($(objpfx)tst-strtod-underflow): Likewise.
4392 ($(objpfx)tst-strtod6): Likewise.
4393 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4394 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4395 $(common-objpfx)dlfcn/libdl.so.
4396
026b0fe4
AZ
43972014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4398
4399 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4400 BSD terminal modes definitions.
4401
def4bcb2
RM
44022014-05-16 Roland McGrath <roland@hack.frob.com>
4403
fe39b021
RM
4404 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4405 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4406
1d1fc46e 4407 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4408 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4409 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4410 Don't do #include_next.
4411 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4412 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4413 Don't do #include_next.
4414 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4415 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4416 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4417 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4418
c72399fb
AM
44192014-05-16 Allan McRae <allan@archlinux.org>
4420
d51d659d
AM
4421 * po/sv.po: Update Swedish translation from translation project.
4422
c72399fb
AM
4423 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4424 in sed expression.
4425
d0583c40
AJ
44262014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4427
4428 [BZ #16917]
4429 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4430 errno if the TIOCGPTN ioctl fails with an error different than
4431 EINVAL.
4432 * login/tst-ptsname.c: New file.
4433 * login/Makefile (tests): Add tst-ptsname.
4434
d16e6ec7
AJ
4435 [BZ #16943]
4436 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4437 and prlimit64.
4438
cf26a0cb
SP
44392014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4440
4441 [BZ #16849]
4442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4443 herrno to return EAI_AGAIN.
4444
5675da1e
RM
44452014-05-14 Roland McGrath <roland@hack.frob.com>
4446
a5d87b3d
RM
4447 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4448 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4449 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4450 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4451 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4452 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4453 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4454 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4456 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4458 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4459 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4460 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4461 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4462 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4463 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4466 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4467 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4468 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4469 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4470 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4471 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4472 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4473 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4474 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4475 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4476 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4478 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4480 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4482 Moved ...
4483 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4485 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4487 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4489 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4491 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4493 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4495 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4497 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4499 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4501 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4503 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4505 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4507 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4509 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4511 Moved ...
4512 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4514 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4516 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4518 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4520 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4524 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4526 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4530 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4532 Moved ...
4533 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4536
039890a6
RM
4537 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4538 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4539 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4540 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4541 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4542 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4543 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4544 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4545 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4546 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4547 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4548 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4549 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4550 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4551 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4552 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4553 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4554 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4555 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4556 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4557 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4558 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4559 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4560 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4561 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4562 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4563 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4564 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4565 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4566 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4567 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4568
65c89320
RM
4569 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4570 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4571
348f8e8c
RM
4572 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4573 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4574 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4575 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4576 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4577 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4578 Moved ...
4579 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4580 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4581 Moved ...
4582 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4583 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4584 Moved ...
4585 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4586 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4587 Moved ...
4588 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4589 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4590 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4591 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4592 Moved ...
4593 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4594 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4595 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4596 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4597 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4598 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4599 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4600 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4601 Moved ...
4602 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4603 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4604 Moved ...
4605 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4606 ... here.
4607 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4608 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4609 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4610 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4611 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4612 Moved ...
4613 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4614 ... here.
4615 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4616 Moved ...
4617 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4618 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4619 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4620 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4621 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4622 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4623 Moved ...
4624 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4625 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4626 Moved ...
4627 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4628 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4629 Moved ...
4630 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4631 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4632 Moved ...
4633 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4634 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4635 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4636 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4637 Moved ...
4638 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4639 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4640 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4641 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4642 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4643 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4644 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4645 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4646 Moved ...
4647 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4648 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4649 Moved ...
4650 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4651 ... here.
4652 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4653 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4654 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4655 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4656 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4657 Moved ...
4658 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4659 ... here.
4660 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4661 Moved ...
4662 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4663 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4664 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4665 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4666 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4667 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4668 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4669 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4670 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4671 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4672 Moved ...
4673 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4674 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4675 Moved ...
4676 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4678 Moved ...
4679 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4680 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4681 Moved ...
4682 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4683 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4684 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4686 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4687 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4688 Moved ...
4689 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4690 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4691 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4692 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4693 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4694 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4695 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4696 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4697 Moved ...
4698 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4699 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4700 Moved ...
4701 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4702 ... here.
4703 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4704 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4706 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4708 Moved ...
4709 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4710 ... here.
4711 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4712 Moved ...
4713 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4714 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4715 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4716 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4717 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4718 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4719 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4721 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4722 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4723 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4724
5085af05
RM
4725 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4726 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4727
708f0813
RM
4728 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4729 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4730
c96067bc
RM
4731 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4732 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4733 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4734 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4735 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4737 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4739 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4740 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4741 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4742 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4743 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4744 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4745 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4746 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4747 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4748 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4749 Moved ...
4750 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4751 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4752 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4753 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4754 Moved ...
4755 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4756 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4757 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4758 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4759 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4761 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4762 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4763 Moved ...
4764 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4765 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4766 Moved ...
4767 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4768 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4769 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4770 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4771 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4773 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4774 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4775 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4776 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4777 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4778 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4779 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4780 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4781 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4782 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4783 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4784
ec136444
RM
4785 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4786 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4787 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4788 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4789 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4790
2fbdf533
RM
4791 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4792 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4793 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4794 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4795 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4796 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4797 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4798 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4799 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4800 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4801
4c68138b
RM
4802 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4803 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4804
4eaae765
RM
4805 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4806 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4807 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4808 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4810 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4811 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4812 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4813 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4814 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4815 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4816 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4817 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4818 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4820 Update #include.
4821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4822 Likewise.
4823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4824 Likewise.
4825 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4826 Likewise.
4827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4828 Likewise.
4829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4830 Likewise.
4831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4832 Likewise.
4833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4834 Likewise.
4835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4836 Likewise.
4837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4838 Likewise.
4ef6befa
RM
4839 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4840 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4842 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4843 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4844 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4845 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4846 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4847 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4848 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4849 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4850 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4851 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4852 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4853 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4854
941d7dfd
RM
4855 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4856 that was previously under [RESET_PID].
4857 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4858 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4859 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4860
1b731c35
RM
4861 * sysdeps/i386/nptl/Implies: New file.
4862 * sysdeps/x86_64/nptl/Implies: New file.
4863 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4864 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4865 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4866 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4867
e2787137
RM
4868 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4869 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4870 (__libc_vfork): New strong alias.
4871 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4872 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4873
4874 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4875 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4876 (__libc_vfork): New strong alias.
4877 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4878 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4879
5675da1e
RM
4880 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4881 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4882 (__libc_vfork): New strong alias.
4883 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4884 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4885 * nptl/pt-vfork.c: New file.
4886 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4887 (libpthread: GLIBC_2.20): New version set (empty).
4888
4f02e2b8
WN
48892014-05-14 Will Newton <will.newton@linaro.org>
4890
4891 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4892 rather than #if.
4893
0bf061d3
JM
48942014-05-14 Joseph Myers <joseph@codesourcery.com>
4895
1a84c3d6
JM
4896 [BZ #16564]
4897 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4898 arguments with exponent 65 or above.
4899 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4900 arguments 0x1p113L or above.
4901 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4902 to arguments 0x1p107L or above.
4903 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4904 positive arguments with exponent 65 or above.
4905 * math/auto-libm-test-in: Add more tests of log1p.
4906 * math/auto-libm-test-out: Regenerated.
4907
01dbacd2
JM
4908 [BZ #16928]
4909 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4910 non-finite arguments is +0.
4911 * math/s_cacosf.c (__cacosf): Likewise.
4912 * math/s_cacosl.c (__cacosl): Likewise.
4913 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4914 * sysdeps/i386/fpu/libm-test-ulps: Update.
4915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4916
913d03c8
JM
4917 [BZ #16927]
4918 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4919 value.
4920 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4921 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4922 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4923 for explicit high bit of mantissa when testing for argument equal
4924 to 1.
4925 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4926 * sysdeps/i386/fpu/libm-test-ulps: Update.
4927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4928
0bf061d3
JM
4929 [BZ #16516]
4930 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4931 (__erf): Scale by 16 instead of 8 in potentially underflowing
4932 case. Ensure exception if result actually underflows.
4933 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4934 (__erff): Scale by 16 instead of 8 in potentially underflowing
4935 case. Ensure exception if result actually underflows.
4936 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4937 (efx8): Remove variable.
4938 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4939 case. Ensure exception if result actually underflows.
4940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4941 (efx8): Remove variable.
4942 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4943 case. Ensure exception if result actually underflows.
4944 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4945 (efx8): Remove variable.
4946 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4947 case. Ensure exception if result actually underflows.
4948 * math/auto-libm-test-in: Add more tests of erf.
4949 * math/auto-libm-test-out: Regenerated.
4950
73ba67cb
AS
49512014-05-14 Andreas Schwab <schwab@suse.de>
4952
3d8c8bff
AS
4953 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4954 Remove code conditionalized on USE___THREAD.
4955
73ba67cb
AS
4956 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4957 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4958 not definedness.
4959
5c521ecd
JM
49602014-05-14 Joseph Myers <joseph@codesourcery.com>
4961
5e7698c6
JM
4962 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4963 Define unconditionally.
4964 (__ASSUME_O_CLOEXEC): Likewise.
4965 (__ASSUME_SOCK_CLOEXEC): Likewise.
4966 (__ASSUME_IN_NONBLOCK): Likewise.
4967 (__ASSUME_PIPE2): Likewise.
4968 (__ASSUME_EVENTFD2): Likewise.
4969 (__ASSUME_SIGNALFD4): Likewise.
4970 (__ASSUME_DUP3): Likewise.
4971 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4972 (__ASSUME_DUP3): Do not define.
4973 (__ASSUME_EVENTFD2): Likewise.
4974 (__ASSUME_IN_NONBLOCK): Likewise.
4975 (__ASSUME_O_CLOEXEC): Likewise.
4976 (__ASSUME_PIPE2): Likewise.
4977 (__ASSUME_SIGNALFD4): Likewise.
4978 (__ASSUME_SOCK_CLOEXEC): Likewise.
4979 (__ASSUME_UTIMES): Undefine.
4980 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4981 (__ASSUME_UTIMES): Do not define.
4982 (__ASSUME_O_CLOEXEC): Likewise.
4983 (__ASSUME_SOCK_CLOEXEC): Likewise.
4984 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4985 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4986 0x020621].
4987 (__ASSUME_PIPE2): Likewise.
4988 (__ASSUME_EVENTFD2): Likewise.
4989 (__ASSUME_SIGNALFD4): Likewise.
4990 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4991 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4992 Do not define.
4993 (__ASSUME_EVENTFD2): Likewise.
4994 (__ASSUME_SIGNALFD4): Likewise.
4995 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4996 (__ASSUME_32BITUIDS): Likewise.
4997 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4998 (__ASSUME_IPC64): Likewise.
4999 (__ASSUME_ST_INO_64_BIT): Likewise.
5000 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5001 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5002 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5003 (__ASSUME_UTIMES): Do not define.
5004 (__ASSUME_PSELECT): Likewise.
5005 (__ASSUME_PPOLL): Likewise.
5006 (__ASSUME_O_CLOEXEC): Likewise.
5007 (__ASSUME_SOCK_CLOEXEC): Likewise.
5008 (__ASSUME_IN_NONBLOCK): Likewise.
5009 (__ASSUME_PIPE2): Likewise.
5010 (__ASSUME_EVENTFD2): Likewise.
5011 (__ASSUME_SIGNALFD4): Likewise.
5012 (__ASSUME_DUP3): Likewise.
5013 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5014 (__ASSUME_UTIMES): Likewise.
5015 (__ASSUME_O_CLOEXEC): Likewise.
5016 (__ASSUME_SOCK_CLOEXEC): Likewise.
5017 (__ASSUME_IN_NONBLOCK): Likewise.
5018 (__ASSUME_PIPE2): Likewise.
5019 (__ASSUME_EVENTFD2): Likewise.
5020 (__ASSUME_SIGNALFD4): Likewise.
5021 (__ASSUME_DUP3): Likewise.
5022 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5023 (__ASSUME_UTIMES): Likewise.
5024 (__ASSUME_O_CLOEXEC): Likewise.
5025 (__ASSUME_SOCK_CLOEXEC): Likewise.
5026 (__ASSUME_IN_NONBLOCK): Likewise.
5027 (__ASSUME_PIPE2): Likewise.
5028 (__ASSUME_EVENTFD2): Likewise.
5029 (__ASSUME_SIGNALFD4): Likewise.
5030 (__ASSUME_DUP3): Likewise.
5031 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5032 Likewise.
5033 (__ASSUME_UTIMES): Likewise.
5034 (__ASSUME_EVENTFD2): Likewise.
5035 (__ASSUME_SIGNALFD4): Likewise.
5036 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5037 (__ASSUME_O_CLOEXEC): Likewise.
5038 (__ASSUME_SOCK_CLOEXEC): Likewise.
5039 (__ASSUME_IN_NONBLOCK): Likewise.
5040 (__ASSUME_PIPE2): Likewise.
5041 (__ASSUME_EVENTFD2): Likewise.
5042 (__ASSUME_SIGNALFD4): Likewise.
5043 (__ASSUME_DUP3): Likewise.
5044 (__ASSUME_UTIMES): Undefine.
5045
5c521ecd
JM
5046 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5047 feclearexcept. Remove symbol versioning code.
5048 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5049 symbol versioning code.
5050 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5051 symbol versioning code.
5052 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5053 feupdateenv. Remove symbol versioning code.
5054 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5055 fegetexceptflag. Remove symbol versioning code.
5056 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5057 fesetexceptflag. Remove symbol versioning code.
5058 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5059 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5060 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5061 (__posix_fadvise64_l32): Remove prototype.
5062 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5063 code.
5064
5da9dfad
RM
50652014-05-13 Roland McGrath <roland@hack.frob.com>
5066
5067 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5068 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5069 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5070 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5071
893b4f37
SK
50722014-05-13 Sami Kerola <kerolasa@iki.fi>
5073
5074 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5075 current working directory
5076
e0db6517
RM
50772014-05-13 Roland McGrath <roland@hack.frob.com>
5078
58aa195d
RM
5079 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5080 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5081 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5082 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5083 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5084 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5085 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5086 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5087 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5088 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5089 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5092 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5093 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5094 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5095 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5096 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5097 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5098 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5100 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5101 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5102 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5103 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5104 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5105 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5108 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5109 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5110 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5111 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5112 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5113 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5114 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5115 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5116 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5117 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5118 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5119 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5120 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5121
8c6d01f0
RM
5122 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5123 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5124
5125 * sysdeps/unix/sysv/linux/arm/Makefile
5126 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5127 Add rt-aeabi_unwind_cpp_pr1.
5128 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5129 Add nptl-aeabi_unwind_cpp_pr1.
5130 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5131 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5132 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5133 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5134 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5135 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5136
5137 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5138 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5139 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5140 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5141
bba6da4e
RM
5142 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5143 Deconditionalize the code that was previously under [RESET_PID].
5144 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5145
e0db6517
RM
5146 * sysdeps/generic/exit-thread.h: New file.
5147 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5148 * include/unistd.h (__exit_thread): Remove declaration.
5149 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5150 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5151 * csu/libc-start.c: Include <exit-thread.h>.
5152 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5153 * nptl/pthread_create.c: Include <exit-thread.h>.
5154 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5155 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5156 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5157 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5158 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5159 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5160 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5161 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5162 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5163 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5164 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5165 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5166 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5167 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5168 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5169 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5170 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5171
01eb16fd
AS
51722014-05-13 Andreas Schwab <schwab@suse.de>
5173
5174 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5175
637461d9
JM
51762014-05-12 Joseph Myers <joseph@codesourcery.com>
5177
5178 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5179 (__ASSUME_UTIMES): Do not condition on kernel version.
5180 (__ASSUME_PSELECT): Define unconditionally.
5181 (__ASSUME_PPOLL): Likewise.
5182 (__ASSUME_ATFCTS): Likewise.
5183 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5184 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5185 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5186 (__ASSUME_UTIMENSAT): Define unconditionally.
5187 (__ASSUME_PRIVATE_FUTEX): Likewise.
5188 (__ASSUME_FALLOCATE): Likewise.
5189 (__ASSUME_O_CLOEXEC): Likewise.
5190 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5191 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5192 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5193 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5194 (__ASSUME_IN_NONBLOCK): Likewise.
5195 (__ASSUME_PIPE2): Likewise.
5196 (__ASSUME_EVENTFD2): Likewise.
5197 (__ASSUME_SIGNALFD4): Likewise.
5198 (__ASSUME_DUP3): Likewise.
5199 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5200 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5201 (__ASSUME_AT_RANDOM): Likewise.
5202 (__ASSUME_PREADV): Likewise.
5203 (__ASSUME_PWRITEV): Likewise.
5204 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5205 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5206 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5208 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5209 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5210 (__ASSUME_O_CLOEXEC): Define unconditionally.
5211 (__ASSUME_PSELECT): Do not undefine conditionally.
5212 (__ASSUME_PPOLL): Likewise.
5213 (__ASSUME_ATFCTS): Likewise.
5214 (__ASSUME_SET_ROBUST_LIST): Likewise.
5215 (__ASSUME_UTIMENSAT): Likewise.
5216 (__ASSUME_FDATASYNC): Define unconditionally.
5217 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5218 (__ASSUME_SIGFRAME_V2): Likewise.
5219 )__ASSUME_EVENTFD2): Likewise.
5220 (__ASSUME_SIGNALFD4): Likewise.
5221 (__ASSUME_PSELECT): Do not undefine conditionally.
5222 (__ASSUME_PPOLL): Likewise.
5223 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5224 (__ASSUME_PSELECT): Define unconditionally.
5225 (__ASSUME_PPOLL): Likewise.
5226 (__ASSUME_O_CLOEXEC): Likewise.
5227 (__ASSUME_SOCK_CLOEXEC): Likewise.
5228 (__ASSUME_IN_NONBLOCK): Likewise.
5229 (__ASSUME_PIPE2): Likewise.
5230 (__ASSUME_EVENTFD2): Likewise.
5231 (__ASSUME_SIGNALFD4): Likewise.
5232 (__ASSUME_DUP3): Likewise.
5233 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5234 (__ASSUME_O_CLOEXEC): Likewise.
5235 (__ASSUME_SOCK_CLOEXEC): Likewise.
5236 (__ASSUME_IN_NONBLOCK): Likewise.
5237 (__ASSUME_PIPE2): Likewise.
5238 (__ASSUME_EVENTFD2): Likewise.
5239 (__ASSUME_SIGNALFD4): Likewise.
5240 (__ASSUME_DUP3): Likewise.
5241 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5242 (__ASSUME_EVENTFD2): Likewise.
5243 (__ASSUME_SIGNALFD4): Likewise.
5244 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5245
315eb1d8
AS
52462014-05-12 Andreas Schwab <schwab@suse.de>
5247
5248 [BZ #16932]
5249 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5250 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5251 than maximum RPC packet size.
5252 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5253 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5254 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5255 (_nss_nis_getservbyport_r): Likewise.
5256
91df99f7
WN
52572014-05-12 Will Newton <will.newton@linaro.org>
5258
5259 * malloc/Makefile (tests): Add tst-mallopt.
5260 * malloc/tst-mallopt.c: New file.
5261
0a982a29
RM
52622014-05-09 Roland McGrath <roland@hack.frob.com>
5263
5264 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5265 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5266
0ded08a5
AZ
52672014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5268
5269 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5270 (tst-tlsmod6.so): Likewise.
5271
55d4d550
RM
52722014-05-09 Roland McGrath <roland@hack.frob.com>
5273
5274 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5275
77d08aca
JM
52762014-05-09 Joseph Myers <joseph@codesourcery.com>
5277
5278 [BZ #16064]
5279 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5280 and <dl-procinfo.h>.
5281 (__fegetenv): Save SSE state in envp->__eip if supported.
5282 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5283 envp->__eip if supported.
5284 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5285 and <dl-procinfo.h>.
5286 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5287 __data_offset and __data_selector in environment to 0. Set SSE
5288 state if supported.
5289 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5290 test-fenv-sse.
5291 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5292 -mfpmath=sse.
5293 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5294
28162f4d
WN
52952014-05-09 Will Newton <will.newton@linaro.org>
5296
5297 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5298 and libc_relro_required for ARM.
5299 * sysdeps/arm/preconfigure: Regenerate.
5300
5a414ff7
DV
53012014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5302 Stefan Liebler <stli@linux.vnet.ibm.com>
5303
5304 * config.make.in (enable-lock-elision): New Makefile variable.
5305 * configure.ac: Likewise.
5306 * configure: Regenerate.
5307 * sysdeps/s390/configure.ac:
5308 Add check for gcc transactions support.
5309 * sysdeps/s390/configure: Regenerate.
5310 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5311 Build elision files if enabled.
5312 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5313 Add lock elision support for s390.
5314 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5315 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5316 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5317 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5318 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5319 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5320 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5321 Likewise.
5322 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5323 Likewise.
5324 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5325 Likewise.
5326 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5327 Likewise.
5328 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5329 (__lll_timedlock_elision, __lll_lock_elision)
5330 (__lll_unlock_elision, __lll_trylock_elision)
5331 (lll_timedlock_elision, lll_lock_elision)
5332 (lll_unlock_elision, lll_trylock_elision): Add.
5333 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5334 (pthread_mutex_t): Add lock elision support for s390.
5335
1a2f40e5
W
53362014-05-14 Wilco <wdijkstr@arm.com>
5337
5338 * sysdeps/arm/fclrexcpt.c: Cleanup.
5339 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5340 * sysdeps/arm/feenablxcpt.c: Cleanup.
5341 * sysdeps/arm/fegetenv.c: Cleanup.
5342 * sysdeps/arm/fegetexcept.c: Cleanup.
5343 * sysdeps/arm/fegetround.c: Cleanup.
5344 * sysdeps/arm/feholdexcpt.c: Cleanup.
5345 * sysdeps/arm/fesetenv.c: Cleanup.
5346 * sysdeps/arm/fesetround.c: Cleanup.
5347 * sysdeps/arm/feupdateenv.c: Cleanup.
5348 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5349 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5350 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5351 * sysdeps/arm/ftestexcept.c: Cleanup.
5352 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5353 * sysdeps/arm/setfpucw.c: Cleanup.
5354
f63c86fe
WN
53552014-05-09 Will Newton <will.newton@linaro.org>
5356
5357 * sysdeps/arm/armv7/strcmp.S: New file.
5358 * NEWS: Mention addition of ARMv7 optimized strcmp.
5359
7a1a51b5
RM
53602014-05-08 Roland McGrath <roland@hack.frob.com>
5361
95afbbe5
RM
5362 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5363 look for %.ac rather than %.in.
5364
5365 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5366 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5367 * sysdeps/mach/hurd/configure: Regenerated.
5368 * sysdeps/unix/sysv/linux/configure: Regenerated.
5369
7a1a51b5
RM
5370 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5371
5057ad3b
SE
53722014-05-07 Steve Ellcey <sellcey@mips.com>
5373
5374 [BZ# 16922]
5375 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5376 (LONG_SUB): Ditto.
5377 (PTR_SUB): Ditto.
5378
8dc97517
AS
53792014-05-07 Andreas Schwab <schwab@suse.de>
5380
5381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5382 when skipping over non-matching result from nscd.
5383
ce0c5b8f
OB
53842014-05-07 Ondřej Bílka <neleai@seznam.cz>
5385
5386 [BZ #16876]
5387 * nptl/sockperf.c (client): Check socket return value.
8dc97517 5388
a1189263
OB
5389 [BZ #16877]
5390 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5391 nscd security class.
ce0c5b8f 5392
0f58d252
RM
53932014-05-06 Roland McGrath <roland@hack.frob.com>
5394
5395 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5396 * sysdeps/arm/unwind.h: ... here.
5397
83df9ad0
AJ
53982014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5399
ce0c5b8f
OB
5400 [BZ# 16916]
5401 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5402 Define.
83df9ad0 5403
f360f94a
VR
54042014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5405
5406 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5407 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5408 multiarch strncpy for PPC64.
5409 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5410 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5412 multiarch optimizations.
5413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5414 (__libc_ifunc_impl_list): Likewise.
5415 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5416 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5417 multiarch stpncpy for PPC64.
5418 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5419 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5420
978a41c3
AS
54212014-05-06 Andreas Schwab <schwab@suse.de>
5422
5423 [BZ #16912]
5424 * gmon/mcount.c (_MCOUNT_DECL): Use
5425 atomic_compare_and_exchange_bool_acq instead of
5426 catomic_compare_and_exchange_bool_acq.
5427
eb1ed03d
RM
54282014-05-05 Roland McGrath <roland@hack.frob.com>
5429
fe658845
RM
5430 * elf/Makefile (others, install-bin): Remove pldd.
5431 (pldd-modules): Variable removed.
5432 ($(objpfx)pldd): Target removed.
5433 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5434 (others, install-bin): Append pldd here.
5435 ($(objpfx)pldd): New target.
5436
eb1ed03d
RM
5437 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5438 to 0, so the first #if test emitted later doesn't see it undefined.
5439 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5440 * sysdeps/gnu/errlist.c: Regenerated.
5441
19c4bec0
AZ
54422014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443
5444 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5445 [libc_hidden_builtin_def]: Define to empty value.
5446 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5447 [libc_hidden_builtin_def]: Likewise.
5448 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5449 [libc_hidden_builtin_def]: Likewise.
5450 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5451 [libc_hidden_builtin_def]: Likewise.
5452 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5453 __redirect_memcpy and define ifunc as default hidden symbol.
5454 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5455 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5456
7776e669
AC
54572014-05-04 Adam Conrad <adconrad@0c3.net>
5458
5459 * locale/iso-4217.def: Reintroduce XDR currency.
5460
d69aeb12
AM
54612014-05-04 Allan McRae <allan@archlinux.org>
5462
5463 * po/eo.po: Update Esperanto translation from translation project.
5464
8f1df5cf
CD
54652014-05-02 Carlos O'Donell <carlos@redhat.com>
5466
5467 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5468 and FEATURE_INDEX_MAX to 1.
5469 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5470
13e402e7
SE
54712014-05-01 Steve Ellcey <sellcey@mips.com>
5472
5473 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5474 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5475 * iconvdata/big5.c (ONE_DIRECTION): Define.
5476 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5477 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5478 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5479 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5480 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5481 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5482 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5483 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5484 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5485 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5486 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5487 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5488 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5489 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5490 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5491 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5492 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5493 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5494 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5495 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5496 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5497 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5498 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5499 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5500 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5501 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5502 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5503 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5504 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5505 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5506 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5507 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5508 * iconvdata/johab.c (ONE_DIRECTION): Define.
5509 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5510 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5511 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5512 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5513 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5514 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5515 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5516 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5517 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5518 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5519
c727f032
RM
55202014-05-01 Roland McGrath <roland@hack.frob.com>
5521
8f2f08d0
RM
5522 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5523 (_IO_JUMPS_OFFSET): Define to 0.
5524
c727f032
RM
5525 * nptl/sysdeps/pthread/bits/libc-lock.h
5526 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5527 (__libc_lock_define_initialized_recursive): Always define using
5528 initializer. Modern compilers treat uninitialized (implicit zero) and
5529 explicit zero initializers the same (i.e. put the datum in bss).
5530
a849e800
AS
55312014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5532
5533 * nscd/nscd-client.h: Include <string.h>.
5534
5331255b
DM
55352014-05-01 David S. Miller <davem@davemloft.net>
5536
5537 [BZ #16885]
5538 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5539 multiple zero bytes exist at the end of a string.
5540 Reported by Aurelien Jarno <aurelien@aurel32.net>
5541
5542 * string/test-strcmp.c (check): Add explicit test for situations where
5543 there are multiple zero bytes after the first.
5544
4fdfe821
AS
55452014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5546
5547 [BZ #16890]
5548 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5549 when compiling wprintf.
5550 * stdio-common/tstdiomisc.c (t3): New function.
5551 (main): Call it.
5552
0cdddc25
SE
55532014-05-01 Steve Ellcey <sellcey@mips.com>
5554
5555 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5556 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5557 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5558 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5559
6426d77e
SE
55602014-05-01 Steve Ellcey <sellcey@mips.com>
5561
5562 * stdlib/longlong.h: Updated from GCC.
5563
6d96f5e4
WN
55642014-05-01 Will Newton <will.newton@linaro.org>
5565 Bernard Ogden <bernie.ogden@linaro.org>
5566
7470db0c
WN
5567 * NEWS: Update fixed bug list.
5568
6d96f5e4
WN
5569 [BZ #15119]
5570 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5571
211d653c
DM
55722014-04-30 David S. Miller <davem@davemloft.net>
5573
4fa262fa
DM
5574 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5575 (libc_feholdexcept_setround_sparc_ctx): New function.
5576 (libc_fesetenv_sparc_ctx): Likewise.
5577 (libc_feupdateenv_sparc_ctx): Likewise.
5578 (libc_feholdsetround_sparc_ctx): Likewise.
5579 (libc_feholdexcept_setround_ctx): Define.
5580 (libc_feholdexcept_setroundf_ctx): Likewise.
5581 (libc_feholdexcept_setroundl_ctx): Likewise.
5582 (libc_fesetenv_ctx): Likewise.
5583 (libc_fesetenvf_ctx): Likewise.
5584 (libc_fesetenvl_ctx): Likewise.
5585 (libc_feupdateenv_ctx): Likewise.
5586 (libc_feupdateenvf_ctx): Likewise.
5587 (libc_feupdateenvl_ctx): Likewise.
5588 (libc_feresetround_ctx): Likewise.
5589 (libc_feresetroundf_ctx): Likewise.
5590 (libc_feresetroundl_ctx): Likewise.
5591 (libc_feholdsetround_ctx): Likewise.
5592 (libc_feholdsetroundf_ctx): Likewise.
5593 (libc_feholdsetroundl_ctx): Likewise.
5594
1d3d93ef
DM
5595 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5596 with __USE_GNU instead of XOPEN cpp guards.
5597
8aa583c3
DM
5598 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5599 0.
5600
211d653c
DM
5601 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5602 with XOPEN cpp guards.
5603
60c8f1f6
JB
56042014-04-30 Julian Brown <julian@codesourcery.com>
5605
5606 [BZ #16888]
5607 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5608 handling.
5609
9a461d46
JM
56102014-04-30 Joseph Myers <joseph@codesourcery.com>
5611
d0f5b3f8
JM
5612 [BZ #9894]
5613 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5614 Change to 2.6.32.
5615 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5616 * sysdeps/unix/sysv/linux/configure: Regenerated.
5617 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5618 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5619 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5620 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5621 * README: Update reference to required Linux kernel version.
5622 * manual/install.texi (Linux): Update reference to required Linux
5623 kernel headers version.
5624 * INSTALL: Regenerated.
5625
9a461d46
JM
5626 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5627 header inclusion.
5628 [POSIX] (limits.h): Likewise.
5629 [POSIX] (math.h): Likewise.
5630 [POSIX] (sys/wait.h): Likewise.
5631 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5632 function.
5633 [POSIX] (stddef.h): Do not allow header inclusion.
5634
1775babf
AZ
56352014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5636
57f41c40 5637 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5638
8f630cca
YY
56392014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5640
5641 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5642 Return immediately after lll_futex_wake.
5643
1cdeb237
SP
56442014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5645
bc8f194c
SP
5646 [BZ #16791]
5647 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5648 structure.
5649 (datahead_init_pos): Call datahead_init_common early.
5650 (datahead_init_neg): Likewise.
5651
1cdeb237
SP
5652 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5653 datahead_init_neg): New functions.
5654 * nscd/aicache.c (addhstaiX): Use them.
5655 * nscd/grpcache.c (cache_addgr): Likewise.
5656 * nscd/hstcache.c (cache_addhst): Likewise.
5657 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5658 * nscd/netgroupcache.c (do_notfound): Likewise.
5659 (addgetnetgrentX): Likewise.
5660 (addinnetgrX): Likewise.
5661 * nscd/pwdcache.c (cache_addpw): Likewise.
5662 * nscd/servicescache.c (cache_addserv): Likewise.
5663
16b293a7
SP
56642014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5665 Atsushi Onoe <atsushi@onoe.org>
5666
5667 [BZ #14308]
5668 [BZ #12994]
5669 [BZ #13651]
5670 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5671 one response is valid.
5672 * resolv/res_send.c (send_dg): Check for validity of other
5673 response if the current response is a referral.
5674
a28a9b94
SE
56752014-04-29 Steve Ellcey <sellcey@mips.com>
5676
5677 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5678
2ca180e9
SL
56792014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5680
5681 [BZ #16823]
5682 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5683 Always divide by positive zero when computing -Inf result.
5684 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5685 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5686
18f2945a
AZ
56872014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5688
5689 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5690 FPSCR if value do not change.
5691 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5692 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5693 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5694 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5695 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5696 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5697 function.
5698
5abebba4
CD
56992014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5700
5701 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5702 * sysdeps/unix/sysv/linux/hppa: Move directory from
5703 ports/systeps/unix/sysv/linux/hppa.
5704 * README: Update listing for hppa-*-linux-gnu.
5705
f7ed60c2
OB
57062014-04-28 Ondřej Bílka <neleai@seznam.cz>
5707
fff763a5
OB
5708 [BZ #16754]
5709 * manual/stdio.texi (Hook functions): Fix types of stream hook
5710 functions.
f7ed60c2
OB
5711 [BZ #16854]
5712 * socket/sys/socket.h: Fix typo in comment.
5713
df639d73
WD
57142014-04-28 Wilco <wdijkstr@arm.com>
5715
f7ed60c2 5716 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5717 * sysdeps/arm/math_private.h: New file.
5718 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5719
48332d82
L
57202014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5721
5722 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5723 with __int128_t.
5724 (La_x86_64_retval): Likewise.
5725
e5e0d9a4
IB
57262014-04-24 Ian Bolton <ian.bolton@arm.com>
5727
5728 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5729 fpsr if value didn't change.
5730 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5731 to fpcr if value didn't change.
5732 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5733 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5734 fpsr or fpcr if value didn't change.
5735 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5736 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5737 fpcr if value didn't change.
5738 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5739 to fpsr if value didn't change.
5740
bacc75f7
SP
57412014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5742
5743 * nptl/tst-sem3.c: Use test-skeleton.c
5744 (main): Rename to do_test. Use return instead of
5745 exit.
5746 * nptl/tst-sem4.c: Use test-skeleton.c
5747 (main): Rename to do_test.
5748
a059d359
DM
57492014-04-22 David S. Miller <davem@davemloft.net>
5750
5751 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5752 (struct sigaction): New struct member __glibc_reserved0, change
5753 type of sa_flags to int.
5754
ea6c92f3
YZ
57552014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5756
5757 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5758 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5759
766c4a36
SP
57602014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5761
5762 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5763 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5764
140cc7ab
VK
57652014-04-22 Will Newton <will.newton@linaro.org>
5766 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5767
5768 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5769 (__longjmp): Add longjmp and longjmp_target SystemTap
5770 probes.
5771 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5772 (__sigsetjmp): Add setjmp SystemTap probe.
5773
c54e5cf7
CD
57742014-04-17 Carlos O'Donell <carlos@redhat.com>
5775
5776 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5777 match manual order.
5778
75ffb047
AZ
57792014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5780
5781 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5782
2cd925f7
AZ
5783 * sysdeps/powerpc/fpu/fenv_private.h
5784 (libc_feholdexcept_setroundl_ctx): Define to
5785 libc_feholdexcept_setround_ppc_ctx.
5786 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5787 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5788 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5789 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5790
39e6cd8d
IB
57912014-04-17 Ian Bolton <ian.bolton@arm.com>
5792
5793 * sysdeps/aarch64/math-tests.h: New file.
5794
f9281df9
SY
57952014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5796
5797 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5798 New.
5799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5800 Check and set bit_AVX2_Usable.
5801 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5802 macro.
5803 (bit_AVX2): Likewise.
5804 (index_AVX2_Usable): Likewise.
5805 (CPUID_AVX2): Likewise.
5806 (HAS_AVX2): Likewise.
5807
37d35007
WN
58082014-04-17 Will Newton <will.newton@linaro.org>
5809
7c677662
WN
5810 * manual/setjmp.texi (System V contexts): Add note that
5811 calling setcontext on a context created by a call to a
5812 signal handler is undefined. Update text to note that
5813 setcontext from a signal handler is possible but not
5814 recommended.
5815
37d35007 5816 [BZ #16629]
e04a4e9d
WN
5817 * stdlib/tst-setcontext.c: Include signal.h.
5818 (main): Check that the signal stack before and
5819 after swapcontext is the same.
5820
37d35007
WN
5821 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5822 Re-implement to restore registers in user code and avoid
5823 rt_sigreturn system call.
5824
423a7160
W
58252014-04-17 Wilco <wdijkstr@arm.com>
5826
5827 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5828 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5829 * math/test-fenv.c: Skip exception trap tests on targets which only
5830 support non-stop mode.
5831
bc93ab29
IB
58322014-04-17 Ian Bolton <ian.bolton@arm.com>
5833 Wilco Dijkstra <wilco.dijkstra@arm.com>
5834
5835 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5836 (libc_feholdsetround_aarch64_ctx)
5837 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5838 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5839 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5840 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5841 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5842 (libc_feresetround_noexl_ctx): Define.
5843
95fc5fa3
RH
58442014-04-16 Richard Henderson <rth@redhat.com>
5845
ddb04724
RH
5846 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5847
d77c0899
RH
5848 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5849 unwind tables.
5850
a3df56fc
RH
5851 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5852 const from the non-libc, non-ldso copy.
5853
95fc5fa3
RH
5854 * sysdeps/alpha/libm-test-ulps: Regenerate.
5855
7e0b6763
IB
58562014-04-16 Ian Bolton <ian.bolton@arm.com>
5857 Wilco Dijkstra <wilco.dijkstra@arm.com>
5858
5859 * sysdeps/aarch64/fpu/math_private.h: New file.
5860
a9ea2e0c
MS
58612014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5862
5863 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5864
ea8ba7cd
IZ
58652014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5866
5867 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5868 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5870 Intel MPX bound registers before _dl_profile_fixup.
5871 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5872 registers after _dl_profile_fixup. Save and restore bound
5873 registers bnd0/bnd1 when calling _dl_call_pltexit.
5874 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5875 (LR_BND_OFFSET): Likewise.
5876 (LRV_BND0_OFFSET): Likewise.
5877 (LRV_BND1_OFFSET): Likewise.
5878
9f2a4fbc
ST
58792014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5880
5881 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5882 to...
5883 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5884 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5885 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5886 fields.
9f2a4fbc 5887
fd15a59b
ST
58882014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5889
5890 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5891
f19dfa0a
SL
58922014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5893
5894 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5895
4fa8bc3b
SL
58962014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5897
5898 [BZ #14770]
5899 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5900 * sysdeps/s390/configure: Regenerate.
5901
8ea587db
SL
5902 [BZ #16824]
5903 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5904 Set round-to-nearest internally to reduce error accumulation.
5905
aa5f0ff1
AM
59062014-04-16 Alan Modra <amodra@gmail.com>
5907
5908 [BZ #16740]
5909 [BZ #16619]
5910 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5911 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5912 * NEWS: Update fixed bug list.
aa5f0ff1 5913
bb9c256f
SP
59142014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5915
5916 * benchtests/Makefile: Depend on libraries in build directory.
5917 (bench-math): Separate out math tests.
5918 (bench-pthread): Separate out pthread tests.
5919 (bench): Include math and pthread tests.
5920
f737dfd0
CD
59212014-04-14 Carlos O'Donell <carlos@redhat.com>
5922
5923 [BZ #16831]
5924 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5925 _dl_debug_initialize.
5926
0699f766
CD
5927 * configure.ac: Remove SELinux header check.
5928 * configure: Regenerate.
5929 * nscd/selinux.c (perms): Array of const char* to permission names.
5930 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5931 default policy. Call string_to_security_class and string_to_av_perm to
5932 translate strings. Enforce default policy and call avs_has_perm with
5933 results of translated strings.
5934
809bd45f
DM
59352014-04-13 David S. Miller <davem@davemloft.net>
5936
5937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5938
89e691f2
AM
59392014-04-12 Allan McRae <allan@archlinux.org>
5940
5941 [BZ #16838]
5942 * manual/string.texi (Collation Functions): Fix qsort argument
5943 order in example.
5944 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5945
9c9daaeb
CM
59462014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5947
5948 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5949 Make the test a no-op if there are no exceptions defined.
5950
95561fb9
PP
59512014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5952
fe8d072c 5953 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5954 enable-hardcoded-path-in-tests
5955
970c602a
WN
59562014-04-11 Will Newton <will.newton@linaro.org>
5957
5958 * benchtests/Makefile (extra-objs): Add json-lib.o.
5959 (bench-func): Tidy up JSON output.
5960 * benchtests/bench-skeleton.c: Include json-lib.h.
5961 (main): Use JSON library functions to do output of
5962 benchmark results.
5963 * benchtests/bench-timing-type.c (main): Output the
5964 timing type simply, leaving formatting to the user.
5965 * benchtests/json-lib.c: New file.
5966 * benchtests/json-lib.h: Likewise.
5967
36875b06
TR
59682014-04-11 Torvald Riegel <triegel@redhat.com>
5969
5970 [BZ #15215]
5971 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5972 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5973 memory barriers. Add comments.
5974 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5975 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5976 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5977 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5978 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5979 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5980
579db35a
SL
59812014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5982
5983 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5984 * sysdeps/s390/s390-64/configure.ac: ... this ...
5985 * sysdeps/s390/configure.ac: ... to here.
5986 * sysdeps/s390/s390-32/configure: Delete file.
5987 * sysdeps/s390/s390-64/configure: Delete file.
5988 * sysdeps/s390/configure: Regenerate.
5989
c12e9f37
JAPH
59902014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5991
5992 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5993
439bda32
WN
59942014-04-11 Will Newton <will.newton@linaro.org>
5995
5996 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5997 to zero if it is not defined elsewhere. (mtrim): Test
5998 the value of MALLOC_DEBUG with #if rather than #ifdef.
5999
6a5d6ea1
TR
60002014-04-10 Torvald Riegel <triegel@redhat.com>
6001
6002 * benchtests/pthread_once-inputs: New file.
6003 * benchtests/pthread_once-source.c: New file.
6004 * benchtests/README: Update documentation.
6005
a4c75cfd
IZ
60062014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6007 H.J. Lu <hongjiu.lu@intel.com>
6008
6009 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6010 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6011 * sysdeps/x86_64/configure: Regenerated.
6012 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6013 macro.
6014 (REGISTER_SAVE_RAX): Likewise.
6015 (REGISTER_SAVE_RCX): Likewise.
6016 (REGISTER_SAVE_RDX): Likewise.
6017 (REGISTER_SAVE_RSI): Likewise.
6018 (REGISTER_SAVE_RDI): Likewise.
6019 (REGISTER_SAVE_R8): Likewise.
6020 (REGISTER_SAVE_R9): Likewise.
6021 (REGISTER_SAVE_BND0): Likewise.
6022 (REGISTER_SAVE_BND1): Likewise.
6023 (REGISTER_SAVE_BND2): Likewise.
6024 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6025 bound registers when calling _dl_fixup.
6026
27822ce6
AZ
60272014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6028
6029 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6030 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6031 of its definition.
27822ce6
AZ
6032 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6033 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6034 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6035 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6036 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6037 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6038 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6039
a88ddc90
PTB
60402014-04-09 Peter Brett <peter@peter-b.co.uk>
6041
6042 [BZ #15514]
6043 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6044 pathconf(_PC_NAME_MAX).
6045
01f8eac2
AZ
60462014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6047
6048 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6049 Remove macro usage.
6050 (__PTHREAD_SPINS): Move definition to ...
6051 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6052 (__PTHREAD_SPINS): ... here.
6053 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6054 (__PTHREAD_SPIN): Likewise.
6055 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6056 (__PTHREAD_SPIN): Likewise.
6057 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6058 (__PTHREAD_SPIN): Likewise.
6059 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6060 (__PTHREAD_SPIN): Likewise.
6061 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6062 (__PTHREAD_SPIN): Likewise.
6063 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6064 (__PTHREAD_SPIN): Likewise.
6065 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6066 (__PTHREAD_SPIN): Likewise.
6067 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6068 (__PTHREAD_SPIN): Likewise.
6069 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6070 (__PTHREAD_SPIN): Likewise.
6071 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6072 (__PTHREAD_SPIN): Likewise.
6073 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6074 (__PTHREAD_SPIN): Likewise.
6075 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6076 (__PTHREAD_SPIN): Likewise.
6077
de21c33c
AZ
6078 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6079 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6080 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6081 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6082 imply folder.
6083 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6084 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6085 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6086 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6087 correct imply path.
6088 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6089 strlen symbol for non multi-arch builds.
6090 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6091 missing hidden_def and weak_alias.
6092
862c472e
CD
60932014-04-08 Carlos O'Donell <carlos@redhat.com>
6094
6095 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6096
8667f90e
WN
60972014-04-07 Will Newton <will.newton@linaro.org>
6098
6099 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6100 and contents. [!_LIBC] Remove #ifndef and contents.
6101 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6102 * string/memccpy.c (__memccpy): Use ANSI prototype.
6103 * string/memfrob.c (memfrob): Likewise.
6104 * string/strcoll.c (STRCOLL): Likewise.
6105 * string/strlen.c (strlen): Likewise.
6106 * string/strtok.c (STRTOK): Likewise.
6107 * string/strcat.c: Remove unused #include of memcopy.h.
6108 (strcat): Use ANSI prototype.
6109 * string/strchr.c: Remove unused #include of memcopy.h.
6110 (strchr): Use ANSI prototype.
6111 * string/strcmp.c: Remove unused #include of memcopy.h.
6112 (strcmp): Use ANSI prototype.
6113 * string/strcpy.c: Remove unused #include of memcopy.h.
6114 (strcpy): Use ANSI prototype.
6115
7ffa9423
AZ
61162014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6117
6118 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6119 * config.make.in (config-extra-cppflags): Set it from
6120 libc_extra_cppflags.
6121 * configure.ac (libc_extra_cflags): Make it accumulate over
6122 configure fragments.
6123 (libc_extra_cppflags): New flag.
6124 * configure. Regenerate.
6125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6126 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6127 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6129
8bd70862
AZ
6130 [BZ #16815]
6131 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6132 result for FE_DOWNWARD rounding mode.
6133 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6134 Likewise.
6135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6136
d42f3448
CM
61372014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6138
6139 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6140 in function argument name.
6141
1c21d115
DS
61422014-04-03 David Svoboda <svoboda@cert.org>
6143
6144 [BZ #5666]
6145 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6146 explicitly.
6147
fcccd512
RM
61482014-04-03 Roland McGrath <roland@hack.frob.com>
6149
6150 * elf/dl-unmap-segments.h: New file.
6151 * sysdeps/generic/ldsodefs.h
6152 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6153 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6154 * elf/dl-fptr.c: Likewise.
6155 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6156 * sysdeps/aarch64/tlsdesc.c: Likewise.
6157 * sysdeps/arm/tlsdesc.c: Likewise.
6158 * sysdeps/i386/tlsdesc.c: Likewise.
6159 * sysdeps/tile/dl-runtime.c: Likewise.
6160 * sysdeps/x86_64/tlsdesc.c: Likewise.
6161 * elf/dl-load.h: New file.
6162 * elf/dl-load.c: Include it.
6163 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6164 Macros moved to dl-load.h.
6165 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6166 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6167 Use _dl_unmap_segments in place of __munmap.
6168 Break out segment-mapping loop into ...
6169 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6170
f6488e2b
WN
61712014-04-03 Will Newton <will.newton@linaro.org>
6172
6173 * elf/dl-lookup.c (do_lookup_x): Remove comment
6174 referring to nested function and move variable
6175 declarations down to before first use.
6176
6f05bafe
JM
61772014-04-02 Joseph Myers <joseph@codesourcery.com>
6178
a84e78c8
JM
6179 [BZ #16799]
6180 [BZ #16800]
6181 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6182 with 0 numerator.
6183 * math/s_catanf.c (__catanf): Likewise.
6184 * math/s_catanh.c (__catanh): Likewise.
6185 * math/s_catanhf.c (__catanhf): Likewise.
6186 * math/s_catanhl.c (__catanhl): Likewise.
6187 * math/s_catanl.c (__catanl): Likewise.
6188 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6189 by positive zero when computing -Inf result.
6190 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6191 (catanh_test): Likewise.
6192 * sysdeps/i386/fpu/libm-test-ulps: Update.
6193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6194
6f05bafe
JM
6195 [BZ #16789]
6196 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6197 instead of using underflowing value in computing result.
6198 * math/s_clog10.c (__clog10): Likewise.
6199 * math/s_clog10f.c (__clog10f): Likewise.
6200 * math/s_clog10l.c (__clog10l): Likewise.
6201 * math/s_clogf.c (__clogf): Likewise.
6202 * math/s_clogl.c (__clogl): Likewise.
6203 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6204 (clog10_test): Likewise.
6205 * sysdeps/i386/fpu/libm-test-ulps: Update.
6206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6207
b0abbc21
AM
62082014-04-02 Alan Modra <amodra@gmail.com>
6209
6210 [BZ #16739]
6211 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6212 output when value is near a power of two. Use int64_t for lx and
6213 remove casts. Use decimal rather than hex exponent constants.
6214 Don't use long double multiplication when double will suffice.
6215 * math/libm-test.inc (nextafter_test_data): Add tests.
6216 * NEWS: Add 16739 and 16786 to bug list.
6217
af6b1797
AM
6218 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6219
483818d7
AM
6220 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6221
f6c55796
WN
62222014-04-01 Will Newton <will.newton@linaro.org>
6223
6224 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6225 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6226
13f7fe35
FW
62272014-04-01 Florian Weimer <fweimer@redhat.com>
6228
6229 [BZ #13347]
6230 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6231 * nptl/tst-setuid2.c: New file.
6232 * nptl/Makefile (xtests): Add tst-setuid2.
6233
c859b32e
AM
62342014-04-01 Alan Modra <amodra@gmail.com>
6235
6236 [BZ #16786]
6237 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6238
54fa2475
JM
62392014-03-31 Joseph Myers <joseph@codesourcery.com>
6240
8795b4a4
JM
6241 [BZ #6803]
6242 [BZ #6804]
6243 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6244 set errno as appropriate.
6245 * math/w_scalbf.c (__scalbf): Likewise.
6246 * math/w_scalbl.c (__scalbl): Likewise.
6247 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6248 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6249 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6250 Add more NaN tests.
6251
54fa2475
JM
6252 [BZ #16349]
6253 * math/w_atan2.c: Include <errno.h>.
6254 (__atan2): Set errno for result underflowing to zero.
6255 * math/w_atan2f.c: Include <errno.h>.
6256 (__atan2f): Set errno for result underflowing to zero.
6257 * math/w_atan2l.c: Include <errno.h>.
6258 (__atan2l): Set errno for result underflowing to zero.
6259 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6260 tests.
6261 * math/auto-libm-test-out: Regenerated.
6262
757d9dd5
AZ
62632014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6264
6265 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6266 Encode instruction correctly in little endian.
6267 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6268 Likewise.
6269 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6270 Likewise.
6271 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6272 Likewise.
6273 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6274 Likewise.
6275
d7a68734
JM
62762014-03-31 Joseph Myers <joseph@codesourcery.com>
6277
47c5adeb
JM
6278 [BZ #9894]
6279 * sysdeps/unix/sysv/linux/kernel-features.h
6280 [__sparc__ && !__arch64__ && !__sparc_v9__]
6281 (__ASSUME_SET_ROBUST_LIST): Do not define.
6282 [__sparc__ && !__arch64__ && !__sparc_v9__]
6283 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6284 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6285 Likewise.
6286 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6287 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6288 (__ASSUME_REQUEUE_PI): Likewise.
6289 (__ASSUME_SET_ROBUST_LIST): Likewise.
6290 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6291 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6292 Undefine.
6293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6294 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6295 Likewise.
6296 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6297 Likewise.
6298 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6299 Likewise.
6300 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6301 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6302 Undefine.
6303 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6304 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6305 Likewise.
6306
d7a68734
JM
6307 [BZ #16648]
6308 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6309 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6310 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6311
c760f5c2
WN
63122014-03-31 Will Newton <will.newton@linaro.org>
6313
6314 * benchtests/Makefile (bench): Add ffs and ffsll to list
6315 of tests.
6316 * benchtests/ffs-inputs: New file.
6317 * benchtests/ffsll-inputs: Likewise.
6318
ea6029b1
JM
63192014-03-29 Joseph Myers <joseph@codesourcery.com>
6320
6321 [BZ #16770]
6322 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6323 too large before casting to int.
6324 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6325 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6326 * math/libm-test.inc (scalb_test_data): Add more tests.
6327
cf806aff
SP
63282014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6329
56737508
SP
6330 * benchtests/Makefile (DETAILED_OPT): New make option.
6331 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6332 set.
6333 * benchtests/bench-skeleton.c: Include stdbool.h.
6334 (main): Store and print timings per input.
6335 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6336 member to each argument value.
6337 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6338 (_print_arg_data): Initialize per-input timing to 0.
6339
cb5e4aad
SP
6340 * benchtests/Makefile (timing-type): New binary.
6341 (bench-clean): Also remove bench-timing-type.
6342 (bench): New target for timing-type.
6343 (bench-func): Print output in JSON format.
6344 * benchtests/bench-skeleton.c (main): Print output in JSON
6345 format.
6346 * benchtests/bench-timing-type.c: New file.
6347 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6348 (TIMING_PRINT_STATS): Remove.
6349 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6350 name separately.
6351
cf806aff
SP
6352 * benchtests/bench-modf.c: Remove.
6353 * benchtests/modf-inputs: New inputs file.
6354
289e0779
JM
63552014-03-28 Joseph Myers <joseph@codesourcery.com>
6356
6357 [BZ #16362]
6358 * math/s_clog10.c (M_PI_LOG10E): New macro.
6359 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6360 imaginary parts are 0.
6361 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6362 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6363 imaginary parts are 0.
6364 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6365 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6366 imaginary parts are 0.
6367 * math/libm-test.inc (clog10_test_data): Update expected results
6368 for when real and imaginary parts are 0.
6369
277ae3f1
PP
63702014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6371
6372 * elf/dl-load.c: Finish conversion of __builtin_expect into
6373 __glibc_{un}likely.
6374
03a7091f
JM
63752014-03-27 Joseph Myers <joseph@codesourcery.com>
6376
6377 [BZ #16348]
6378 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6379 1+x for argument with exponent below -67.
6380 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6381 Likewise.
6382 * math/auto-libm-test-in: Add more tests of exp.
6383 * math/auto-libm-test-out: Regenerated.
6384
ea7d8b95
SP
63852014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6386
dd3022d7
SP
6387 [BZ #16759]
6388 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6389 (nscd_getnetgrent): Use it.
6390
ea7d8b95
SP
6391 [BZ #16760]
6392 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6393 of stpcpy.
6394
df5b85da
AK
63952014-03-27 Andi Kleen <ak@linux.intel.com>
6396
57f41c40
AS
6397 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6398 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6399 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6400 (lll_robust_unlock): Remove out of line section. Use cfi
6401 intrinsics.
df5b85da 6402 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
6403 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6404 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6405 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6406 (lll_robust_unlock): Remove out of line section. Use cfi
6407 intrinsics.
df5b85da
AK
6408 (LLL_STUB_UNWIND_INFO*): Remove.
6409
fbd6b5a4
SP
64102014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6411
6412 [BZ #16758]
6413 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6414 blank values.
6415
1b26b855
PP
64162014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6417
6418 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6419
9be36fb8
JM
64202014-03-26 Joseph Myers <joseph@codesourcery.com>
6421
6422 [BZ #16198]
6423 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6424 fnstenv.
6425 * math/test-fenv-preserve.c: New file.
6426 * math/Makefile (tests): Add test-fenv-preserve.
6427
60a2f3c1
WN
64282014-03-26 Will Newton <will.newton@linaro.org>
6429
6430 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6431
a5e5f1e2
RM
64322014-03-25 Roland McGrath <roland@hack.frob.com>
6433
6434 * scripts/versionlist.awk: Partition the version sets and emit all
6435 GLIBC_* (sorted) before all others (sorted).
6436
00f4012a
JM
64372014-03-25 Joseph Myers <joseph@codesourcery.com>
6438
6439 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6440 GLIBC_2.2.5 version.
6441
7bc5a741
AZ
64422014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6443
6444 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6445 calls.
6446
7578473b
AZ
6447 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6448 previous change.
6449
f3f1dab3
AZ
6450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6451
6da36183
AS
64522014-03-25 Andreas Schwab <schwab@suse.de>
6453
6454 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6455 label to be used after in6ailist is initialized.
6456
f3f1dab3 64572014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6458
7578473b 6459 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6460 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6461
046651c1
JM
64622014-03-25 Joseph Myers <joseph@codesourcery.com>
6463
6464 [BZ #16357]
6465 [BZ #16599]
6466 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6467 min_plus_half.
6468 (fp_formats): Update initializers.
6469 (init_fp_formats): Initialize new field.
6470 (output_for_one_input_case): Allow underflow for results up to
6471 min_plus_half.
6472 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6473 * math/auto-libm-test-in: Don't mark some underflows from asin and
6474 atanh as spurious.
6475 * math/auto-libm-test-out: Regenerated.
6476 * sysdeps/i386/fpu/libm-test-ulps: Update.
6477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6478
003e49ed
AS
64792014-03-25 Andreas Schwab <schwab@suse.de>
6480
6481 * libio/Makefile (tst-ftell-partial-wide-ENV)
6482 (tst-ftell-active-handler-ENV): Define.
6483
de031874
SL
64842014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6485
6486 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6487
55a81e3b
PP
64882014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6489
6490 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6491
f3426898
JM
64922014-03-24 Joseph Myers <joseph@codesourcery.com>
6493
6494 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6495 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6496 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6497
a42faf59
PP
64982014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6499
6500 [BZ #16634]
a42faf59 6501 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6502 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6503 (open_path): Change from boolean 'secure' to complete flag 'mode'
6504 (_dl_map_object): Adjust.
a42faf59
PP
6505 * elf/Makefile (tests): Add tst-dlopen-aout.
6506 * elf/tst-dlopen-aout.c: New test.
6507
50936127
SL
65082014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6509
6510 [BZ #16714]
6511 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6512 (struct stat): Rename member pad0 to __glibc_reserved0.
6513
26011b5c
SL
6514 [BZ #16712]
6515 * sysdeps/s390/s390-32/bits/wordsize.h
6516 (__WORDSIZE32_SIZE_ULONG): New define.
6517 * sysdeps/s390/s390-64/bits/wordsize.h
6518 (__WORDSIZE32_SIZE_ULONG): Likewise.
6519 * sysdeps/generic/stdint.h (SIZE_MAX):
6520 Define as UL if __WORDSIZE32_SIZE_ULONG.
6521
a2d86bf1
SL
6522 [BZ #16713]
6523 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6524 (__glibc_reserved0): New variable.
6525 (sa_flags): Change type to int.
6526
78b6eebc
SL
6527 * posix/Makefile (before-compile): Use += before-compile instead
6528 of a :=.
6529
f1399b5a
SL
6530 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6531 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6532
a071766e
AS
65332014-03-20 Andreas Schwab <schwab@suse.de>
6534
6535 [BZ #16743]
6536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6537 non-matching result from nscd.
6538
27c673b8
SP
65392014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6540
6541 * scripts/bench.py: Moved to ...
6542 * benchtests/scripts/bench.py: ... here.
6543 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6544
44152e4b
AS
65452014-03-24 Andreas Schwab <schwab@suse.de>
6546
6547 [BZ #16002]
6548 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6549 alloca_account and account alloca use for struct in6ailist.
6550
b376a11a
JM
65512014-03-24 Joseph Myers <joseph@codesourcery.com>
6552
6553 [BZ #16284]
6554 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6555 rounding mode to recompute results that overflow to infinity or
6556 underflow to zero.
6557 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6558 bug 16284.
6559 * math/auto-libm-test-out: Regenerated.
6560 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6561 (ccosh_test): Likewise.
6562 (csin_test_data): Use plus_oflow.
6563 (csin_test): Use ALL_RM_TEST.
6564 (csinh_test_data): Use plus_oflow.
6565 (csinh_test): Use ALL_RM_TEST.
6566 * sysdeps/i386/fpu/libm-test-ulps: Update.
6567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6568
f7be7376
JM
65692014-03-21 Joseph Myers <joseph@codesourcery.com>
6570
1ca2d03e
JM
6571 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6572 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6573 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6574
f7be7376
JM
6575 [BZ #16731]
6576 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6577 when x - 1 is zero.
6578 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6579 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6580 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6581 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6582 argument is 1.
6583 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6584 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6585 zero.
6586 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6587 * sysdeps/i386/fpu/libm-test-ulps: Update.
6588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589
fdf4534d
SP
65902014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6591
df26ea53
SP
6592 * scripts/bench.pl: Remove file.
6593 * scripts/bench.py: New benchmark script.
6594 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6595 * benchtests/README: Mention python dependency.
6596 * scripts/pylintrc: New file.
6597 * scripts/pylint: New file.
6598
fdf4534d
SP
6599 * bits/mathdef.h: Use #ifdef instead of #if.
6600 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6601 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6602 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6603 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6604 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6605 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6606
6f23d093
AZ
66072014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6608 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6609
6610 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6612 and strpbrk-ppc64 objects.
6613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6614 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6615 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6616 multiarch strpbrk for POWER7.
6617 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6618 multiarch strpbrk for PPC64.
6619 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6620 ifunc selector.
6621 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6622 strpbrk for POWER7.
6623
8c92dfff
JM
66242014-03-20 Joseph Myers <joseph@codesourcery.com>
6625
6626 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6627 (atan_test): Likewise.
6628 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6629 (atanh_test): Use ALL_RM_TEST.
6630 (atan2_test_data): Likewise.
6631 (cabs_test): Likewise.
6632 (cacosh_test): Likewise.
6633 (carg_test): Likewise.
6634 (casin_test): Likewise.
6635 (casinh_test): Likewise.
6636 (cbrt_test): Likewise.
6637 (csqrt_test): Likewise.
6638 (erf_test): Likewise.
6639 (erfc_test): Likewise.
6640 (pow10_test): Likewise.
6641 (exp2_test): Likewise.
6642 (hypot_test): Likewise.
6643 (j0_test): Likewise.
6644 (j1_test): Likewise.
6645 (lgamma_test): Likewise.
6646 (gamma_test): Likewise.
6647 (sincos_test): Likewise.
6648 (tanh_test): Likewise.
6649 (y0_test): Likewise.
6650 (y1_test): Likewise.
6651 * sysdeps/i386/fpu/libm-test-ulps: Update.
6652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6653
6eaf95cb
AZ
66542014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6655
a387428c
SP
6656 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6658 and strcspn-ppc64 objects.
6659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6660 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6661 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6662 multiarch strcspn for POWER7.
6663 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6664 multiarch strcspn for PPC64.
6665 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6666 ifunc selector.
6667 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6668 strcspn for POWER7.
6669
ae3a5dff
JM
66702014-03-20 Joseph Myers <joseph@codesourcery.com>
6671
6672 * math/gen-libm-test.pl (generate_testfile): Expect only function
6673 name as argument to AUTO_TESTS_* and pass results for all rounding
6674 modes to parse_args.
6675 (parse_auto_input): Separate inputs of automatic tests from
6676 outputs before storing in %auto_tests.
6677 * math/libm-test.inc (acos_test_data): Update call to
6678 AUTO_TESTS_f_f.
6679 (acos_test): Use ALL_RM_TEST.
6680 (acos_tonearest_test_data): Remove.
6681 (acos_test_tonearest): Likewise.
6682 (acos_towardzero_test_data): Likewise.
6683 (acos_test_towardzero): Likewise.
6684 (acos_downward_test_data): Likewise.
6685 (acos_test_downward): Likewise.
6686 (acos_upward_test_data): Likewise.
6687 (acos_test_upward): Likewise.
6688 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6689 (asin_test_data): Likewise.
6690 (asin_test): Use ALL_RM_TEST.
6691 (asin_tonearest_test_data): Remove.
6692 (asin_test_tonearest): Likewise.
6693 (asin_towardzero_test_data): Likewise.
6694 (asin_test_towardzero): Likewise.
6695 (asin_downward_test_data): Likewise.
6696 (asin_test_downward): Likewise.
6697 (asin_upward_test_data): Likewise.
6698 (asin_test_upward): Likewise.
6699 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6700 (atan_test_data): Likewise.
6701 (atanh_test_data): Likewise.
6702 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6703 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6704 (carg_test_data): Likewise.
6705 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6706 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6707 (ccosh_test_data): Likewise.
6708 (cexp_test_data): Likewise.
6709 (clog_test_data): Likewise.
6710 (clog10_test_data): Likewise.
6711 (cos_test_data): Update call to AUTO_TESTS_f_f.
6712 (cos_test): Use ALL_RM_TEST.
6713 (cos_tonearest_test_data): Remove.
6714 (cos_test_tonearest): Likewise.
6715 (cos_towardzero_test_data): Likewise.
6716 (cos_test_towardzero): Likewise.
6717 (cos_downward_test_data): Likewise.
6718 (cos_test_downward): Likewise.
6719 (cos_upward_test_data): Likewise.
6720 (cos_test_upward): Likewise.
6721 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6722 (cosh_test): Use ALL_RM_TEST.
6723 (cosh_tonearest_test_data): Remove.
6724 (cosh_test_tonearest): Likewise.
6725 (cosh_towardzero_test_data): Likewise.
6726 (cosh_test_towardzero): Likewise.
6727 (cosh_downward_test_data): Likewise.
6728 (cosh_test_downward): Likewise.
6729 (cosh_upward_test_data): Likewise.
6730 (cosh_test_upward): Likewise.
6731 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6732 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6733 (ctan_test_data): Likewise.
6734 (ctan_test): Use ALL_RM_TEST.
6735 (ctan_tonearest_test_data): Remove.
6736 (ctan_test_tonearest): Likewise.
6737 (ctan_towardzero_test_data): Likewise.
6738 (ctan_test_towardzero): Likewise.
6739 (ctan_downward_test_data): Likewise.
6740 (ctan_test_downward): Likewise.
6741 (ctan_upward_test_data): Likewise.
6742 (ctan_test_upward): Likewise.
6743 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6744 (ctanh_test): Use ALL_RM_TEST.
6745 (ctanh_tonearest_test_data): Remove.
6746 (ctanh_test_tonearest): Likewise.
6747 (ctanh_towardzero_test_data): Likewise.
6748 (ctanh_test_towardzero): Likewise.
6749 (ctanh_downward_test_data): Likewise.
6750 (ctanh_test_downward): Likewise.
6751 (ctanh_upward_test_data): Likewise.
6752 (ctanh_test_upward): Likewise.
6753 (erf_test_data): Update call to AUTO_TESTS_f_f.
6754 (erfc_test_data): Likewise.
6755 (exp_test_data): Likewise.
6756 (exp_test): Use ALL_RM_TEST.
6757 (exp_tonearest_test_data): Remove.
6758 (exp_test_tonearest): Likewise.
6759 (exp_towardzero_test_data): Likewise.
6760 (exp_test_towardzero): Likewise.
6761 (exp_downward_test_data): Likewise.
6762 (exp_test_downward): Likewise.
6763 (exp_upward_test_data): Likewise.
6764 (exp_test_upward): Likewise.
6765 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6766 (exp10_test): Use ALL_RM_TEST.
6767 (exp10_tonearest_test_data): Remove.
6768 (exp10_test_tonearest): Likewise.
6769 (exp10_towardzero_test_data): Likewise.
6770 (exp10_test_towardzero): Likewise.
6771 (exp10_downward_test_data): Likewise.
6772 (exp10_test_downward): Likewise.
6773 (exp10_upward_test_data): Likewise.
6774 (exp10_test_upward): Likewise.
6775 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6776 (expm1_test_data): Likewise.
6777 (expm1_test): Use ALL_RM_TEST.
6778 (expm1_tonearest_test_data): Remove.
6779 (expm1_test_tonearest): Likewise.
6780 (expm1_towardzero_test_data): Likewise.
6781 (expm1_test_towardzero): Likewise.
6782 (expm1_downward_test_data): Likewise.
6783 (expm1_test_downward): Likewise.
6784 (expm1_upward_test_data): Likewise.
6785 (expm1_test_upward): Likewise.
6786 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6787 (fma_test): Use ALL_RM_TEST.
6788 (fma_towardzero_test_data): Remove.
6789 (fma_test_towardzero): Likewise.
6790 (fma_downward_test_data): Likewise.
6791 (fma_test_downward): Likewise.
6792 (fma_upward_test_data): Likewise.
6793 (fma_test_upward): Likewise.
6794 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6795 (j0_test_data): Update call to AUTO_TESTS_f_f.
6796 (j1_test_data): Likewise.
6797 (jn_test_data): Update call to AUTO_TESTS_if_f.
6798 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6799 (log_test_data): Update call to AUTO_TESTS_f_f.
6800 (log10_test_data): Likewise.
6801 (log1p_test_data): Likewise.
6802 (log2_test_data): Likewise.
6803 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6804 (pow_tonearest_test_data): Likewise.
6805 (sin_test_data): Update call to AUTO_TESTS_f_f.
6806 (sin_test): Use ALL_RM_TEST.
6807 (sin_tonearest_test_data): Remove.
6808 (sin_test_tonearest): Likewise.
6809 (sin_towardzero_test_data): Likewise.
6810 (sin_test_towardzero): Likewise.
6811 (sin_downward_test_data): Likewise.
6812 (sin_test_downward): Likewise.
6813 (sin_upward_test_data): Likewise.
6814 (sin_test_upward): Likewise.
6815 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6816 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6817 (sinh_test): Use ALL_RM_TEST.
6818 (sinh_tonearest_test_data): Remove.
6819 (sinh_test_tonearest): Likewise.
6820 (sinh_towardzero_test_data): Likewise.
6821 (sinh_test_towardzero): Likewise.
6822 (sinh_downward_test_data): Likewise.
6823 (sinh_test_downward): Likewise.
6824 (sinh_upward_test_data): Likewise.
6825 (sinh_test_upward): Likewise.
6826 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6827 (sqrt_test): Use ALL_RM_TEST.
6828 (sqrt_tonearest_test_data): Remove.
6829 (sqrt_test_tonearest): Likewise.
6830 (sqrt_towardzero_test_data): Likewise.
6831 (sqrt_test_towardzero): Likewise.
6832 (sqrt_downward_test_data): Likewise.
6833 (sqrt_test_downward): Likewise.
6834 (sqrt_upward_test_data): Likewise.
6835 (sqrt_test_upward): Likewise.
6836 (tan_test_data): Update call to AUTO_TESTS_f_f.
6837 (tan_test): Use ALL_RM_TEST.
6838 (tan_tonearest_test_data): Remove.
6839 (tan_test_tonearest): Likewise.
6840 (tan_towardzero_test_data): Likewise.
6841 (tan_test_towardzero): Likewise.
6842 (tan_downward_test_data): Likewise.
6843 (tan_test_downward): Likewise.
6844 (tan_upward_test_data): Likewise.
6845 (tan_test_upward): Likewise.
6846 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6847 (tgamma_test_data): Likewise.
6848 (y0_test_data): Likewise.
6849 (y1_test_data): Likewise.
6850 (yn_test_data): Update call to AUTO_TESTS_if_f.
6851 (main): Do not call removed functions.
6852
d71aeee8
JM
68532014-03-19 Joseph Myers <joseph@codesourcery.com>
6854
6855 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6856 (ldexp_test_data): Remove.
6857 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6858 scalbn_test_data.
6859 (scalb_test): Use ALL_RM_TEST.
6860
baaf1ded
AS
68612014-03-19 Andreas Schwab <schwab@suse.de>
6862
6863 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6864
b1115e91
JM
68652014-03-19 Joseph Myers <joseph@codesourcery.com>
6866
6867 [BZ #16649]
6868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6869 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6870 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6871 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6872 (__ASSUME_PREADV): Undefine.
6873 (__ASSUME_PWRITEV): Likewise.
6874
0283ecca
RM
68752014-03-18 Roland McGrath <roland@hack.frob.com>
6876
7d375303
RM
6877 * bits/mman-linux.h: Add comment about non-Linux use.
6878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6879 bits/mman-linux.h resting place.
6880
0283ecca
RM
6881 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6882 * bits/mman-linux.h: ... here.
6883
aebe1003
AZ
68842014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6885
6886 * conform/conformtest.pl: Add standard definition when calling C
6887 preprocessor on data files.
6888 (checknamespace): Remove unused variable.
6889
b29b6bb8
JM
68902014-03-18 Joseph Myers <joseph@codesourcery.com>
6891
6892 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6893 minus_oflow, plus_uflow and minus_uflow in expected results.
6894 * math/libm-test.inc (scalbn_test_data): Add more tests of
6895 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6896 minus_uflow.
6897 (scalbn_test): Use ALL_RM_TEST.
6898 (scalbln_test_data): Add more tests of negative arguments. Use
6899 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6900 (scalbln_test): Use ALL_RM_TEST.
6901
c8f8fa15
RM
69022014-03-18 Roland McGrath <roland@hack.frob.com>
6903
6904 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6905
fede7a5f
WN
69062014-03-18 Will Newton <will.newton@linaro.org>
6907
6908 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6909 inaccurate comment.
6910
80cf0a58
JM
69112014-03-18 Joseph Myers <joseph@codesourcery.com>
6912
6913 * Makerules [!subdir] (check-abi): Exit with error status if a
6914 test failed.
6915
b3620862
JM
69162014-03-17 Joseph Myers <joseph@codesourcery.com>
6917
6918 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6919 for rint. Include results for all rounding modes.
6920 (nearbyint_test): Use ALL_RM_TEST.
6921 (rint_test_data): Include all tests used for nearbyint.
6922
788bba36
WN
69232014-03-17 Will Newton <will.newton@linaro.org>
6924
04ec140a
WN
6925 * nptl/sysdeps/pthread/pthread.h: Revert previous
6926 change.
6927
7579d8d5
WN
6928 * sysdeps/generic/ldsodefs.h: Revert previous
6929 change.
6930
c15cf13a
WN
6931 * libio/genops.c: Revert previous change.
6932 * libio/libioP.h: Likewise.
6933 * stdio-common/vfprintf.c: Likewise.
6934
d0ac1324
WN
6935 * sysdeps/generic/math_private.h: Revert previous
6936 change.
6937
9290130a
WN
6938 * sysdeps/generic/math_private.h: Check whether
6939 HAVE_RM_CTX is defined with #ifdef rather
6940 than #if.
6941
afb466fc
WN
6942 * argp/argp-fmtstream.h: Check whether
6943 __STRICT_ANSI__ is defined with #ifdef rather
6944 than #if.
6945 * argp/argp.h: Likewise.
6946
f7efd7c3
WN
6947 * libio/genops.c: Check whether
6948 _IO_JUMPS_OFFSET is defined with #ifdef rather
6949 than #if.
6950 * libio/libioP.h: Likewise.
6951 * stdio-common/vfprintf.c: Likewise.
6952
53f1bed3
WN
6953 * sysdeps/generic/ldsodefs.h: Check whether
6954 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6955 than #if.
6956
788bba36
WN
6957 * nptl/sysdeps/pthread/pthread.h: Check
6958 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6959 its value.
6960
fcd89ebe
SP
69612014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6962
ae42bbc5
SP
6963 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6964 setting O_APPEND.
6965 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6966 test case.
6967
ea33158c
SP
6968 [BZ #16680]
6969 * libio/fileops.c (_IO_file_open): Seek to end of file but
6970 don't cache the offset.
6971 (get_file_offset): Remove function.
6972 (do_ftell): Use cached offset when available.
6973 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6974 don't cache the offset.
6975 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6976 case.
6977 (do_one_test): Call it.
6978 (do_ftell_test): Fix up expected old offset for a+ mode.
6979 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6980 available.
6981
b1dbb426
SP
6982 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6983 up test status with function return status.
6984 (do_write_test): Likewise.
6985 (do_append_test): Likewise.
6986
fcd89ebe
SP
6987 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6988 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6989 Remove.
6990
9962a2d3
JM
69912014-03-17 Joseph Myers <joseph@codesourcery.com>
6992
6993 * math/gen-libm-test.pl (parse_args): Handle results specified for
6994 each rounding mode separately.
6995 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6996 tests and results from lrint_tonearest_test_data,
6997 lrint_towardzero_test_data, lrint_downward_test_data and
6998 lrint_upward_test_data.
6999 (lrint_test): Use ALL_RM_TEST.
7000 (lrint_tonearest_test_data): Remove.
7001 (lrint_test_tonearest): Likewise.
7002 (lrint_towardzero_test_data): Likewise.
7003 (lrint_test_towardzero): Likewise.
7004 (lrint_downward_test_data): Likewise.
7005 (lrint_test_downward): Likewise.
7006 (lrint_upward_test_data): Likewise.
7007 (lrint_test_upward): Likewise.
7008 (llrint_test_data): Merge in per-rounding-mode tests and results
7009 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7010 llrint_downward_test_data and llrint_upward_test_data.
7011 (llrint_test): Use ALL_RM_TEST.
7012 (llrint_tonearest_test_data): Remove.
7013 (llrint_test_tonearest): Likewise.
7014 (llrint_towardzero_test_data): Likewise.
7015 (llrint_test_towardzero): Likewise.
7016 (llrint_downward_test_data): Likewise.
7017 (llrint_test_downward): Likewise.
7018 (llrint_upward_test_data): Likewise.
7019 (llrint_test_upward): Likewise.
7020 (rint_test_data): Merge in per-rounding-mode tests and results
7021 from rint_tonearest_test_data, rint_towardzero_test_data,
7022 rint_downward_test_data and rint_upward_test_data. Add
7023 per-rounding-mode results for tests not in those arrays.
7024 (rint_test): Use ALL_RM_TEST.
7025 (rint_tonearest_test_data): Remove.
7026 (rint_test_tonearest): Likewise.
7027 (rint_towardzero_test_data): Likewise.
7028 (rint_test_towardzero): Likewise.
7029 (rint_downward_test_data): Likewise.
7030 (rint_test_downward): Likewise.
7031 (rint_upward_test_data): Likewise.
7032 (rint_test_upward): Likewise.
7033 (main): Don't call removed functions.
7034
5006148e
RM
70352014-03-14 Roland McGrath <roland@hack.frob.com>
7036
7037 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7038 "Compiled on ..." crapola. It is anti-useful.
7039
d6fe5e58
JM
70402014-03-14 Joseph Myers <joseph@codesourcery.com>
7041
7042 * scripts/evaluate-test.sh: Handle fourth argument to determine
7043 whether test run should stop on failure.
7044 * Makeconfig (stop-on-test-failure): New variable.
7045 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7046 $(stop-on-test-failure).
7047 * Makefile (tests): Give a summary of results from testing and
7048 exit with failure status if they include an ERROR or FAIL.
7049 (xtests): Likewise.
7050 * manual/install.texi (Configuring and compiling): Mention
7051 stop-on-test-failure=y.
7052 * INSTALL: Regenerated.
7053
498a2233
RM
70542014-03-14 Roland McGrath <roland@hack.frob.com>
7055
22dbc19d
RM
7056 * scripts/versionlist.awk: New file.
7057 * Makerules [$(build-shared) = yes]
7058 (postclean-generated): Add Versions.def, not Versions.def.v and
7059 Versions.def.v.i.
7060 ($(common-objpfx)Versions.def.v.i): Target removed.
7061 ($(common-objpfx)Versions.def): New target.
7062 ($(common-objpfx)Versions.all): Depend on that rather that
7063 $(common-objpfx)Versions.def.v.
7064 * Versions.def: File removed.
7065
498a2233
RM
7066 * Makeconfig (+gccwarn): Add -Wundef.
7067 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7068 a dl-sysdep.h breaking its contract.
7069 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7070 * include/stackinfo.h: New file.
7071 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7072 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7073 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7074 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7075 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7076 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7077 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7078 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7079 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7080 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7081 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7082 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7083 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7084 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7085 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7086
c7de5025
AZ
70872014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088
7089 [BZ #16707]
7090 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7091 implementation.
7092 * math/libm-test.inc (round_test_data): Add more tests.
7093
98fb27a3
AZ
7094 [BZ #16706]
7095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7096 implementation.
7097 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7098
374f7f61
AZ
7099 [BZ #16701]
7100 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7101 implementation.
7102 * math/libm-test.inc (ceil_test_data): Add more tests.
7103
4655c291
AZ
7104 * math/libm-test.inc (trunc_test_data): Add more tests related to
7105 BZ#16414.
7106
d7329d4b
RM
71072014-03-14 Roland McGrath <roland@hack.frob.com>
7108
7109 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7110 with #if rather than #ifdef.
7111 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7112
aa4de9ce
L
71132014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7114
7115 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7116 first. Disable AVX-512 GCC support if assembler doesn't support
7117 it.
7118 * sysdeps/x86_64/configure: Regenerated.
7119
2e03fae7
CD
71202014-03-13 Carlos O'Donell <carlos@redhat.com>
7121
7122 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7123 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7124 (__old_pthread_attr_setstack): Likewise.
7125 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7126 [!_STACK_GROWS_DOWN]: Likewise.
7127
43ca83ec
MF
71282014-03-13 Mike Frysinger <vapier@gentoo.org>
7129
7130 * config.make.in (have-bash2): Delete.
7131 * configure.ac (libc_cv_have_bash2): Delete.
7132 * configure: Regenerate.
7133 * elf/Makefile (common-ldd-rewrite): Rename to ...
7134 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7135 (sh-ldd-rewrite): Delete.
7136 (bash-ldd-rewrite): Delete.
7137 (have-bash2): Delete checks.
57f41c40
AS
7138 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7139 ldd-rewrite.
c66e48b4
MF
7140
7141 * config.make.in (have-ksh): Delete.
7142 (KSH): Delete.
7143 * configure.ac (libc_cv_have_ksh): Delete.
7144 * configure: Regenerate.
7145
b93834ef
MF
7146 * elf/Makefile: Delete $(have-ksh) check.
7147 ($(objpfx)sotruss): Change KSH to BASH.
7148 * elf/sotruss.ksh: Rename to ...
7149 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7150 function style to match POSIX. Drop ksh vim mode setting.
7151
f3a4632a
MF
7152 * manual/time.texi (Specifying the Time Zone with TZ): Change
7153 Tuesday to Thursday.
7154
5896c8bd
MF
7155 * debug/tst-longjmp_chk2.c: Update header comment.
7156 (stackoverflow_handler): Add comment. Call assert on pass value.
7157
2d63a517
IZ
71582014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7159
7160 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7161 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7162 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7163 (La_x86_64_vector): Add zmm.
7164 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7165 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7166 ($(objpfx)tst-audit10): New target.
7167 ($(objpfx)tst-audit10.out): Likewise.
7168 (tst-audit10-ENV): New.
7169 (AVX512-CFLAGS): Likewise.
7170 (CFLAGS-tst-audit10.c): Likewise.
7171 (CFLAGS-tst-auditmod10a.c): Likewise.
7172 (CFLAGS-tst-auditmod10b.c): Likewise.
7173 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7174 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7175 * sysdeps/x86_64/configure: Regenerated.
7176 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7177 AVX-512 zmm register support.
7178 (_dl_x86_64_save_sse): Likewise.
7179 (_dl_x86_64_restore_sse): Likewise.
7180 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7181 size vector registers.
7182 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7183 (ZMM_SIZE): Likewise.
7184 * sysdeps/x86_64/tst-audit10.c: New file.
7185 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7186 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7187
44c4e5d5
RM
71882014-03-13 Roland McGrath <roland@hack.frob.com>
7189
7190 * configure.ac (HAVE_EHDR_START): New check.
7191 * configure: Regenerated.
7192 * config.h.in (HAVE_EHDR_START): New #undef.
7193 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7194 assuming the lowest-addressed segment maps the start of the file.
7195
acd6e389
JM
71962014-03-13 Joseph Myers <joseph@codesourcery.com>
7197
7198 * INSTALL: Regenerated.
7199
6f918f36
WN
72002014-03-13 Will Newton <will.newton@linaro.org>
7201
7202 * manual/setjmp.texi (System V contexts): Improve
7203 clarity and grammar of documentation.
7204
798212a0
PP
72052014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7206
7207 [BZ #16381]
798212a0 7208 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7209 (tests-pie): Add tst-pie2.
798212a0
PP
7210 * elf/tst-pie2.c: New file.
7211 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7212 for ET_EXEC.
7213 * elf/rtld.c (map_doit): Load executable as lt_executable.
7214 (dl_main): Likewise.
7215
abe6d90c
JM
72162014-03-12 Joseph Myers <joseph@codesourcery.com>
7217
7218 [BZ #16642]
7219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7220 (__ASSUME_PSELECT): Undefine.
7221
dd3946c6
AZ
72222014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7223
7224 [BZ #16689]
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7226 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7227 static build.
7228 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7229 selector for static builds.
7230
c44496df
SP
72312014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7232
7233 [BZ #16695]
7234 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7235 key in the buffer.
7236
27c7220a
AZ
72372014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7238
57f41c40
AS
7239 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7240 IFUNC selector for static builds.
27c7220a 7241
600fa361
JM
72422014-03-11 Joseph Myers <joseph@codesourcery.com>
7243
76c96cf7
JM
7244 * sysdeps/mips/math_private.h [__mips_hard_float]
7245 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7246 libc_feresetround_mips_ctx.
7247 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7248 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7249 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7250
600fa361
JM
7251 [BZ #16677]
7252 * math/s_nextafter.c (__nextafter): Do not return value from
7253 overflowing computation.
7254 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7255 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7256 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7257 Likewise.
7258 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7259 Likewise.
7260 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7261 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7262
d7706c32
RM
72632014-03-11 Roland McGrath <roland@hack.frob.com>
7264
7265 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7266 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7267 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7268 the new mov targetting sp.
7269
4facea47
AZ
72702014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7271
7272 [BZ #16683]
7273 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7274 Define it for static builds as well.
7275 (NO_BZERO_IMPL): Likewise.
7276
e65caf1f
VR
72772014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7278
7279 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7280 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7281 multiarch strspn for PPC64.
7282 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7283 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7285 (__libc_ifunc_impl_list): Likewise.
7286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7287 multiarch optimizations
7288 * string/strspn.c (strspn): Using macro to redefine symbol name.
7289
ba9cc071
AZ
72902014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7291 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7292
7293 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7294 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7295 multiarch strncat for PPC64.
7296 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7297 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7299 (__libc_ifunc_impl_list): Likewise.
7300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7301 multiarch optimizations
7302
8b4ff974
SP
73032014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7304
7305 [BZ #16639]
7306 * nscd/nscd.service: Make service type forking.
7307
54b46a4b
AZ
73082014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7309
7310 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7311 sign in non default rounding modes.
7312 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7313
e9996ef7
JM
73142014-03-08 Joseph Myers <joseph@codesourcery.com>
7315
7316 * math/libm-test.inc (ALL_RM_TEST): New macro.
7317 (ceil_test): Use ALL_RM_TEST.
7318 (cimag_test): Likewise.
7319 (conj_test): Likewise.
7320 (copysign_test): Likewise.
7321 (cproj_test): Likewise.
7322 (creal_test): Likewise.
7323 (fabs_test): Likewise.
7324 (floor_test): Likewise.
7325 (fmax_test): Likewise.
7326 (fmin_test): Likewise.
7327 (fmod_test): Likewise.
7328 (fpclassify_test): Likewise.
7329 (frexp_test): Likewise.
7330 (ilogb_test): Likewise.
7331 (isfinite_test): Likewise.
7332 (finite_test): Likewise.
7333 (isgreater_test): Likewise.
7334 (isgreaterequal_test): Likewise.
7335 (isinf_test): Likewise.
7336 (isless_test): Likewise.
7337 (islessequal_test): Likewise.
7338 (islessgreater_test): Likewise.
7339 (isnan_test): Likewise.
7340 (isnormal_test): Likewise.
7341 (issignaling_test): Likewise.
7342 (isunordered_test): Likewise.
7343 (logb_test): Likewise.
7344 (logb_downward_test_data): Remove.
7345 (logb_test_downward): Likewise.
7346 (lround_test): Use ALL_RM_TEST.
7347 (llround_test): Likewise.
7348 (modf_test): Likewise.
7349 (nexttoward_test): Likewise.
7350 (remainder_test): Likewise.
7351 (drem_test): Likewise.
7352 (remainder_tonearest_test_data): Likewise.
7353 (remainder_test_tonearest): Likewise.
7354 (drem_test_tonearest): Likewise.
7355 (remainder_towardzero_test_data): Likewise.
7356 (remainder_test_towardzero): Likewise.
7357 (drem_test_towardzero): Likewise.
7358 (remainder_downward_test_data): Likewise.
7359 (remainder_test_downward): Likewise.
7360 (drem_test_downward): Likewise.
7361 (remainder_upward_test_data): Likewise.
7362 (remainder_test_upward): Likewise.
7363 (drem_test_upward): Likewise.
7364 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7365 (round_test): Use ALL_RM_TEST.
7366 (signbit_test): Likewise.
7367 (trunc_test): Likewise.
7368 (significand_test): Likewise.
7369 (main): Don't call removed functions.
7370
bc61d27c
JM
73712014-03-07 Joseph Myers <joseph@codesourcery.com>
7372
5c780849
JM
7373 [BZ #16674]
7374 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7375 || __USE_XOPEN2K8].
7376 (ILL_ILLOPN): Likewise.
7377 (ILL_ILLADR): Likewise.
7378 (ILL_ILLTRP): Likewise.
7379 (ILL_PRVOPC): Likewise.
7380 (ILL_PRVREG): Likewise.
7381 (ILL_COPROC): Likewise.
7382 (ILL_BADSTK): Likewise.
7383 (FPE_INTDIV): Likewise.
7384 (FPE_INTOVF): Likewise.
7385 (FPE_FLTDIV): Likewise.
7386 (FPE_FLTOVF): Likewise.
7387 (FPE_FLTUND): Likewise.
7388 (FPE_FLTRES): Likewise.
7389 (FPE_FLTINV): Likewise.
7390 (FPE_FLTSUB): Likewise.
7391 (SEGV_MAPERR): Likewise.
7392 (SEGV_ACCERR): Likewise.
7393 (BUS_ADRALN): Likewise.
7394 (BUS_ADRERR): Likewise.
7395 (BUS_OBJERR): Likewise.
7396 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7397 (TRAP_TRACE): Likewise.
7398 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7399 __USE_XOPEN2K8].
7400 (CLD_KILLED): Likewise.
7401 (CLD_DUMPED): Likewise.
7402 (CLD_TRAPPED): Likewise.
7403 (CLD_STOPPED): Likewise.
7404 (CLD_CONTINUED): Likewise.
7405 (POLL_IN): Likewise.
7406 (POLL_OUT): Likewise.
7407 (POLL_MSG): Likewise.
7408 (POLL_ERR): Likewise.
7409 (POLL_PRI): Likewise.
7410 (POLL_HUP): Likewise.
7411 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7412 Likewise.
7413 (ILL_ILLOPN): Likewise.
7414 (ILL_ILLADR): Likewise.
7415 (ILL_ILLTRP): Likewise.
7416 (ILL_PRVOPC): Likewise.
7417 (ILL_PRVREG): Likewise.
7418 (ILL_COPROC): Likewise.
7419 (ILL_BADSTK): Likewise.
7420 (FPE_INTDIV): Likewise.
7421 (FPE_INTOVF): Likewise.
7422 (FPE_FLTDIV): Likewise.
7423 (FPE_FLTOVF): Likewise.
7424 (FPE_FLTUND): Likewise.
7425 (FPE_FLTRES): Likewise.
7426 (FPE_FLTINV): Likewise.
7427 (FPE_FLTSUB): Likewise.
7428 (SEGV_MAPERR): Likewise.
7429 (SEGV_ACCERR): Likewise.
7430 (BUS_ADRALN): Likewise.
7431 (BUS_ADRERR): Likewise.
7432 (BUS_OBJERR): Likewise.
7433 (BUS_MCEERR_AR): Likewise.
7434 (BUS_MCEERR_AO): Likewise.
7435 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7436 (TRAP_TRACE): Likewise.
7437 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7438 __USE_XOPEN2K8].
7439 (CLD_KILLED): Likewise.
7440 (CLD_DUMPED): Likewise.
7441 (CLD_TRAPPED): Likewise.
7442 (CLD_STOPPED): Likewise.
7443 (CLD_CONTINUED): Likewise.
7444 (POLL_IN): Likewise.
7445 (POLL_OUT): Likewise.
7446 (POLL_MSG): Likewise.
7447 (POLL_ERR): Likewise.
7448 (POLL_PRI): Likewise.
7449 (POLL_HUP): Likewise.
7450 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7451 (ILL_ILLOPN): Likewise.
7452 (ILL_ILLADR): Likewise.
7453 (ILL_ILLTRP): Likewise.
7454 (ILL_PRVOPC): Likewise.
7455 (ILL_PRVREG): Likewise.
7456 (ILL_COPROC): Likewise.
7457 (ILL_BADSTK): Likewise.
7458 (FPE_INTDIV): Likewise.
7459 (FPE_INTOVF): Likewise.
7460 (FPE_FLTDIV): Likewise.
7461 (FPE_FLTOVF): Likewise.
7462 (FPE_FLTUND): Likewise.
7463 (FPE_FLTRES): Likewise.
7464 (FPE_FLTINV): Likewise.
7465 (FPE_FLTSUB): Likewise.
7466 (SEGV_MAPERR): Likewise.
7467 (SEGV_ACCERR): Likewise.
7468 (BUS_ADRALN): Likewise.
7469 (BUS_ADRERR): Likewise.
7470 (BUS_OBJERR): Likewise.
7471 (BUS_MCEERR_AR): Likewise.
7472 (BUS_MCEERR_AO): Likewise.
7473 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7474 (TRAP_TRACE): Likewise.
7475 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7476 __USE_XOPEN2K8].
7477 (CLD_KILLED): Likewise.
7478 (CLD_DUMPED): Likewise.
7479 (CLD_TRAPPED): Likewise.
7480 (CLD_STOPPED): Likewise.
7481 (CLD_CONTINUED): Likewise.
7482 (POLL_IN): Likewise.
7483 (POLL_OUT): Likewise.
7484 (POLL_MSG): Likewise.
7485 (POLL_ERR): Likewise.
7486 (POLL_PRI): Likewise.
7487 (POLL_HUP): Likewise.
7488 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7489 Likewise.
7490 (ILL_ILLOPN): Likewise.
7491 (ILL_ILLADR): Likewise.
7492 (ILL_ILLTRP): Likewise.
7493 (ILL_PRVOPC): Likewise.
7494 (ILL_PRVREG): Likewise.
7495 (ILL_COPROC): Likewise.
7496 (ILL_BADSTK): Likewise.
7497 (ILL_BADIADDR): Likewise.
7498 (ILL_BREAK): Likewise.
7499 (FPE_INTDIV): Likewise.
7500 (FPE_INTOVF): Likewise.
7501 (FPE_FLTDIV): Likewise.
7502 (FPE_FLTOVF): Likewise.
7503 (FPE_FLTUND): Likewise.
7504 (FPE_FLTRES): Likewise.
7505 (FPE_FLTINV): Likewise.
7506 (FPE_FLTSUB): Likewise.
7507 (FPE_DECOVF): Likewise.
7508 (FPE_DECDIV): Likewise.
7509 (FPE_DECERR): Likewise.
7510 (FPE_INVASC): Likewise.
7511 (FPE_INVDEC): Likewise.
7512 (SEGV_MAPERR): Likewise.
7513 (SEGV_ACCERR): Likewise.
7514 (SEGV_PSTKOVF): Likewise.
7515 (BUS_ADRALN): Likewise.
7516 (BUS_ADRERR): Likewise.
7517 (BUS_OBJERR): Likewise.
7518 (BUS_MCEERR_AR): Likewise.
7519 (BUS_MCEERR_AO): Likewise.
7520 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7521 (TRAP_TRACE): Likewise.
7522 (TRAP_BRANCH): Likewise.
7523 (TRAP_HWBKPT): Likewise.
7524 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7525 __USE_XOPEN2K8].
7526 (CLD_KILLED): Likewise.
7527 (CLD_DUMPED): Likewise.
7528 (CLD_TRAPPED): Likewise.
7529 (CLD_STOPPED): Likewise.
7530 (CLD_CONTINUED): Likewise.
7531 (POLL_IN): Likewise.
7532 (POLL_OUT): Likewise.
7533 (POLL_MSG): Likewise.
7534 (POLL_ERR): Likewise.
7535 (POLL_PRI): Likewise.
7536 (POLL_HUP): Likewise.
7537 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7538 (ILL_ILLOPN): Likewise.
7539 (ILL_ILLADR): Likewise.
7540 (ILL_ILLTRP): Likewise.
7541 (ILL_PRVOPC): Likewise.
7542 (ILL_PRVREG): Likewise.
7543 (ILL_COPROC): Likewise.
7544 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
7554 (SEGV_ACCERR): Likewise.
7555 (BUS_ADRALN): Likewise.
7556 (BUS_ADRERR): Likewise.
7557 (BUS_OBJERR): Likewise.
7558 (BUS_MCEERR_AR): Likewise.
7559 (BUS_MCEERR_AO): Likewise.
7560 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7561 (TRAP_TRACE): Likewise.
7562 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7563 __USE_XOPEN2K8].
7564 (CLD_KILLED): Likewise.
7565 (CLD_DUMPED): Likewise.
7566 (CLD_TRAPPED): Likewise.
7567 (CLD_STOPPED): Likewise.
7568 (CLD_CONTINUED): Likewise.
7569 (POLL_IN): Likewise.
7570 (POLL_OUT): Likewise.
7571 (POLL_MSG): Likewise.
7572 (POLL_ERR): Likewise.
7573 (POLL_PRI): Likewise.
7574 (POLL_HUP): Likewise.
7575 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7576 (ILL_ILLOPN): Likewise.
7577 (ILL_ILLADR): Likewise.
7578 (ILL_ILLTRP): Likewise.
7579 (ILL_PRVOPC): Likewise.
7580 (ILL_PRVREG): Likewise.
7581 (ILL_COPROC): Likewise.
7582 (ILL_BADSTK): Likewise.
7583 (FPE_INTDIV): Likewise.
7584 (FPE_INTOVF): Likewise.
7585 (FPE_FLTDIV): Likewise.
7586 (FPE_FLTOVF): Likewise.
7587 (FPE_FLTUND): Likewise.
7588 (FPE_FLTRES): Likewise.
7589 (FPE_FLTINV): Likewise.
7590 (FPE_FLTSUB): Likewise.
7591 (SEGV_MAPERR): Likewise.
7592 (SEGV_ACCERR): Likewise.
7593 (BUS_ADRALN): Likewise.
7594 (BUS_ADRERR): Likewise.
7595 (BUS_OBJERR): Likewise.
7596 (BUS_MCEERR_AR): Likewise.
7597 (BUS_MCEERR_AO): Likewise.
7598 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7599 (TRAP_TRACE): Likewise.
7600 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7601 __USE_XOPEN2K8].
7602 (CLD_KILLED): Likewise.
7603 (CLD_DUMPED): Likewise.
7604 (CLD_TRAPPED): Likewise.
7605 (CLD_STOPPED): Likewise.
7606 (CLD_CONTINUED): Likewise.
7607 (POLL_IN): Likewise.
7608 (POLL_OUT): Likewise.
7609 (POLL_MSG): Likewise.
7610 (POLL_ERR): Likewise.
7611 (POLL_PRI): Likewise.
7612 (POLL_HUP): Likewise.
7613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7614 (ILL_ILLOPN): Likewise.
7615 (ILL_ILLADR): Likewise.
7616 (ILL_ILLTRP): Likewise.
7617 (ILL_PRVOPC): Likewise.
7618 (ILL_PRVREG): Likewise.
7619 (ILL_COPROC): Likewise.
7620 (ILL_BADSTK): Likewise.
7621 (FPE_INTDIV): Likewise.
7622 (FPE_INTOVF): Likewise.
7623 (FPE_FLTDIV): Likewise.
7624 (FPE_FLTOVF): Likewise.
7625 (FPE_FLTUND): Likewise.
7626 (FPE_FLTRES): Likewise.
7627 (FPE_FLTINV): Likewise.
7628 (FPE_FLTSUB): Likewise.
7629 (SEGV_MAPERR): Likewise.
7630 (SEGV_ACCERR): Likewise.
7631 (BUS_ADRALN): Likewise.
7632 (BUS_ADRERR): Likewise.
7633 (BUS_OBJERR): Likewise.
7634 (BUS_MCEERR_AR): Likewise.
7635 (BUS_MCEERR_AO): Likewise.
7636 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7637 (TRAP_TRACE): Likewise.
7638 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7639 __USE_XOPEN2K8].
7640 (CLD_KILLED): Likewise.
7641 (CLD_DUMPED): Likewise.
7642 (CLD_TRAPPED): Likewise.
7643 (CLD_STOPPED): Likewise.
7644 (CLD_CONTINUED): Likewise.
7645 (POLL_IN): Likewise.
7646 (POLL_OUT): Likewise.
7647 (POLL_MSG): Likewise.
7648 (POLL_ERR): Likewise.
7649 (POLL_PRI): Likewise.
7650 (POLL_HUP): Likewise.
7651 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7652 (ILL_ILLOPN): Likewise.
7653 (ILL_ILLADR): Likewise.
7654 (ILL_ILLTRP): Likewise.
7655 (ILL_PRVOPC): Likewise.
7656 (ILL_PRVREG): Likewise.
7657 (ILL_COPROC): Likewise.
7658 (ILL_BADSTK): Likewise.
7659 (ILL_DBLFLT): Likewise.
7660 (ILL_HARDWALL): Likewise.
7661 (FPE_INTDIV): Likewise.
7662 (FPE_INTOVF): Likewise.
7663 (FPE_FLTDIV): Likewise.
7664 (FPE_FLTOVF): Likewise.
7665 (FPE_FLTUND): Likewise.
7666 (FPE_FLTRES): Likewise.
7667 (FPE_FLTINV): Likewise.
7668 (FPE_FLTSUB): Likewise.
7669 (SEGV_MAPERR): Likewise.
7670 (SEGV_ACCERR): Likewise.
7671 (BUS_ADRALN): Likewise.
7672 (BUS_ADRERR): Likewise.
7673 (BUS_OBJERR): Likewise.
7674 (BUS_MCEERR_AR): Likewise.
7675 (BUS_MCEERR_AO): Likewise.
7676 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7677 (TRAP_TRACE): Likewise.
7678 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7679 __USE_XOPEN2K8].
7680 (CLD_KILLED): Likewise.
7681 (CLD_DUMPED): Likewise.
7682 (CLD_TRAPPED): Likewise.
7683 (CLD_STOPPED): Likewise.
7684 (CLD_CONTINUED): Likewise.
7685 (POLL_IN): Likewise.
7686 (POLL_OUT): Likewise.
7687 (POLL_MSG): Likewise.
7688 (POLL_ERR): Likewise.
7689 (POLL_PRI): Likewise.
7690 (POLL_HUP): Likewise.
7691 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7692 (ILL_ILLOPN): Likewise.
7693 (ILL_ILLADR): Likewise.
7694 (ILL_ILLTRP): Likewise.
7695 (ILL_PRVOPC): Likewise.
7696 (ILL_PRVREG): Likewise.
7697 (ILL_COPROC): Likewise.
7698 (ILL_BADSTK): Likewise.
7699 (FPE_INTDIV): Likewise.
7700 (FPE_INTOVF): Likewise.
7701 (FPE_FLTDIV): Likewise.
7702 (FPE_FLTOVF): Likewise.
7703 (FPE_FLTUND): Likewise.
7704 (FPE_FLTRES): Likewise.
7705 (FPE_FLTINV): Likewise.
7706 (FPE_FLTSUB): Likewise.
7707 (SEGV_MAPERR): Likewise.
7708 (SEGV_ACCERR): Likewise.
7709 (BUS_ADRALN): Likewise.
7710 (BUS_ADRERR): Likewise.
7711 (BUS_OBJERR): Likewise.
7712 (BUS_MCEERR_AR): Likewise.
7713 (BUS_MCEERR_AO): Likewise.
7714 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7715 (TRAP_TRACE): Likewise.
7716 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7717 __USE_XOPEN2K8].
7718 (CLD_KILLED): Likewise.
7719 (CLD_DUMPED): Likewise.
7720 (CLD_TRAPPED): Likewise.
7721 (CLD_STOPPED): Likewise.
7722 (CLD_CONTINUED): Likewise.
7723 (POLL_IN): Likewise.
7724 (POLL_OUT): Likewise.
7725 (POLL_MSG): Likewise.
7726 (POLL_ERR): Likewise.
7727 (POLL_PRI): Likewise.
7728 (POLL_HUP): Likewise.
7729 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7730 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7731
bc61d27c
JM
7732 [BZ #16670]
7733 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7734 before #include of <time.h>.
7735 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7736 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7737 (test-xfail-UNIX98/sched.h/conform): Likewise.
7738
302949e2
MS
77392014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7740
7741 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7742 error absence of trapping exception support.
7743 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7744
a00f522a
JM
77452014-03-07 Joseph Myers <joseph@codesourcery.com>
7746
6f99f280
JM
7747 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7748 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7749 * timezone/Makefile (testdata): Move definition above include of
7750 Rules.
7751 (test-zones): New variable.
7752 (tests-special): Add zone files.
7753 (build-testdata): Use $(evaluate-test).
7754
0b20a9e8
JM
7755 * elf/Makefile (tests-special): Rename tests to end with .out.
7756 ($(objpfx)noload-mem): Likewise.
7757 ($(objpfx)tst-leaks1-mem): Likewise.
7758 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7759 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7760 $(objpfx)test-iconvconfig.out.
7761 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7762 set -e inside subshell and redirect output to file.
7763 * iconvdata/Makefile (generated): Rename tests to end with .out.
7764 Correct type.
7765 (tests-special): Rename tests to end with .out.
7766 ($(objpfx)mtrace-tst-loading): Likewise.
7767 * intl/Makefile (generated): Likewise.
7768 (tests-special): Likewise.
7769 ($(objpfx)mtrace-tst-gettext): Likewise.
7770 * misc/Makefile (generated): Likewise.
7771 (tests-special): Likewise.
7772 ($(objpfx)tst-error1-mem): Likewise.
7773 * nptl/Makefile (tests-special): Likewise.
7774 ($(objpfx)tst-stack3-mem): Likewise.
7775 (generated): Likewise.
7776 * posix/Makefile (generated): Likewise.
7777 (tests-special): Likewise.
7778 (xtests-special): Likewise.
7779 ($(objpfx)tst-fnmatch-mem): Likewise.
7780 ($(objpfx)bug-regex2-mem): Likewise.
7781 ($(objpfx)bug-regex14-mem): Likewise.
7782 ($(objpfx)bug-regex21-mem): Likewise.
7783 ($(objpfx)bug-regex31-mem): Likewise.
7784 ($(objpfx)tst-vfork3-mem): Likewise.
7785 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7786 ($(objpfx)tst-pcre-mem): Likewise.
7787 ($(objpfx)tst-boost-mem): Likewise.
7788 ($(objpfx)bug-ga2-mem): Likewise.
7789 ($(objpfx)bug-glob2-mem): Likewise.
7790 * resolv/Makefile (generate): Likewise.
7791 (tests-special): Likewise.
7792 (xtests-special): Likewise.
7793 (generated): Likewise.
7794 ($(objpfx)mtrace-tst-leaks): Likewise.
7795 ($(objpfx)mtrace-tst-leaks2): Likewise.
7796
265d52ab
JM
7797 * scripts/merge-test-results.sh: New file.
7798 * Makefile (tests-special-notdir): New variable.
7799 (tests): Run merge-test-results.sh.
7800 (xtests): Likewise.
7801 * Rules (tests-special-notdir): New variable.
7802 (xtests-special-notdir): Likewise.
7803 (tests): Run merge-test-results.sh
7804 (xtests): Likewise.
7805
54ee292d
JM
7806 * Makeconfig (test-xfail-name): New variable.
7807 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7808 compute variable name for expected failures.
7809 * conform/Makefile (conformtest-headers-data): New variable.
7810 (conformtest-standards): Likewise.
7811 (conformtest-headers-ISO): Likewise.
7812 (conformtest-headers-ISO99): Likewise.
7813 (conformtest-headers-ISO11): Likewise.
7814 (conformtest-headers-POSIX): Likewise.
7815 (conformtest-headers-XPG3): Likewise.
7816 (conformtest-headers-XPG4): Likewise.
7817 (conformtest-headers-UNIX98): Likewise.
7818 (conformtest-headers-XOPEN2K): Likewise.
7819 (conformtest-headers-POSIX2008): Likewise.
7820 (conformtest-headers-XOPEN2K8): Likewise.
7821 (conformtest-header-list-base): Likewise.
7822 (conformtest-header-list-tests): Likewise.
7823 (conformtest-header-base): Likewise.
7824 (conformtest-header-tests): Likewise.
7825 (tests-special): Add $(conformtest-header-list-tests). If
7826 [$(fast-check) && !$(cross-compiling)], add
7827 $(conformtest-header-tests) instead of
7828 $(objpfx)run-conformtest.out.
7829 (generated): Add $(conformtest-header-list-base). If
7830 [$(fast-check) && !$(cross-compiling)], add
7831 $(conformtest-header-base). Remove previous setting.
7832 ($(conformtest-header-list-tests)): New target.
7833 (test-xfail-run-conformtest): Remove variable.
7834 ($(objpfx)run-conformtest.out): Remove target.
7835 (test-xfail-ISO11/complex.h/conform): New variable.
7836 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7837 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7838 (test-xfail-XPG3/varargs.h/conform): Likewise.
7839 (test-xfail-XPG4/varargs.h/conform): Likewise.
7840 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7841 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7842 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7843 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7844 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7845 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7846 (test-xfail-XPG3/ftw.h/conform): Likewise.
7847 (test-xfail-XPG3/grp.h/conform): Likewise.
7848 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7849 (test-xfail-XPG3/limits.h/conform): Likewise.
7850 (test-xfail-XPG3/pwd.h/conform): Likewise.
7851 (test-xfail-XPG3/search.h/conform): Likewise.
7852 (test-xfail-XPG3/signal.h/conform): Likewise.
7853 (test-xfail-XPG3/stdio.h/conform): Likewise.
7854 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7855 (test-xfail-XPG3/string.h/conform): Likewise.
7856 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7857 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7858 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7859 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7860 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7861 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7862 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7863 (test-xfail-XPG3/termios.h/conform): Likewise.
7864 (test-xfail-XPG3/time.h/conform): Likewise.
7865 (test-xfail-XPG3/unistd.h/conform): Likewise.
7866 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7867 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7868 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7869 (test-xfail-XPG4/netdb.h/conform): Likewise.
7870 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7871 (test-xfail-XPG4/signal.h/conform): Likewise.
7872 (test-xfail-XPG4/stdio.h/conform): Likewise.
7873 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7874 (test-xfail-XPG4/stropts.h/conform): Likewise.
7875 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7876 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7877 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7878 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7879 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7880 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7881 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7882 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7883 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7884 (test-xfail-XPG4/termios.h/conform): Likewise.
7885 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7886 (test-xfail-XPG4/unistd.h/conform): Likewise.
7887 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7888 (test-xfail-POSIX/sched.h/conform): Likewise.
7889 (test-xfail-POSIX/signal.h/conform): Likewise.
7890 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7891 (test-xfail-POSIX/tar.h/conform): Likewise.
7892 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7893 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7894 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7895 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7896 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7897 (test-xfail-UNIX98/sched.h/conform): Likewise.
7898 (test-xfail-UNIX98/signal.h/conform): Likewise.
7899 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7900 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7901 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7902 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7903 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7904 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7905 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7906 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7907 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7908 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7909 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7910 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7911 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7912 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7913 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7914 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7915 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7916 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7917 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7918 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7919 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7920 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7921 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7922 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7923 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7924 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7925 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7926 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7927 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7928 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7929 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7930 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7931 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7932 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7933 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7934 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7935 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7936 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7937 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7938 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7939 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7940 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7941 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7942 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7943 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7944 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7945 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7946 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7947 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7948 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7949 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7950 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7951 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7952 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7953 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7954 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7955 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7956 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7957 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7958 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7959 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7960 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7961 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7962 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7963 (conformtest-cc-flags): Likewise.
7964 ($(conformtest-header-tests): New target.
7965 * conform/check-header-lists.sh: New file.
7966 * conform/run-conformtest.sh: Remove.
7967
a00f522a
JM
7968 * conform/conformtest.pl: Allow ' and \ in values given for
7969 constants.
7970 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7971 inclusion.
7972 [POSIX] (sys/types.h): Likewise.
7973 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7974 inclusion.
7975 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7976 inclusion.
7977 * conform/data/signal.h-data (SIGIO): Remove expectation.
7978 [XPG3] (SIGBUS): Do not expect.
7979 [POSIX || XPG3] (SIGPOLL): Likewise.
7980 [POSIX || XPG3] (SIGPROF): Likewise.
7981 [POSIX || XPG3] (SIGSYS): Likewise.
7982 [XPG3] (SIGTRAP): Likewise.
7983 [POSIX || XPG3] (SIGURG): Likewise.
7984 [POSIX || XPG3] (SIGVTALRM): Likewise.
7985 [POSIX || XPG3] (SIGXCPU): Likewise.
7986 [POSIX || XPG3] (SIGXFSZ): Likewise.
7987 [POSIX] (SA_SIGINFO): Expect.
7988 [XPG3] (siginfo_t): Do not expect type or contents.
7989 [POSIX] (si_pid): Do not expect element.
7990 [POSIX] (si_uid): Likewise.
7991 [POSIX] (si_addr): Likewise.
7992 [POSIX] (si_status): Likewise.
7993 [POSIX] (si_band): Likewise.
7994 [XPG4] (si_value): Likewise.
7995 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7996 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7997 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7998 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7999 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8000 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8001 [POSIX || XPG3] (ILL_COPROC): Likewise.
8002 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8003 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8004 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8005 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8006 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8007 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8008 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8009 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8010 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8011 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8012 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8013 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8014 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8015 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8016 [POSIX || XPG3] (CLD_EXITED): Likewise.
8017 [POSIX || XPG3] (CLD_KILLED): Likewise.
8018 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8019 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8020 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8021 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8022 [POSIX || XPG3] (POLL_IN): Likewise.
8023 [POSIX || XPG3] (POLL_OUT): Likewise.
8024 [POSIX || XPG3] (POLL_MSG): Likewise.
8025 [POSIX || XPG3] (POLL_ERR): Likewise.
8026 [POSIX || XPG3] (POLL_PRI): Likewise.
8027 [POSIX || XPG3] (POLL_HUP): Likewise.
8028 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8029 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8030 (SIG*): Do not allow.
8031 [XPG3] (si_*): Likewise.
8032 [XPG3] (SI_*): Likewise.
8033 [XPG3 || XPG4] (sigev_*): Likewise.
8034 [XPG3 || XPG4] (SIGEV_*): Likewise.
8035 [XPG3 || XPG4] (sival_*): Likewise.
8036 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8037 [POSIX || XPG3] (BUS_*): Likewise.
8038 [POSIX || XPG3] (CLD_*): Likewise.
8039 [POSIX || XPG3] (FPE_*): Likewise.
8040 [POSIX || XPG3] (ILL_*): Likewise.
8041 [POSIX || XPG3] (POLL_*): Likewise.
8042 [POSIX || XPG3] (SEGV_*): Likewise.
8043 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8044 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8045 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8046 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8047 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8048 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8049 Specify type and value.
8050 (TVERSLEN): Likewise.
8051 (REGTYPE): Likewise.
8052 (AREGTYPE): Likewise.
8053 (LNKTYPE): Likewise.
8054 (SYMTYPE): Likewise.
8055 (CHRTYPE): Likewise.
8056 (BLKTYPE): Likewise.
8057 (DIRTYPE): Likewise.
8058 (FIFOTYPE): Likewise.
8059 (CONTTYPE): Likewise.
8060 (TSUID): Likewise.
8061 (TSGID): Likewise.
8062 (TSVTX): Likewise.
8063 (TUREAD): Likewise.
8064 (TUWRITE): Likewise.
8065 (TUEXEC): Likewise.
8066 (TGREAD): Likewise.
8067 (TGWRITE): Likewise.
8068 (TGEXEC): Likewise.
8069 (TOREAD): Likewise.
8070 (TOWRITE): Likewise.
8071 (TOEXEC): Likewise.
8072 [POSIX] (TSVTX): Expect constant.
8073
aa97dee1
JM
80742014-03-06 Joseph Myers <joseph@codesourcery.com>
8075
f214606a
JM
8076 * Makefile (tests): Change dependencies to ....
8077 (tests-special): ... additions to this variable.
8078 (tests): Depend on $(tests-special).
8079 * Makerules (check-abi-list): New variable.
8080 (check-abi): Depend on $(check-abi-list).
8081 [$(subdir) = elf] (tests-special): Add
8082 $(objpfx)check-abi-libc.out.
8083 [$(build-shared) = yes && subdir] (tests-special): Add
8084 $(check-abi-list).
8085 [$(build-shared) = yes && subdir] (tests): Do not depend on
8086 check-abi.
8087 * Rules (tests): Depend on $(tests-special).
8088 (xtests): Depend on $(xtests-special).
8089 * catgets/Makefile (tests): Change dependencies to ....
8090 (tests-special): ... additions to this variable.
8091 * conform/Makefile (tests): Change dependencies to ....
8092 (tests-special): ... additions to this variable.
8093 * elf/Makefile (tests): Change dependencies to ....
8094 (tests-special): ... additions to this variable.
8095 * grp/Makefile (tests): Change dependencies to ....
8096 (tests-special): ... additions to this variable.
8097 * iconv/Makefile (xtests): Change dependencies to ....
8098 (xtests-special): ... additions to this variable.
8099 * iconvdata/Makefile (tests): Change dependencies to ....
8100 (tests-special): ... additions to this variable.
8101 * intl/Makefile (tests): Change dependencies to ....
8102 (tests-special): ... additions to this variable. Also add
8103 $(objpfx)tst-gettext.out.
8104 * io/Makefile (tests): Change dependencies to ....
8105 (tests-special): ... additions to this variable.
8106 * libio/Makefile (tests): Change dependencies to ....
8107 (tests-special): ... additions to this variable.
8108 * malloc/Makefile (tests): Change dependencies to ....
8109 (tests-special): ... additions to this variable.
8110 * misc/Makefile (tests): Change dependencies to ....
8111 (tests-special): ... additions to this variable.
8112 * nptl/Makefile (tests): Change dependencies to ....
8113 (tests-special): ... additions to this variable.
8114 * nptl_db/Makefile (tests): Change dependencies to ....
8115 (tests-special): ... additions to this variable.
8116 * posix/Makefile (tests): Change dependencies to ....
8117 (tests-special): ... additions to this variable.
8118 (xtests): Change dependencies to ....
8119 (xtests-special): ... additions to this variable.
8120 * resolv/Makefile (tests): Change dependencies to ....
8121 (tests-special): ... additions to this variable.
8122 (xtests): Change dependencies to ....
8123 (xtests-special): ... additions to this variable.
8124 * stdio-common/Makefile (tests): Change dependencies to ....
8125 (tests-special): ... additions to this variable.
8126 (do-tst-unbputc): Remove target.
8127 (do-tst-printf): Likewise.
8128 * stdlib/Makefile (tests): Change dependencies to ....
8129 (tests-special): ... additions to this variable.
8130 * string/Makefile (tests): Change dependencies to ....
8131 (tests-special): ... additions to this variable.
8132 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8133 (tests-special): ... additions to this variable.
8134
81700b53
JM
8135 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8136 whole file.
8137 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8138 whole file.
8139 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8140 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8141
2ea18461
JM
8142 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8143 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8144 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8145 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8146 * conform/data/libgen.h-data [XPG3]: Likewise.
8147 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8148 * conform/data/ndbm.h-data [XPG3]: Likewise.
8149 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8150 * conform/data/netdb.h-data [XPG3]: Likewise.
8151 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8152 * conform/data/poll.h-data [XPG3]: Likewise.
8153 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8154 * conform/data/strings.h-data [XPG3]: Likewise.
8155 * conform/data/stropts.h-data [XPG3]: Likewise.
8156 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8157 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8158 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8159 Likewise.
8160 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8161 * conform/data/sys/time.h-data [XPG3]: Likewise.
8162 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8163 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8164 * conform/data/sys/un.h-data [XPG3]: Likewise.
8165 * conform/data/syslog.h-data [XPG3]: Likewise.
8166 * conform/data/ucontext.h-data [XPG3]: Likewise.
8167 * conform/data/utmpx.h-data [XPG3]: Likewise.
8168 * conform/data/varargs.h-data [UNIX98]: Enable file.
8169
355bc986
JM
8170 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8171
215db402
JM
8172 * math/libm-test.inc (struct test_f_f_data): Move expected results
8173 into structure for each rounding mode.
8174 (struct test_ff_f_data): Likewise.
8175 (struct test_ff_f_data_nexttoward): Likewise.
8176 (struct test_fi_f_data): Likewise.
8177 (struct test_fl_f_data): Likewise.
8178 (struct test_if_f_data): Likewise.
8179 (struct test_fff_f_data): Likewise.
8180 (struct test_c_f_data): Likewise.
8181 (struct test_f_f1_data): Likewise.
8182 (struct test_fF_f1_data): Likewise.
8183 (struct test_ffI_f1_data): Likewise.
8184 (struct test_c_c_data): Likewise.
8185 (struct test_cc_c_data): Likewise.
8186 (struct test_f_i_data): Likewise.
8187 (struct test_ff_i_data): Likewise.
8188 (struct test_f_l_data): Likewise.
8189 (struct test_f_L_data): Likewise.
8190 (struct test_fFF_11_data): Likewise.
8191 (RM_): New macro.
8192 (RM_FE_DOWNWARD): Likewise.
8193 (RM_FE_TONEAREST): Likewise.
8194 (RM_FE_TOWARDZERO): Likewise.
8195 (RM_FE_UPWARD): Likewise.
8196 (RUN_TEST_LOOP_f_f): Update references to expected results.
8197 (RUN_TEST_LOOP_2_f): Likewise.
8198 (RUN_TEST_LOOP_fff_f): Likewise.
8199 (RUN_TEST_LOOP_c_f): Likewise.
8200 (RUN_TEST_LOOP_f_f1): Likewise.
8201 (RUN_TEST_LOOP_fF_f1): Likewise.
8202 (RUN_TEST_LOOP_fI_f1): Likewise.
8203 (RUN_TEST_LOOP_ffI_f1): Likewise.
8204 (RUN_TEST_LOOP_c_c): Likewise.
8205 (RUN_TEST_LOOP_cc_c): Likewise.
8206 (RUN_TEST_LOOP_f_i): Likewise.
8207 (RUN_TEST_LOOP_f_i_tg): Likewise.
8208 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8209 (RUN_TEST_LOOP_f_b): Likewise.
8210 (RUN_TEST_LOOP_f_b_tg): Likewise.
8211 (RUN_TEST_LOOP_f_l): Likewise.
8212 (RUN_TEST_LOOP_f_L): Likewise.
8213 (RUN_TEST_LOOP_fFF_11): Likewise.
8214 * math/gen-libm-test.pl (parse_args): Output four copies of
8215 expected results for each test.
8216
67737b8f
JM
8217 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8218 (__ASSUME_UTIMES): Remove.
8219 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8220 (__ASSUME_UTIMES): Likewise.
8221
aa97dee1
JM
8222 * math/gen-auto-libm-tests.c: Update comment on output format.
8223 (output_for_one_input_case): Generate before-rounding and
8224 after-rounding information as conditions on output flags not
8225 floating-point format.
8226 * math/auto-libm-test-out: Regenerated.
8227 * math/gen-libm-test.pl (cond_value): New function.
8228 (or_cond_value): Use cond_value.
8229 (generate_testfile): Handle conditional exceptions.
8230
e6b6a857
JM
82312014-03-05 Joseph Myers <joseph@codesourcery.com>
8232
2f0a0f44
JM
8233 * math/libm-test.inc (max_valid_error): New variable.
8234 (init_max_error): Take new argument specifying whether function
8235 results are exactly determined. Set max_valid_error and bound
8236 other variables for errors based on this argument.
8237 (set_max_error): Do not record results above max_valid_error.
8238 (check_float_internal): Only accept errors of up to 0.5ulps if
8239 also at most max_valid_error.
8240 (START): Take new argument EXACT and pass it to init_max_error.
8241 (acos_test): Update call to START.
8242 (acos_test_tonearest): Likewise.
8243 (acos_test_towardzero): Likewise.
8244 (acos_test_downward): Likewise.
8245 (acos_test_upward): Likewise.
8246 (acosh_test): Likewise.
8247 (asin_test): Likewise.
8248 (asin_test_tonearest): Likewise.
8249 (asin_test_towardzero): Likewise.
8250 (asin_test_downward): Likewise.
8251 (asin_test_upward): Likewise.
8252 (asinh_test): Likewise.
8253 (atan_test): Likewise.
8254 (atanh_test): Likewise.
8255 (atan2_test): Likewise.
8256 (cabs_test): Likewise.
8257 (cacos_test): Likewise.
8258 (cacosh_test): Likewise.
8259 (carg_test): Likewise.
8260 (casin_test): Likewise.
8261 (casinh_test): Likewise.
8262 (catan_test): Likewise.
8263 (catanh_test): Likewise.
8264 (cbrt_test): Likewise.
8265 (ccos_test): Likewise.
8266 (ccosh_test): Likewise.
8267 (ceil_test): Likewise.
8268 (cexp_test): Likewise.
8269 (cimag_test): Likewise.
8270 (clog_test): Likewise.
8271 (clog10_test): Likewise.
8272 (conj_test): Likewise.
8273 (copysign_test): Likewise.
8274 (cos_test): Likewise.
8275 (cos_test_tonearest): Likewise.
8276 (cos_test_towardzero): Likewise.
8277 (cos_test_downward): Likewise.
8278 (cos_test_upward): Likewise.
8279 (cosh_test): Likewise.
8280 (cosh_test_tonearest): Likewise.
8281 (cosh_test_towardzero): Likewise.
8282 (cosh_test_downward): Likewise.
8283 (cosh_test_upward): Likewise.
8284 (cpow_test): Likewise.
8285 (cproj_test): Likewise.
8286 (creal_test): Likewise.
8287 (csin_test): Likewise.
8288 (csinh_test): Likewise.
8289 (csqrt_test): Likewise.
8290 (ctan_test): Likewise.
8291 (ctan_test_tonearest): Likewise.
8292 (ctan_test_towardzero): Likewise.
8293 (ctan_test_downward): Likewise.
8294 (ctan_test_upward): Likewise.
8295 (ctanh_test): Likewise.
8296 (ctanh_test_tonearest): Likewise.
8297 (ctanh_test_towardzero): Likewise.
8298 (ctanh_test_downward): Likewise.
8299 (ctanh_test_upward): Likewise.
8300 (erf_test): Likewise.
8301 (erfc_test): Likewise.
8302 (exp_test): Likewise.
8303 (exp_test_tonearest): Likewise.
8304 (exp_test_towardzero): Likewise.
8305 (exp_test_downward): Likewise.
8306 (exp_test_upward): Likewise.
8307 (exp10_test): Likewise.
8308 (exp10_test_tonearest): Likewise.
8309 (exp10_test_towardzero): Likewise.
8310 (exp10_test_downward): Likewise.
8311 (exp10_test_upward): Likewise.
8312 (pow10_test): Likewise.
8313 (exp2_test): Likewise.
8314 (expm1_test): Likewise.
8315 (expm1_test_tonearest): Likewise.
8316 (expm1_test_towardzero): Likewise.
8317 (expm1_test_downward): Likewise.
8318 (expm1_test_upward): Likewise.
8319 (fabs_test): Likewise.
8320 (fdim_test): Likewise.
8321 (floor_test): Likewise.
8322 (fma_test): Likewise.
8323 (fma_test_towardzero): Likewise.
8324 (fma_test_downward): Likewise.
8325 (fma_test_upward): Likewise.
8326 (fmax_test): Likewise.
8327 (fmin_test): Likewise.
8328 (fmod_test): Likewise.
8329 (fpclassify_test): Likewise.
8330 (frexp_test): Likewise.
8331 (hypot_test): Likewise.
8332 (ilogb_test): Likewise.
8333 (isfinite_test): Likewise.
8334 (finite_test): Likewise.
8335 (isgreater_test): Likewise.
8336 (isgreaterequal_test): Likewise.
8337 (isinf_test): Likewise.
8338 (isless_test): Likewise.
8339 (islessequal_test): Likewise.
8340 (islessgreater_test): Likewise.
8341 (isnan_test): Likewise.
8342 (isnormal_test): Likewise.
8343 (issignaling_test): Likewise.
8344 (isunordered_test): Likewise.
8345 (j0_test): Likewise.
8346 (j1_test): Likewise.
8347 (jn_test): Likewise.
8348 (ldexp_test): Likewise.
8349 (lgamma_test): Likewise.
8350 (gamma_test): Likewise.
8351 (lrint_test): Likewise.
8352 (lrint_test_tonearest): Likewise.
8353 (lrint_test_towardzero): Likewise.
8354 (lrint_test_downward): Likewise.
8355 (lrint_test_upward): Likewise.
8356 (llrint_test): Likewise.
8357 (llrint_test_tonearest): Likewise.
8358 (llrint_test_towardzero): Likewise.
8359 (llrint_test_downward): Likewise.
8360 (llrint_test_upward): Likewise.
8361 (log_test): Likewise.
8362 (log10_test): Likewise.
8363 (log1p_test): Likewise.
8364 (log2_test): Likewise.
8365 (logb_test): Likewise.
8366 (logb_test_downward): Likewise.
8367 (lround_test): Likewise.
8368 (llround_test): Likewise.
8369 (modf_test): Likewise.
8370 (nearbyint_test): Likewise.
8371 (nextafter_test): Likewise.
8372 (nexttoward_test): Likewise.
8373 (pow_test): Likewise.
8374 (pow_test_tonearest): Likewise.
8375 (pow_test_towardzero): Likewise.
8376 (pow_test_downward): Likewise.
8377 (pow_test_upward): Likewise.
8378 (remainder_test): Likewise.
8379 (drem_test): Likewise.
8380 (remainder_test_tonearest): Likewise.
8381 (drem_test_tonearest): Likewise.
8382 (remainder_test_towardzero): Likewise.
8383 (drem_test_towardzero): Likewise.
8384 (remainder_test_downward): Likewise.
8385 (drem_test_downward): Likewise.
8386 (remainder_test_upward): Likewise.
8387 (drem_test_upward): Likewise.
8388 (remquo_test): Likewise.
8389 (rint_test): Likewise.
8390 (rint_test_tonearest): Likewise.
8391 (rint_test_towardzero): Likewise.
8392 (rint_test_downward): Likewise.
8393 (rint_test_upward): Likewise.
8394 (round_test): Likewise.
8395 (scalb_test): Likewise.
8396 (scalbn_test): Likewise.
8397 (scalbln_test): Likewise.
8398 (signbit_test): Likewise.
8399 (sin_test): Likewise.
8400 (sin_test_tonearest): Likewise.
8401 (sin_test_towardzero): Likewise.
8402 (sin_test_downward): Likewise.
8403 (sin_test_upward): Likewise.
8404 (sincos_test): Likewise.
8405 (sinh_test): Likewise.
8406 (sinh_test_tonearest): Likewise.
8407 (sinh_test_towardzero): Likewise.
8408 (sinh_test_downward): Likewise.
8409 (sinh_test_upward): Likewise.
8410 (sqrt_test): Likewise.
8411 (sqrt_test_tonearest): Likewise.
8412 (sqrt_test_towardzero): Likewise.
8413 (sqrt_test_downward): Likewise.
8414 (sqrt_test_upward): Likewise.
8415 (tan_test): Likewise.
8416 (tan_test_tonearest): Likewise.
8417 (tan_test_towardzero): Likewise.
8418 (tan_test_downward): Likewise.
8419 (tan_test_upward): Likewise.
8420 (tanh_test): Likewise.
8421 (tgamma_test): Likewise.
8422 (trunc_test): Likewise.
8423 (y0_test): Likewise.
8424 (y1_test): Likewise.
8425 (yn_test): Likewise.
8426 (significand_test): Likewise.
8427
e6b6a857
JM
8428 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8429 individual tests in comment.
8430 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8431 (prev_max_error): New variable.
8432 (prev_real_max_error): Likewise.
8433 (prev_imag_max_error): Likewise.
8434 (compare_ulp_data): Don't refer to test names in comment.
8435 (find_test_ulps): Remove function.
8436 (find_function_ulps): Likewise.
8437 (find_complex_function_ulps): Likewise.
8438 (init_max_error): Take function name as argument. Look up ulps
8439 for that function.
8440 (print_ulps): Remove function.
8441 (print_max_error): Use prev_max_error instead of calling
8442 find_function_ulps.
8443 (print_complex_max_error): Use prev_real_max_error and
8444 prev_imag_max_error instead of calling find_complex_function_ulps.
8445 (check_float_internal): Take max_ulp parameter instead of calling
8446 find_test_ulps. Don't call print_ulps.
8447 (check_float): Update call to check_float_internal.
8448 (check_complex): Update calls to check_float_internal.
8449 (START): Pass argument to init_max_error.
8450 * math/gen-libm-test.pl (%results): Don't include "kind"
8451 information.
8452 (parse_ulps): Don't handle ulps of individual tests.
8453 (print_ulps_file): Likewise.
8454 (output_ulps): Likewise.
8455 * math/README.libm-test: Update.
8456 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8457 individual tests.
8458 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8459 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8460 * sysdeps/arm/libm-test-ulps: Likewise.
8461 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8462 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8463 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8464 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8465 * sysdeps/microblaze/libm-test-ulps: Likewise.
8466 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8467 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8468 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8469 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8470 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8471 * sysdeps/sh/libm-test-ulps: Likewise.
8472 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8473 * sysdeps/tile/libm-test-ulps: Likewise.
8474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8475
45adef3c
JM
84762014-03-04 Joseph Myers <joseph@codesourcery.com>
8477
8478 * math/libm-test.inc (print_complex_max_error): Check separately
8479 whether real and imaginary errors are within allowed range and
8480 pass 0 to print_complex_function_ulps instead of value within
8481 allowed range.
8482
000232b9
SP
84832014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8484
d4b17258
SP
8485 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8486 formatting.
8487 (get_handles_fopen): Likewise.
8488 (do_write_test): Likewise.
8489
091eff71
SP
8490 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8491
fa3cd248
SP
8492 * libio/fileops.c (do_ftell): Use cached offset when
8493 available.
8494 * libio/iofwide.c (do_ftell_wide): Likewise.
8495 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8496 _IO_file_attach.
8497 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8498
000232b9
SP
8499 [BZ #16532]
8500 * libio/libioP.h (get_file_offset): New function.
8501 * libio/fileops.c (get_file_offset): Likewise.
8502 (do_ftell): Likewise.
8503 (_IO_new_file_seekoff): Split out ftell logic.
8504 * libio/wfileops.c (do_ftell_wide): Likewise.
8505 (_IO_wfile_seekoff): Split out ftell logic.
8506 * libio/tst-ftell-active-handler.c: New test case.
8507 * libio/Makefile (tests): Add it.
8508
116f4d1a
RM
85092014-03-03 Roland McGrath <roland@hack.frob.com>
8510
8511 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8512 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8513
532a6035
SP
85142014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8515
8516 [BZ #16639]
8517 * nscd/connections.c (nscd_init): Call do_exit.
8518 (start_threads): Call do_exit and notify_parent.
8519 (begin_drop_privileges): Call do_exit.
8520 (finish_drop_privileges): Likewise.
8521 * nscd/selinux.c (preserve_capabilities): Likewise.
8522 (install_real_capabilities): Likewise.
8523 (nscd_selinux_enabled): Likewise.
8524 (avc_create_thread): Likewise.
8525 (avc_alloc_lock): Likewise.
8526 (nscd_avc_init): Likewise.
8527 * nscd/nscd.c (parent_fd): New static variable.
8528 (main): Create a pipe between parent and child processes.
8529 Skip closing parent_fd.
8530 (monitor_child): New function.
8531 (do_exit): Likewise.
8532 (notify_parent): Likewise.
8533 * nscd/nscd.h (notify_parent): Likewise.
8534 (do_exit): Likewise.
8535
d6285c9f
CD
85362014-03-03 Carlos O'Donell <carlos@redhat.com>
8537
8538 * malloc/malloc.c (__libc_calloc): Revert last change.
8539
2b85d2a0
AZ
85402014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8541
8542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8543
c7debbdf
RS
85442014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8545
8546 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8548 implementation.
8549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8550 (__libc_ifunc_impl_list): Likewise.
8551 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8552 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8553 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8554 * string/strrchr.c: Define STRRCHR.
8555
235eed86
OB
85562014-02-28 Ondřej Bílka <neleai@seznam.cz>
8557
8558 * benchtest/bench-strtok.c (simple_strtok): Delete.
8559 (strtok_string): Use as benchmark.
8560 * string/strtok (STRTOK): New macro.
8561
8e25d1e7
CD
85622014-02-28 Carlos O'Donell <carlos@redhat.com>
8563
ef563f92
CD
8564 * manual/threads.texi: Add header and standard comments to all
8565 functions.
8566
8e25d1e7
CD
8567 * elf/dl-lookup.c (check_match): New function.
8568 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8569 (do_lookup_x): Remove nested function check_match. Use non-nested
8570 function check_match.
8571
ff71cc37
RM
85722014-02-28 Roland McGrath <roland@hack.frob.com>
8573
f08e9a26
RM
8574 * csu/Makefile (generated, before-compile): Use += rather than =.
8575 * catgets/Makefile (generated, generated-dirs): Likewise.
8576 * debug/Makefile (generated): Likewise.
8577 * dlfcn/Makefile (generated): Likewise.
8578 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8579 * iconvdata/Makefile (before-compile, generated): Likewise.
8580 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8581 * libio/Makefile (generated): Likewise.
8582 * malloc/Makefile (generated): Likewise.
8583 * manual/Makefile (generated, generated-dirs): Likewise.
8584 * misc/Makefile (generated): Likewise.
8585 * posix/Makefile (generated): Likewise.
8586 * resolv/Makefile (generated): Likewise.
8587 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8588 * timezone/Makefile (generated, generated-dirs): Likewise.
8589
ff71cc37
RM
8590 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8591
fe13a20c
AZ
85922014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8593
57f41c40
AS
8594 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8595 power8 implementation.
8596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8597 file: POWER8 llround ifunc implementation.
8598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8599 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8600 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8601 POWER8 llround implementation.
8602
57f41c40
AS
8603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8604 power8 implementation.
8605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8606 file: POWER8 llrint ifunc implementation.
8607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8608 Add POWER8 implementation.
1ad8950a
AZ
8609 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8610 POWER8 llrint implementation.
8611
57f41c40
AS
8612 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8613 power8 implementation.
8614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8615 file: POWER8 finite ifunc implementation.
8616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8617 Add POWER8 implementation.
cac626d6
AZ
8618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8619 Likewise.
8620 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8621 POWER8 finite implementation.
8622 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8623
57f41c40
AS
8624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8625 power8 implementation.
8626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8627 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8629 POWER8 implementation.
8630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8631 Likewise.
57f41c40
AS
8632 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8633 isinf implementation.
4393fc11
AZ
8634 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8635
57f41c40
AS
8636 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8637 (INIT_ARCH): Add hwcap2 initialization.
8638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8639 power8 implementation.
8640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8641 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8643 POWER8 implementation.
8644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8645 Likewise.
57f41c40
AS
8646 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8647 isnan implementation.
487972ae
AZ
8648 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8649
7d92b787
JY
86502014-02-27 Joey Ye <joey.ye@arm.com>
8651
8652 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8653 (_FP_NANFRAC_Q): Set to zero.
8654
1cadc858
SP
86552014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8656
8657 [BZ #16623]
8658 * math/auto-libm-test-in: New test inputs.
8659 * math/auto-libm-test-out: Regenerate.
8660 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8661 and DA.
8662 (__cos): Likewise.
8663 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8664
f8c17e79
JM
86652014-02-27 Joseph Myers <joseph@codesourcery.com>
8666
8667 * scripts/evaluate-test.sh: Take new argument indicating whether
8668 failure is expected.
8669 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8670 indicating whether failure is expected.
8671 * conform/Makefile (test-xfail-run-conformtest): New variable.
8672 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8673 level.
8674 * posix/Makefile (test-xfail-annexc): New variable.
8675 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8676
a5f891ac
JM
86772014-02-26 Joseph Myers <joseph@codesourcery.com>
8678
8679 * argp/Makefile: Include Makeconfig immediately after defining
8680 subdir.
8681 * assert/Makefile: Likewise.
8682 * benchtests/Makefile: Likewise.
8683 * catgets/Makefile: Likewise.
8684 * conform/Makefile: Likewise.
8685 * crypt/Makefile: Likewise.
8686 * csu/Makefile: Likewise.
8687 (all): Remove target.
8688 * ctype/Makefile: Include Makeconfig immediately after defining
8689 subdir.
8690 * debug/Makefile: Likewise.
8691 * dirent/Makefile: Likewise.
8692 * dlfcn/Makefile: Likewise.
8693 * gmon/Makefile: Likewise.
8694 * gnulib/Makefile: Likewise.
8695 * grp/Makefile: Likewise.
8696 * gshadow/Makefile: Likewise.
8697 * hesiod/Makefile: Likewise.
8698 * hurd/Makefile: Likewise.
8699 (all): Remove target.
8700 * iconvdata/Makefile: Include Makeconfig immediately after
8701 defining subdir.
8702 * inet/Makefile: Likewise.
8703 * intl/Makefile: Likewise.
8704 * io/Makefile: Likewise.
8705 * libio/Makefile: Likewise.
8706 (all): Remove target.
8707 * locale/Makefile: Include Makeconfig immediately after defining
8708 subdir.
8709 * login/Makefile: Likewise.
8710 * mach/Makefile: Likewise.
8711 (all): Remove target.
8712 * malloc/Makefile: Include Makeconfig immediately after defining
8713 subdir.
8714 (all): Remove target.
8715 * manual/Makefile: Include Makeconfig immediately after defining
8716 subdir.
8717 * math/Makefile: Likewise.
8718 * misc/Makefile: Likewise.
8719 * nis/Makefile: Likewise.
8720 * nss/Makefile: Likewise.
8721 * po/Makefile: Likewise.
8722 (all): Remove target.
8723 * posix/Makefile: Include Makeconfig immediately after defining
8724 subdir.
8725 * pwd/Makefile: Likewise.
8726 * resolv/Makefile: Likewise.
8727 * resource/Makefile: Likewise.
8728 * rt/Makefile: Likewise.
8729 * setjmp/Makefile: Likewise.
8730 * shadow/Makefile: Likewise.
8731 * signal/Makefile: Likewise.
8732 * socket/Makefile: Likewise.
8733 * soft-fp/Makefile: Likewise.
8734 * stdio-common/Makefile: Likewise.
8735 * stdlib/Makefile: Likewise.
8736 * streams/Makefile: Likewise.
8737 * string/Makefile: Likewise.
8738 * sunrpc/Makefile: Likewise.
8739 (all): Remove target.
8740 * sysvipc/Makefile: Include Makeconfig immediately after defining
8741 subdir.
8742 * termios/Makefile: Likewise.
8743 * time/Makefile: Likewise.
8744 * timezone/Makefile: Likewise.
8745 (all): Remove target.
8746 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8747 subdir.
8748 * wctype/Makefile: Likewise.
8749
5b456e9d
SE
87502014-02-26 Steve Ellcey <sellcey@mips.com>
8751
8752 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8753 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8754 (libc_feholdexcept_setround_mips): Ditto.
8755 (libc_feholdsetround): New.
8756 (libc_feholdsetroundf): New.
8757 (libc_feholdsetroundl): New.
8758 (libc_feupdateenv_test_mips): New.
8759 (libc_feupdateenv_test): New.
8760 (libc_feupdateenv_testf): New.
8761 (libc_feupdateenv_testl): New.
8762 (libc_feresetround): New.
8763 (libc_feresetroundf): New.
8764 (libc_feresetroundl): New.
8765 (libc_fetestexcept_mips): New.
8766 (libc_fetestexcept): New.
8767 (libc_fetestexceptf): New.
8768 (libc_fetestexceptl): New.
8769 (HAVE_RM_CTX): New.
8770 (libc_feholdexcept_setround_mips_ctx): New.
8771 (libc_feholdexcept_setround_ctx): New.
8772 (libc_feholdexcept_setroundf_ctx): New.
8773 (libc_feholdexcept_setroundl_ctx): New.
8774 (libc_fesetenv_mips_ctx): New.
8775 (libc_fesetenv_ctx): New.
8776 (libc_fesetenv_ctxf): New.
8777 (libc_fesetenv_ctxl): New.
8778 (libc_feupdateenv_mips_ctx): New.
8779 (libc_feupdateenv_ctx): New.
8780 (libc_feupdateenvf_ctx): New.
8781 (libc_feupdateenvl_ctx): New.
8782 (libc_feholdsetround_mips_ctx): New.
8783 (libc_feholdsetround_ctx): New.
8784 (libc_feholdsetroundf_ctx): New.
8785 (libc_feholdsetroundl_ctx): New.
8786 (libc_feresetround_mips_ctx): New.
8787 (libc_feresetround_ctx): New.
8788 (libc_feresetroundf_ctx): New.
8789 (libc_feresetroundl_ctx): New.
8790
085d0e35
CD
87912014-02-26 Carlos O'Donell <carlos@redhat.com>
8792
f067bf1f
CD
8793 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8794
085d0e35
CD
8795 * manual/ipc.texi: New file.
8796 * manual/Makefile (chapters): Add ipc.
8797 * manual/job.texi: Add "Inter-Process Communication" to next.
8798 * manual/process.texi: Add "Inter-Process Communication" to prev.
8799
86e58c08
AZ
88002014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8801
8802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8803
4248f0da
OB
88042014-02-26 Ondřej Bílka <neleai@seznam.cz>
8805
8806 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8807
cf822e3c
OB
8808 * manual/arith.texi: Fix spaces after sentences.
8809 * manual/charset.texi: Likewise.
8810 * manual/errno.texi: Likewise.
8811 * manual/install.texi: Likewise.
8812 * manual/llio.texi: Likewise.
8813 * manual/locale.texi: Likewise.
8814 * manual/maint.texi: Likewise.
8815 * manual/math.texi: Likewise.
8816 * manual/memory.texi: Likewise.
8817 * manual/message.texi: Likewise.
8818 * manual/probes.texi: Likewise.
8819 * manual/resource.texi: Likewise.
8820 * manual/signal.texi: Likewise.
8821 * manual/socket.texi: Likewise.
8822 * manual/stdio.texi: Likewise.
8823 * manual/string.texi: Likewise.
8824 * manual/time.texi: Likewise.
8825 * manual/users.texi: Likewise.
8826
ade40b10
CD
88272014-02-25 Carlos O'Donell <carlos@redhat.com>
8828
8829 [BZ #16632]
8830 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8831 _DEFAULT_SOURCE is defined.
8832
d0503676
CD
88332014-02-25 Ulrich Drepper <drepper@gmail.com>
8834 Carlos O'Donell <carlos@redhat.com>
8835
8836 [BZ #16613]
8837 * elf/dl-tls.c (_dl_count_modids): New function.
8838 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8839 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8840 audit library and increment generation counter.
8841 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8842 * elf/tst-audit9.c: New file.
8843 * elf/tst-auditmod9a.c: New file.
8844 * elf/tst-auditmod9b.c: New file.
8845 * elf/Makefile: Add rules to build and run tst-audit9.
8846
4cbf380c
FW
88472014-02-25 Florian Weimer <fweimer@redhat.com>
8848
8849 [BZ #15347]
8850 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8851
80a56cc3
WN
88522014-02-25 Will Newton <will.newton@linaro.org>
8853
8854 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8855 (__longjmp): Restore sp and lr before restoring callee
8856 saved registers. Add longjmp and longjmp_target
8857 SystemTap probe point.
8858 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8859 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8860 Define to zero to match jmpbuf layout.
8861 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8862 (__sigsetjmp): Save sp and lr before saving callee
8863 saved registers. Add setjmp SystemTap probe point.
8864
3ea0f74e
SL
88652014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8866
8867 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8868
b04acb26
AS
88692014-02-24 Andreas Schwab <schwab@suse.de>
8870
8871 [BZ #15804]
8872 * elf/pldd.c (wait_for_ptrace_stop): New function.
8873 (main): Call it after attaching.
8874
098ad55c
RM
88752014-02-22 Roland McGrath <roland@hack.frob.com>
8876
d4ec6ae1
RM
8877 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8878 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8879 Versions files is now verboten.
8880 * hurd/Versions (libc: GLIBC_2.0):
8881 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8882 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8883 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8884 * mach/Versions: Likewise.
8885
098ad55c
RM
8886 * csu/Versions: Remove unused %include.
8887 * resolv/Versions: Likewise.
8888
acd7f096
JM
88892014-02-21 Joseph Myers <joseph@codesourcery.com>
8890
f0881698
JM
8891 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8892 ($(objpfx)check-local-headers.out): Likewise.
8893 ($(objpfx)begin-end-check.out): Likewise.
8894 * Makerules (check-abi-%.out): Likewise.
8895 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8896 ($(objpfx)test2.cat): Likewise.
8897 ($(objpfx)de/libc.cat): Likewise.
8898 ($(objpfx)test-gencat.out): Likewise.
8899 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8900 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8901 ($(objpfx)noload-mem): Likewise.
8902 ($(objpfx)tst-pathopt.out): Likewise.
8903 ($(objpfx)tst-rtld-load-self.out): Likewise.
8904 ($(objpfx)tst-array1-cmp.out): Likewise.
8905 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8906 ($(objpfx)tst-array2-cmp.out): Likewise.
8907 ($(objpfx)tst-array3-cmp.out): Likewise.
8908 ($(objpfx)tst-array4-cmp.out): Likewise.
8909 ($(objpfx)tst-array5-cmp.out): Likewise.
8910 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8911 ($(objpfx)check-textrel.out): Likewise.
8912 ($(objpfx)check-execstack.out): Likewise.
8913 ($(objpfx)check-localplt.out): Likewise.
8914 ($(objpfx)order2-cmp.out): Likewise.
8915 ($(objpfx)tst-leaks1-mem): Likewise.
8916 ($(objpfx)tst-leaks1-static-mem): Likewise.
8917 ($(objpfx)tst-initorder-cmp.out): Likewise.
8918 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8919 ($(objpfx)tst-unused-dep.out): Likewise.
8920 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8921 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8922 * iconv/Makefile (test-iconvconfig): Likewise.
8923 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8924 ($(objpfx)iconv-test.out): Likewise.
8925 ($(objpfx)tst-tables.out): Likewise.
8926 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8927 ($(objpfx)tst-gettext.out): Likewise.
8928 ($(objpfx)tst-translit.out): Likewise.
8929 ($(objpfx)tst-gettext2.out): Likewise.
8930 ($(objpfx)tst-gettext4.out): Likewise.
8931 ($(objpfx)tst-gettext6.out): Likewise.
8932 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8933 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8934 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8935 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8936 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8937 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8938 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8939 ($(objpfx)wordexp-tst.out): Likewise.
8940 ($(objpfx)annexc.out): Likewise.
8941 ($(objpfx)tst-fnmatch-mem): Likewise.
8942 ($(objpfx)bug-regex2-mem): Likewise.
8943 ($(objpfx)bug-regex14-mem): Likewise.
8944 ($(objpfx)bug-regex21-mem): Likewise.
8945 ($(objpfx)bug-regex31-mem): Likewise.
8946 ($(objpfx)tst-vfork3-mem): Likewise.
8947 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8948 ($(objpfx)tst-pcre-mem): Likewise.
8949 ($(objpfx)tst-boost-mem): Likewise.
8950 ($(objpfx)tst-getconf.out): Likewise.
8951 ($(objpfx)bug-ga2-mem): Likewise.
8952 ($(objpfx)bug-glob2-mem): Likewise.
8953 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8954 ($(objpfx)mtrace-tst-leaks2): Likewise.
8955 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8956 ($(objpfx)tst-printf.out): Likewise.
8957 ($(objpfx)tst-setvbuf1.out): Likewise.
8958 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8959 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8960 ($(objpfx)tst-fmtmsg.out): Likewise.
8961 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8962 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8963
acd7f096
JM
8964 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8965 * bits/sigaction.h [__USE_MISC]: Likewise.
8966 * bits/waitstatus.h: Update #endif comments.
8967 * ctype/ctype.h: Likewise.
8968 * dirent/dirent.h: Likewise.
8969 [__USE_MISC]: Remove redundant conditionals.
8970 * grp/grp.h: Update #endif comments.
8971 [__USE_GNU]: Remove redundant conditionals.
8972 [__USE_MISC]: Likewise.
8973 * inet/netinet/in.h [__USE_GNU]: Likewise.
8974 * io/sys/stat.h [__USE_MISC]: Likewise.
8975 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8976 * libio/bits/stdio.h: Update #endif comments.
8977 [__USE_MISC]: Remove redundant conditionals.
8978 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8979 * libio/stdio.h: Update #endif comments.
8980 [__USE_MISC]: Remove redundant conditionals.
8981 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8982 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8983 * math/math.h: Update #else and #endif comments.
8984 [__USE_MISC]: Remove redundant conditionals.
8985 * misc/sys/uio.h: Update #endif comments.
8986 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8987 * posix/glob.h [__USE_MISC]: Likewise.
8988 * posix/sys/types.h: Update #endif comments.
8989 [__USE_MISC]: Remove redundant conditionals.
8990 * posix/sys/wait.h: Update #endif comments.
8991 [__USE_MISC]: Remove redundant conditionals.
8992 * posix/unistd.h: Update #endif comments.
8993 [__USE_MISC]: Remove redundant conditionals.
8994 * pwd/pwd.h [__USE_GNU]: Likewise.
8995 [__USE_MISC]: Likewise.
8996 * resolv/netdb.h [__USE_GNU]: Likewise.
8997 * signal/signal.h: Update #endif comments.
8998 [__USE_MISC]: Remove redundant conditionals.
8999 * stdlib/stdlib.h: Update #else and #endif comments.
9000 [__USE_MISC]: Remove redundant conditionals.
9001 [__USE_GNU]: Likewise.
9002 * string/bits/string2.h [__USE_MISC]: Likewise.
9003 * string/string.h: Update #endif comments.
9004 [__USE_MISC]: Remove redundant conditionals.
9005 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9006 Likewise.
9007 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9008 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9009 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9010 Likewise.
9011 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9012 Likewise.
9013 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9014 comments.
9015 [__USE_MISC]: Remove redundant conditionals.
9016 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9017 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9018 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9019 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9020 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9021 Likewise.
9022 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9023 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9024 Likewise.
9025 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9026 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9027 Likewise.
9028 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9029 Likewise.
9030 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9031 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9032 Likewise.
9033 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9034 Likewise.
9035 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9036 * sysdeps/x86/bits/string.h: Update #endif comments.
9037 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9038 conditionals.
9039 * time/sys/time.h: Update #endif comments.
9040 * time/time.h: Likewise.
9041 [__USE_MISC]: Remove redundant conditionals.
9042
a5d82e4e
YG
90432014-02-21 Yury Gribov <y.gribov@samsung.com>
9044
9045 [BZ #16600]
9046 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9047
9a80491d
AS
90482014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9049
9050 * Versions.def (librt): Add GLIBC_2.17.
9051
105fa381
AC
90522014-02-21 Adam Conrad <adconrad@0c3.net>
9053
9054 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9055 synonym for _SYS_AUXV_H to allow direct inclusion.
9056 * sysdeps/sparc/bits/hwcap.h: Likewise.
9057 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9058 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9059 * sysdeps/sparc/sysdep.h: Likewise.
9060
b8cd1c4e
SP
90612014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9062
9063 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9064
bd939d23
RS
90652014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9066
9067 * benchtests/bench-strrchr.c: Print length instead of position.
9068
5d7b57ca
JM
90692014-02-20 Joseph Myers <joseph@codesourcery.com>
9070
bc688c10
JM
9071 [BZ #16611]
9072 * sysdeps/unix/sysv/linux/kernel-features.h
9073 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9074 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9075 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9076 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9077 Likewise.
9078 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9079 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9080 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9081 (__ASSUME_SENDMMSG): Define instead of using previous
9082 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9083 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9084 (__ASSUME_SENDMMSG_SYSCALL): Define.
9085 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9086 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9087 Likewise.
9088 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9089 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9090 Likewise.
9091 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9092 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9093 Likewise.
9094 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9095 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9096 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9097 [__ASSUME_SENDMMSG]: Change conditionals to
9098 [__ASSUME_SENDMMSG_SOCKETCALL].
9099 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9100 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9101 Define.
9102 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9103 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9104 Likewise.
9105 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9106 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9107 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9108 [!__ASSUME_SENDMMSG]: Change conditional to
9109 [!__ASSUME_SENDMMSG_SOCKETCALL].
9110 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9111 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9112 Define.
9113
0e31b18c
JM
9114 [BZ #16610]
9115 * sysdeps/unix/sysv/linux/kernel-features.h
9116 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9117 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9118 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9119 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9120 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9121 [__i386__ || __sparc__]
9122 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9123 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9124 (__ASSUME_RECVMMSG): Define instead of using previous
9125 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9126 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9127 (__ASSUME_RECVMMSG_SYSCALL): Define.
9128 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9129 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9130 Likewise.
9131 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9132 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9133 Likewise.
9134 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9135 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9136 Likewise.
9137 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9138 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9139 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9140 [__ASSUME_RECVMMSG]: Change condition to
9141 [__ASSUME_RECVMMSG_SOCKETCALL].
9142 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9143 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9144 Define.
9145 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9146 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9147 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9148 Likewise.
9149 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9150 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9151 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9152 [!__ASSUME_RECVMMSG]: Change condition to
9153 [!__ASSUME_RECVMMSG_SOCKETCALL].
9154 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9155 (__ASSUME_RECVMMSG_SYSCALL): Define.
9156
dd481ccf
JM
9157 [BZ #16609]
9158 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9159 __powerpc__ || __s390__ || __sh__ || __sparc__]
9160 (__ASSUME_SOCKETCALL): Define.
9161 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9162 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9163 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9164 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9165 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9166 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9167 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9168 (__ASSUME_ACCEPT4): Define instead of using previous
9169 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9170 __powerpc__ || __sparc__ || __s390__)] condition.
9171 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9172 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9173 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9174 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9175 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9176 [!__ASSUME_ACCEPT4]: Change condition to
9177 [!__ASSUME_ACCEPT4_SOCKETCALL].
9178 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9179 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9180 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9181 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9182 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9183 __ASSUME_ACCEPT4_SYSCALL.
9184 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9185 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9186 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9187 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9188 __ASSUME_ACCEPT4_SYSCALL.
9189 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9190 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9191 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9192 [__ASSUME_ACCEPT4]: Change condition to
9193 [__ASSUME_ACCEPT4_SOCKETCALL].
9194 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9195 (__ASSUME_SOCKETCALL): Define.
9196 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9197 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9198 (__ASSUME_SOCKETCALL): Define.
9199 (__ASSUME_ACCEPT4): Remove.
9200 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9201 Define.
9202 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9203 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9204 Likewise.
9205 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9206 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9207
5d7b57ca
JM
9208 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9209 macro.
9210 (HWCAP_ARM_LPAE): Likewise.
9211 (HWCAP_ARM_EVTSTRM): Likewise.
9212 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9213 Add vpfd32, lpae and evtstrm.
9214 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9215 Increase to 22.
9216
63689d61
JM
92172014-02-19 Joseph Myers <joseph@codesourcery.com>
9218
9219 * math/auto-libm-test-in: Add tests of clog10.
9220 * math/auto-libm-test-out: Regenerated.
9221 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9222 * sysdeps/i386/fpu/libm-test-ulps: Update.
9223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9224
ab09bf61
AS
92252014-02-18 Andreas Schwab <schwab@suse.de>
9226
9227 [BZ #16574]
9228 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9229 Store non-zero if the second buffer was newly allocated.
9230 (send_dg): Likewise.
9231 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9232 to send_vc and send_dg.
9233 (res_nsend): Pass NULL for ansp2_malloced.
9234 * resolv/res_query.c (__libc_res_nquery): Add parameter
9235 answerp2_malloced and pass it down to __libc_res_nsend.
9236 (res_nquery): Pass additional NULL to __libc_res_nquery.
9237 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9238 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9239 second answer buffer if answerp2_malloced was set.
9240 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9241 (__libc_res_nquerydomain): Add parameter
9242 answerp2_malloced and pass it down to __libc_res_nquery.
9243 (res_nquerydomain): Pass additional NULL to
9244 __libc_res_nquerydomain.
9245 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9246 additional NULL to __libc_res_nsend and __libc_res_nquery.
9247 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9248 additional NULL to __libc_res_nsearch.
9249 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9250 parameter of __libc_res_nsearch to check for separately allocated
9251 second buffer.
9252 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9253 __libc_res_nquery.
9254 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9255 additional NULL to __libc_res_nquery.
9256 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9257 __libc_res_nsearch.
9258 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9259 * include/resolv.h: Update prototypes of __libc_res_nquery,
9260 __libc_res_nsearch, __libc_res_nsend.
9261
a4fb7861
JM
92622014-02-18 Joseph Myers <joseph@codesourcery.com>
9263
c6af2d89
JM
9264 * math/auto-libm-test-in: Add tests of fma.
9265 * math/auto-libm-test-out: Regenerated.
9266 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9267 (fma_towardzero_test_data): Likewise.
9268 (fma_downward_test_data): Likewise.
9269 (fma_upward_test_data): Likewise.
9270 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9271 mpc_mode.
9272 (rounding_modes): Add values for new field.
9273 (func_calc_method): Add value mpfr_fff_f.
9274 (func_calc_desc): Add mpfr_fff_f union field.
9275 (test_function): Add field exact_args.
9276 (FUNC): Add macro argument EXACT_ARGS.
9277 (FUNC_mpfr_f_f): Update call to FUNC.
9278 (FUNC_mpfr_f_f): Likewise.
9279 (FUNC_mpfr_ff_f): Likewise.
9280 (FUNC_mpfr_if_f): Likewise.
9281 (FUNC_mpc_c_f): Likewise.
9282 (FUNC_mpc_c_c): Likewise.
9283 (test_functions): Add fma. Update calls to FUNC.
9284 (handle_input_arg): Add argument exact_args.
9285 (add_test): Update call to handle_input_arg.
9286 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9287 (output_for_one_input_case): Update call to calc_generic_results.
9288 Recalculate exact zero results in each rounding mode.
9289
a4fb7861
JM
9290 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9291 non-negative before setting low bit.
9292 * math/auto-libm-test-in: Mark one asin test possibly having
9293 spurious underflow.
9294 * math/auto-libm-test-out: Regenerated.
9295 * sysdeps/i386/fpu/libm-test-ulps: Update.
9296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9297
ef114eaf
DH
92982014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9299
2b7f4f2c
SP
9300 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9301 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9302 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
9303 * README: Add missing listing for microblaze*-*-linux-gnu.
9304
c70a4b1d
MF
93052014-02-16 Mike Frysinger <vapier@gentoo.org>
9306
9307 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9308 * sysdeps/unix/sysv/linux/ia64: Move directory from
9309 ports/sysdeps/unix/sysv/linux/ia64.
9310 * README: Update listing for ia64-*-linux-gnu.
9311
591aeaf7
TD
93122014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9313 Joseph Myers <joseph@codesourcery.com>
9314
9315 * Makeconfig (test-name): New variable.
9316 (evaluate-test): Likewise.
9317 * Makerules (do-test-clean): Remove .test-result files.
9318 (common-mostlyclean): Likewise.
9319 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9320 * scripts/evaluate-test.sh: New file.
9321
6e89caf1
JM
93222014-02-14 Joseph Myers <joseph@codesourcery.com>
9323
7f98f180
JM
9324 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9325 separate $(objpfx)tst-fopenloc-cmp.out and
9326 $(objpfx)tst-fopenloc-mem.out targets.
9327 (tests): Update dependencies.
9328 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9329 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9330 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9331 (tst-rxspencer-no-utf8-ARGS): New variable.
9332 (tst-rxspencer-no-utf8-ENV): Likewise.
9333 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9334 instead of $(objpfx)tst-rxspencer-mem.
9335 ($(objpfx)tst-rxspencer-mem): Change target to
9336 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9337 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9338 * posix/tst-rxspencer-no-utf8.c: New file.
9339
6e89caf1
JM
9340 * elf/Makefile ($(objpfx)order.out): Remove rule.
9341 [$(run-built-tests) = yes] (tests): Depend on
9342 $(objpfx)order-cmp.out.
9343 ($(objpfx)order-cmp.out): New rule.
9344 [$(run-built-tests) = yes] (tests): Depend on
9345 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9346 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9347 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9348 $(objpfx)tst-array5-static-cmp.out.
9349 ($(objpfx)tst-array1.out): Remove rule.
9350 ($(objpfx)tst-array1-cmp.out): New rule.
9351 ($(objpfx)tst-array1-static.out): Remove rule.
9352 ($(objpfx)tst-array1-static-cmp.out): New rule.
9353 ($(objpfx)tst-array2.out): Remove rule.
9354 ($(objpfx)tst-array2-cmp.out): New rule.
9355 ($(objpfx)tst-array3.out): Remove rule.
9356 ($(objpfx)tst-array3-cmp.out): New rule.
9357 ($(objpfx)tst-array4.out): Remove rule.
9358 ($(objpfx)tst-array4-cmp.out): New rule.
9359 ($(objpfx)tst-array5.out): Remove rule.
9360 ($(objpfx)tst-array5-cmp.out): New rule.
9361 ($(objpfx)tst-array5-static.out): Remove rule.
9362 ($(objpfx)tst-array5-static-cmp.out): New rule.
9363 [$(run-built-tests) = yes] (tests): Depend on
9364 $(objpfx)order2-cmp.out.
9365 ($(objpfx)order2.out): Remove rule.
9366 ($(objpfx)order2-cmp.out): New rule.
9367 ($(objpfx)tst-initorder.out): Remove rule.
9368 [$(run-built-tests) = yes] (tests): Depend on
9369 $(objpfx)tst-initorder-cmp.out.
9370 ($(objpfx)tst-initorder-cmp.out): New rule.
9371 ($(objpfx)tst-initorder2.out): Remove rule.
9372 [$(run-built-tests) = yes] (tests): Depend on
9373 $(objpfx)tst-initorder2-cmp.out.
9374 ($(objpfx)tst-initorder2-cmp.out): New rule.
9375 [$(run-built-tests) = yes] (tests): Depend on
9376 $(objpfx)tst-unused-dep-cmp.out.
9377 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9378 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9379 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9380 on $(objpfx)tst-setvbuf1-cmp.out.
9381 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9382 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9383 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9384 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9385 ($(objpfx)tst-svc.out): Remove rule.
9386 ($(objpfx)tst-svc-cmp.out): New rule.
9387
ed9a38e2
JM
93882014-02-13 Joseph Myers <joseph@codesourcery.com>
9389
9390 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9391 * ctype/ctype.h [__USE_MISC]: Likewise.
9392 * dirent/dirent.h [__USE_MISC]: Likewise.
9393 * grp/grp.h [__USE_MISC]: Likewise.
9394 * io/fcntl.h [__USE_MISC]: Likewise.
9395 * io/sys/stat.h [__USE_MISC]: Likewise.
9396 * libio/stdio.h [__USE_MISC]: Likewise.
9397 * posix/unistd.h [__USE_MISC]: Likewise.
9398 * pwd/pwd.h [__USE_MISC]: Likewise.
9399 * stdlib.h [__USE_MISC]: Likewise.
9400 * string/bits/string2.h [__USE_MISC]: Likewise.
9401 * string/string.h [__USE_MISC]: Likewise.
9402 * time/time.h [__USE_MISC]: Likewise.
9403
d6680619
AS
94042014-02-13 Andreas Schwab <schwab@suse.de>
9405
9406 [BZ #16574]
9407 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9408 second answer buffer if it was separately allocated.
9409
ace614b8
JM
94102014-02-12 Joseph Myers <joseph@codesourcery.com>
9411
743151ae
JM
9412 * sysdeps/mips/math-tests.h: Include <features.h>.
9413 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9414 (ROUNDING_TESTS_long_double): Do not define.
9415 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9416 (EXCEPTION_TESTS_long_double): Likewise.
9417 * sysdeps/mips/mips64/libm-test-ulps: Update.
9418
498afc54
JM
9419 * include/features.h (__USE_BSD): Remove macro definitions.
9420 (__USE_SVID): Likewise.
9421 (_BSD_SOURCE): Likewise.
9422 (_SVID_SOURCE): Likewise.
9423 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9424 from definition of _DEFAULT_SOURCE.
9425 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9426 [_DEFAULT_SOURCE].
9427 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9428 * bits/mman.h [__USE_BSD]: Likewise.
9429 * bits/termios.h [__USE_BSD]: Likewise.
9430 * bits/waitstatus.h [__USE_BSD]: Likewise.
9431 * ctype/ctype.h [__USE_SVID]: Likewise.
9432 * dirent/dirent.h [__USE_BSD]: Likewise.
9433 * grp/grp.h [__USE_SVID]: Likewise.
9434 [__USE_BSD]: Likewise.
9435 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9436 * io/fcntl.h [__USE_BSD]: Likewise.
9437 * io/ftw.h [__USE_BSD]: Likewise.
9438 * io/sys/stat.h [__USE_BSD]: Likewise.
9439 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9440 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9441 * libio/stdio.h [__USE_SVID]: Likewise.
9442 [__USE_BSD]: Likewise.
9443 * math/math.h [__USE_SVID]: Likewise.
9444 [__USE_BSD]: Likewise.
9445 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9446 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9447 * misc/search.h [__USE_SVID]: Likewise.
9448 * misc/sys/mman.h [__USE_BSD]: Likewise.
9449 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9450 * misc/sys/uio.h [__USE_BSD]: Likewise.
9451 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9452 * posix/glob.h [__USE_BSD]: Likewise.
9453 * posix/regex.h [__USE_BSD]: Likewise.
9454 * posix/sys/types.h [__USE_BSD]: Likewise.
9455 [__USE_SVID]: Likewise.
9456 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9457 * posix/sys/wait.h [__USE_BSD]: Likewise.
9458 [__USE_SVID]: Likewise.
9459 * posix/unistd.h [__USE_BSD]: Likewise.
9460 [__USE_SVID]: Likewise.
9461 * pwd/pwd.h [__USE_SVID]: Likewise.
9462 * resolv/netdb.h [__USE_BSD]: Likewise.
9463 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9464 * signal/signal.h [__USE_BSD]: Likewise.
9465 [__USE_SVID]: Likewise.
9466 * socket/sys/socket.h [__USE_BSD]: Likewise.
9467 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9468 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9469 [__USE_SVID]: Likewise.
9470 * string/bits/string2.h [__USE_BSD]: Likewise.
9471 [__USE_SVID]: Likewise.
9472 * string/bits/string3.h [__USE_BSD]: Likewise.
9473 * string/endian.h [__USE_BSD]: Likewise.
9474 * string/string.h [__USE_SVID]: Likewise.
9475 [__USE_BSD]: Likewise.
9476 * string/strings.h [__USE_BSD]: Likewise.
9477 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9478 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9479 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9480 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9481 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9482 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9483 Likewise.
9484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9485 Likewise.
9486 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9487 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9488 Likewise.
9489 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9490 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9491 Likewise.
9492 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9493 Likewise.
9494 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9495 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9496 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9497 Likewise.
9498 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9499 Likewise.
9500 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9501 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9502 * termios/termios.h [__USE_BSD]: Likewise.
9503 * time/sys/time.h [__USE_BSD]: Likewise.
9504 * time/time.h [__USE_BSD]: Likewise.
9505 [__USE_SVID]: Likewise.
9506
dd7b064c
JM
9507 * Makefile (subdir_targets): Remove subdir_lint.out.
9508
a2c4c199
JM
9509 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9510 (do-tst-printf): Likewise.
9511 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9512 $(objpfx)tst-printf.out.
9513
8756f740
JM
9514 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9515
1b6dd3f1
JM
9516 * Makerules (check-abi-%): Change target to
9517 $(objpfx)check-abi-%.out.
9518 (check-abi target): Update dependencies.
9519 (check-abi-pattern variable): Redirect output of diff to $@.
9520 (check-abi variable): Likewise.
9521 * elf/Makefile (check-abi): Update dependencies.
9522
ace614b8
JM
9523 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9524 unused.
9525 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9526 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9527 subnormal range.
9528 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9529 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9530 value has largest subnormal exponent.
9531 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9532 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9533 * sysdeps/aarch64/soft-fp/sfp-machine.h
9534 (_FP_TININESS_AFTER_ROUNDING): New macro.
9535 * sysdeps/alpha/soft-fp/sfp-machine.h
9536 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9537 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9538 Likewise.
9539 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9540 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9541 * sysdeps/mips/soft-fp/sfp-machine.h
9542 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9543 * sysdeps/powerpc/soft-fp/sfp-machine.h
9544 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9545 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9546 Likewise.
9547 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9548 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9549 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9550 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9551 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9552 Likewise.
9553
fbfdf9cb
DAS
95542014-02-12 Dylan Alex Simon <dylan@dylex.net>
9555
9556 [BZ #16545]
9557 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9558 model 1.
9559
68b7efaa
RH
95602014-02-12 Richard Henderson <rth@redhat.com>
9561
c70a4b1d 9562 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9563 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9564 * sysdeps/unix/sysv/linux/alpha: Move directory from
9565 ports/sysdeps/unix/sysv/linux/alpha.
9566 * README: Update listing for alpha-*-linux-gnu.
9567
cb4a2928
JM
95682014-02-11 Joseph Myers <joseph@codesourcery.com>
9569
c941736c
JM
9570 * include/features.h: Update comment documenting feature test
9571 macros.
9572 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9573 _DEFAULT_SOURCE.
9574 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9575 (_SVID_SOURCE): Likewise.
9576 (_DEFAULT_SOURCE): Update description of default features.
9577 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9578 with _GNU_SOURCE.
9579 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9580 (S_ISVTX): Likewise.
9581 * manual/math.texi (Mathematical Constants): Likewise.
9582 * manual/signal.texi (Interrupted Primitives): Likewise.
9583 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9584 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9585 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9586 Don't refer to _SVID_SOURCE in warning text.
9587
e8d8d7ec
JM
9588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9589
cb4a2928
JM
9590 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9591 already defined.
9592 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9593 * sysdeps/mips/dl-lookup.c: Remove.
9594 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9595
7e6424e3
AK
95962014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9597
9598 [BZ #16447]
9599 * math/auto-libm-test-in: Add testcase for expl.
9600 * math/auto-libm-test-out: Regenerate.
9601 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9602 calculation of unsafe.
9603 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9604
75eff3fe
MS
96052014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9606
9607 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9608 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9609 ports/sysdeps/unix/sysv/linux/aarch64.
9610 * README: Update listing for aarch64*-*-linux-gnu.
9611
d35f1e80
WN
96122014-02-11 Will Newton <will.newton@linaro.org>
9613
9614 * manual/probes.texi (Mathematical Function Probes): Use
9615 "triggered" instead of "hit".
9616
7b3436d4
WN
9617 * manual/probes.texi (Internal Probes): Add documentation
9618 of setjmp, longjmp and longjmp_target probes.
9619
b4f12ca3
WN
9620 * include/stap-probe.h: Add comment about probe argument
9621 format.
9622
c13a72b7
WN
9623 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9624 definition. (tr_where, tr_freehook, tr_mallochook,
9625 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9626
195b8165
DM
96272014-02-11 David S. Miller <davem@davemloft.net>
9628
9629 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9630 processing int_tests.
9631
2ad7600b
JM
96322014-02-10 Joseph Myers <joseph@codesourcery.com>
9633
9634 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9635 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9636 * sysdeps/unix/sysv/linux/mips: Move directory from
9637 ports/sysdeps/unix/sysv/linux/mips.
9638 * README: Update listing for mips-*-linux-gnu and
9639 mips64-*-linux-gnu.
9640
73588a72
AS
96412014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9642
9643 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9644 * sysdeps/unix/sysv/linux/m68k: Move directory from
9645 ports/sysdeps/unix/sysv/linux/m68k.
9646 * README: Update listing for m68k-*-linux-gnu.
9647
4372980f
CM
96482014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9649
9650 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9651 * sysdeps/unix/sysv/linux/generic: Move directory from
9652 ports/sysdeps/unix/sysv/linux/generic.
9653 * sysdeps/unix/sysv/linux/tile: Move directory from
9654 ports/sysdeps/unix/sysv/linux/tile.
9655 * README: Update listing for tile*-*-linux-gnu.
9656
a1ffb40e
OB
96572014-02-10 Ondřej Bílka <neleai@seznam.cz>
9658
57f41c40
AS
9659 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9660 __builtin_expect.
a1ffb40e
OB
9661 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9662 * catgets/open_catalog.c (__open_catalog): Likewise.
9663 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9664 * debug/confstr_chk.c: Likewise.
9665 * debug/fread_chk.c (__fread_chk): Likewise.
9666 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9667 * debug/getgroups_chk.c: Likewise.
9668 * debug/mbsnrtowcs_chk.c: Likewise.
9669 * debug/mbsrtowcs_chk.c: Likewise.
9670 * debug/mbstowcs_chk.c: Likewise.
9671 * debug/memcpy_chk.c: Likewise.
9672 * debug/memmove_chk.c: Likewise.
9673 * debug/mempcpy_chk.c: Likewise.
9674 * debug/memset_chk.c: Likewise.
9675 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9676 * debug/strcat_chk.c (__strcat_chk): Likewise.
9677 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9678 * debug/strncat_chk.c (__strncat_chk): Likewise.
9679 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9680 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9681 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9682 * debug/wcpncpy_chk.c: Likewise.
9683 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9684 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9685 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9686 * debug/wcsncpy_chk.c: Likewise.
9687 * debug/wcsnrtombs_chk.c: Likewise.
9688 * debug/wcsrtombs_chk.c: Likewise.
9689 * debug/wcstombs_chk.c: Likewise.
9690 * debug/wmemcpy_chk.c: Likewise.
9691 * debug/wmemmove_chk.c: Likewise.
9692 * debug/wmempcpy_chk.c: Likewise.
9693 * debug/wmemset_chk.c: Likewise.
9694 * dirent/scandirat.c (SCANDIRAT): Likewise.
9695 * dlfcn/dladdr1.c (dladdr1): Likewise.
9696 * dlfcn/dladdr.c (dladdr): Likewise.
9697 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9698 * dlfcn/dlerror.c (__dlerror): Likewise.
9699 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9700 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9701 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9702 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9703 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9704 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9705 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9706 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9707 Likewise.
9708 * elf/dl-conflict.c: Likewise.
9709 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9710 * elf/dl-dst.h: Likewise.
9711 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9712 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9713 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9714 * elf/dl-init.c (call_init, _dl_init): Likewise.
9715 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9716 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9717 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9718 Likewise.
a1ffb40e
OB
9719 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9720 Likewise.
9721 * elf/dl-minimal.c (__libc_memalign): Likewise.
9722 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9723 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9724 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9725 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9726 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9727 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9728 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9729 * elf/dl-writev.h (_dl_writev): Likewise.
9730 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9731 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9732 (dl_main): Likewise.
a1ffb40e
OB
9733 * elf/setup-vdso.h (setup_vdso): Likewise.
9734 * grp/compat-initgroups.c (compat_call): Likewise.
9735 * grp/fgetgrent.c (fgetgrent): Likewise.
9736 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9737 * grp/putgrent.c (putgrent): Likewise.
9738 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9739 Likewise.
9740 * hurd/hurdinit.c: Likewise.
9741 * iconvdata/8bit-gap.c (struct): Likewise.
9742 * iconvdata/ansi_x3.110.c : Likewise.
9743 * iconvdata/big5.c : Likewise.
9744 * iconvdata/big5hkscs.c : Likewise.
9745 * iconvdata/cp1255.c: Likewise.
9746 * iconvdata/cp1258.c : Likewise.
9747 * iconvdata/cp932.c : Likewise.
9748 * iconvdata/euc-cn.c: Likewise.
9749 * iconvdata/euc-jisx0213.c : Likewise.
9750 * iconvdata/euc-jp.c: Likewise.
9751 * iconvdata/euc-jp-ms.c : Likewise.
9752 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9753 * iconvdata/gb18030.c : Likewise.
9754 * iconvdata/gbbig5.c (const): Likewise.
9755 * iconvdata/gbgbk.c: Likewise.
9756 * iconvdata/gbk.c : Likewise.
9757 * iconvdata/ibm1364.c : Likewise.
9758 * iconvdata/ibm930.c : Likewise.
9759 * iconvdata/ibm932.c: Likewise.
9760 * iconvdata/ibm933.c : Likewise.
9761 * iconvdata/ibm935.c : Likewise.
9762 * iconvdata/ibm937.c : Likewise.
9763 * iconvdata/ibm939.c : Likewise.
9764 * iconvdata/ibm943.c: Likewise.
9765 * iconvdata/iso_11548-1.c: Likewise.
9766 * iconvdata/iso-2022-cn.c : Likewise.
9767 * iconvdata/iso-2022-cn-ext.c : Likewise.
9768 * iconvdata/iso-2022-jp-3.c: Likewise.
9769 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9770 * iconvdata/iso-2022-kr.c : Likewise.
9771 * iconvdata/iso646.c (gconv_end): Likewise.
9772 * iconvdata/iso_6937-2.c : Likewise.
9773 * iconvdata/iso_6937.c : Likewise.
9774 * iconvdata/iso8859-1.c: Likewise.
9775 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9776 * iconvdata/shift_jisx0213.c : Likewise.
9777 * iconvdata/sjis.c : Likewise.
9778 * iconvdata/t.61.c : Likewise.
9779 * iconvdata/tcvn5712-1.c : Likewise.
9780 * iconvdata/tscii.c: Likewise.
9781 * iconvdata/uhc.c : Likewise.
9782 * iconvdata/unicode.c (gconv_end): Likewise.
9783 * iconvdata/utf-16.c (gconv_end): Likewise.
9784 * iconvdata/utf-32.c (gconv_end): Likewise.
9785 * iconvdata/utf-7.c (base64): Likewise.
9786 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9787 * iconv/gconv_close.c (__gconv_close): Likewise.
9788 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9789 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9790 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9791 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9792 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9793 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9794 * iconv/iconv.c (iconv): Likewise.
9795 * iconv/iconv_close.c: Likewise.
9796 * iconv/loop.c (SINGLE): Likewise.
9797 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9798 * include/atomic.h: Likewise.
9799 * inet/inet6_option.c (option_alloc): Likewise.
9800 * intl/bindtextdom.c (set_binding_values): Likewise.
9801 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9802 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9803 * intl/localealias.c (read_alias_file): Likewise.
9804 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9805 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9806 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9807 * libio/fmemopen.c (fmemopen): Likewise.
9808 * libio/iofgets.c (_IO_fgets): Likewise.
9809 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9810 * libio/iofgetws.c (fgetws): Likewise.
9811 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9812 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9813 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9814 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9815 * locale/findlocale.c (_nl_find_locale): Likewise.
9816 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9817 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9818 Likewise.
9819 * locale/setlocale.c (setlocale): Likewise.
9820 * login/programs/pt_chown.c (main): Likewise.
9821 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9822 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9823 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9824 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9825 * math/e_exp2l.c: Likewise.
9826 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9827 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9828 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9829 * math/s_catan.c (__catan): Likewise.
9830 * math/s_catanf.c (__catanf): Likewise.
9831 * math/s_catanh.c (__catanh): Likewise.
9832 * math/s_catanhf.c (__catanhf): Likewise.
9833 * math/s_catanhl.c (__catanhl): Likewise.
9834 * math/s_catanl.c (__catanl): Likewise.
9835 * math/s_ccosh.c (__ccosh): Likewise.
9836 * math/s_ccoshf.c (__ccoshf): Likewise.
9837 * math/s_ccoshl.c (__ccoshl): Likewise.
9838 * math/s_cexp.c (__cexp): Likewise.
9839 * math/s_cexpf.c (__cexpf): Likewise.
9840 * math/s_cexpl.c (__cexpl): Likewise.
9841 * math/s_clog10.c (__clog10): Likewise.
9842 * math/s_clog10f.c (__clog10f): Likewise.
9843 * math/s_clog10l.c (__clog10l): Likewise.
9844 * math/s_clog.c (__clog): Likewise.
9845 * math/s_clogf.c (__clogf): Likewise.
9846 * math/s_clogl.c (__clogl): Likewise.
9847 * math/s_csin.c (__csin): Likewise.
9848 * math/s_csinf.c (__csinf): Likewise.
9849 * math/s_csinh.c (__csinh): Likewise.
9850 * math/s_csinhf.c (__csinhf): Likewise.
9851 * math/s_csinhl.c (__csinhl): Likewise.
9852 * math/s_csinl.c (__csinl): Likewise.
9853 * math/s_csqrt.c (__csqrt): Likewise.
9854 * math/s_csqrtf.c (__csqrtf): Likewise.
9855 * math/s_csqrtl.c (__csqrtl): Likewise.
9856 * math/s_ctan.c (__ctan): Likewise.
9857 * math/s_ctanf.c (__ctanf): Likewise.
9858 * math/s_ctanh.c (__ctanh): Likewise.
9859 * math/s_ctanhf.c (__ctanhf): Likewise.
9860 * math/s_ctanhl.c (__ctanhl): Likewise.
9861 * math/s_ctanl.c (__ctanl): Likewise.
9862 * math/w_pow.c: Likewise.
9863 * math/w_powf.c: Likewise.
9864 * math/w_powl.c: Likewise.
9865 * math/w_scalb.c (sysv_scalb): Likewise.
9866 * math/w_scalbf.c (sysv_scalbf): Likewise.
9867 * math/w_scalbl.c (sysv_scalbl): Likewise.
9868 * misc/error.c (error_tail): Likewise.
9869 * misc/pselect.c (__pselect): Likewise.
9870 * nis/nis_callback.c (__nis_create_callback): Likewise.
9871 * nis/nis_call.c (__nisfind_server): Likewise.
9872 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9873 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9874 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9875 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9876 * nis/nis_lookup.c (nis_lookup): Likewise.
9877 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
9878 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9879 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9880 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9881 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9882 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9883 * nis/nss_compat/compat-initgroups.c (add_group)
9884 (internal_getgrent_r): Likewise.
9885 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9886 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9887 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9888 (internal_getspnam_r): Likewise.
9889 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9890 (_nss_nis_getaliasbyname_r): Likewise.
9891 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9892 (_nss_nis_getntohost_r): Likewise.
9893 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9894 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9895 (_nss_nis_getgrgid_r): Likewise.
9896 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9897 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9898 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9899 (_nss_nis_gethostbyname4_r): Likewise.
9900 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9901 (initgroups_netid): Likewise.
a1ffb40e 9902 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9903 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9904 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9905 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9906 (_nss_nis_getprotobynumber_r): Likewise.
9907 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9908 (_nss_nis_getsecretkey): Likewise.
9909 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9910 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9911 (_nss_nis_getpwuid_r): Likewise.
9912 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9913 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9914 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9915 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9916 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9917 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9918 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9919 Likewise.
57f41c40
AS
9920 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9921 (_nss_nisplus_getntohost_r): Likewise.
9922 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9923 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9924 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9925 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9926 Likewise.
57f41c40
AS
9927 * nis/nss_nisplus/nisplus-initgroups.c
9928 (_nss_nisplus_initgroups_dyn): Likewise.
9929 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9930 (_nss_nisplus_getnetbyaddr_r): Likewise.
9931 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9932 (_nss_nisplus_getprotobynumber_r): Likewise.
9933 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9934 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9935 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9936 Likewise.
57f41c40
AS
9937 * nis/nss_nisplus/nisplus-service.c
9938 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9939 (_nss_nisplus_getservbyport_r): Likewise.
9940 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9941 (_nss_nisplus_getspnam_r): Likewise.
9942 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9943 Likewise.
a1ffb40e
OB
9944 * nscd/aicache.c (addhstaiX): Likewise.
9945 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9946 * nscd/connections.c (register_traced_file, send_ro_fd)
9947 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9948 (main_loop_epoll): Likewise.
a1ffb40e
OB
9949 * nscd/grpcache.c (addgrbyX): Likewise.
9950 * nscd/hstcache.c (addhstbyX): Likewise.
9951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9952 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9953 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9954 (addinnetgrX): Likewise.
9955 * nscd/nscd-client.h (__nscd_acquire_maplock)
9956 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9957 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9958 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9959 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9960 Likewise.
9961 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9962 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9963 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9964 (__nscd_get_map_ref): Likewise.
a1ffb40e 9965 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9966 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9967 Likewise.
a1ffb40e
OB
9968 * nscd/pwdcache.c (addpwbyX): Likewise.
9969 * nscd/selinux.c (preserve_capabilities): Likewise.
9970 * nscd/servicescache.c (addservbyX): Likewise.
9971 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9972 * posix/fnmatch.c (fnmatch): Likewise.
9973 * posix/getopt.c (_getopt_internal_r): Likewise.
9974 * posix/glob.c (glob, glob_in_dir): Likewise.
9975 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9976 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9977 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9978 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9979 * resolv/res_init.c: Likewise.
9980 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9981 * resolv/res_query.c (__libc_res_nquery): Likewise.
9982 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9983 Likewise.
9984 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9985 * stdio-common/perror.c (perror): Likewise.
9986 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9987 * stdio-common/tmpnam.c (tmpnam): Likewise.
9988 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9989 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9990 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9991 Likewise.
a1ffb40e
OB
9992 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9993 * stdlib/putenv.c (putenv): Likewise.
9994 * stdlib/setenv.c (__add_to_environ): Likewise.
9995 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9996 * stdlib/strtol_l.c (INTERNAL): Likewise.
9997 * string/memmem.c (memmem): Likewise.
9998 * string/strerror.c (strerror): Likewise.
9999 * string/strnlen.c (__strnlen): Likewise.
10000 * string/test-memmem.c (simple_memmem): Likewise.
10001 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10002 * sunrpc/pm_getport.c (__get_socket): Likewise.
10003 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10004 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10005 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10006 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10007 Likewise.
10008 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10009 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10010 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10011 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10012 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10013 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10014 Likewise.
10015 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10016 Likewise.
a1ffb40e
OB
10017 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10018 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10019 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10020 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10021 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10023 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10024 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10025 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10026 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10027 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10028 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10029 Likewise.
10030 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10031 Likewise.
10032 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10033 Likewise.
10034 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10035 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10036 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10037 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10038 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10039 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10040 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10042 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10043 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10044 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10045 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10047 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10049 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10050 Likewise.
a1ffb40e
OB
10051 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10052 Likewise.
10053 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10054 Likewise.
10055 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10056 Likewise.
10057 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10058 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10059 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10060 Likewise.
10061 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10062 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10063 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10064 * sysdeps/posix/sleep.c: Likewise.
10065 * sysdeps/posix/tempname.c: Likewise.
10066 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10067 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10068 Likewise.
57f41c40
AS
10069 * sysdeps/powerpc/powerpc32/dl-machine.h
10070 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10071 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10072 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10073 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10074 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10075 Likewise.
10076 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10077 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10078 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10079 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10080 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10081 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10082 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10083 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10084 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10085 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10086 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10087 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10088 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10089 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10090 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10091 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10092 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10093 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10094 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10095 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10096 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10097 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10099 Likewise.
10100 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10101 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10102 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10103 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10104 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10105 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10106 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10107 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10108 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10109 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10110 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10111 Likewise.
10112 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10113 (__posix_fallocate64_l64): Likewise.
10114 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10115 (posix_fallocate): Likewise.
57f41c40
AS
10116 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10117 Likewise.
a1ffb40e 10118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10119 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10120 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10121 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10122 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10123 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10124 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10125 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10126 (__posix_fallocate64_l64): Likewise.
10127 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10128 Likewise.
10129 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10130 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10131 (__get_clockfreq): Likewise.
a1ffb40e
OB
10132 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10133 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10134 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10137 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10138 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10139 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10140 Likewise.
10141 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10142 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10143 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10144 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10145 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10146 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10147 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10148 Likewise.
10149 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10150 (posix_fallocate): Likewise.
10151 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10152 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10153 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10154 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10155 (elf_machine_rela, elf_machine_rela_relative)
10156 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10157 * time/asctime.c (asctime_internal): Likewise.
10158 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10159 * time/tzset.c (__tzset_parse_tz): Likewise.
10160 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10161 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10162 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10163 * wcsmbs/wcsmbsload.h: Likewise.
10164
f3d338c9
OB
10165 [BZ #15894]
10166 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10167
57f41c40
AS
10168 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10169 (arena_get2): Remove THREAD_STATS conditionals.
10170 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10171 (__malloc_stats, int): Likewise.
bdfe308a 10172
d674667c
MF
101732014-02-08 Mike Frysinger <vapier@gentoo.org>
10174
10175 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10176 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10177
6349768c
MF
10178 * manual/setjmp.texi: Fix typos/grammar errors.
10179
0b7c7473
MF
10180 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10181 Only return early when n is <= 0. Delete unused return statement.
10182
ac8cc9e3
MF
10183 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10184 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10185 * debug/tst-longjmp_chk3.c: New file.
10186
c5bb8e23
MF
10187 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10188 (test_main): Replace code with set_fortify_handler call.
10189 * debug/test-strcpy_chk.c: Likewise.
10190 * debug/tst-chk1.c: Likewise.
10191 * debug/tst-longjmp_chk.c: Likewise.
10192 * test-skeleton.c: Include fcntl.h & paths.h
10193 (set_fortify_handler): Define.
10194
10444e42
MF
10195 * debug/tst-longjmp_chk.c: Add header comment and include
10196 ../test-skeleton.c.
10197 (do_test): Mark static.
10198 (TEST_FUNCTION): Define.
10199
1e805e8d
MF
10200 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10201 (IP_PMTUDISC_INTERFACE): Likewise.
10202 (IP_MULTICAST_IF): Likewise.
10203 (IP_MULTICAST_TTL): Likewise.
10204 (IP_MULTICAST_LOOP): Likewise.
10205 (IP_ADD_MEMBERSHIP): Likewise.
10206 (IP_DROP_MEMBERSHIP): Likewise.
10207 (IP_UNBLOCK_SOURCE): Likewise.
10208 (IP_BLOCK_SOURCE): Likewise.
10209 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10210 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10211 (IP_MSFILTER): Likewise.
10212 (MCAST_JOIN_GROUP): Likewise.
10213 (MCAST_BLOCK_SOURCE): Likewise.
10214 (MCAST_UNBLOCK_SOURCE): Likewise.
10215 (MCAST_LEAVE_GROUP): Likewise.
10216 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10217 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10218 (MCAST_MSFILTER): Likewise.
10219 (IP_MULTICAST_ALL): Likewise.
10220 (IP_UNICAST_IF): Likewise.
10221
73f79bb7
MF
10222 * timezone/Makefile: Delete $(have-ksh) check.
10223 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10224 * timezone/tzselect.ksh: Add +x mode bits.
10225
8da79b60
MF
10226 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10227 (ANON_INODE_FS_MAGIC): Likewise.
10228 (BDEVFS_MAGIC): Likewise.
10229 (BINFMTFS_MAGIC): Likewise.
10230 (BTRFS_TEST_MAGIC): Likewise.
10231 (CRAMFS_MAGIC_WEND): Likewise.
10232 (DEBUGFS_MAGIC): Likewise.
10233 (ECRYPTFS_SUPER_MAGIC): Likewise.
10234 (EXT3_SUPER_MAGIC): Likewise.
10235 (EXT4_SUPER_MAGIC): Likewise.
10236 (FUTEXFS_SUPER_MAGIC): Likewise.
10237 (HOSTFS_SUPER_MAGIC): Likewise.
10238 (HUGETLBFS_MAGIC): Likewise.
10239 (MINIX3_SUPER_MAGIC): Likewise.
10240 (MTD_INODE_FS_MAGIC): Likewise.
10241 (NILFS_SUPER_MAGIC): Likewise.
10242 (OPENPROM_SUPER_MAGIC): Likewise.
10243 (PIPEFS_MAGIC): Likewise.
10244 (PSTOREFS_MAGIC): Likewise.
10245 (QNX6_SUPER_MAGIC): Likewise.
10246 (RAMFS_MAGIC): Likewise.
10247 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10248 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10249 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10250 (SECURITYFS_MAGIC): Likewise.
10251 (SELINUX_MAGIC): Likewise.
10252 (SMACK_MAGIC): Likewise.
10253 (SOCKFS_MAGIC): Likewise.
10254 (SQUASHFS_MAGIC): Likewise.
10255 (STACK_END_MAGIC): Likewise.
10256 (TMPFS_MAGIC): Likewise.
10257 (USBDEVICE_SUPER_MAGIC): Likewise.
10258 (V9FS_MAGIC): Likewise.
10259 (XENFS_SUPER_MAGIC): Likewise.
10260 (CRAMFS_MAGIC): Fix typo in comment.
10261 (EXT2_SUPER_MAGIC): Update comment.
10262 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10263
464263cc
JM
102642014-02-08 Joseph Myers <joseph@codesourcery.com>
10265
c6bfe5c4
JM
10266 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10267 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10268 * sysdeps/unix/sysv/linux/arm: Move directory from
10269 ports/sysdeps/unix/sysv/linux/arm.
10270 * README: Update listing for arm-*-linux-gnueabi.
10271
464263cc
JM
10272 * README: Remove mention of am33.
10273
32749f6c
RM
102742014-02-07 Roland McGrath <roland@hack.frob.com>
10275
10276 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10277 than the comma operator, to avoid "rhs of comma has no effect"
10278 compiler warnings.
10279 (__sigfillset, __sigandset, __sigorset): Likewise.
10280 * include/signal.h (__sigemptyset): Likewise.
10281 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10282
d5b396c1
AM
102832014-02-07 Allan McRae <allan@archlinux.org>
10284
10285 * version.h (RELEASE): Set to "development".
10286 (VERSION): Set to "2.19.90"
10287 * NEWS: Add 2.20 section.
10288
3bfff2ed
CD
102892014-02-06 Carlos O'Donell <carlos@redhat.com>
10290
10291 [BZ #16529]
10292 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10293
ee7cc385
SP
102942014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10295
10296 * manual/contrib.texi: Update entry for Carlos O'Donell,
10297 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10298
f877c4f2
CD
102992014-02-05 Carlos O'Donell <carlos@rehdat.com>
10300
27e839f6
CD
10301 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10302
f877c4f2
CD
10303 * sysdeps/unix/sysv/linux/kernel-features.h
10304 [__LINUX_KERNEL_VERSION >= 0x020621]
10305 (__ASSUME_PROC_PID_TASK_COMM): Define.
10306
68159946
SP
103072014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10308
ba17cdbd
SP
10309 [BZ #16398]
10310 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10311 conversion when destination buffer does not have enough space.
10312 * libio/tst-ftell-partial-wide.c: New test case.
10313 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10314
68159946
SP
10315 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10316 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10317 Leonard and Allan McRae.
10318
2b528732
DM
103192014-02-04 David S. Miller <davem@davemloft.net>
10320
10321 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10322 32-bit.
10323
0ff82463
AZ
103242014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10325
57f41c40
AS
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10327 New file
c01603f7
AZ
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10329 New file
57f41c40
AS
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10331 New file.
10332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10333 New file.
c01603f7
AZ
10334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10335 New file.
57f41c40
AS
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10337 New file.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10339 New file.
c01603f7
AZ
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10341 New file.
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10343 New file.
10344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10345 New file.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10347 New file.
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10349 New file.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10351 New file.
10352
103532014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10354
0ff82463
AZ
10355 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10356 * shlib-versions: Likewise.
10357
1695c773
AZ
103582014-02-04 Roland McGrath <roland@hack.frob.com>
10359 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10360
10361 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10362 (abilist-pattern): New variable, set to %-le.abilist.
10363
10364 * Makerules (abilist-pattern): New variable.
10365 (vpath): Use $(abilist-pattern) in place of %.abilist.
10366 (check-abi-% pattern rule): Likewise.
10367 (check-abi, update-abi): Likewise.
10368
6c0ce4b4
EW
103692014-02-04 Eric Wong <normalperson@yhbt.net>
10370
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10372
481e3524
CD
103732014-02-03 Carlos O'Donell <carlos@redhat.com>
10374
10375 * manual/startup.texi: Add next, previous, and top entries for
10376 the `Program Arguments' and `Environment Variables' nodes.
10377
375592d3
AO
103782014-02-03 Alexandre Oliva <aoliva@redhat.com>
10379
10380 * manual/macros.texi: Add comments before MTASC-safety macros.
10381
f54838ba
AO
10382 * manual/users.texi: Document MTASC-safety properties.
10383
57f41c40
AS
10384 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10385 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
10386 @deftypefun, and add @safety note.
10387 * manual/signal.texi: Move comments that analyze the above
10388 functions to their home place.
10389
fd3daba4
AM
103902014-02-03 Allan McRae <allan@archlinux.org>
10391
10392 * po/sl.po: Update Slovenian translation from translation project.
10393
597636d7
AO
103942014-02-02 Alexandre Oliva <aoliva@redhat.com>
10395
10396 * manual/time.texi (timegm): Add missing blank after @c.
10397 Reported by Joseph Myers <joseph@codesourcery.com>.
10398
ee196e3c
AO
103992014-02-01 Alexandre Oliva <aoliva@redhat.com>
10400
10401 * manual/check-safety.sh: New.
10402 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10403
f8d529d5
AO
10404 * manual/terminal.texi: Document MTASC-safety properties.
10405
de55fdf4
AO
10406 * manual/filesys.texi: Document MTASC-safety properties.
10407
c3299c08
AO
10408 * manual/errno.texi: Document MTASC-safety properties.
10409
06e90b14
AO
10410 * manual/intro.texi: Document safety identifiers and
10411 conditionals.
10412
1acd4371
AO
10413 * manual/string.texi (wcstok): Fix prototype.
10414 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10415
23e5b8cb
AO
10416 * manual/time.texi: Document MTASC-safety properties.
10417
11087373
AO
10418 * manual/string.texi: Document MTASC-safety properties.
10419
5da2c93d
AO
10420 * manual/threads.texi: Document MTASC-safety properties.
10421
171e9210
AO
10422 * manual/stdio.texi: Document MTASC-safety properties.
10423
d9e02532
AO
10424 * manual/syslog.texi: Document MTASC-safety properties.
10425
6af8bab7
AO
10426 * manual/sysinfo.texi: Document MTASC-safety properties.
10427
663b02d7
AO
10428 * manual/startup.texi: Document MTASC-safety properties.
10429
973f180b
AO
10430 * manual/socket.texi: Document MTASC-safety properties.
10431
8f3c25c8
AO
10432 * manual/signal.texi: Document MTASC-safety properties.
10433
542210fb
AO
104342014-01-31 Alexandre Oliva <aoliva@redhat.com>
10435
10436 * manual/setjmp.texi: Document MTASC-safety properties.
10437
433c45a2
AO
10438 * manual/search.texi: Document MTASC-safety properties.
10439
c8ce789c
AO
10440 * manual/resource.texi: Document MTASC-safety properties.
10441
19f5d29c
AO
10442 * manual/process.texi: Document MTASC-safety properties.
10443
e2dfb7f4
AO
10444 * manual/platform.texi: Document MTASC-safety properties.
10445
8c1413f5
AO
10446 * manual/pipe.texi: Document MTASC-safety properties.
10447
03483ada
AO
10448 * manual/pattern.texi: Document MTASC-safety properties.
10449
29e7e2df
AO
10450 * manual/message.texi: Document MTASC-safety properties.
10451
9f529d7c
AO
10452 [BZ #12751]
10453 * manual/memory.texi: Document MTASC-safety properties.
10454
27aaa791
AO
10455 * manual/math.texi: Document MTASC-safety properties.
10456
f2d58726
AO
10457 * manual/locale.texi: Document MTASC-safety properties.
10458
2cc3615c
AO
10459 * manual/llio.texi: Document MTASC-safety properties.
10460
d9f0ec97
AO
10461 * manual/libdl.texi: New.
10462
e7c4409a
AO
10463 * manual/lang.texi: Document MTASC-safety properties.
10464
27bdc63c
AO
10465 * manual/job.texi: Document MTASC-safety properties.
10466
a7b90ea9
AO
10467 * manual/getopt.texi: Document MTASC-safety properties.
10468
c49130e3
AO
10469 * manual/ctype.texi: Document MTASC-safety properties.
10470
0d23a5c1
MR
104712014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10472
10473 [BZ #16046]
10474 * csu/libc-tls.c (static_map): Remove variable.
10475 (__libc_setup_tls): Use main executable's link map for TLS data.
10476 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10477 casing for LM_ID_BASE and GL(dl_nns).
10478 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10479 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10480 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10481 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10482 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10483 member.
10484 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10485 l_phnum members.
10486
0037bb60
AO
104872014-01-30 Alexandre Oliva <aoliva@redhat.com>
10488
10489 * manual/debug.texi: Document MTASC-safety properties.
10490
409e00bd
L
104912014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10492
10493 [BZ #16510]
10494 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10495 of __x86_64__ when disabling x87 inline functions.
10496
86e60666
AO
104972014-01-29 Alexandre Oliva <aoliva@redhat.com>
10498
10499 * manual/charset.texi: Document MTASC-safety properties.
10500
76167637
AO
10501 * manual/crypt.texi: Document MTASC-safety properties.
10502
e567f2a0
AO
10503 * manual/conf.texi: Document MTASC-safety properties.
10504
b719dafd
AO
10505 * manual/arith.texi: Document MTASC-safety properties.
10506
4a16c662
AO
10507 * manual/argp.texi: Document MTASC-safety properties.
10508
0a57b83e
AO
10509 * manual/macros.texi: Introduce macros to document multi
10510 thread, asynchronous signal and asynchronous cancellation
10511 safety properties.
10512 * manual/intro.texi: Introduce the properties themselves.
10513
feab2397
KK
105142014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10515
10516 * sysdeps/sh/sh4/Makefile: New file.
10517
1c0d11bc
AS
105182014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10519
10520 * math/gen-libm-test.pl ($srcdir): New variable.
10521 ($auto_input): Use it.
10522
af37a8a3
SP
105232014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10524
d7b00f98
SP
10525 [BZ #16506]
10526 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10527 access beyond array bounds when parsing netgroups file.
10528
af37a8a3
SP
10529 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10530 the old buffer before realloc.
10531
0c00f062
AM
105322014-01-27 Allan McRae <allan@archlinux.org>
10533
10534 * po/fr.po: Update French translation from translation project.
10535
7d69a1b0
KK
105362014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10537
10538 * sysdeps/sh/libm-test-ulps: Regenerate.
10539
6e697ff7
DM
105402014-01-24 David S. Miller <davem@davemloft.net>
10541
10542 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10543
9cadb35c
KK
105442014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10545
10546 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10547 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10548
5d41dadf
SP
105492013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10550
10551 [BZ #16474]
10552 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10553 string pointers after reallocation.
10554
0bad441c
KK
105552014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10556
10557 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10558 __SH4A__ instead of __SH_FPU_ANY__.
10559
7007c661
KK
105602014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10561
10562 * sysdeps/sh/fpu_control.h: New file.
10563 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10564 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10565 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10566 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10567 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10568 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10569 * sysdeps/sh/sys/ucontext.h: Remove.
10570 * sysdeps/sh/sys: Remove directory.
10571
0f0c35e4
AK
105722014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10573
10574 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10575 s390/sys/ucontext.h.
10576 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10577 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10578
4959e284
L
105792014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10580
10581 [BZ #15605]
10582 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10583
d98720e0
AZ
105842014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10585
10586 [BZ#16431]
10587 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10588 Adjust the vDSO correctly for internal calls.
10589 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10590
91cbd0bc
AM
105912014-01-20 Allan McRae <allan@archlinux.org>
10592
10593 * po/ca.po: Update Catalan translation from translation project.
10594
7a02cfad
MF
105952014-01-16 Mike Frysinger <vapier@gentoo.org>
10596
10597 * sysdeps/s390/sotruss-lib.c: New file.
10598
736c304a
AZ
105992014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10600
10601 [BZ#16430]
6e077ee5 10602 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10603 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10604 local calls issues by not having a PLT stub required for IFUNC calls.
10605 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10606
94d0cea0
JM
106072014-01-16 Joseph Myers <joseph@codesourcery.com>
10608
10609 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10610 * math/test-fpucw-static.c: Likewise.
10611
980cb518
SP
106122013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10613
10614 [BZ #16453]
10615 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10616
2393fc01
AZ
106172014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10618
10619 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10620 implementation for powerpc.
10621
d359bcc2
OB
106222014-01-15 Ondřej Bílka <neleai@seznam.cz>
10623
10624 [BZ #14782]
10625 * sysdeps/posix/system.c (__libc_system): Do not enable
10626 asynchronous cancellation.
10627
7beb48cb
AK
106282014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10629
10630 [BZ #16427]
10631 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10632 handling only for numbers special also in the IEEE case.
10633
c20d5bf5
AK
106342014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10635
10636 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10637
e83bd4ee
AM
106382014-01-11 Allan McRae <allan@archlinux.org>
10639
76d0ea69
AM
10640 * po/bg.po: Update Bulgarian translation from translation project.
10641
e83bd4ee
AM
10642 * po/de.po: Update German translation from translation project.
10643
bc2ba20a
RM
106442014-01-10 Roland McGrath <roland@hack.frob.com>
10645
10646 * sysdeps/generic/gcc-compat.h: New file.
10647
649ecea2
SP
106482014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10649
10650 * benchtests/asin-inputs: Correct slow inputs.
10651 * benchtests/acos-inputs: Likewise.
10652
1b19c006
AM
106532014-01-10 Allan McRae <allan@archlinux.org>
10654
a46dab08
AM
10655 * po:sv.po: Update Swedish translation from translation project.
10656
421df74a
AM
10657 * po/vi.po: Update Vietnamese translation from translation project.
10658
d61c51a7
AM
10659 * po/eo.po: Update Esperanto translation from translation project.
10660
0339a319
AM
10661 * po/cs.po: Update Czech translation from translation project.
10662
94ad3e99
AM
10663 * po/nl.po: Update Dutch translation from translation project.
10664
e349ca71
AM
10665 * po/pl.po: Update Polish translation from translation project.
10666
ddf930c1
AM
10667 * po/ru.po: Update Russian translation from translation project.
10668
1b19c006
AM
10669 * po/uk.po: Update Ukrainian translation from translation project.
10670
9f236c49
BM
106712014-01-08 Brooks Moses <bmoses@google.com>
10672
10673 * elf/dl-load.c: Fix comment typo.
10674
cd6701cf
CD
106752014-01-08 Carlos O'Donell <carlos@redhat.com>
10676
10677 * po/header.pot: Rename to...
10678 * po/pot.header: ... this.
10679 * po/Makefile: Use pot.header.
10680
66671c84
YK
106812014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10682 Maxim Kuvyrkov <maxim@kugelworks.com>
10683
10684 [BZ #16394]
cd6701cf
CD
10685 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10686 SRC and DEST against LEN.
66671c84 10687
38f34581
AZ
106882014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10689
10690 [BZ #16414]
10691 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10692 implementation.
10693 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10694
106952014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10696
10697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10698
4c327f2a
JM
106992014-01-08 Joseph Myers <joseph@codesourcery.com>
10700
10701 [BZ #16408]
10702 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10703 for large positive arguments.
10704
b821f414
JM
107052014-01-07 Joseph Myers <joseph@codesourcery.com>
10706
1f0f2067
JM
10707 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10708
a5a326f6
JM
10709 * math/auto-libm-test-in: Mark various tests with
10710 xfail-rounding:ldbl-128ibm.
10711 * math/auto-libm-test-out: Regenerated.
10712
b821f414
JM
10713 [BZ #16407]
10714 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10715 Increase overflow threshold.
10716
94c8a4bc
OB
107172014-01-07 Ondřej Bílka <neleai@seznam.cz>
10718
10719 [BZ #14286]
10720 * stdio-common/vfprintf.c: Check for integer overflow.
10721
87ded0c3
AK
107222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10723
10724 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10725 the first argument and return value of __tls_get_addr_internal.
10726
c5eebdd0
AK
107272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10728
10729 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10730 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10731
05d138ef
AK
107322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10733
10734 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10735 * sysdeps/s390/rtld-global-offsets.sym: New file.
10736 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10737 GLIBC_2.19 symbol.
10738 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10739 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10740 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10741 ... this.
10742 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10743 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10744 ... this.
10745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10746 Regenerate.
10747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10748 Regenerate.
10749 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10750 halfs of GPRs for high_gprs contexts.
10751 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10752 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10753 field.
10754 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10755 uc_flags field.
10756 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10757 64 bit versions:
10758 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10759 for high GPRs (uc_high_gprs) and for future extensions
10760 (__reserved).
10761 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10762 for future extensions (__reserved).
10763 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10764 64 bit versions:
10765 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10766 SC_HIGHGPRS offset definition.
10767 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10768 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10769
93a45ff1
AK
10770 * Versions.def: Add GLIBC_2.19 for libpthread.
10771 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10772 siglongjmp for libpthread with GLIBC_2.19 symver.
10773 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10774 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10775 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10776 * sysdeps/s390/__longjmp.c: New file.
10777 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10778 * sysdeps/s390/longjmp.c: New file.
10779 * sysdeps/s390/setjmp.S: New file.
10780 * sysdeps/s390/sigjmp.S: New file.
10781 * sysdeps/s390/v1-longjmp.c: New file.
10782 * sysdeps/s390/v1-setjmp.h: New file.
10783 * sysdeps/s390/v1-sigjmp.c: New file.
10784 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10785 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10786 GLIBC_2.19 version.
10787 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10788 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10789 versioned symbols for ____longjmp_chk.
10790 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10791 Likewise.
10792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10793 Regenerate.
10794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10795 Regenerate.
10796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10797 Regenerate.
10798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10799 Regenerate.
10800 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10801 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10802 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10803 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10804 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10805 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10806 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10807 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10808 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10809 * sysdeps/s390/rtld-__longjmp.c: New file.
10810 * sysdeps/s390/rtld-setjmp.S: New file.
10811
eb3fc44b
JM
108122014-01-06 Joseph Myers <joseph@codesourcery.com>
10813
10814 [BZ #16400]
10815 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10816 Return -__logl (x) for small positive arguments without evaluating
10817 a polynomial.
10818
9341dde4
MF
108192014-01-06 Mike Frysinger <vapier@gentoo.org>
10820
10821 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10822 Rename to ...
10823 (__ptrace_peeksiginfo_args): ... this.
10824 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10825 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10827
4cff0293
AM
108282014-01-06 Allan McRae <allan@archlinux.org>
10829
10830 * inet/netinet/in.h: Fix typo in comment.
10831
75595dcf
AJ
108322014-01-05 Andreas Jaeger <aj@suse.de>
10833
10834 * sysdeps/i386/fpu/libm-test-ulps: Update.
10835
79c1e109
AM
108362014-01-05 Allan McRae <allan@archlinux.org>
10837
dd804818
AM
10838 * po/libc.pot: Regenerated.
10839
79c1e109
AM
10840 * malloc/memusagestat.c: Fix gettext call formatting.
10841
0c813d1f
SK
108422014-01-04 Sami Kerola <kerolasa@iki.fi>
10843
10844 * nscd/nscd.c: Improve usage() output.
10845
20f4a8d9
MF
108462014-01-04 Mike Frysinger <vapier@gentoo.org>
10847
10848 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10849 * sysdeps/unix/sysv/linux/configure: Regenerated.
10850 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10851 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10852
22562bb2
JM
108532014-01-03 Joseph Myers <joseph@codesourcery.com>
10854
10855 [BZ #16390]
10856 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10857 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10858
d7ad2d9b
AZ
108592014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10860
10861 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10862 extra tokens at end of #undef directive.
10863 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10864 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10865 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10866
7dd009d8
JM
108672014-01-03 Joseph Myers <joseph@codesourcery.com>
10868
24db925a
JM
10869 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10870
7dd009d8
JM
10871 * math/auto-libm-test-in: Mark various tests with
10872 xfail-rounding:ldbl-128ibm.
10873 * math/auto-libm-test-out: Regenerated.
10874
396e3ecf
JM
108752014-01-02 Joseph Myers <joseph@codesourcery.com>
10876
819e5d50
JM
10877 [BZ #16386]
10878 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10879 numbers with subnormal high part when calculating exponent.
10880
90b6a1e5
JM
10881 [BZ #16385]
10882 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10883 fabs.
10884
396e3ecf
JM
10885 [BZ #16384]
10886 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10887 M_LN2l.
10888 (__ieee754_acoshl): Use __log1pl not __log1p.
10889
6c8dbf00
OB
108902013-01-02 Ondřej Bílka <neleai@seznam.cz>
10891
57f41c40
AS
10892 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10893 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10894 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10895 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10896 (reused_arena, arena_get2): Convert to GNU style.
10897 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10898 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10899 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10900 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10901 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10902 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10903 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10904 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10905 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10906 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10907 * malloc/malloc.h: Likewise.
57f41c40
AS
10908 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10909 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10910 * malloc/mcheck.h: Likewise.
57f41c40
AS
10911 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10912 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10913 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10914 * malloc/morecore.c (__default_morecore): Likewise.
10915 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10916 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10917 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10918 (print_and_abort): Likewise.
6c8dbf00
OB
10919 * malloc/obstack.h: Likewise.
10920 * malloc/set-freeres.c (__libc_freeres): Likewise.
10921 * malloc/tst-mallocstate.c (main): Likewise.
10922 * malloc/tst-mtrace.c (main): Likewise.
10923 * malloc/tst-realloc.c (do_test): Likewise.
10924
d4124212
SP
109252013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10926
9a3c6a6f
SP
10927 [BZ #16366]
10928 * nscd/netgroupcache.c (do_notfound): New function.
10929 (addgetnetgrentX): Use it.
10930
d4124212
SP
10931 [BZ # 16365]
10932 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10933 NSS_STATUS_NOTFOUND.
10934
97b9a009
JM
109352014-01-01 Joseph Myers <joseph@codesourcery.com>
10936
10937 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10939
d4697bc9
AM
109402014-01-01 Allan McRae <allan@archlinux.org>
10941
ddb3687f
AM
10942 * scripts/update-copyrights: Update configure input file suffix.
10943
88726d48
AM
10944 * NEWS: Update copyright year.
10945 * catgets/gencat.c: Likewise.
10946 * csu/version.c: Likewise.
10947 * debug/catchsegv.sh: Likewise.
10948 * debug/pcprofiledump.c: Likewise.
10949 * debug/xtrace.sh: Likewise.
10950 * elf/ldconfig.c: Likewise.
10951 * elf/ldd.bash.in: Likewise.
10952 * elf/pldd.c: Likewise.
10953 * elf/sotruss.ksh: Likewise.
10954 * elf/sprof.c: Likewise.
10955 * iconv/iconv_prog.c: Likewise.
10956 * iconv/iconvconfig.c: Likewise.
10957 * locale/programs/locale.c: Likewise.
10958 * locale/programs/localedef.c: Likewise.
10959 * login/programs/pt_chown.c: Likewise.
10960 * malloc/memusage.sh: Likewise.
10961 * malloc/memusagestat.c: Likewise.
10962 * malloc/mtrace.pl: Likewise.
10963 * manual/libc.texinfo: Likewise.
10964 * nscd/nscd.c: Likewise.
10965 * nss/getent.c: Likewise.
10966 * nss/makedb.c: Likewise.
10967 * posix/getconf.c: Likewise.
10968 * scripts/test-installation.pl: Likewise.
10969
d4697bc9
AM
10970 * All files with FSF copyright notices: Update copyright dates
10971 using scripts/update-copyrights.
10972 * intl/plural.c: Regenerated.
10973 * locale/programs/charmap-kw.h: Likewise.
10974 * locale/programs/locfile-kw.h: Likewise.
10975
c8590f9d
MF
109762013-12-31 Mike Frysinger <vapier@gentoo.org>
10977
10978 * sysdeps/unix/sysv/linux/configure: Regenerated.
10979 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10980 the linux/fanotify.h header.
10981 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10982 HAVE_LINUX_FANOTIFY_H is defined.
10983
b19221b9
SP
109842013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10985
dd1d85e5
SP
10986 * benchtests/cos-inputs: New inputs.
10987 * benchtests/sin-inputs: Likewise.
10988
1acbb90f
SP
10989 * benchtests/atan-inputs: New inputs. Fix name of multiple
10990 precision fallback inputs.
10991
4c012ed3
SP
10992 * benchtests/atanh-inputs: New inputs.
10993 * benchtests/tanh-inputs: Likewise.
10994
eff98324
SP
10995 * benchtests/acosh-inputs: New inputs.
10996 * benchtests/asinh-inputs: Likewise.
10997
ce641152
SP
10998 * benchtests/cosh-inputs: New inputs.
10999 * benchtests/sinh-inputs: Likewise.
11000
b19221b9
SP
11001 * benchtests/acos-inputs: Add more inputs.
11002 * benchtests/asin-inputs: Likewise.
11003
030a4976 110042013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11005
030a4976 11006 [BZ #16375]
9dcc8f11
VS
11007 * manual/arith.texi: Fix spelling.
11008 * manual/charset.texi: Likewise.
11009 * manual/errno.texi: Likewise.
11010 * manual/filesys.texi: Likewise.
11011 * manual/lang.texi: Likewise.
11012 * manual/llio.texi: Likewise.
11013 * manual/locale.texi: Likewise.
11014 * manual/message.texi: Likewise.
11015 * manual/resource.texi: Likewise.
11016 * manual/search.texi: Likewise.
11017 * manual/setjmp.texi: Likewise.
11018 * manual/stdio.texi: Likewise.
11019 * manual/string.texi: Likewise.
11020 * manual/sysinfo.texi: Likewise.
11021 * manual/time.texi: Likewise.
11022
11520a57
CD
110232013-12-27 Carlos O'Donell <carlos@redhat.com>
11024
11025 * po/sl.po: New file.
11026
471103ae
MF
110272013-12-27 Mike Frysinger <vapier@gentoo.org>
11028
11029 * .gitignore: Add core/.gdbinit/.gdb_history.
11030
6c9642ed
AM
110312013-12-27 Allan McRae <allan@archlinux.org>
11032
11033 [BZ #16369]
11034 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11035 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11036
3f637079
BM
110372013-12-24 Brooks Moses <bmoses@google.com>
11038
11039 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11040 all compilers that claim C++98 compliance, not just GCC.
11041 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11042 Likewise.
11043
abc26e99
MK
110442013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11045
11046 * NEWS: Restore accidentally deleted bug-fix entries.
11047
362b47fe
MK
110482013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11049 Ondřej Bílka <neleai@seznam.cz>
11050
11051 [BZ #15073]
11052 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11053 have_lock.
362b47fe 11054
b9bcbbcb
OB
110552013-12-23 Ondřej Bílka <neleai@seznam.cz>
11056
11057 [BZ #12986]
11058 * manual/stdio.texi (String Input Conversions): Clarify that character
11059 classes are not supported.
11060
fb55fcd2
AZ
110612013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11062
11063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11064
ef7344f0
JM
110652013-12-22 Joseph Myers <joseph@codesourcery.com>
11066
4f40e4b3
JM
11067 [BZ #16337]
11068 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11069 Calculate results for small negative arguments directly rather
11070 than using reflection formula with special underflow handling.
11071
ef7344f0
JM
11072 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11073 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11074 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11075 (fchflags): Likewise.
11076 (revoke): Likewise.
11077 (setlogin): Likewise.
11078 (sigaltstack): Likewise.
11079 (wait4): Likewise.
11080 (sigblock): Remove.
11081 (sigsetmask): Likewise.
11082 (wait3): Likewise.
11083 (waitpid): Likewise.
11084 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11085 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11086 file.
11087 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11088 * sysdeps/unix/bsd/Makefile: ... here.
11089 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11090 * sysdeps/unix/bsd/Versions: ... here.
11091 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11092 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11093 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11094 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11095 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11096 * sysdeps/unix/bsd/sigblock.c: ... here.
11097 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11098 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11099 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11100 * sysdeps/unix/bsd/sigvec.c: ... here.
11101 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11102 * sysdeps/unix/bsd/tcdrain.c: ... here.
11103 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11104 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11105 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11106 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11107 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11108 * sysdeps/unix/bsd/wait.c: ... here.
11109 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11110 * sysdeps/unix/bsd/wait3.c: ... here.
11111 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11112 * sysdeps/unix/bsd/waitpid.c: ... here.
11113
5b0626b9
JM
111142013-12-21 Joseph Myers <joseph@codesourcery.com>
11115
11116 [BZ #16356]
11117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11118 round-to-nearest for [!USE_AS_EXPM1L].
11119 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11120 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11121 more tests of exp and exp10. Expect some exp10 tests to miss
11122 exceptions or fail in directed rounding modes.
11123 * math/auto-libm-test-out: Regenerated.
11124 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11125 (exp10_test_tonearest): New function.
11126 (exp10_towardzero_test_data): New array.
11127 (exp10_test_towardzero): New function.
11128 (exp10_downward_test_data): New array.
11129 (exp10_test_downward): New function.
11130 (exp10_upward_test_data): New array.
11131 (exp10_test_upward): New function.
11132 (main): Call the new functions.
11133 * sysdeps/i386/fpu/libm-test-ulps: Update.
11134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11135
7fda5682
JM
111362013-12-20 Joseph Myers <joseph@codesourcery.com>
11137
31e3a405
JM
11138 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11139 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11140 * math/auto-libm-test-out: Regenerated.
11141 * math/libm-test.inc (acosh_test_data): Add more tests.
11142 (atanh_test_data): Likewise.
11143 (ceil_test_data): Likewise.
11144 (copysign_test_data): Likewise.
11145 * sysdeps/i386/fpu/libm-test-ulps: Update.
11146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11147
85bff96a
JM
11148 * timezone/checktab.awk: Update from tzcode 2013i.
11149 * timezone/private.h: Likewise.
11150 * timezone/scheck.c: Likewise.
11151 * timezone/tzfile.h: Likewise.
11152 * timezone/tzselect.ksh: Likewise.
11153 * timezone/zdump.c: Likewise.
11154 * timezone/zic.c: Likewise.
11155
b7867a3b
JM
11156 * math/auto-libm-test-in: Add tests of cpow.
11157 * math/auto-libm-test-out: Regenerated.
11158 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11159 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11160 mpc_cc_c.
11161 (func_calc_desc): Add mpc_cc_c union field.
11162 (test_functions): Add cpow.
11163 (special_fill_2pi): New function.
11164 (special_real_inputs): Add 2pi.
11165 (calc_generic_results): Handle mpc_cc_c.
11166 * sysdeps/i386/fpu/libm-test-ulps: Update.
11167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11168
7fda5682
JM
11169 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11170 csqrt, ctan and ctanh.
11171 * math/auto-libm-test-out: Regenerated.
11172 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11173 (TEST_COND_x86): Likewise.
11174 (ccos_test_data): Use AUTO_TESTS_c_c.
11175 (ccosh_test_data): Likewise.
11176 (cexp_test_data): Likewise.
11177 (clog_test_data): Likewise.
11178 (csqrt_test_data): Likewise.
11179 (ctan_test_data): Likewise.
11180 (ctan_tonearest_test_data): Likewise.
11181 (ctan_towardzero_test_data): Likewise.
11182 (ctan_downward_test_data): Likewise.
11183 (ctan_upward_test_data): Likewise.
11184 (ctanh_test_data): Likewise.
11185 (ctanh_tonearest_test_data): Likewise.
11186 (ctanh_towardzero_test_data): Likewise.
11187 (ctanh_downward_test_data): Likewise.
11188 (ctanh_upward_test_data): Likewise.
11189 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11190 mpc_c_c.
11191 (func_calc_desc): Add mpc_c_c union field.
11192 (FUNC_mpc_c_c): New macro.
11193 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11194 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11195 ctanh.
11196 (special_fill_min_subnorm_p120): New function.
11197 (special_real_inputs): Add min_subnorm_p120.
11198 (calc_generic_results): Handle mpc_c_c.
11199 * sysdeps/i386/fpu/libm-test-ulps: Update.
11200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11201
5ff8d60e
SP
112022013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11203
57f41c40
AS
11204 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11205 (do_sin_slow): New functions.
11206 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11207 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11208
84ba214c
SP
11209 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11210 Use M to change sign of result instead of X. Assume X is
11211 positive.
11212 (csloww1): Likewise.
11213 (__sin): Adjust.
11214 (__cos): Adjust.
11215
975195e4
SP
11216 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11217 arguments A and DA.
11218 (__sin): Adjust.
11219 (__cos): Likewise.
11220
5ff8d60e
SP
11221 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11222 (__cos): Likewise.
11223 (sloww1): Don't adjust sign of DX.
11224 (csloww1): Likewise.
11225 (sloww2): Use X directly and don't adjust sign of DX.
11226 (csloww2): Likewise.
11227
eb983568
JM
112282013-12-19 Joseph Myers <joseph@codesourcery.com>
11229
64a17f1a
JM
11230 * math/auto-libm-test-in: Add tests of cabs and carg.
11231 * math/auto-libm-test-out: Regenerated.
11232 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11233 (carg_test_data): Likewise.
11234 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11235 mpc_c_f.
11236 (func_calc_desc): Add mpc_c_f union field.
11237 (test_functions): Add cabs and carg.
11238 (calc_generic_results): Handle mpc_c_f.
11239
eb983568
JM
11240 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11241 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11242 as a macro and a compat symbol.
11243 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11244 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11245 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11246 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11247 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11248 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11249 not use .hidden.
11250 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11251 Likewise.
11252 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11253 Likewise.
11254 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11255 Likewise.
11256 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11257 Likewise.
11258 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11259 Likewise.
11260 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11261 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11262 from GLIBC_2.3.2.
11263
6eeb678a
AZ
112642013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11265
11266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11267
6f6fc482
JM
112682013-12-19 Joseph Myers <joseph@codesourcery.com>
11269
21fea2e2
JM
11270 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11271 trailing whitespace removed.
11272 * scripts/config.guess: Update to version 2013-11-29.
11273 * scripts/config.sub: Update to version 2013-10-01.
11274
6f6fc482
JM
11275 * math/auto-libm-test-in: Add tests of sincos.
11276 * math/auto-libm-test-out: Regenerated.
11277 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11278 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11279 mpfr_f_11.
11280 (func_calc_desc): Add mpfr_f_11 union field.
11281 (test_functions): Add sincos.
11282 (calc_generic_results): Handle mpfr_f_11.
11283 * sysdeps/i386/fpu/libm-test-ulps: Update.
11284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11285
83f5c32d
AS
112862013-12-19 Andreas Schwab <schwab@suse.de>
11287
11288 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11289 CALL_MCOUNT.
11290 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11291 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11292 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11293
c688b419
JM
112942013-12-19 Joseph Myers <joseph@codesourcery.com>
11295
335ee092
JM
11296 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11297 * sysdeps/i386/fpu/libm-test-ulps: Update.
11298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11299
f88acd39
JM
11300 [BZ #16293]
11301 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11302 round-to-nearest mode when using frndint.
11303 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11304 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11305 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11306 Likewise.
11307 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11308 sinh test to fail.
11309 * math/auto-libm-test-out: Regenerated.
11310 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11311 (TEST_COND_x86): Likewise.
11312 (expm1_tonearest_test_data): New array.
11313 (expm1_test_tonearest): New function.
11314 (expm1_towardzero_test_data): New array.
11315 (expm1_test_towardzero): New function.
11316 (expm1_downward_test_data): New array.
11317 (expm1_test_downward): New function.
11318 (expm1_upward_test_data): New array.
11319 (expm1_test_upward): New function.
11320 (main): Run the new test functions.
11321 * sysdeps/i386/fpu/libm-test-ulps: Update.
11322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11323
c688b419
JM
11324 * include/features.h: Update comment documenting feature test
11325 macros. Mention _DEFAULT_SOURCE in comment.
11326 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11327 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11328 _BSD_SOURCE and _SVID_SOURCE.
11329 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11330 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11331 !_SVID_SOURCE]: Likewise.
11332 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11333 (__USE_POSIX_IMPLICITLY): Define.
11334 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11335 (_POSIX_SOURCE): Undefine and redefine.
11336 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11337 (_POSIX_C_SOURCE): Likewise.
11338 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11339 (Feature Test Macros): Update documentation of default features.
11340
9f6e964c
RS
113412013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11342
11343 * benchtests/Makefile: Add bench-strtok.
11344 * benchtests/bench-strtok.c: New file: strtok benchtest.
11345
ee0a148a
AM
113462013-12-19 Allan McRae <allan@archlinux.org>
11347
11348 * manual/install.texi: Suppress menu for plain text output.
11349 * INSTALL: Regenerated.
11350
b9ab448f
BM
113512013-12-18 Brooks Moses <bmoses@google.com>
11352
11353 [BZ #15846]
11354 * misc/getauxval.c: Include errno.h.
11355 (__getauxval): Set errno to ENOENT if the requested type is not
11356 found.
11357 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11358 don't declare with __attribute_const__.
11359 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11360 * manual/startup.texi: Document that getauxval sets errno.
11361
23776487
JM
113622013-12-18 Joseph Myers <joseph@codesourcery.com>
11363
f889953b
JM
11364 * math/auto-libm-test-in: Add tests of jn and yn.
11365 * math/auto-libm-test-out: Regenerated.
11366 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11367 (yn_test_data): Likewise.
11368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11369 mpfr_if_f.
11370 (func_calc_desc): Add mpfr_if_f union field.
11371 (FUNC_mpfr_if_f): New macro.
11372 (test_functions): Add jn and yn.
11373 (calc_generic_results): Assert type of second input for
11374 mpfr_ff_f. Handle mpfr_if_f.
11375 (output_for_one_input_case): Disable all checking for arguments
11376 fitting floating-point types in case of an integer argument.
11377 * sysdeps/i386/fpu/libm-test-ulps: Update.
11378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11379
23776487
JM
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11381 Don't expect fegetround reference in libm.so.
11382
cb756c6d
MS
113832013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11384
11385 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11386 $(config-cflags-nofma).
11387
2dec468f
JM
113882013-12-18 Joseph Myers <joseph@codesourcery.com>
11389
5953eb3a
JM
11390 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11391 * math/auto-libm-test-out: Regenerated.
11392
2dec468f
JM
11393 [BZ #16338]
11394 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11395 to determine exponent and adjust argument to have exponent of -1.
11396 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11397 log2.
11398 * math/auto-libm-test-out: Regenerated.
11399 * sysdeps/i386/fpu/libm-test-ulps: Update.
11400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11401
4d84e6ad
OB
114022013-12-18 Ondřej Bílka <neleai@seznam.cz>
11403
11404 * manual/probes.texi: Remove cases when per-thread arenas are
11405 disabled.
11406
1818483b
AS
114072013-12-18 Andreas Schwab <schwab@suse.de>
11408
11409 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11410 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11411 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11412 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11413 * sysdeps/i386/i686/multiarch/Makefile: Update.
11414 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11415
25de95bf
JM
114162013-12-17 Joseph Myers <joseph@codesourcery.com>
11417
11418 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11419 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11420
674762d9
PE
114212013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11422
ed27ed83 11423 [BZ #15968]
0748546f
PE
11424 Support TZ transition times < 00:00:00.
11425 This is needed for version-3 tz-format files; it supports time
11426 stamps past 2037 for America/Godthab (the only entry in the tz
11427 database for which this change is relevant).
11428 * manual/time.texi (TZ Variable): Document transition times
11429 from -167:59:59 through -00:00:01.
11430 * time/tzset.c (tz_rule): Time of day is now signed.
11431 (__tzset_parse_tz): Parse negative time of day.
11432
4480e934
PE
11433 Document TZ transition times >= 25:00:00.
11434 * manual/time.texi (TZ Variable): Document transition times from
11435 25:00:00 through 167:59:59. These are already supported, and this
11436 support will help with version-3 tz-format files.
11437
69947401
PE
11438 * manual/time.texi (TZ Variable): Modernize North America example
11439 to reflect current (i.e., 2007-and-later) daylight saving rules.
11440
674762d9
PE
11441 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11442
7011c262
JM
114432013-12-17 Joseph Myers <joseph@codesourcery.com>
11444
2fc6557e
JM
11445 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11446 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11447 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11449 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11450 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11451 * sysdeps/unix/bsd/clock.c: Likewise.
11452 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11453 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11454 * sysdeps/unix/bsd/init-posix.c: Likewise.
11455 * sysdeps/unix/bsd/poll.c: Likewise.
11456 * sysdeps/unix/bsd/ptsname.c: Likewise.
11457 * sysdeps/unix/bsd/seekdir.c: Likewise.
11458 * sysdeps/unix/bsd/setegid.c: Likewise.
11459 * sysdeps/unix/bsd/seteuid.c: Likewise.
11460 * sysdeps/unix/bsd/setgid.c: Likewise.
11461 * sysdeps/unix/bsd/setrgid.c: Likewise.
11462 * sysdeps/unix/bsd/setruid.c: Likewise.
11463 * sysdeps/unix/bsd/setsid.c: Likewise.
11464 * sysdeps/unix/bsd/setuid.c: Likewise.
11465 * sysdeps/unix/bsd/sigaction.c: Likewise.
11466 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11467 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11468 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11469 * sysdeps/unix/bsd/telldir.c: Likewise.
11470 * sysdeps/unix/bsd/times.c: Likewise.
11471 * sysdeps/unix/bsd/usleep.c: Likewise.
11472
029c7b25
JM
11473 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11474 ($(objpfx)libbsd-compat.a): Remove rule.
11475
7011c262
JM
11476 * include/features.h (__FAVOR_BSD): Do not define.
11477 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11478 features conflicting with POSIX.
11479 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11480 (_BSD_SOURCE): Remove description of not being a subset of other
11481 feature test macros.
11482 * manual/job.texi (getpgrp): Do not document BSD version.
11483 (getpgid): Do not document by reference to BSD getpgrp.
11484 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11485 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11486 * signal/signal.h [__FAVOR_BSD]: Likewise.
11487 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11488 instead of making contents conditional on [__FAVOR_BSD].
11489 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11490
affb6f78
AZ
114912013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11492
11493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11494
c88769dd
JM
114952013-12-17 Joseph Myers <joseph@codesourcery.com>
11496
6432a540
JM
11497 [BZ #16314]
11498 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11499 values below 2**-450, not 2**-500.
11500 * math/auto-libm-test-in: Don't allow spurious underflow from
11501 hypot.
11502 * math/auto-libm-test-out: Regenerated.
11503
c88769dd
JM
11504 [BZ #16316]
11505 [BZ #16330]
11506 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11507 values of ha and hb and sort them after adjusting subnormal
11508 arguments.
11509 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11510 Likewise.
11511 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11512 values of ea and eb and sort them after adjusting subnormal
11513 arguments.
11514 * math/auto-libm-test-in: Do not expect some hypot tests of
11515 subnormals to fail. Add more hypot tests.
11516 * math/auto-libm-test-out: Regenerated.
11517
29618f6b
KK
115182013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11519
11520 [BZ #13304]
11521 * sysdeps/sh/s_fma.c: New file.
11522 * sysdeps/sh/s_fmaf.c: New file.
11523 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11524 version.
11525 * sysdeps/sh/Implies: Add sh/soft-fp.
11526
eacfdfbf
RM
115272013-12-16 Roland McGrath <roland@hack.frob.com>
11528
11529 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11530 level of indirection to members `objname', `errstring', `malloced'.
11531 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11532 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11533 it as the __longjmp argument (just pass 1 instead).
11534 (_dl_catch_error): Initialize C with argument pointers and address of
11535 volatile local ERRCODE rather than copying values out of C at return.
11536
ff362e5b
JM
115372013-12-16 Joseph Myers <joseph@codesourcery.com>
11538
11539 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11540 * math/auto-libm-test-out: Regenerated.
11541 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11542 (hypot_test_data): Likewise.
11543 (pow_test_data): Likewise.
11544 (pow_tonearest_test_data): Likewise.
11545 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11546 mpfr_ff_f.
11547 (func_calc_desc): Add mpfr_ff_f union field.
11548 (FUNC_mpfr_ff_f): New macro.
11549 (test_functions): Add atan2, hypot and pow.
11550 (special_fill_min): New function.
11551 (special_fill_minus_min): Likewise.
11552 (special_fill_min_subnorm): Likewise.
11553 (special_fill_minus_min_subnorm): Likewise.
11554 (special_real_inputs): Add min, -min, min_subnorm and
11555 -min_subnorm.
11556 (calc_generic_results): Handle mpfr_ff_f.
11557 * sysdeps/i386/fpu/libm-test-ulps: Update.
11558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11559
5764c27f
WN
115602013-12-16 Will Newton <will.newton@linaro.org>
11561
11562 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11563 (Aligned Memory Blocks): Add documentation for aligned_alloc
11564 and suggest it as an alternative to posix_memalign.
11565 (Hooks for Malloc): Document __memalign_hook is also called
11566 for aligned_alloc. (Summary of Malloc): Add summary for
11567 aligned alloc. Document __memalign_hook is also called
11568 for aligned_alloc.
11569
0a096e44
WN
115702013-12-16 Will Newton <will.newton@linaro.org>
11571
11572 * manual/memory.texi (Malloc Examples): Clarify default
11573 alignment documentation. Suggest posix_memalign rather
11574 than memalign or valloc.
11575 (Aligned Memory Blocks): Remove suggestion to use memalign
11576 or valloc. Remove obsolete comment about BSD.
11577 Document memalign errno values and mark the function obsolete.
11578 Document posix_memalign returned error codes. Mark valloc
11579 as obsolete. (Hooks for Malloc): __memalign_hook is also
11580 called for posix_memalign and valloc.
11581 (Summary of Malloc): Add posix_memalign to function summary.
11582 __memalign_hook is also called for posix_memalign and valloc.
11583
8d561986
SP
115842013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11585
11586 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11587 TAYLOR_SIN.
11588 (__sin): Adjust.
11589 (__cos): Likewise.
11590 (sloww): Use mynumber union. Expand ternary operator into
11591 if-else statements.
11592 (cslow): use mynumber union.
11593
73616a74
AM
115942013-12-16 Allan McRae <allan@archlinux.org>
11595
9e8ac24b
AM
11596 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11597 * configure: Regenerated.
11598
6f8e37eb
AM
11599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11600
8894bad3
AM
11601 [BZ #14120]
11602 * configure.ac: Added --enable-maintainer-mode. Check for
11603 autoconf when enabled.
11604 * configure: Regenerated.
11605
73616a74
AM
11606 * nscd/nscd.service: New file.
11607 * nscd/nscd.tmpfiles: New file.
11608
584b18eb
OB
116092013-12-14 Ondřej Bílka <neleai@seznam.cz>
11610
11611 [BZ #12100]
11612 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11613 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11614 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11615 (strstr): Add __strstr_sse2_unaligned ifunc.
11616 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11617 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11618 (strcasestr): Remove __strcasestr_sse42 ifunc.
11619 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11620 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11622
8a5c7897
KK
116232013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11624
11625 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11626 * sysdeps/sh/bits/fenv.h: ... here.
11627 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11628
fd712ef3
AZ
116292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11630
11631 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11632
42fcb46c
AZ
11633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11634 hypotf multiarch implementations.
11635 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11636 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11637 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11638 multiarch hypot for PPC64.
11639 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11640 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11641 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11642 multiarch hypotf for PPC64.
11643
83efded4
AZ
11644 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11645 modff multiarch implementations.
11646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11649 multiarch modf for PPC64.
11650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11653 multiarch modff for PPC64.
11654
43e246d2
AZ
11655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11656 and logl multiarch implementations.
11657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11660 multiarch logb for PPC64.
11661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11664 multiarch logb for PPC64.
11665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11668 multiarch logb for PPC64.
11669
8fdad123
AZ
11670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11671 isinff multiarch implementation.
11672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11673 file.
11674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11676 multiarch isinf for PPC64.
11677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11678 file.
11679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11680 multiarch isinff for PPC64.
11681
1481d706
AZ
11682 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11683 finitef multiarch implementation.
11684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11685 file.
11686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11688 multiarch finite for PPC64.
11689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11690 file.
11691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11692 multiarch finitef for PPC64.
11693
5ccd5fc8
AZ
11694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11695 lrint multiarch implementation.
11696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11697 file.
11698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11700 multiarch llrint for PPC64.
11701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11702 multiarch lrint for PPC64.
11703
2568f3fa
AZ
11704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11705 copysignf multiarch implementation.
11706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11707 file.
11708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11709 file.
11710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11711 multiarch copysign for PPC64.
11712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11713 multiarch copysignf for PPC64.
11714
1cb341fd
AZ
11715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11716 multiarch implementation.
11717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11718 file.
11719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11720 file.
11721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11722 file.
11723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11724 file.
11725 multiarch llround for PPC64.
11726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11727 multiarch trunc for PPC64.
11728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11729 multiarch truncf for PPC64.
11730
59a3e194
AZ
11731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11732 multiarch implementation.
11733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11734 file.
11735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11736 file.
11737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11738 file.
11739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11740 file.
11741 multiarch llround for PPC64.
11742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11743 multiarch round for PPC64.
11744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11745 multiarch roundf for PPC64.
11746
357fd3b4
AZ
11747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11748 multiarch implementation.
11749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11750 file.
11751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11752 file.
11753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11754 file.
11755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11756 file.
11757 multiarch llround for PPC64.
11758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11759 multiarch floor for PPC64.
11760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11761 multiarch floorf for PPC64.
11762
96770f12
AZ
11763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11764 multiarch implementation.
11765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11766 file.
11767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11768 file.
11769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11770 file.
11771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11772 file.
11773 multiarch llround for PPC64.
11774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11775 multiarch ceil for PPC64.
11776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11777 multiarch ceilf for PPC64.
11778
c3627f6e
AZ
11779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11780 multiarch implementation.
11781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11782 file.
11783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11784 file.
11785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11786 file.
11787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11788 multiarch llround for PPC64.
11789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11790 multiarch lround for PPC64.
11791
b2284ad7
AZ
11792 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11793 multiarch implementation.
11794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11797 file.
11798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11801 multiarch isnan for PPC64.
11802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11803 multiarch isnanf for PPC64.
11804
69bbc63d
AZ
11805 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11806 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11807 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11808 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11809 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11811
c24517c9
AZ
11812 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11813 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11814 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11816
a52374e8
AZ
11817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11818 multiarch implementations.
11819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11820 (__libc_ifunc_impl_list): Likewise.
11821 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11822 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11823 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11824 multiarch stpcpy for PPC64.
11825
7f5ec113
AZ
11826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11827 multiarch implementations.
11828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11829 (__libc_ifunc_impl_list): Likewise.
11830 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11831 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11832 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11833 multiarch strcpy for PPC64.
11834
e28bcd42
AZ
11835 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11836 redefine function name.
11837 (_wordcopy_fwd_dest_aligned): Likewise.
11838 (_wordcopy_bwd_aligned): Likewise.
11839 (_wordcopy_bwd_dest_aligned): Likewise.
11840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11841 multiarch implementations.
11842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11843 (__libc_ifunc_impl_list): Likewise.
11844 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11845 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11846 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11847 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11848 multiarch wcscpy for PPC64.
11849
92cacfce
AZ
11850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11851 multiarch implementations.
11852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11853 (__libc_ifunc_impl_list): Likewise.
11854 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11855 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11856 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11857 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11858 multiarch wcscpy for PPC64.
11859
7b714620
AZ
11860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11861 multiarch implementations.
11862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11863 (__libc_ifunc_impl_list): Likewise.
11864 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11865 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11866 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11867 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11868 multiarch wcsrchr for PPC64.
11869
16fd2ae3
AZ
11870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11871 multiarch implementations.
11872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11873 (__libc_ifunc_impl_list): Likewise.
11874 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11875 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11876 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11877 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11878 multiarch wcschr for PPC64.
11879
9ee2969b
AZ
11880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11881 multiarch implementations.
11882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11883 (__libc_ifunc_impl_list): Likewise.
11884 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11885 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11886 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11887 multiarch strchrnul for PPC64.
11888
372dc060
AZ
11889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11890 implementations.
11891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11892 (__libc_ifunc_impl_list): Likewise.
11893 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11894 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11895 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11896 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11897 strchr for PPC64.
11898
24c2c3b9
AZ
11899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11900 implementations.
11901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11902 (__libc_ifunc_impl_list): Likewise.
11903 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11904 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11905 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11906 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11907 strncmp for PPC64.
11908
1c92d9a0
AZ
11909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11910 multiarch implementations.
11911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11912 (__libc_ifunc_impl_list): Likewise.
11913 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11914 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11915 strncasecmp for PPC64.
11916 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11917 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11918 multiarch strncasecmp_l for PPC64.
11919
17de3ee3
AZ
11920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11921 multiarch implementations.
11922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11923 (__libc_ifunc_impl_list): Likewise.
11924 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11925 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11926 multiarch strcasecmp for PPC64.
11927 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11928 file.
11929 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11930 multiarch strcasecmp_l for PPC64.
11931
62982bf9
AZ
11932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11933 implementations.
11934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11935 (__libc_ifunc_impl_list): Likewise.
11936 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11937 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11938 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11939 strnlen for PPC64.
11940
a65f4904
AZ
11941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11942 implementations.
11943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11944 (__libc_ifunc_impl_list): Likewise.
11945 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11946 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11947 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11948 strlen for PPC64.
11949
1fd005ad
AZ
11950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11951 implementations.
11952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11953 (__libc_ifunc_impl_list): Likewise.
11954 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11955 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11956 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11957 rawmemrchr for PPC64.
11958
cd05ba91
AZ
11959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11960 implementation.
11961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11962 (__libc_ifunc_impl_list): Likewise.
11963 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11964 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11965 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11966 memrchr for PPC64.
11967
870f8676
AZ
11968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11969 implementation.
11970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11971 (__libc_ifunc_impl_list): Likewise.
11972 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11973 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11974 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11975 memchr for PPC64.
11976
f00be62b
AZ
11977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11978 implementation.
11979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11980 (__libc_ifunc_impl_list): Likewise.
11981 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11982 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11983 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11984 mempcpy for PPC64.
11985
8a29a3d0
AZ
11986 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11987 avoid cretion of __bzero symbol.
11988 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11989 Likewise.
11990 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11991 Likewise.
11992 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11993 Likewise.
11994 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11995 multiarch implementations.
11996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11997 (__libc_ifunc_impl_list): Likewise.
11998 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11999 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12000 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12001 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12002 bzero for PPC32.
12003 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12004 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12005 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12006 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12007 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12008 memset for PPC64.
12009 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12010
07253fcf
AZ
12011 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12013 implementations.
12014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12015 (__libc_ifunc_impl_list): Likewise.
12016 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12017 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12018 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12019 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12020 memcmp for PPC64.
12021
b5beafbc
AZ
12022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12023 multiarch for POWER/PPC64.
12024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12025 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12026 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12027 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12028 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12029 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12030 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12031 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12032 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12033 memcpy for PPC64.
12034
5e6a4d4b
AZ
12035 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12036 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12037 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12038 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12039 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12040 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12041 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12042 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12043 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12044 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12045 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12046 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12047 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12048 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12049 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12057
ddfab6dc
KK
120582013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12059
12060 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12061
19b5525e
SP
120622013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12063
12064 * benchtests/Makefile (bench): Add exp2 and log2.
12065 (LDLIBS-bench-exp2): Add -lm.
12066 (LDLIBS-bench-log2): Likewise.
12067 * benchtests/exp2-inputs: New inputs file.
12068 * benchtests/log2-inputs: New inputs file.
12069 * benchtests/log-inputs: Add new inputs.
12070 * benchtests/tan-inputs: Likewise.
12071
196f7f5d
SP
120722013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12073
7a74607f
SP
12074 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12075 definition...
57f41c40
AS
12076 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12077 (csloww2): ... from here.
7a74607f 12078
196f7f5d
SP
12079 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12080 instead of structures.
12081 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12082 (POLYNOMIAL): Likewise.
12083 (TAYLOR_SLOW): Likewise.
12084 (__sin): Likewise.
12085 (__cos): Likewise.
12086 (slow1): Likewise.
12087 (slow2): Likewise.
12088 (sloww): Likewise.
12089 (sloww1); Likewise.
12090 (sloww2): Likewise.
12091 (bsloww1): Likewise.
12092 (bsloww2): Likewise.
12093 (cslow2): Likewise.
12094 (csloww): Likewise.
12095 (csloww1): Likewise.
12096 (csloww2): Likewise.
12097
0dfa665c
OB
120982013-12-10 Ondřej Bílka <neleai@seznam.cz>
12099
12100 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12101 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12102 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12103 * malloc/hooks.c (realloc_check): Likewise.
12104
5782a80f
OB
12105 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12106 * malloc/arena.c: Remove PER_THREAD conditional.
12107 [!PER_THREAD]: Remove code.
12108 (ptmalloc_unlock_all2): Likewise.
12109 (ptmalloc_init): Likewise.
12110 (_int_new_arena): Likewise.
12111 (arena_get2): Likewise.
12112 * malloc/hooks.c (__malloc_get_state): Likewise.
12113 (__malloc_set_state): Likewise.
12114 * malloc/malloc.c: Likewise.
12115 (struct malloc_state): Likewise.
12116 (struct malloc_par): Likewise.
12117 (__libc_realloc): Likewise.
12118 (__libc_mallopt): Likewise.
12119
aeb95445
AZ
121202013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12121
12122 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12123
e8349efd
OB
121242013-12-09 Ondřej Bílka <neleai@seznam.cz>
12125
12126 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12127 macro to a function. Check for zero perturb_byte.
12128 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12129
f3eeb3fc 12130 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12131 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12132 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12133 force_reg by atomic_forced_read.
12134 * malloc/arena.c (ptmalloc_init): Likewise.
12135 * malloc/hooks.c (top_check): Likewise.
12136
be2f9009
AZ
121372013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12138
12139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12140
e7b914bd
MT
121412013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12142
12143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12144
9f0be4f8
JM
121452013-12-08 Joseph Myers <joseph@codesourcery.com>
12146
12147 * math/auto-libm-test-in: Add tests of lgamma.
12148 * math/auto-libm-test-out: Regenerated.
12149 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12150 (M_LOG_2_SQRT_PIl): Likewise.
12151 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12152 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12153 mpfr_f_f1.
12154 (func_calc_desc): Add mpfr_f_f1 union field.
12155 (ARGS1): New macro.
12156 (ARGS2): Likewise.
12157 (ARGS3): Likewise.
12158 (ARGS4): Likewise.
12159 (RET1): Likewise.
12160 (RET2): Likewise.
12161 (CALC): Likewise.
12162 (FUNC): Likewise.
12163 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12164 (test_functions): Add lgamma.
12165 (calc_generic_results): Handle mpfr_f_f1.
12166 * sysdeps/i386/fpu/libm-test-ulps: Update.
12167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12168
24eeafdb
AZ
121692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12170
12171 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12172 __mpn_add_n for PowerPC64/POWER7.
12173 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12174 __mpn_sub_n for PowerPC64/POWER7.
12175
4a2c0fd4
AZ
12176 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12177 __mpn_addmul_1 for PowerPC64.
12178 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12179 __mpn_submul_1 for PowerPC64.
12180 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12181 for PowerPC64.
12182 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12183 for PowerPC64.
12184
4b5b548c
FS
121852013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12186
12187 [BZ #15089]
12188 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12189
0a3ac0aa
AZ
121902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12191
12192 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12193
ccdc8438
AZ
12194 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12195 add multiarch folders.
12196 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12197 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12198 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12199 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12200 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12201 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12202 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12203 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12204 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12205 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12206 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12213
2e973d99
AZ
12214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12215 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12217 New file.
12218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12219 New file.
12220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12221 multiarch __ieee754_hypot for PowerPC32.
12222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12223 New file.
12224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12225 New file.
12226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12227 multiarch __ieee754_hypotf for PowerPC32.
12228
2d9470b2
AZ
12229 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12230 long_double_symbol only if __logbl is defined.
12231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12232 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12233 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12234 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12236 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12237 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12238 path for implementation.
12239 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12240 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12242 logb, and logbl multiarch implementations for PowerPC32.
12243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12244 file.
12245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12246 file.
12247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12248 multiarch logb for PowerPC32.
12249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12250 file.
12251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12252 file.
12253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12254 multiarch logbf for PowerPC32.
12255 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12257 file.
12258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12259 multiarch logbl implementation for PowerPC32.
12260
5212ffce
AZ
12261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12262 and modff multiarch implementations.
12263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12264 New file.
12265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12266 New file.
12267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12268 multiarch modf for PowerPC32.
12269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12270 New file.
12271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12272 New file.
12273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12274 multiarch modff for PowerPC32.
12275
79dccf31
AZ
12276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12277 and lrintf multiarch implementations.
12278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12279 New file.
12280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12281 New file.
12282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12283 multiarch lrint for PowerPC32.
12284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12285 file: multiarch lrintf for PowerPC32.
12286
deb66480
AZ
12287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12288 and lroundf multiarch implementations.
12289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12290 New file.
12291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12292 New file.
12293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12294 New file.
12295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12296 multiarch lround for PowerPC32.
12297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12298 file: multiarch lroundf for PowerPC32.
12299
264b036b
AZ
12300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12301 copysign and copysignf multiarch implementations.
12302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12303 New file.
12304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12305 New file.
12306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12307 file: multiarch copysign for PowerPC32.
12308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12309 file: multiarch copysignf for PowerPC32.
12310
d47db6c9
AZ
12311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12312 and truncf multiarch implementations.
12313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12314 New file.
12315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12316 file.
12317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12318 multiarch trunc for PowerPC32.
12319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12320 New file.
12321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12322 New file.
12323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12324 multiarch truncf for PowerPC32.
12325
ddb60b5a
AZ
12326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12327 and roundf multiarch implementations.
12328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12329 New file.
12330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12331 file.
12332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12333 multiarch round for PowerPC32.
12334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12335 New file.
12336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12337 New file.
12338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12339 multiarch roundf for PowerPC32.
12340
bedcf49b
AZ
12341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12342 and floorf multiarch implementations.
12343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12344 New file.
12345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12346 file.
12347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12348 multiarch floor for PowerPC32.
12349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12350 New file.
12351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12352 New file.
12353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12354 multiarch floorf for PowerPC32.
12355
35ae5b40
AZ
12356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12357 and ceilf multiarch implementations.
12358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12359 New file.
12360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12361 file.
12362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12363 multiarch ceil for PowerPC32.
12364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12365 New file.
12366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12367 file.
12368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12369 multiarch ceilf for PowerPC32.
12370
ae1a4cd9
AZ
12371 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12372 is defined.
12373 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12374 FINITEF is defined.
12375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12376 and finitef multiarch implementations.
12377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12378 New file.
12379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12380 file.
12381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12382 multiarch finite for PowerPC32.
12383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12384 New file.
12385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12386 file: multiarch finitef for PowerPC32.
12387
64fffd65
AZ
12388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12389 and isinff multiarch implementations.
12390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12391 file.
12392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12393 file.
12394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12395 multiarch isinf for PowerPC32.
12396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12397 New file.
12398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12399 multiarch isinff for PowerPC32.
12400
8e4e7ba2
AZ
12401 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12402 alias when __isnan is defined.
12403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12404 and isnanf multiarch implementations.
12405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12406 file.
12407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12408 file.
12409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12410 file.
12411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12412 file.
12413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12414 multiarch isnan for PowerPC32.
12415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12416 New file.
12417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12418 New file.
12419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12420 multiarch isnanf for PowerPC32.
12421
ddba588e
AZ
12422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12423 and sqrtf multiarch implementations.
12424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12425 file.
12426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12427 file.
12428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12429 multiarch sqrt for PowerPC32.
12430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12431 file.
12432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12433 file.
12434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12435 multiarch sqrtf for PowerPC32.
12436
0f96a2f0
AZ
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12438 and llroundf multiarch implementations.
12439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12440 New file.
12441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12442 New file.
12443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12444 New file.
12445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12446 file: multiarch llround for PowerPC32.
12447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12448 file: multiarch llroundf for PowerPC32.
12449
c9b5d79e
AZ
12450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12451 multiarch PowerPC32 fpu implementations.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12453 New file.
12454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12455 New file.
12456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12457 multiarch llrint for PowerPC32.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12459 New file.
12460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12461 New file.
12462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12463 file.
12464
9cbb3aab
AZ
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12466
ea5a72f8
AZ
12467 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12468 file.
12469 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12470 file.
12471 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12472 file.
12473 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12474 multiarch wordcopy for PPC32.
12475 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12476 wordcopy objects.
12477 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12478 (__libc_ifunc_impl_list): Likewise.
12479 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12480 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12481 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12482 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12483 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12484 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12485
93be09e7
AZ
12486 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12488 file.
12489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12490 file.
12491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12492 file.
12493 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12494 multiarch wcscpy for PPC32.
12495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12496 multiarch objects.
12497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12498 (__libc_ifunc_impl_list): Likewise.
12499 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12500 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12501 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12502 sysdeps/powerpc/power6/wcscpy.c.
12503
bb04e529
AZ
12504 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12506 file.
12507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12508 file.
12509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12510 file.
12511 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12512 multiarch wcsrchr for PPC32.
12513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12514 multiarch objects.
12515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12516 (__libc_ifunc_impl_list): Likewise.
12517 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12518 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12519 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12520 sysdeps/powerpc/power6/wcsrchr.c.
12521
05b5cd1c
AZ
12522 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12523 file.
12524 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12525 file.
12526 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12528 multiarch wcschr for PPc32.
12529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12530 multiarch objects.
12531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12532 (__libc_ifunc_impl_list): Likewise.
12533 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12534 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12535 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12536 sysdeps/powerpc/power6/wcschr.c.
12537
ba964147
AZ
12538 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12539 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12540 file.
12541 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12542 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12543 file: multiarch strchr for PPC32.
12544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12545 multiarch objects.
12546 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12547 (__libc_ifunc_impl_list): Likewise.
12548
31c81aaa
AZ
12549 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12550 name.
12551 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12552 file.
12553 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12554 file.
12555 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12556 multiarch strchrnul for PPC32.
12557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12558 multiarch objects.
12559 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12560 (__libc_ifunc_impl_list): Likewise.
12561
0d0607d9
AZ
12562 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12563 file.
12564 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12565 multiarch strncasecmp for PPC32.
12566 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12567 file.
12568 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12569 multiarch strncasecmp_l for PPC32.
12570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12571 strncasecmp multiarch objects.
12572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12573 (__libc_ifunc_impl_list): Likewise.
12574
4dfd5c86
AZ
12575 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12576 file.
12577 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12578 multiarch strncasecmp for PPC32.
12579 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12580 New file.
12581 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12582 multiarch strcasecmp_l for PPC32.
12583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12584 multiarch objects.
12585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12586 (__libc_ifunc_impl_list): Likewise.
12587
a19e01a3
AZ
12588 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12589 file.
12590 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12591 file.
12592 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12593 multiarch strncmp for PPC32.
12594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12595 multiarch objects.
12596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12597 (__libc_ifunc_impl_list): Likewise.
12598
ae9cf7a2
AZ
12599 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12600 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12601 file.
12602 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12603 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12604 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12605 multiarch objects.
12606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12607 (__libc_ifunc_impl_list): Likewise.
12608
3148bb7d
AZ
12609 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12610 file.
12611 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12612 file.
12613 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12615 multiarch objects.
12616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12617 (__libc_ifunc_impl_list): Likewise.
12618
7af8b946
AZ
12619 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12620 file.
12621 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12622 file.
12623 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12624 multiarch rawmemchr for PPC32.
12625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12626 multiarch objects.
12627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12628 (__libc_ifunc_impl_list): Likewise.
12629
03a6aa6a
AZ
12630 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12631 file.
12632 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12633 file.
12634 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12635 file: memrchr multiarch for PPC32.
12636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12637 multiarch objects.
12638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12639 (__libc_ifunc_impl_list): Likewise.
12640
1c62e6d9
AZ
12641 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12642 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12643 file.
12644 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12645 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12646 multiarch memchr for PPC32.
12647 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12648 multiarch objects.
12649 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12650 (__libc_ifunc_impl_list): Likewise.
12651
87da8bdb
AZ
12652 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12653 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12654 file.
12655 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12656 file.
12657 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12658 file: multiarch mempcpy for PPC32.
12659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12660 multiarch objects.
12661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12662 (__libc_ifunc_impl_list): Likewise.
12663
20ed4714
AZ
12664 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12665 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12666 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12667 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12668 multiarch bzero for PPC32.
12669 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12670 file.
12671 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12672 file.
12673 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12674 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12675 file: multiarch memset for PPC32.
12676 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12678 memset multiarch objects.
12679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12680 (__libc_ifunc_impl_list): Likewise.
12681
ab3e3a46
AZ
12682 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12683 file.
12684 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12685 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12686 memcmp for PPC32.
12687 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12689 multiarch objects.
12690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12691 (__libc_ifunc_impl_list): Likewise.
12692
930de6f0
AZ
12693 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12695 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12696 file.
12697 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12698 file.
12699 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12700 file.
12701 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12702 multiarch memcpy for PPC32.
12703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12704 multiarch objects.
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12706 (__libc_ifunc_impl_list): Likewise.
12707
4c628e00
AZ
12708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12709 support multiarch for POWER/PPC32.
12710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12711 Likewise.
12712 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12714 Implies file to make multiarch folder appers before the fpu and
12715 default folder for power4 configuration.
12716
f4479220
SP
127172013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12718
12719 * scripts/bench.pl: Append volatile keyword to type.
12720
8517800f
KK
127212013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12722
12723 * sysdeps/sh/sotruss-lib.c: New file.
12724 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12725
180138f1
AZ
127262013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12727
12728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12729
bbf37bdc
JM
127302013-12-05 Joseph Myers <joseph@codesourcery.com>
12731
e47cc4e0
JM
12732 [BZ #6810]
12733 * math/w_tgamma.c: Include <errno.h>.
12734 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12735 * math/w_tgammaf.c: Include <errno.h>.
12736 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12737 * math/w_tgammal.c: Include <errno.h>.
12738 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12739 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12740 underflow. Add more tgamma tests.
12741 * math/auto-libm-test-out: Regenerated.
12742 * sysdeps/i386/fpu/libm-test-ulps: Update.
12743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12744
bbf37bdc
JM
12745 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12746 sin, sinh, tan, tanh, tgamma, y0 and y1.
12747 * math/auto-libm-test-out: Regenerated.
12748 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12749 (TEST_COND_x86): Likewise.
12750 (M_E2l): Remove macro.
12751 (M_E3l): Likewise.
12752 (M_2_SQRT_PIl): Likewise.
12753 (M_SQRT_PIl): Likewise.
12754 (M_1_DIV_El): Likewise.
12755 (log_test_data): Use AUTO_TESTS_f_f.
12756 (log10_test_data): Likewise.
12757 (log1p_test_data): Likewise.
12758 (log2_test_data): Likewise.
12759 (sin_test_data): Likewise.
12760 (sin_tonearest_test_data): Likewise.
12761 (sin_towardzero_test_data): Likewise.
12762 (sin_downward_test_data): Likewise.
12763 (sin_upward_test_data): Likewise.
12764 (sinh_test_data): Likewise.
12765 (sinh_tonearest_test_data): Likewise.
12766 (sinh_towardzero_test_data): Likewise.
12767 (sinh_downward_test_data): Likewise.
12768 (sinh_upward_test_data): Likewise.
12769 (tan_test_data): Likewise.
12770 (tan_tonearest_test_data): Likewise.
12771 (tan_towardzero_test_data): Likewise.
12772 (tan_downward_test_data): Likewise.
12773 (tan_upward_test_data): Likewise.
12774 (tanh_test_data): Likewise.
12775 (tgamma_test_data): Likewise.
12776 (y0_test_data): Likewise.
12777 (y1_test_data): Likewise.
12778 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12779 (special_real_inputs): Add pi/4.
12780 * sysdeps/i386/fpu/libm-test-ulps: Update.
12781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12782
eb5ad6b9
AZ
127832013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12784
12785 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12786 "longjmp_target" static probes.
12787 (__longjmp): Rename to __longjmp_symbol.
12788 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12789 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12790 on which longjmp to generate.
12791 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12792 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12793 probe.
12794 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12795 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12796 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12797 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12798 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12799 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12801 __longjmp_symbol based on which __longjmp to generate.
12802 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12803 probe.
12804 (setjmp): Rename to setjmp_symbol.
12805 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12806 (_setjmp): Rename to _setjmp_symbol.
12807 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12808 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12809 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12810 which setjmp to generate.
12811 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12812 "longjmp_target" static probes.
12813
d136c6dc
SP
128142013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12815
9298ecba
SP
12816 * benchtests/README: Add note about output arguments.
12817 * benchtests/bench-sincos.c: Remove file.
12818 * benchtests/sincos-inputs: New file.
12819 * scripts/bench.pl: Identify output arguments and define
12820 static variables for them.
12821
232983e9
SP
12822 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12823
d136c6dc
SP
12824 [BZ #15941]
12825 * Makefile (INSTALL): Add install-plain.texi as the primary
12826 dependency.
12827 * manual/install-plain.texi: New file.
12828 * manual/install.texi: Include node directive only for
12829 non-plaintext output.
12830
699ff837
JM
128312013-12-04 Joseph Myers <joseph@codesourcery.com>
12832
ab07cea8
JM
12833 * stdlib/longlong.h: Update from GCC.
12834
699ff837
JM
12835 [BZ #6807]
12836 [BZ #15901]
12837 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12838 * math/w_j0f.c (y0f): Likewise.
12839 * math/w_j0l.c (__y0l): Likewise.
12840 * math/w_j1.c (y1): Likewise.
12841 * math/w_j1f.c (y1f): Likewise.
12842 * math/w_j1l.c (__y1l): Likewise
12843 * math/w_jn.c (yn): Likewise.
12844 * math/w_jnf.c (ynf): Likewise.
12845 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12846 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12847 value for Bessel function domain errors outside _SVID_ mode.
12848 Adjust sign of return value for yn (negative integer, 0).
12849 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12850 by zero in return for negative x and set sign appropriately for
12851 negative n.
12852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12853 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12854 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12855 expectations in error cases.
12856 (y1_test_data): Likewise.
12857 (yn_test_data): Likewise.
12858 * sysdeps/i386/fpu/libm-test-ulps: Update.
12859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12860
5b118558
UW
128612013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12862
12863 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12864 "64" to "64-v1". Add "64-v2".
12865 (abi-64-options): Rename to ...
12866 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12867 (abi-64-condition): Rename to ...
12868 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12869 (abi-64-ld-soname): Rename to ...
12870 (abi-64-v1-ld-soname): ... this.
12871 (abi-64-v2-options): Define.
12872 (abi-64-v2-condition): Likewise.
12873 (abi-64-v2-ld-soname): Likewise.
12874 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12875 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12879
61cd8fe4
UW
128802013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12881 Alan Modra <amodra@gmail.com>
12882
12883 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12884 New versions for use with the ELFv2 ABI.
12885 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12886 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12887 declaration.
12888 (struct La_ppc64v2_retval): Likewise.
12889 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12890 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12891 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12892 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12893 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12894 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12895 Do not save or restore CR.
12896 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12897 (_dl_profile_resolve): Do no save or restore CR. Support extended
12898 return values for ELFv2 ABI. Fix location of FPR return registers.
12899 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12900 updated values for _CALL_ELF == 2.
12901 (La_regs, La_retval, int_retval): Likewise.
12902
8b8a692c
UW
129032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12904
12905 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12906 (FRAME_MIN_SIZE_PARM): Likewise.
12907 (FRAME_BACKCHAIN): Likewise.
12908 (FRAME_CR_SAVE): Likewise.
12909 (FRAME_LR_SAVE): Likewise.
12910 (FRAME_TOC_SAVE): Likewise.
12911 (FRAME_PARM_SAVE): Likewise.
12912 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12913 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12914 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12915 (call_mcount_parm_offset): New macro.
12916 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12917 (PROF): Use symbolic stack frame offsets.
12918 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12919 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12920 Redefine in terms of FRAME_MIN_SIZE.
12921 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12922 (_dl_profile_resolve): Likewise. Update comment.
12923 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12924 symbols stack frame offsets.
12925 (__sigsetjmp): Likewise.
12926 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12927 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12928 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12929 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12930
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12932 (FRAME_BACKCHAIN): Remove.
12933 (FRAME_CR_SAVE): Likewise.
12934 (FRAME_LR_SAVE): Likewise.
12935 (FRAME_COMPILER_DW): Likewise.
12936 (FRAME_LINKER_DW): Likewise.
12937 (FRAME_TOC_SAVE): Likewise.
12938 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12939 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12940 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12941 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12943 (CHECK_SP): Use symbolic stack frame offsets.
12944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12945 zone" instead of caller's parameter save area for temp storage.
12946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12947 Likewise. Also, use symbolic stack frame offsets.
12948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12949 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12950 our own stack frame instead of the caller's.
12951 (__socket): Use symbolic stack frame offsets.
12952
122b66de
UW
129532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12954 Alan Modra <amodra@gmail.com>
12955
12956 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12957 Define.
57f41c40
AS
12958 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12959 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12960 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12961 New function.
12962 (elf_machine_fixup_plt): Call it.
12963 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12964 reloc arguments.
12965 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12966 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12967 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12968 r2 before calling target.
12969
696caf1d
UW
129702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12971 Alan Modra <amodra@gmail.com>
12972
12973 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12974 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12975 versions of macros to support ELFv2 ABI.
12976 (LOCALENTRY): New macro.
12977 (ENTRY, EALIGN): Use it.
12978 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12979 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12980 fall through into ENTRY entry point.
12981 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12982 Only define if _CALL_ELF != 2.
12983
12984 (elf_machine_matches_host): Verify ABI version matches.
12985 (RTLD_START): Use LOCALENTRY.
12986 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12987 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12988 (PLT_ENTRY_WORDS): New macro.
12989 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12990 (elf_machine_runtime_setup): Support ELFv2 ABI.
12991 (elf_machine_fixup_plt): Likewise.
12992 (elf_machine_plt_conflict): Likewise.
12993 (resolve_ifunc): Likewise.
12994 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12995 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12996 Likewise.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12998 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13000 (makecontext): Support ELFv2 ABI.
13001 * elf/elf.h (EF_PPC64_ABI): Define.
13002
d31beafa
UW
130032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13004
57f41c40
AS
13005 * sysdeps/powerpc/powerpc64/sysdep.h
13006 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13007 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13008 (ENTRY) [ASSEMBLER]: ... but instead here ...
13009 (EALIGN) [ASSEMBLER]: ... and here.
13010 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13011 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13012 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13013 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13014 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13015 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13016 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13017 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13019 Use PPC64_LOAD_FUNCPTR.
13020
b525166b
UW
13021 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13022
7ec07d9a
AM
130232013-12-04 Alan Modra <amodra@gmail.com>
13024
13025 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13026 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13027 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13028 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13029
13030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13031 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13032 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13033 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13034 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13035 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13036
5162e7dd
UW
130372013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13038
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13040 (__makecontext): Fix incorrect CFI when backtracing out of
13041 context created via makecontext.
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13043 (__setcontext): Fix incorrect CFI during switch to new context.
13044 (__novec_setcontext): Likewise.
13045
19e3372b
OB
130462013-12-04 Ondřej Bílka <neleai@seznam.cz>
13047
13048 [BZ #4772]
13049 * time/strptime_l.c (__strptime_internal): Allow modifiers
13050 in strptime.
13051 * time/tst-strptime.c (day_tests): Add testcase.
13052
ecaf142d
SP
130532013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13054
13055 * scripts/bench.pl: Skip over blank lines.
13056
fbf964ae
PE
130572013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13058
13059 [BZ #926]
13060 * manual/time.texi (Calendar Time): Clarify what timezone functions
13061 use.
13062
fa60a674
AZ
130632013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13064
13065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13066
d674f0ef
OB
130672013-12-04 Ondřej Bílka <neleai@seznam.cz>
13068
13069 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13070 implementation.
13071 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13072 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13073 * debug/memset_chk.c (__memset_chk): Likewise.
13074 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13075 * debug/strncpy_chk.c: Likewise.
13076
17dea188
JM
130772013-12-03 Joseph Myers <joseph@codesourcery.com>
13078
749008ff
JM
13079 [BZ #15268]
13080 [BZ #15425]
13081 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13082 (__ieee754_exp): For possibly underflowing results, check size of
13083 result and force underflow exception if required.
13084 * math/auto-libm-test-in: Add more tests of exp.
13085 * math/auto-libm-test-out: Regenerated.
13086 * sysdeps/i386/fpu/libm-test-ulps: Update.
13087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13088
17dea188
JM
13089 [BZ #16283]
13090 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13091 * math/w_exp2f.c (__exp2f): Likewise.
13092 * math/w_exp2l.c (__exp2l): Likewise.
13093 * math/auto-libm-test-in: Do not allow missing errno on exp2
13094 underflow.
13095 * math/auto-libm-test-out: Regenerated.
13096
b20de2c3
OB
130972013-12-03 Ondřej Bílka <neleai@seznam.cz>
13098
13099 [BZ #16274]
13100 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13101 handle filename validation.
13102 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13103 (do_open): Delete.
13104
d8e2dbe3
JM
131052013-12-03 Joseph Myers <joseph@codesourcery.com>
13106
34e16df5
JM
13107 [BZ #6786]
13108 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13109 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13110 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13111 <float.h>.
13112 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13113 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13114 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13115 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13116 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13117 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13118 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13119 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13120 Add more erfc tests.
13121 * math/auto-libm-test-out: Regenerated.
13122 * sysdeps/i386/fpu/libm-test-ulps: Update.
13123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13124
d8e2dbe3
JM
13125 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13126 exp2, expm1, j0 and j1.
13127 * math/auto-libm-test-out: Regenerated.
13128 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13129 (erfc_test_data): Likewise.
13130 (exp_test_data): Likewise.
13131 (exp_tonearest_test_data): Likewise.
13132 (exp_towardzero_test_data): Likewise.
13133 (exp_downward_test_data): Likewise.
13134 (exp_upward_test_data): Likewise.
13135 (exp10_test_data): Likewise.
13136 (exp2_test_data): Likewise.
13137 (expm1_test_data): Likewise.
13138 (j0_test_data): Likewise.
13139 (j1_test_data): Likewise.
13140 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13141 (input_flag_type): Add flag_xfail_rounding.
13142 (input_flags): Add xfail-rounding.
13143 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13144 (output_for_one_input_case): Handle flag_xfail_rounding.
13145 * sysdeps/i386/fpu/libm-test-ulps: Update.
13146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13147
18d14251
AJ
131482013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13149
3d2e6075 13150 [BZ #16289]
18d14251
AJ
13151 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13152 division by 0.
13153
520d437b
SP
131542013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13155
13156 [BZ #16195]
13157 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13158 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13159 (STAP_PROBE0): New macro.
13160 (STAP_PROBE1): Likewise.
13161 (STAP_PROBE2): Likewise.
13162 (STAP_PROBE3): Likewise.
13163 (STAP_PROBE4): Likewise.
13164
416e0145
OB
131652013-12-02 Ondřej Bílka <neleai@seznam.cz>
13166
13167 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13168
9d17796a
SE
131692013-12-02 Steve Ellcey <sellcey@mips.com>
13170
13171 * benchtests/Makefile (bench): Add sqrt.
13172 (LDLIBS-bench-sqrt): New.
13173 * benchtests/sqrt-input: New.
13174
f524d6a8
PS
131752013-12-02 Pavel Simerda <psimerda@redhat.com>
13176
639a0ef8
PS
13177 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13178 (GAIH_EAI): Likewise.
13179 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13180 (gaih_inet): Likewise.
13181 (getaddrinfo): Don't use GAIH_EAI.
13182
f524d6a8
PS
13183 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13184 (struct gaih): Remove definition.
13185
df3aedaf
SP
131862013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13187
13188 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13189 Use HERRNOP directly.
13190
1ab19dec
AZ
131912013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13192
b42ad38d 13193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13194
176b0c79
JM
131952013-11-30 Joseph Myers <joseph@codesourcery.com>
13196
13197 * math/gen-auto-libm-tests.c (test_functions): Add more
13198 single-argument functions.
13199 (special_fill_pi_2): New function.
13200 (special_fill_minus_pi_2): Likewise.
13201 (special_fill_pi_6): Likewise.
13202 (special_fill_minus_pi_6): Likewise.
13203 (special_fill_pi_3): Likewise.
13204 (special_fill_2pi_3): Likewise.
13205 (special_fill_e): Likewise.
13206 (special_fill_1_e): Likewise.
13207 (special_fill_e_minus_1): Likewise.
13208 (special_real_inputs): Add more special inputs.
13209 (output_for_one_input_case): Do not require ERANGE on underflow to
13210 zero if round-to-nearest result does not underflow to zero, unless
13211 exact results required.
13212 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13213 atan, atanh, cbrt, cos and cosh.
13214 * math/auto-libm-test-out: Regenerated.
13215 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13216 (acos_tonearest_test_data): Likewise.
13217 (acos_towardzero_test_data): Likewise.
13218 (acos_downward_test_data): Likewise.
13219 (acos_upward_test_data): Likewise.
13220 (acosh_test_data): Likewise.
13221 (asin_test_data): Likewise.
13222 (asin_tonearest_test_data): Likewise.
13223 (asin_towardzero_test_data): Likewise.
13224 (asin_upward_test_data): Likewise.
13225 (asinh_test_data): Likewise.
13226 (atan_test_data): Likewise.
13227 (atanh_test_data): Likewise.
13228 (cbrt_test_data): Likewise.
13229 (cos_test_data): Likewise.
13230 (cos_tonearest_test_data): Likewise.
13231 (cos_towardzero_test_data): Likewise.
13232 (cos_downward_test_data): Likewise.
13233 (cos_upward_test_data): Likewise.
13234 (cosh_test_data): Likewise.
13235 (cosh_tonearest_test_data): Likewise.
13236 (cosh_towardzero_test_data): Likewise.
13237 (cosh_downward_test_data): Likewise.
13238 (cosh_upward_test_data): Likewise.
13239 * sysdeps/i386/fpu/libm-test-ulps: Update.
13240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13241
ffb536d0
JM
132422013-11-29 Joseph Myers <joseph@codesourcery.com>
13243
2a77a467
JM
13244 [BZ #6787]
13245 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13246 * math/w_exp10f.c (__exp10f): Likewise.
13247 * math/w_exp10l.c (__exp10l): Likewise.
13248 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13249 errno settings in existing tests.
13250
ea3bc4e8
JM
13251 [BZ #14032]
13252 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13253 precision control set to double precision.
13254 * sysdeps/i386/fpu/w_sqrt.c: New file.
13255 * math/auto-libm-test-in: Add more tests.
13256 * math/auto-libm-test-out: Update.
13257
0712c9d8
JM
13258 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13259 (sqrt_test_tonearest): New function.
13260 (sqrt_towardzero_test_data): New variable.
13261 (sqrt_test_towardzero): New function.
13262 (sqrt_downward_test_data): New variable.
13263 (sqrt_test_downward): New function.
13264 (sqrt_upward_test_data): New variable.
13265 (sqrt_test_upward): New function.
13266 (main): Call the new functions.
13267
ffb536d0
JM
13268 * math/gen-auto-libm-tests.c: New file.
13269 * math/auto-libm-test-in: Likewise.
13270 * math/auto-libm-test-out: New generated file.
13271 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13272 variables.
13273 (%beautify): Add generated representations of zero.
13274 (top level): Set $auto_input and call parse_auto_input.
13275 (beautify): Remove trailing "f" from hex float constants.
13276 (parse_args): Handle XFAIL_TEST.
13277 (convert_condition): New function.
13278 (or_value): Likewise.
13279 (or_cond_value): Likewise.
13280 (generate_testfile): Handle AUTO_TESTS_* lines.
13281 (parse_auto_input): New function.
13282 * math/libm-test.inc (XFAIL_TEST): New macro.
13283 (ERRNO_UNCHANGED): Update value.
13284 (ERRNO_EDOM): Likewise.
13285 (ERRNO_ERANGE): Likewise.
13286 (IGNORE_RESULT): Likewise.
13287 (TEST_COND_flt_32): New macro.
13288 (TEST_COND_dbl_64): Likewise.
13289 (TEST_COND_ldbl_96_intel): Likewise.
13290 (TEST_COND_ldbl_96_m68k): Likewise.
13291 (TEST_COND_ldbl_128): Likewise.
13292 (TEST_COND_ldbl_128ibm): Likewise.
13293 (TEST_COND_long32): Likewise.
13294 (TEST_COND_long64): Likewise.
13295 (TEST_COND_before_rounding): Likewise.
13296 (TEST_COND_after_rounding): Likewise.
13297 (enable_test): Handle XFAIL_TEST flag.
13298 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13299 with finite results.
13300 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13301 auto-libm-test-out.
13302
acd98a8e
AK
133032013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13304 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13305
13306 [BZ #16214]
13307 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13308 __tls_get_addr_internal instead of __tls_get_offset in order to
13309 avoid GOT pointer dependency. Make rtld export
13310 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13311 __tls_get_addr since we are a __tls_get_offset platform.
13312 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13313 GOT pointer being set up before.
13314 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13315
3c1c46a6
JM
133162013-11-28 Joseph Myers <joseph@codesourcery.com>
13317
7475aef5
JM
13318 * manual/math.texi (Errors in Math Functions): Document accuracy
13319 goals.
13320
8bca7cd8
JM
13321 [BZ #15004]
13322 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13323 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13326 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13328 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13338
91a1f3fe
JM
13339 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13340 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13341 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13342 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13343 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13344 Likewise.
13345 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13346 Likewise.
13347 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13348 Likewise.
13349 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13350 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13351 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13352 atomic-feupdateenv and flt-rounds.
13353 * sysdeps/powerpc/nofpu/Versions (libc): Add
13354 __atomic_feholdexcept, __atomic_feclearexcept,
13355 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13356 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13357 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13358 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13359 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13360 here.
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13362 Update.
13363
c5df7609
JM
13364 * manual/arith.texi (FP Exceptions): Document that exceptions may
13365 not be raised when matherr is used.
13366 (Math Error Reporting): Document overflow in directed rounding
13367 modes. Document that errno may not be set when finite values are
13368 returned on overflow. Document intent to set errno on underflow
13369 only for underflow to zero.
13370
3c1c46a6
JM
13371 [BZ #16271]
13372 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13373 round-to-nearest then adjust result for other rounding modes.
13374 * include/fenv.h (fegetround): Use libm_hidden_proto.
13375 * math/fegetround.c (fegetround): Use libm_hidden_def.
13376 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13377 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13378 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13379 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13380 Likewise.
13381 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13382 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13383 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13384 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13385
5a4c6d53
SP
133862013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13387
13388 [BZ #16077]
13389 * nss/Versions (libnss_files): Add
13390 _nss_files_gethostbyname3_r.
13391 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13392 New function.
13393 (HOST_DB_LOOKUP): Remove macro.
13394 (_nss_files_gethostbyname_r): Implement function without the
13395 HOST_DB_LOOKUP macro.
13396 (_nss_files_gethostbyname2_r): Likewise.
13397
897b98ba
OB
133982013-11-28 Ondřej Bílka <neleai@seznam.cz>
13399
13400 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13401
6f476861
UB
134022013-11-26 Uros Bizjak <ubizjak@gmail.com>
13403
13404 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13405 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13406 warning.
13407
bd12ab55
AZ
134082013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13409
13410 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13411 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13412 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13413 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13414 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13415 __fe_nomask_env_priv and attribute_hidden.
13416 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13417 (libc_feupdateenv_test_ppc): Likewise.
13418 (libc_feresetround_ppc): Likewise.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13420 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13421 compat_symbol macro.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13423 (__fe_nomask_env): Likewise.
13424 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13425
52bb6543
OB
134262013-11-26 Ondřej Bílka <neleai@seznam.cz>
13427
13428 * string/Makefile: Remove ifunc tests.
13429 * string/test-string.h: Define TEST_IFUNC.
13430 * string/test-bcopy-ifunc.c: Remove.
13431 * string/test-bzero-ifunc.c: Likewise.
13432 * string/test-memccpy-ifunc.c: Likewise.
13433 * string/test-memchr-ifunc.c: Likewise.
13434 * string/test-memcmp-ifunc.c: Likewise.
13435 * string/test-memcpy-ifunc.c: Likewise.
13436 * string/test-memmem-ifunc.c: Likewise.
13437 * string/test-memmove-ifunc.c: Likewise.
13438 * string/test-mempcpy-ifunc.c: Likewise.
13439 * string/test-memrchr-ifunc.c: Likewise.
13440 * string/test-memset-ifunc.c: Likewise.
13441 * string/test-rawmemchr-ifunc.c: Likewise.
13442 * string/test-stpcpy-ifunc.c: Likewise.
13443 * string/test-stpncpy-ifunc.c: Likewise.
13444 * string/test-strcasecmp-ifunc.c: Likewise.
13445 * string/test-strcasestr-ifunc.c: Likewise.
13446 * string/test-strcat-ifunc.c: Likewise.
13447 * string/test-strchr-ifunc.c: Likewise.
13448 * string/test-strchrnul-ifunc.c: Likewise.
13449 * string/test-strcmp-ifunc.c: Likewise.
13450 * string/test-strcpy-ifunc.c: Likewise.
13451 * string/test-strcspn-ifunc.c: Likewise.
13452 * string/test-strlen-ifunc.c: Likewise.
13453 * string/test-strncasecmp-ifunc.c: Likewise.
13454 * string/test-strncat-ifunc.c: Likewise.
13455 * string/test-strncmp-ifunc.c: Likewise.
13456 * string/test-strncpy-ifunc.c: Likewise.
13457 * string/test-strnlen-ifunc.c: Likewise.
13458 * string/test-strpbrk-ifunc.c: Likewise.
13459 * string/test-strrchr-ifunc.c: Likewise.
13460 * string/test-strspn-ifunc.c: Likewise.
13461 * string/test-strstr-ifunc.c: Likewise.
13462
ab260039 134632013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13464
13465 * benchtests/Makefile: Remove ifunc tests.
13466 * benchtests/bench-string.h: Define TEST_IFUNC.
13467 * benchtests/bench-bcopy-ifunc.c: Remove.
13468 * benchtests/bench-bzero-ifunc.c: Likewise.
13469 * benchtests/bench-memccpy-ifunc.c: Likewise.
13470 * benchtests/bench-memchr-ifunc.c: Likewise.
13471 * benchtests/bench-memcmp-ifunc.c: Likewise.
13472 * benchtests/bench-memcpy-ifunc.c: Likewise.
13473 * benchtests/bench-memmem-ifunc.c: Likewise.
13474 * benchtests/bench-memmove-ifunc.c: Likewise.
13475 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13476 * benchtests/bench-memrchr-ifunc.c: Likewise.
13477 * benchtests/bench-memset-ifunc.c: Likewise.
13478 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13479 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13480 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13481 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13482 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13483 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13484 * benchtests/bench-strcat-ifunc.c: Likewise.
13485 * benchtests/bench-strchr-ifunc.c: Likewise.
13486 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13487 * benchtests/bench-strcmp-ifunc.c: Likewise.
13488 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13489 * benchtests/bench-strcpy-ifunc.c: Likewise.
13490 * benchtests/bench-strcspn-ifunc.c: Likewise.
13491 * benchtests/bench-strlen-ifunc.c: Likewise.
13492 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13493 * benchtests/bench-strncat-ifunc.c: Likewise.
13494 * benchtests/bench-strncmp-ifunc.c: Likewise.
13495 * benchtests/bench-strncpy-ifunc.c: Likewise.
13496 * benchtests/bench-strnlen-ifunc.c: Likewise.
13497 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13498 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13499 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13500 * benchtests/bench-strspn-ifunc.c: Likewise.
13501 * benchtests/bench-strstr-ifunc.c: Likewise.
13502
135032013-11-26 Ondřej Bílka <neleai@seznam.cz>
13504
ab260039
OB
13505 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13506
d1d9eaf4 135072013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13508
d1d9eaf4
OB
13509 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13510 * rt/aio.h: Likewise.
13511 * sysdeps/gnu/bits/utmp.h: Likewise.
13512 * sysdeps/gnu/bits/utmpx.h: Likewise.
13513 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13514 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13515 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13516 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13517 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13518 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13519 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13520 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13521 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13522 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13523 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13524 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13525 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13527 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13528 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13529 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13530 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13531 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13532 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13533 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13534 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13535 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13536 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13537 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13539 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13540 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13541 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13542 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13543 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13545 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13546 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13547 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13548 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13549 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13550 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13551 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13552 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13553 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13554 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13555
a7624ed9
CD
135562013-11-25 Carlos O'Donell <carlos@redhat.com>
13557
13558 [BZ #16245]
13559 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13560 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13561
63cfe52b
JM
135622013-11-25 Joseph Myers <joseph@codesourcery.com>
13563
13564 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13565 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13566 Likewise.
13567
41e8926a
AZ
135682013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13569
13570 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13571 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13572 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13573 (__fesetround): Remove define.
13574 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13575 rounding and exceptions handling.
13576 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13577 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13578 (__fe_nomask_env): Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13580 __fegetround instead of fegetround.
13581 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13582 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13583
6851bd4d
RM
135842013-11-21 Roland McGrath <roland@hack.frob.com>
13585
070906ff
RM
13586 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13587 it's there.
13588
6851bd4d
RM
13589 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13590
84ae135d
MI
135912013-11-21 Meador Inge <meadori@codesourcery.com>
13592
13593 [BZ #11157]
13594 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13595 (encrypt_r): Likewise.
13596 * malloc/obstack.h (obstack_free): Likewise.
13597 * posix/unistd.h (encrypt): Likewise.
13598
daf75146
GM
135992013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13600
13601 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13602 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13603 DL_CALL_DT_FINI() that call the functions directly.
13604 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13605 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13606 * elf/dl-fini.c: Likewise.
13607
10ad46bc
OB
136082013-11-20 Ondřej Bílka <neleai@seznam.cz>
13609
13610 * malloc/hooks.c (memalign_check): Add alignment rounding.
13611 * malloc/malloc.c (_mid_memalign): New function.
13612 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13613 Implement by calling _mid_memalign.
13614 * manual/probes.texi (Memory Allocation Probes): Remove
13615 memory_valloc_retry and memory_pvalloc_retry.
13616
f3fd2628
SP
136172013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13618
4712799f
SP
13619 * locale/programs/locarchive.c (open_archive): Add const
13620 qualifier to ARCHIVEFNAME and copy default fname to
13621 DEFAULT_FNAME.
13622
0417b20f
SP
13623 [BZ #15601]
13624 * libio/tst-widetext.input: Rename Oriya to Odia.
13625 * locale/iso-639.def: Likewise.
13626
f3fd2628
SP
13627 * manual/probes.texi (Mathematical Function Probes): Add
13628 documentation for sin, cos, asin and acos probes.
13629 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13630 (__sin32): Add slowasin probe.
13631 (__cos32): Add slowacos probe.
13632 (__mpsin): Add slowsin probe.
13633 (__mpcos): Add slowcos probe.
13634
73c1ce4f
JM
136352013-11-19 Joseph Myers <joseph@codesourcery.com>
13636
13637 [BZ #15483]
13638 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13639 thread-local __sim_exceptions_thread and global
13640 __sim_exceptions_global.
13641 (__sim_disabled_exceptions): Change to thread-local
13642 __sim_disabled_exceptions_thread and global
13643 __sim_disabled_exceptions_global.
13644 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13645 and global __sim_round_mode_global.
13646 (__simulate_exceptions): Use thread-local floating-point state and
13647 set global state from it as needed.
13648 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13649 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13650 __sim_round_mode_thread.
13651 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13652 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13653 and global __sim_exceptions_global.
13654 (__sim_disabled_exceptions): Change to thread-local
13655 __sim_disabled_exceptions_thread and global
13656 __sim_disabled_exceptions_global.
13657 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13658 and global __sim_round_mode_global.
13659 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13660 (SIM_SET_GLOBAL): Likewise.
13661 * sysdeps/powerpc/soft-fp/sfp-machine.h
13662 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13663 __sim_round_mode_thread.
13664 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13665 __sim_disabled_exceptions_thread.
13666 (__sim_exceptions): Change to __sim_exceptions_thread.
13667 (__sim_disabled_exceptions): Change to
13668 __sim_disabled_exceptions_thread.
13669 (__sim_round_mode): Change to __sim_round_mode_thread.
13670 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13671 thread-local floating-point state and set global state from it as
13672 needed.
13673 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13674 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13675 (__sim_disabled_exceptions): Remove extern declaration.
13676 (feenableexcept): Use thread-local floating-point state and set
13677 global state from it as needed.
13678 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13679 extern declaration.
13680 (__sim_disabled_exceptions): Likewise.
13681 (__sim_round_mode): Likewise.
13682 (__fegetenv): Use thread-local floating-point state.
13683 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13684 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13685 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13686 floating-point state and set global state from it as needed.
13687 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13688 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13689 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13690 Likewise.
13691 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13692 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13693 Likewise.
13694 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13695 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13696 Use __sim_round_mode_thread.
13697 * math/test-fenv-tls.c: New file.
13698 * math/Makefile (tests): Add test-fenv-tls.
13699 ($(objpfx)test-fenv-tls): Depend on
13700 $(common-objpfx)nptl/libpthread.so.
13701
b5449b12
AS
137022013-11-19 Andreas Schwab <schwab@suse.de>
13703
13704 * locale/programs/locale.c (show_info): Decode wordarray elements.
13705 * locale/categories.def (LC_MONETARY): Add element for
13706 _NL_MONETARY_CRNCYSTR.
13707 * locale/C-monetary.c (conversion_rate): New variable.
13708 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13709 element.
13710
e186536b
CM
137112013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13712
13713 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13714 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13715
5c349950
PP
137162013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13717
13718 * elf/Makefile (tst-auxv): New test.
13719 * elf/tst-auxv.c: New
13720 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13721
699df45b
JM
137222013-11-18 Joseph Myers <joseph@codesourcery.com>
13723
13724 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13725 (hidden_proto): Caller changed.
13726 (hidden_tls_proto): New macro.
13727 (libc_hidden_tls_proto): Likewise.
13728 (rtld_hidden_tls_proto): Likewise.
13729 (libm_hidden_tls_proto): Likewise.
13730 (libresolv_hidden_tls_proto): Likewise.
13731 (librt_hidden_tls_proto): Likewise.
13732 (libdl_hidden_tls_proto): Likewise.
13733 (libnss_files_hidden_tls_proto): Likewise.
13734 (libnsl_hidden_tls_proto): Likewise.
13735 (libnss_nisplus_hidden_tls_proto): Likewise.
13736 (libutil_hidden_tls_proto): Likewise.
13737
b7589107
OB
137382013-11-18 Ondřej Bílka <neleai@seznam.cz>
13739
13740 [BZ #10253]
13741 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13742 (decompose_rpath): Defer expansion to fillin_rpath.
13743 (_dl_init_paths): Pass linkmap to fillin_rpath.
13744
250c23bd
RS
137452013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13746
13747 * benchtests/Makefile: Add strsep.
13748 * benchtests/bench-strsep.c: New file: strsep benchtest.
13749 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13750
a7931fcf
AS
137512013-11-18 Andreas Schwab <schwab@suse.de>
13752
13753 * locale/programs/locale.c (show_info) [case byte]: Check for
13754 '\377' instead of '\177'.
13755 * locale/C-monetary.c (not_available): Always use "\377".
13756 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13757 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13758 detect unavailable sign_posn locale elements.
13759 * locale/localeconv.c (__localeconv): For grouping and
13760 mon_grouping handle "\177" and "\377" like no grouping.
13761 (INT_ELEM): New macro. Use it to set all numeric members.
13762 * locale/programs/ld-monetary.c (monetary_read)
13763 <tok_mon_grouping>: Normalize single -1 to the empty string.
13764 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13765 Likewise.
13766
728dab0e
OB
137672013-11-07 Ondřej Bílka <neleai@seznam.cz>
13768
13769 [BZ #16055]
13770 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13771 when we match (nil).
13772 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13773
66294491
JM
137742013-11-16 Joseph Myers <joseph@codesourcery.com>
13775
ce665817
JM
13776 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13777 (NO_TEST_INLINE): Update value.
13778 (ERRNO_UNCHANGED): Likewise.
13779 (ERRNO_EDOM): Likewise.
13780 (ERRNO_ERANGE): Likewise.
13781 (IGNORE_RESULT): Likewise.
13782 (check_float_internal): Check signs of NaN results if
13783 TEST_NAN_SIGN used.
13784 (check_complex): Pass TEST_NAN_SIGN flag through to second
13785 check_float_internal call.
13786 (copysign_test_data): Add tests with quiet NaNs as second
13787 argument. Use TEST_NAN_SIGN.
13788 (fabs_test_data): Add test of negative quiet NaN argument. Use
13789 TEST_NAN_SIGN.
13790 (signbit_test_data): Add tests of quiet NaN argument.
13791 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13792
ee1466a9
JM
13793 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13794 $ignore_result.
13795 (parse_args): Handle function results specified as IGNORE.
13796 * math/libm-test.inc (IGNORE_RESULT): New macro.
13797 (check_float_internal): Do not check numerical result if flag
13798 IGNORE_RESULT set.
13799 (check_complex): Pass through IGNORE_RESULT to second
13800 check_float_internal call.
13801 (check_int): Do not check numerical result if flag IGNORE_RESULT
13802 set.
13803 (check_long): Likewise.
13804 (check_bool): Likewise.
13805 (check_longlong): Likewise.
13806 (lrint_test_data): Add tests of infinite and NaN arguments.
13807 (lrint_tonearest_test_data): Likewise.
13808 (lrint_towardzero_test_data): Likewise.
13809 (lrint_downward_test_data): Likewise.
13810 (lrint_upward_test_data): Likewise.
13811 (llrint_test_data): Likewise.
13812 (llrint_tonearest_test_data): Likewise.
13813 (llrint_towardzero_test_data): Likewise.
13814 (llrint_downward_test_data): Likewise.
13815 (llrint_upward_test_data): Likewise.
13816 (lround_test_data): Likewise.
13817 (llround_test_data): Likewise.
13818
14407b7e
JM
13819 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13820 (ERRNO_UNCHANGED): Update value.
13821 (ERRNO_EDOM): Likewise.
13822 (ERRNO_ERANGE): Likewise.
13823 (NO_TEST_INLINE_FLOAT): New macro.
13824 (NO_TEST_INLINE_DOUBLE): Likewise.
13825 (enable_test): New function.
13826 (RUN_TEST_f_f): Check enable_test before running test.
13827 (RUN_TEST_2_f): Likewise.
13828 (RUN_TEST_fff_f): Likewise.
13829 (RUN_TEST_c_f): Likewise.
13830 (RUN_TEST_f_f1): Likewise.
13831 (RUN_TEST_fF_f1): Likewise.
13832 (RUN_TEST_fI_f1): Likewise.
13833 (RUN_TEST_ffI_f1): Likewise.
13834 (RUN_TEST_c_c): Likewise.
13835 (RUN_TEST_cc_c): Likewise.
13836 (RUN_TEST_f_i): Likewise.
13837 (RUN_TEST_f_i_tg): Likewise.
13838 (RUN_TEST_ff_i_tg): Likewise.
13839 (RUN_TEST_f_b): Likewise.
13840 (RUN_TEST_f_b_tg): Likewise.
13841 (RUN_TEST_f_l): Likewise.
13842 (RUN_TEST_f_L): Likewise.
13843 (RUN_TEST_fFF_11): Likewise.
13844 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13845 conditionals.
13846 (cosh_test_data): Likewise.
13847 (exp_test_data): Likewise.
13848 (expm1_test_data): Likewise.
13849 (hypot_test_data): Likewise.
13850 (pow_test_data): Likewise.
13851 (sinh_test_data): Likewise.
13852 (tanh_test_data): Likewise.
13853 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13854 flags argument.
13855
ca07f197
JM
13856 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13857 tests with quiet NaN input and output.
13858 (acosh_test_data): Likewise.
13859 (asin_test_data): Likewise.
13860 (asinh_test_data): Likewise.
13861 (atan_test_data): Likewise.
13862 (atanh_test_data): Likewise.
13863 (atan2_test_data): Likewise.
13864 (cbrt_test_data): Likewise.
13865 (cos_test_data): Likewise.
13866 (cosh_test_data): Likewise.
13867 (erf_test_data): Likewise.
13868 (erfc_test_data): Likewise.
13869 (exp_test_data): Likewise.
13870 (exp10_test_data): Likewise.
13871 (exp2_test_data): Likewise.
13872 (expm1_test_data): Likewise.
13873 (hypot_test_data): Likewise.
13874 (j0_test_data): Likewise.
13875 (j1_test_data): Likewise.
13876 (jn_test_data): Likewise.
13877 (lgamma_test_data): Likewise.
13878 (log_test_data): Likewise.
13879 (log10_test_data): Likewise.
13880 (log1p_test_data): Likewise.
13881 (log2_test_data): Likewise.
13882 (pow_test_data): Likewise.
13883 (scalb_test_data): Likewise.
13884 (sin_test_data): Likewise.
13885 (sincos_test_data): Likewise.
13886 (sinh_test_data): Likewise.
13887 (tan_test_data): Likewise.
13888 (tanh_test_data): Likewise.
13889 (tgamma_test_data): Likewise.
13890 (y0_test_data): Likewise.
13891 (y1_test_data): Likewise.
13892 (yn_test_data): Likewise.
13893
66294491
JM
13894 [BZ #16167]
13895 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13896 argument being NaN and avoid computations with second argument in
13897 that case.
13898 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13899 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13900 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13901
1820b143
CL
139022013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13903
13904 * locale/iso-639.def: Add Chitwani Tharu (the).
13905
714bd261
AS
139062013-11-14 Andreas Schwab <schwab@suse.de>
13907
13908 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13909 word instead of empty string.
13910
7ab44563
AZ
139112013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13912
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13914 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13916 (__fe_nomask_env): Likewise.
13917
e8470ea2
SE
139182013-11-13 Steve Ellcey <sellcey@mips.com>
13919
13920 * benchtests/bench-timing.h: Include time.h.
13921
17c1d9f0
L
139222013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13923
13924 [BZ #15997]
13925 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13926 to 3.4.0 for x32.
13927 * sysdeps/unix/sysv/linux/configure: Regenerated.
13928
9310c284
JM
139292013-11-13 Joseph Myers <joseph@codesourcery.com>
13930
13931 [BZ #16151]
13932 * stdlib/strtod_l.c (round_and_return): Do not consider
13933 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13934 exponent one less than half the least subnormal exponent.
13935 * stdlib/test-strtod-round-data: Add more tests.
13936 * stdlib/tst-strtod-round.c (tests): Regenerated.
13937
7a2ad8cf
AZ
139382013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13939
13940 [BZ #14143]
13941 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13942 (__fe_mask_env): Likewise.
13943 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13944 libm_hidden_proto and add function prototype.
13945 (__fe_mask_env): Add function prototype.
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13947 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13949 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13951 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13952
50727aa7
MS
139532013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13954
b2f386c1 13955 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13956 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13957
a615be46
MS
139582013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13959
13960 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13961 of htab_find_slot().
13962
7ddace62
DM
139632013-11-11 David S. Miller <davem@davemloft.net>
13964
13965 [BZ #16150]
13966 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13967 symbol in the non-vis3 case in static builds.
13968 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13969 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13970 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13971 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13972
9182aa67
JK
139732013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13974
13975 [BZ #387]
13976 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13977 it is empty.
13978
450a2e2d
AZ
139792013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13980
b2f386c1
SP
13981 * benchtests/Makefile: Add bench-strtod.
13982 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13983
8ec3f656
AS
139842013-11-11 Andreas Schwab <schwab@suse.de>
13985
13986 [BZ #16153]
13987 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13988 terminating NUL in key length.
13989
76a9b998
AZ
139902013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13991
13992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13993 Add artificial ODP entry for vDSO symbol for PPC64.
13994 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13995 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13996
e4368156
OB
139972013-11-07 Ondřej Bílka <neleai@seznam.cz>
13998
13999 [BZ #15374]
14000 * nss/getent.c (services_keys): Recognize services starting with digit.
14001
8d6bb57c
DM
140022013-11-06 David S. Miller <davem@davemloft.net>
14003
14004 [BZ #15985]
14005 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14006 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14007
e256c421
WN
140082013-11-06 Will Newton <will.newton@linaro.org>
14009
14010 * manual/memory.texi (Malloc Examples): Remove register
14011 keyword from examples.
14012
f6e12daa 140132013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14014
f6e12daa 14015 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14016
9d880655
AS
140172013-11-04 Joseph Myers <joseph@codesourcery.com>
14018
fd2f9486 14019 [BZ #6981]
9d880655
AS
14020 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14021 depending on [__GCC_IEC_559 > 0].
14022 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14023 depending on [__GCC_IEC_559_COMPLEX > 0].
14024
ae129d3c
CL
140252013-11-03 Chris Leonard <cjl@sugarlabs.org>
14026
14027 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14028 to iso-639.def.
14029
4a15c2a4 140302013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14031
14032 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14033
8b35e35d
OB
140342013-11-01 Ondřej Bílka <neleai@seznam.cz>
14035
14036 [BZ #16112]
14037 * malloc/malloc (malloc_info): Do not handle first bin as
14038 special case.
14039
1d70fd6c
CL
140402013-11-01 Chris Leonard <cjl@sugarlabs.org>
14041
14042 * locale/iso-639.def: Add Central Nahuatl (nhn).
14043
8c5c2600
BH
140442013-11-01 Bruno Haible <bruno@clisp.org>
14045
14046 [BZ #7003]
14047 * manual/math.texi (BSD Random): Specify range upper bound as
14048 in POSIX.
14049
da5579c2
CL
140502013-10-31 Chris Leonard <cjl@sugarlabs.org>
14051
14052 * locale/iso-639.def: Add Meadow Mari (mhr).
14053
5d30d853
OB
140542013-10-31 Ondřej Bílka <neleai@seznam.cz>
14055
14056 [BZ #14752], [BZ #15763]
14057 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14058 Validate name.
14059 * rt/tst_shm.c: Add test for escaping directory.
14060
a4966c61
AS
140612013-10-31 Andreas Schwab <schwab@suse.de>
14062
8a43e768 14063 [BZ #15917]
a4966c61
AS
14064 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14065 followed by 'x' as part of digit sequence.
14066 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14067
28d708c4
MAP
140682013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14069
14070 [BZ #16037]
14071 * configure.ac: allow GNU Make 4.0 and greater.
14072 * configure: Regenerated.
14073
a56ee40b
WN
140742013-10-30 Will Newton <will.newton@linaro.org>
14075
14076 [BZ #16038]
14077 * malloc/hooks.c (memalign_check): Limit alignment to the
14078 maximum representable power of two.
14079 * malloc/malloc.c (__libc_memalign): Likewise.
14080 * malloc/tst-memalign.c (do_test): Add test for very
14081 large alignment values.
14082 * malloc/tst-posix_memalign.c (do_test): Likewise.
14083
c6e4925d
OB
140842013-10-30 Ondřej Bílka <neleai@seznam.cz>
14085
14086 [BZ #11087]
14087 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14088 (munmap_chunk): Likewise.
14089 (mremap_chunk): Likewise.
14090
140912013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14092
8a43e768 14093 [BZ #15799]
bbea82f7
OB
14094 * stdlib/div.c (div): Remove obsolete code.
14095 * stdlib/ldiv.c (ldiv): Likewise.
14096 * stdlib/lldiv.c (lldiv): Likewise.
14097
977f4b31
SP
140982013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14099
14100 [BZ #16071]
14101 * nss/nss_files/files-XXX.c (get_contents_ret): New
14102 enumerator.
14103 (get_contents): New function.
14104 (internal_getent): Use it. Expand size of LINEBUFLEN.
14105
cb8a6dbd
MF
141062013-10-30 Mike Frysinger <vapier@gentoo.org>
14107
14108 * configure.in: Moved to ...
14109 * configure.ac: ... here. Change reference to configure.in
14110 to configure.ac.
14111 * sysdeps/arm/preconfigure.ac: ... here.
14112 configure.in to configure.ac.
14113 * sysdeps/gnu/configure.in: Moved to ...
14114 * sysdeps/gnu/configure.ac: ... here.
14115 * sysdeps/i386/configure.in: Moved to ...
14116 * sysdeps/i386/configure.ac: ... here.
14117 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14118 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14119 * sysdeps/mach/configure.in: Moved to ...
14120 * sysdeps/mach/configure.ac: ... here.
14121 * sysdeps/mach/hurd/configure.in: Moved to ...
14122 * sysdeps/mach/hurd/configure.ac: ... here.
14123 * sysdeps/powerpc/configure.in: Moved to ...
14124 * sysdeps/powerpc/configure.ac: ... here.
14125 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14126 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14127 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14128 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14129 * sysdeps/s390/s390-32/configure.in: Moved to ...
14130 * sysdeps/s390/s390-32/configure.ac: ... here.
14131 * sysdeps/s390/s390-64/configure.in: Moved to ...
14132 * sysdeps/s390/s390-64/configure.ac: ... here.
14133 * sysdeps/sh/configure.in: Moved to ...
14134 * sysdeps/sh/configure.ac: ... here.
14135 * sysdeps/sparc/configure.in: Moved to ...
14136 * sysdeps/sparc/configure.ac: ... here.
14137 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14138 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14139 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14140 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14141 * sysdeps/x86_64/configure.in: Moved to ...
14142 * sysdeps/x86_64/configure.ac: ... here.
14143 * sysdeps/x86_64/preconfigure.in: Moved to ...
14144 * sysdeps/x86_64/preconfigure.ac: ... here.
14145 * aclocal.m4: Change reference to configure.in to configure.ac.
14146 * config.h.in: Likewise.
14147 * manual/install.texi: Likewise.
14148 * manual/maint.texi: Likewise.
14149 * Makefile: Likewise.
14150 * malloc/Makefile: Likewise.
14151 * nscd/Makefile: Likewise.
14152 * Makeconfig: Change reference to configure.in and
14153 preconfigure.in to configure.ac and preconfigure.ac
14154 respectively.
14155 * INSTALL: Regenerated.
14156 * configure: Likewise.
14157 * sysdeps/gnu/configure: Likewise.
14158 * sysdeps/i386/configure: Likewise.
14159 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14160 * sysdeps/mach/configure: Likewise.
14161 * sysdeps/mach/hurd/configure: Likewise.
14162 * sysdeps/powerpc/configure: Likewise.
14163 * sysdeps/powerpc/powerpc32/configure: Likewise.
14164 * sysdeps/powerpc/powerpc64/configure: Likewise.
14165 * sysdeps/s390/s390-32/configure: Likewise.
14166 * sysdeps/s390/s390-64/configure: Likewise.
14167 * sysdeps/sh/configure: Likewise.
14168 * sysdeps/sparc/configure: Likewise.
14169 * sysdeps/unix/sysv/linux/configure: Likewise.
14170 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14171 * sysdeps/x86_64/configure: Likewise.
14172 * sysdeps/x86_64/preconfigure: Likewise.
14173
36a4953a
AS
141742013-10-29 Andreas Schwab <schwab@suse.de>
14175
14176 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14177
c79a1204
SP
141782013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14179
dfa1b402
SP
14180 * benchtests/pow-inputs: Add new inputs.
14181
54f73d9c
SP
14182 * benchtests/exp-inputs: Add new inputs.
14183
c79a1204
SP
14184 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14185 conditional check for return value.
14186 (__cos32): Likewise.
14187
67beb545 141882013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14189
14190 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14191 to provide a boost for large inputs with word alignment.
14192 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14193 implementation based on optimized PPC64 strcpy.
14194 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14195 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14196 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14197 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14198
151659f6
OB
141992013-10-25 Ondřej Bílka <neleai@seznam.cz>
14200
482a077e 14201 [BZ #2801]
151659f6
OB
14202 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14203
10b0f26b
OB
142042013-10-25 Ondřej Bílka <neleai@seznam.cz>
14205
14206 [BZ #14876]
14207 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14208 * time/tst-strptime.c (day_tests): Add testcase.
14209
ca42d35e
OB
142102013-10-25 Ondřej Bílka <neleai@seznam.cz>
14211
482a077e 14212 [BZ #14029]
ca42d35e
OB
14213 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14214
52e6d801
FB
142152013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14216
14217 [BZ #16074]
14218 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14219 MAP_FAILED on error.
14220
7cbcdb36
SP
142212013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14222
14223 [BZ #16072]
14224 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14225 heap for large requests.
14226
894f3f10
AM
142272013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14228
14229 [BZ #9954]
14230 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14231 result if the result has no associated interface.
14232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14233 interface for all 127.X.Y.Z addresses.
14234
b85545a6
CL
142352013-10-24 Chris Leonard <cjl@sugarlabs.org>
14236
14237 * locale/iso-639.def: Add Ligurian (lij)
14238
d1f23d46
OB
142392013-10-21 Ondřej Bílka <neleai@seznam.cz>
14240
14241 [BZ #15825]
14242 * sunrpc/rpc_main.c: Document rpcgen -5.
14243
4db5b08f
MS
142442013-10-19 Michael Stahl <mstahl@redhat.com>
14245
14246 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14247
a471e96a
OB
142482013-10-19 Ondřej Bílka <neleai@seznam.cz>
14249
d1f23d46 14250 [BZ #10278]
a471e96a
OB
14251 * posix/glob.c: Match only directories when trailing slash is present.
14252 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14253 (main): Add testcase.
14254
45c30c61
OB
142552013-10-19 Ondřej Bílka <neleai@seznam.cz>
14256
14257 [BZ #15670]
14258 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14259
484c12fb
CD
142602013-10-18 Carlos O'Donell <carlos@redhat.com>
14261
3d7dc513
CD
14262 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14263 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14264 AUTH_DES and cindex for FIPS 140-2.
14265 (DES Encryption): Add cindex FIPS 46-3.
14266
484c12fb
CD
14267 * locale/locarchive.h (struct locarhandle): Add fname.
14268 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14269 if an optional argument was specified to --list-archive,
14270 otherwise NULL.
14271 * locale/programs/locarchive.c (show_archive_content): Take new
14272 argument fname and pass it via ah.fname to open_archive.
14273 * locale/programs/localedef.h: Update decl.
14274 (open_archive): If AH->fname is non-null, open that file
14275 rather than the default file name, and don't ignore ENOENT.
14276 (create_archive): Set AH.fname to NULL.
14277 (delete_locales_from_archive): Likewise.
14278 (add_locales_to_archive): Likewise.
14279 * locale/programs/locfile.c (write_all_categories): Likewise.
14280
3c8325fb
JM
142812013-10-18 Joseph Myers <joseph@codesourcery.com>
14282 Aldy Hernandez <aldyh@redhat.com>
14283
14284 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14285 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14286 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14287 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14288 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14289 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14290 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14291 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14292 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14293 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14294 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14295 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14296 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14297 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14298 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14299 Likewise.
14300 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14301 Likewise.
14302 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14303 Likewise.
14304 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14305 Likewise.
14306 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14307 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14308 Likewise.
14309 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14310 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14311 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14312 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14313 Likewise.
14314 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14315 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14316 * sysdeps/powerpc/preconfigure: Likewise.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14318 Likewise.
14319 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14320 Replace contents of file by #include of <fenv_libc.h>.
14321 * sysdeps/powerpc/soft-fp/sfp-machine.h
14322 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14323 and <sys/prctl.h>.
14324 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14325 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14326 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14327 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14328 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14329 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14331 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14332 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14333 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14334 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14335 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14337 Allow copysignl PLT reference to be missing.
14338
5abe0682
RS
143392013-10-18 Richard Sandiford <richard@codesourcery.com>
14340 Joseph Myers <joseph@codesourcery.com
14341
14342 [BZ #15948]
14343 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14344 single character.
14345 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14346
c7738d08
SP
143472013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14348
14349 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14350 * elf/tst-tls1.c: Likewise.
14351 * elf/tst-tls10.h: Likewise.
14352 * elf/tst-tls14.c: Likewise.
14353 * elf/tst-tls2.c: Likewise.
14354 * elf/tst-tls3.c: Likewise.
14355 * elf/tst-tls4.c: Likewise.
14356 * elf/tst-tls5.c: Likewise.
14357 * elf/tst-tls6.c: Likewise.
14358 * elf/tst-tls7.c: Likewise.
14359 * elf/tst-tls8.c: Likewise.
14360 * elf/tst-tls9.c: Likewise.
14361 * elf/tst-tlsmod1.c: Likewise.
14362 * elf/tst-tlsmod13.c: Likewise.
14363 * elf/tst-tlsmod13a.c: Likewise.
14364 * elf/tst-tlsmod14a.c: Likewise.
14365 * elf/tst-tlsmod16a.c: Likewise.
14366 * elf/tst-tlsmod16b.c: Likewise.
14367 * elf/tst-tlsmod2.c: Likewise.
14368 * elf/tst-tlsmod3.c: Likewise.
14369 * elf/tst-tlsmod4.c: Likewise.
14370 * elf/tst-tlsmod5.c: Likewise.
14371 * elf/tst-tlsmod6.c: Likewise.
14372
0bfcf2c7
OB
143732013-10-18 Ondřej Bílka <neleai@seznam.cz>
14374
14375 [BZ #12486]
14376 * malloc/malloc.c: remove checks for statistics.
14377
264aad1e
OB
143782013-10-17 Ondřej Bílka <neleai@seznam.cz>
14379
14380 [BZ #15277]
14381 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14382 * inet/tst-network.c: Add testcase.
14383
b957ced8
AS
143842013-10-17 Andreas Schwab <schwab@suse.de>
14385
14386 [BZ #15218]
14387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14388 to determine canonical name.
14389
c5d5d574
OB
143902013-10-17 Ondřej Bílka <neleai@seznam.cz>
14391
14392 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14393 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14395 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14397 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14398 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14399 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14401 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14403 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14404 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14405 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14406 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14407 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14409 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14410 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14411 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14412 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14415 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14416 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14417 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14418 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14419 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14421 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14422 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14423 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14424 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14425 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14426 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14427 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14428 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14429 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14430 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14431 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14432 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14433 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14434 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14435 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14436 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14437 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14438 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14439 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14440 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14441 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14444 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14445 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14446 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14447 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14449 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14450
e5c2c2d0
JM
144512013-10-17 Joseph Myers <joseph@codesourcery.com>
14452
14453 [BZ #16041]
14454 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14455 make result into a quiet NaN.
14456
51ca9e29
JM
144572013-10-16 Joseph Myers <joseph@codesourcery.com>
14458
14459 * soft-fp/adddf3.c: Fix horizontal whitespace.
14460 * soft-fp/addsf3.c: Likewise.
14461 * soft-fp/addtf3.c: Likewise.
14462 * soft-fp/divdf3.c: Likewise.
14463 * soft-fp/divsf3.c: Likewise.
14464 * soft-fp/divtf3.c: Likewise.
14465 * soft-fp/double.h: Likewise.
14466 * soft-fp/eqdf2.c: Likewise.
14467 * soft-fp/eqsf2.c: Likewise.
14468 * soft-fp/eqtf2.c: Likewise.
14469 * soft-fp/extenddftf2.c: Likewise.
14470 * soft-fp/extended.h: Likewise.
14471 * soft-fp/extendsfdf2.c: Likewise.
14472 * soft-fp/extendsftf2.c: Likewise.
14473 * soft-fp/extendxftf2.c: Likewise.
14474 * soft-fp/fixdfdi.c: Likewise.
14475 * soft-fp/fixdfsi.c: Likewise.
14476 * soft-fp/fixdfti.c: Likewise.
14477 * soft-fp/fixsfdi.c: Likewise.
14478 * soft-fp/fixsfsi.c: Likewise.
14479 * soft-fp/fixsfti.c: Likewise.
14480 * soft-fp/fixtfdi.c: Likewise.
14481 * soft-fp/fixtfsi.c: Likewise.
14482 * soft-fp/fixtfti.c: Likewise.
14483 * soft-fp/fixunsdfdi.c: Likewise.
14484 * soft-fp/fixunsdfsi.c: Likewise.
14485 * soft-fp/fixunsdfti.c: Likewise.
14486 * soft-fp/fixunssfdi.c: Likewise.
14487 * soft-fp/fixunssfsi.c: Likewise.
14488 * soft-fp/fixunssfti.c: Likewise.
14489 * soft-fp/fixunstfdi.c: Likewise.
14490 * soft-fp/fixunstfsi.c: Likewise.
14491 * soft-fp/fixunstfti.c: Likewise.
14492 * soft-fp/floatdidf.c: Likewise.
14493 * soft-fp/floatdisf.c: Likewise.
14494 * soft-fp/floatditf.c: Likewise.
14495 * soft-fp/floatsidf.c: Likewise.
14496 * soft-fp/floatsisf.c: Likewise.
14497 * soft-fp/floatsitf.c: Likewise.
14498 * soft-fp/floattidf.c: Likewise.
14499 * soft-fp/floattisf.c: Likewise.
14500 * soft-fp/floattitf.c: Likewise.
14501 * soft-fp/floatundidf.c: Likewise.
14502 * soft-fp/floatundisf.c: Likewise.
14503 * soft-fp/floatunditf.c: Likewise.
14504 * soft-fp/floatunsidf.c: Likewise.
14505 * soft-fp/floatunsisf.c: Likewise.
14506 * soft-fp/floatunsitf.c: Likewise.
14507 * soft-fp/floatuntidf.c: Likewise.
14508 * soft-fp/floatuntisf.c: Likewise.
14509 * soft-fp/floatuntitf.c: Likewise.
14510 * soft-fp/fmadf4.c: Likewise.
14511 * soft-fp/fmasf4.c: Likewise.
14512 * soft-fp/fmatf4.c: Likewise.
14513 * soft-fp/gedf2.c: Likewise.
14514 * soft-fp/gesf2.c: Likewise.
14515 * soft-fp/getf2.c: Likewise.
14516 * soft-fp/ledf2.c: Likewise.
14517 * soft-fp/lesf2.c: Likewise.
14518 * soft-fp/letf2.c: Likewise.
14519 * soft-fp/muldf3.c: Likewise.
14520 * soft-fp/mulsf3.c: Likewise.
14521 * soft-fp/multf3.c: Likewise.
14522 * soft-fp/negdf2.c: Likewise.
14523 * soft-fp/negsf2.c: Likewise.
14524 * soft-fp/negtf2.c: Likewise.
14525 * soft-fp/op-1.h: Likewise.
14526 * soft-fp/op-2.h: Likewise.
14527 * soft-fp/op-4.h: Likewise.
14528 * soft-fp/op-8.h: Likewise.
14529 * soft-fp/op-common.h: Likewise.
14530 * soft-fp/quad.h: Likewise.
14531 * soft-fp/single.h: Likewise.
14532 * soft-fp/soft-fp.h: Likewise.
14533 * soft-fp/sqrtdf2.c: Likewise.
14534 * soft-fp/sqrtsf2.c: Likewise.
14535 * soft-fp/sqrttf2.c: Likewise.
14536 * soft-fp/subdf3.c: Likewise.
14537 * soft-fp/subsf3.c: Likewise.
14538 * soft-fp/subtf3.c: Likewise.
14539 * soft-fp/truncdfsf2.c: Likewise.
14540 * soft-fp/trunctfdf2.c: Likewise.
14541 * soft-fp/trunctfsf2.c: Likewise.
14542 * soft-fp/trunctfxf2.c: Likewise.
14543 * soft-fp/unorddf2.c: Likewise.
14544 * soft-fp/unordsf2.c: Likewise.
14545 * soft-fp/unordtf2.c: Likewise.
14546
9ebb0332
JM
145472013-10-15 Joseph Myers <joseph@codesourcery.com>
14548
14549 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14550 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14551
4b1a6d8b
OB
145522013-10-15 Ondřej Bílka <neleai@seznam.cz>
14553
14554 * elf/dl-libc.c: Clear initfini list after freeing.
14555
1e145589
JM
145562013-10-14 Joseph Myers <joseph@codesourcery.com>
14557
14558 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14559 * soft-fp/addsf3.c: Likewise.
14560 * soft-fp/addtf3.c: Likewise.
14561 * soft-fp/divdf3.c: Likewise.
14562 * soft-fp/divsf3.c: Likewise.
14563 * soft-fp/divtf3.c: Likewise.
14564 * soft-fp/double.h: Likewise.
14565 * soft-fp/eqdf2.c: Likewise.
14566 * soft-fp/eqsf2.c: Likewise.
14567 * soft-fp/eqtf2.c: Likewise.
14568 * soft-fp/extenddftf2.c: Likewise.
14569 * soft-fp/extended.h: Likewise.
14570 * soft-fp/extendsfdf2.c: Likewise.
14571 * soft-fp/extendsftf2.c: Likewise.
14572 * soft-fp/extendxftf2.c: Likewise.
14573 * soft-fp/fixdfdi.c: Likewise.
14574 * soft-fp/fixdfsi.c: Likewise.
14575 * soft-fp/fixdfti.c: Likewise.
14576 * soft-fp/fixsfdi.c: Likewise.
14577 * soft-fp/fixsfsi.c: Likewise.
14578 * soft-fp/fixsfti.c: Likewise.
14579 * soft-fp/fixtfdi.c: Likewise.
14580 * soft-fp/fixtfsi.c: Likewise.
14581 * soft-fp/fixtfti.c: Likewise.
14582 * soft-fp/fixunsdfdi.c: Likewise.
14583 * soft-fp/fixunsdfsi.c: Likewise.
14584 * soft-fp/fixunsdfti.c: Likewise.
14585 * soft-fp/fixunssfdi.c: Likewise.
14586 * soft-fp/fixunssfsi.c: Likewise.
14587 * soft-fp/fixunssfti.c: Likewise.
14588 * soft-fp/fixunstfdi.c: Likewise.
14589 * soft-fp/fixunstfsi.c: Likewise.
14590 * soft-fp/fixunstfti.c: Likewise.
14591 * soft-fp/floatdidf.c: Likewise.
14592 * soft-fp/floatdisf.c: Likewise.
14593 * soft-fp/floatditf.c: Likewise.
14594 * soft-fp/floatsidf.c: Likewise.
14595 * soft-fp/floatsisf.c: Likewise.
14596 * soft-fp/floatsitf.c: Likewise.
14597 * soft-fp/floattidf.c: Likewise.
14598 * soft-fp/floattisf.c: Likewise.
14599 * soft-fp/floattitf.c: Likewise.
14600 * soft-fp/floatundidf.c: Likewise.
14601 * soft-fp/floatundisf.c: Likewise.
14602 * soft-fp/floatunsidf.c: Likewise.
14603 * soft-fp/floatunsisf.c: Likewise.
14604 * soft-fp/floatuntidf.c: Likewise.
14605 * soft-fp/floatuntisf.c: Likewise.
14606 * soft-fp/floatuntitf.c: Likewise.
14607 * soft-fp/fmadf4.c: Likewise.
14608 * soft-fp/fmasf4.c: Likewise.
14609 * soft-fp/fmatf4.c: Likewise.
14610 * soft-fp/gedf2.c: Likewise.
14611 * soft-fp/gesf2.c: Likewise.
14612 * soft-fp/getf2.c: Likewise.
14613 * soft-fp/ledf2.c: Likewise.
14614 * soft-fp/lesf2.c: Likewise.
14615 * soft-fp/letf2.c: Likewise.
14616 * soft-fp/muldf3.c: Likewise.
14617 * soft-fp/mulsf3.c: Likewise.
14618 * soft-fp/multf3.c: Likewise.
14619 * soft-fp/negdf2.c: Likewise.
14620 * soft-fp/negsf2.c: Likewise.
14621 * soft-fp/negtf2.c: Likewise.
14622 * soft-fp/op-1.h: Likewise.
14623 * soft-fp/op-2.h: Likewise.
14624 * soft-fp/op-4.h: Likewise.
14625 * soft-fp/op-8.h: Likewise.
14626 * soft-fp/op-common.h: Likewise.
14627 * soft-fp/quad.h: Likewise.
14628 * soft-fp/single.h: Likewise.
14629 * soft-fp/soft-fp.h: Likewise.
14630 * soft-fp/sqrtdf2.c: Likewise.
14631 * soft-fp/sqrtsf2.c: Likewise.
14632 * soft-fp/sqrttf2.c: Likewise.
14633 * soft-fp/subdf3.c: Likewise.
14634 * soft-fp/subsf3.c: Likewise.
14635 * soft-fp/subtf3.c: Likewise.
14636 * soft-fp/truncdfsf2.c: Likewise.
14637 * soft-fp/trunctfdf2.c: Likewise.
14638 * soft-fp/trunctfsf2.c: Likewise.
14639 * soft-fp/trunctfxf2.c: Likewise.
14640 * soft-fp/unorddf2.c: Likewise.
14641 * soft-fp/unordsf2.c: Likewise.
14642 * soft-fp/unordtf2.c: Likewise.
14643
17c48a60
OB
146442013-10-14 Ondřej Bílka <neleai@seznam.cz>
14645
14646 [BZ #15672]
14647 * misc/error.c (error_tail): Fix possible buffer overflow.
14648
cabba934
OB
146492013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14650
14651 [BZ #13028]
14652 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14653 address.
14654
94bf958a
PM
146552013-10-14 P. J. McDermott <pj@pehjota.net>
14656
14657 [BZ #832]
14658 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14659 testing pipefail option.
14660
71b4dea7
JM
146612013-10-12 Joseph Myers <joseph@codesourcery.com>
14662
14663 * soft-fp/double.h: Indent preprocessor directives inside #if.
14664 * soft-fp/extended.h: Likewise.
14665 * soft-fp/op-2.h: Likewise.
14666 * soft-fp/op-4.h: Likewise.
14667 * soft-fp/op-common.h: Likewise.
14668 * soft-fp/quad.h: Likewise.
14669 * soft-fp/single.h: Likewise.
14670 * soft-fp/soft-fp.h: Likewise.
14671
55602758
YC
146722013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14673
14674 * iconv/iconv_prog.c: Fix typos.
14675 * stdio-common/psiginfo-data.h: Likewise.
14676
9cd83302
RT
146772013-10-12 Reuben Thomas <rrt@sc3d.org>
14678
14679 [BZ #15764]
14680 * locale/setlocale.c: Fix typo.
14681
99fd9f47
JM
146822013-10-12 Joseph Myers <joseph@codesourcery.com>
14683
b7ea74f0
JM
14684 [BZ #16036]
14685 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14686 signaling NaN arguments.
14687 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14688 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14689
8a509447
JM
14690 [BZ #14910]
14691 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14692 unordered operands.
14693 * soft-fp/gesf2.c (__gesf2): Likewise.
14694 * soft-fp/getf2.c (__getf2): Likewise.
14695 * soft-fp/ledf2.c (__ledf2): Likewise.
14696 * soft-fp/lesf2.c (__lesf2): Likewise.
14697 * soft-fp/letf2.c (__letf2): Likewise.
14698
98998e9f
JM
14699 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14700 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14701 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14702 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14703 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14704 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14705 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14706 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14707 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14708 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14709 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14710 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14711 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14712 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14713 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14714 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14715 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14716 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14717 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14718 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14719 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14720 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14721 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14722 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14723 * soft-fp/floattidf.c (__floattidf): Likewise.
14724 * soft-fp/floattisf.c (__floattisf): Likewise.
14725 * soft-fp/floattitf.c (__floattitf): Likewise.
14726 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14727 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14728 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14729 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14730 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14731 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14732 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14733 * soft-fp/gesf2.c (__gesf2): Likewise.
14734 * soft-fp/getf2.c (__getf2): Likewise.
14735 * soft-fp/ledf2.c (__ledf2): Likewise.
14736 * soft-fp/lesf2.c (__lesf2): Likewise.
14737 * soft-fp/letf2.c (__letf2): Likewise.
14738
8edc4a11
JM
14739 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14740 Undefine and redefine.
14741 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14742 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14743 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14744 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14745 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14746 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14747 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14748 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14749 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14750 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14751 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14752 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14753 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14754 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14755 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14756
8399acaf
JM
14757 [BZ #16032]
14758 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14759 without decrementing exponent if mantissa >= that for the
14760 denominator, not >.
14761 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14762 denominator, not >. Decrement exponent in < case instead of
14763 incrementing in >= case.
14764 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14765 without decrementing exponent if mantissa >= that for the
14766 denominator, not >.
14767
99fd9f47
JM
14768 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14769 computing saturated result for unsigned overflow.
14770
10e1cf6b
SP
147712013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14772 Jeff Law <law@redhat.com>
14773
14774 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14775 (atan2Mp): Add systemtap probe marker.
14776 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14777 (__ieee754_log): Add systemtap probe marker.
14778 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14779 (atanMp): Add systemtap probe marker.
14780 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14781 (tanMp): Add systemtap probe marker.
14782 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14783 (__slowexp): Add systemtap probe marker.
14784 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14785 (__slowpow): Add systemtap probe marker.
14786 * manual/probes.texi: Document probes.
14787
3d110c7c
EB
147882013-10-11 Eric Biggers <ebiggers3@gmail.com>
14789
14790 [BZ #15362]
14791 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14792 written.
14793 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14794 written.
14795 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14796 written to buffer but not flushed.
14797 * libio/iofwrite_u.c: Likewise.
14798 * libio/iopadn.c: Return bytes returned even if EOF was
14799 encountered.
14800 * libio/iowpadn.c: Likewise.
14801 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14802 if _IO_padn does not write the whole buffer.
14803 [!COMPILE_WPRINTF] (PAD): Likewise.
14804
75b4202a
DM
148052013-10-10 David S. Miller <davem@davemloft.net>
14806
14807 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14808 directory block.
14809
6c6352e6
JM
148102013-10-10 Joseph Myers <joseph@codesourcery.com>
14811
33b853c3
JM
14812 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14813 instead of FSF address.
14814 * soft-fp/fixdfti.c: Likewise.
14815 * soft-fp/fixsfti.c: Likewise.
14816 * soft-fp/fixtfti.c: Likewise.
14817 * soft-fp/fixunsdfti.c: Likewise.
14818 * soft-fp/fixunssfti.c: Likewise.
14819 * soft-fp/fixunstfti.c: Likewise.
14820 * soft-fp/floattidf.c: Likewise.
14821 * soft-fp/floattisf.c: Likewise.
14822 * soft-fp/floattitf.c: Likewise.
14823 * soft-fp/floatuntidf.c: Likewise.
14824 * soft-fp/floatuntisf.c: Likewise.
14825 * soft-fp/floatuntitf.c: Likewise.
14826 * soft-fp/trunctfxf2.c: Likewise.
14827
6c6352e6
JM
14828 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14829 * soft-fp/fixdfti.c: Likewise.
14830 * soft-fp/fixsfti.c: Likewise.
14831 * soft-fp/fixtfti.c: Likewise.
14832 * soft-fp/fixunsdfti.c: Likewise.
14833 * soft-fp/fixunssfti.c: Likewise.
14834 * soft-fp/fixunstfti.c: Likewise.
14835 * soft-fp/floattidf.c: Likewise.
14836 * soft-fp/floattisf.c: Likewise.
14837 * soft-fp/floattitf.c: Likewise.
14838 * soft-fp/floatuntidf.c: Likewise.
14839 * soft-fp/floatuntisf.c: Likewise.
14840 * soft-fp/floatuntitf.c: Likewise.
14841 * soft-fp/trunctfxf2.c: Likewise.
14842
3bf78b71
DM
148432013-10-10 David S. Miller <davem@davemloft.net>
14844
14845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14846
6f10289e
JM
148472013-10-10 Joseph Myers <joseph@codsourcery.com>
14848
bd878fc0
JM
14849 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14850 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14851 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14852 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14853 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14854 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14855 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14856
6f10289e
JM
14857 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14858 for NaNs before doing comparisons on argument.
14859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14860 Likewise.
14861
321e2684
WN
148622013-10-10 Will Newton <will.newton@linaro.org>
14863
14864 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14865 passed to _int_memalign does not overflow.
14866
40fefba1
TR
148672013-10-10 Torvald Riegel <triegel@redhat.com>
14868
14869 * scripts/bench.pl: Add include-sources directive.
14870 * benchtests/README: Update documentation.
14871
2ae21ed2
JM
148722013-10-10 Joseph Myers <joseph@codesourcery.com>
14873
dcc2dd3f
JM
14874 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14875 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14876 instead of FP_INIT_ROUNDMODE.
14877 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14878 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14879
2ae21ed2
JM
14880 [BZ #16034]
14881 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14882 copy class of input value.
14883 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14884 not handle exceptions.
14885 * soft-fp/negsf2.c (__negsf2): Likewise.
14886 * soft-fp/negtf2.c (__negtf2): Likewise.
14887 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14888
cb8f9562
JM
148892013-10-09 Joseph Myers <joseph@codesourcery.com>
14890
14891 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14892 semicolon. From Linux kernel.
14893
5b60c59d
AB
148942013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14895
14896 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14897
b86835ca
YC
148982013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14899
14900 [BZ #156]
14901 * manual/socket.texi: Added statement about buffer
14902 for gethostbyname2_r.
14903
e7044ea7
OB
149042013-10-08 Ondřej Bílka <neleai@seznam.cz>
14905
14906 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14907 Use .p2align directive instead, throughout.
14908 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14909 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14910 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14911 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14912 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14913 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14914 * sysdeps/x86_64/strchr.S: Likewise.
14915 * sysdeps/x86_64/strrchr.S: Likewise.
14916
09544cbc
SP
149172013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14918
88576635
SP
14919 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14920
e7b2d1dd
SP
14921 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14922
09544cbc
SP
14923 * sysdeps/generic/math_private.h (__mpsin1): Remove
14924 declaration.
14925 (__mpcos1): Likewise.
14926 (__mpsin): New argument __range_reduce.
14927 (__mpcos): Likewise.
14928 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14929 (slow): Use __mpsin and __mpcos.
14930 (slow1): Likewise.
14931 (slow2): Likewise.
14932 (sloww): Likewise.
14933 (sloww1): Likewise.
14934 (sloww2): Likewise.
14935 (bsloww): Likewise.
14936 (bsloww1): Likewise.
14937 (bsloww2): Likewise.
14938 (cslow2): Likewise.
14939 (csloww): Likewise.
14940 (csloww1): Likewise.
14941 (csloww2): Likewise.
14942 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14943 range_reduce. Merge in __mpsin1.
14944 (__mpcos): Likewise.
14945 (__mpsin1): Remove.
14946 (__mpcos1): Likewise.
14947
7602d070
JM
149482013-10-07 Joseph Myers <joseph@codesourcery.com>
14949
14950 * locale/loadlocale.c (_nl_intern_locale_data): Use
14951 LOCFILE_ALIGNED_P.
14952 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14953 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14954 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14955 obstack data is appropriately aligned.
14956 (obstack_int32_grow_fast): Likewise.
14957 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14958 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14959 (add_locale_uint32_array): Likewise.
14960
a357259b
SP
149612013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14962
14963 * benchtests/Makefile: Remove ARGLIST and RET variables.
14964 ($(objpfx)bench-%.c): Pass only function name to the script.
14965 * benchtests/README: Update documentation.
14966 * benchtests/acos-inputs: Add new directives.
14967 * benchtests/acosh-inputs: Likewise.
14968 * benchtests/asin-inputs: Likewise.
14969 * benchtests/asinh-inputs: Likewise.
14970 * benchtests/atan-inputs: Likewise.
14971 * benchtests/atanh-inputs: Likewise.
14972 * benchtests/cos-inputs: Likewise.
14973 * benchtests/cosh-inputs: Likewise.
14974 * benchtests/exp-inputs: Likewise.
14975 * benchtests/log-inputs: Likewise.
14976 * benchtests/pow-inputs: Likewise.
14977 * benchtests/rint-inputs: Likewise.
14978 * benchtests/sin-inputs: Likewise.
14979 * benchtests/sinh-inputs: Likewise.
14980 * benchtests/tan-inputs: Likewise.
14981 * benchtests/tanh-inputs: Likewise.
14982 * scripts/bench.pl: Add support for new directives.
14983
9ec1b13d
AM
149842013-10-07 Alan Modra <amodra@gmail.com>
14985
14986 * README: Fix careless merge.
14987
8b7d57cd
AM
149882013-10-05 Alan Modra <amodra@gmail.com>
14989
14990 * NEWS: Mention powerpc64le support and bugs fixed.
14991 * README: Both big-endian and little-endian powerpc64 supported.
14992
7b7bab13
ST
149932013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14994
57f41c40
AS
14995 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14996 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14997 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14998 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14999
d39baad1
RA
150002013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15001
15002 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15003 match prototype.
15004
cd78f7e7
JM
150052013-10-04 Joseph Myers <joseph@codesourcery.com>
15006
29d73d86
JM
15007 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15008 Move -mhard-float appending from
15009 ports/sysdeps/powerpc/powerpc32/Makefile.
15010 [$(with-fp) = yes] (ASFLAGS): Likewise.
15011 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15012 * sysdeps/powerpc/nofpu: Move directory from
15013 ports/sysdeps/powerpc/nofpu.
15014 * sysdeps/powerpc/soft-fp: Move directory from
15015 ports/sysdeps/powerpc/soft-fp.
15016 * sysdeps/powerpc/powerpc32/405: Move directory from
15017 ports/sysdeps/powerpc/powerpc32/405.
15018 * sysdeps/powerpc/powerpc32/440: Move directory from
15019 ports/sysdeps/powerpc/powerpc32/440.
15020 * sysdeps/powerpc/powerpc32/464: Move directory from
15021 ports/sysdeps/powerpc/powerpc32/464.
15022 * sysdeps/powerpc/powerpc32/476: Move directory from
15023 ports/sysdeps/powerpc/powerpc32/476.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15025 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15027 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15029 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15031 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15033 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15034 * README: Update for powerpc-*-linux-gnu software floating point
15035 support in libc.
15036
e246b347
JM
15037 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15038 case to powerpc/powerpc32*.
15039 * sysdeps/unix/sysv/linux/configure: Regenerated.
15040
89c2003e
JM
15041 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15042 (_FPU_MASK_OM): Define as 0x04.
15043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15045 0x00c10080.
15046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15047 0x0000003c.
15048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15049
cd78f7e7
JM
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15051 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15052 getcontext_e500.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15054 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15055 setcontext_e500.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15057 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15058 and setcontext_e500.
15059
c755294d
CL
150602013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15061
15062 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15063
e16d221c
SP
150642013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15065
15066 * manual/threads.texi (Default Thread Attributes): Fix typo.
15067
215c7d43
WN
150682013-10-04 Will Newton <will.newton@linaro.org>
15069
15070 * malloc/Makefile: Add tst-memalign.
15071 * malloc/tst-memalign.c: New file.
15072
27d0461b
WN
15073 * malloc/tst-posix_memalign.c: Add comments.
15074 (do_test): Add comments and call free on all potentially
15075 allocated pointers. Add space after cast.
15076
1bc92709
WN
15077 * malloc/tst-pvalloc.c: Add comments.
15078 (do_test): Add comments and call free on all potentially
15079 allocated pointers. Remove duplicate check for NULL pointer.
15080 Add space after cast.
15081
66a9be9d
WN
15082 * malloc/tst-valloc.c: Add comments.
15083 (do_test): Add comments and call free on all potentially
15084 allocated pointers. Remove duplicate check for NULL pointer.
15085 Add space after cast.
15086
4cb81307
AM
150872013-10-04 Alan Modra <amodra@gmail.com>
15088
15089 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15090 Use stdint types in rather than __attribute__((mode())).
15091 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15092
f8e3e9f3
AM
150932013-10-04 Alan Modra <amodra@gmail.com>
15094
15095 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15096 Correct handling of unaligned relocs for little-endian.
15097 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15098
8f9ebb08
AM
150992013-10-04 Alan Modra <amodra@gmail.com>
15100
15101 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15102 * configure: Regenerate.
15103 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15104 * shlib-versions: Likewise.
15105
0edf96c2
AM
151062013-10-04 Alan Modra <amodra@gmail.com>
15107
15108 * string/tester.c (test_memrchr): Increment reported test cycle.
15109
e0f7a380
AM
151102013-10-04 Alan Modra <amodra@gmail.com>
15111
15112 * string/test-memcpy.c (do_one_test): When reporting errors, print
15113 string address and don't overrun end of string.
15114
466b0393
AM
151152013-10-04 Alan Modra <amodra@gmail.com>
15116
15117 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15118 insrdi. Make better use of reg selection to speed exit slightly.
15119 Schedule entry path a little better. Remove useless "are we done"
15120 checks on entry to main loop. Handle wrapping around zero address.
15121 Correct main loop count. Handle single left-over word from main
15122 loop inline rather than by using loop_small. Remove extra word
15123 case in loop_small caused by wrong loop count. Add little-endian
15124 support.
15125 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15126 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15127 cache hint.
15128 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15129 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15130 support. Avoid rlwimi.
15131 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15132
3be87c77
AM
151332013-10-04 Alan Modra <amodra@gmail.com>
15134
15135 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15136 insrdi. Formatting.
3be87c77
AM
15137 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15138 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15139 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15140 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15141 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15142 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15143
759cfef3
AM
151442013-10-04 Alan Modra <amodra@gmail.com>
15145
15146 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15147 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15148 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15149 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15150 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15151 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15152 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15153 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15154 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15155 use of regs. Use power7 mtocrf. Tidy function tails.
15156
fe6e95d7
AM
151572013-10-04 Alan Modra <amodra@gmail.com>
15158
15159 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15160 Formatting. Consistently use rXXX register defines or rN defines.
15161 Use early exit labels that avoid restoring unused non-volatile regs.
15162 Make cr field use more consistent with rWORDn compares. Rename
15163 regs used as shift registers for unaligned loop, using rN defines
15164 for short lifetime/multiple use regs.
15165 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15166 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15167 addi 1,1,64 to pop stack frame. Simplify return value code.
15168 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15169
664318c3
AM
151702013-10-04 Alan Modra <amodra@gmail.com>
15171
15172 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15173 support. Correct typos, formatting. Optimize tail. Use insrdi
15174 rather than rlwimi.
15175 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15176 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15177 little-endian support. Correct typos.
15178 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15179 rather than rlwimi.
15180 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15181 in loop and entry code to keep "and." results.
15182 (strchr): Add little-endian support. Comment. Move cntlzd
15183 earlier in tail.
15184 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15185
43b84013
AM
151862013-10-04 Alan Modra <amodra@gmail.com>
15187
15188 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15189 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15190 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15191 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15192
8a7413f9
AM
151932013-10-04 Alan Modra <amodra@gmail.com>
15194
15195 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15196 (rTMP): Define as r11.
15197 (strcmp): Add little-endian support. Optimise tail.
15198 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15199 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15200 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15201 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15202 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15203 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15204 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15205
33ee81de
AM
152062013-10-04 Alan Modra <amodra@gmail.com>
15207
15208 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15209 little-endian support. Remove unnecessary "are we done" tests.
15210 Handle "s" wrapping around zero and extremely large "size".
15211 Correct main loop count. Handle single left-over word from main
15212 loop inline rather than by using small_loop. Correct comments.
15213 Delete "zero" tail, use "end_max" instead.
15214 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15215
db9b4570
AM
152162013-10-04 Alan Modra <amodra@gmail.com>
15217
15218 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15219 support. Don't branch over align.
15220 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15221 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15222 support. Rearrange tmp reg use to suit. Comment.
15223 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15224
f7c399cf
AM
152252013-10-04 Alan Modra <amodra@gmail.com>
15226
15227 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15228
0b2c2ace
AM
152292013-10-04 Alan Modra <amodra@gmail.com>
15230
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15232 conditional form of branch and link when obtaining pc.
15233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15234
02f04a6c
AM
152352013-10-04 Alan Modra <amodra@gmail.com>
15236
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15238 HIWORD/LOWORD.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15241
9b874b2f
AM
152422013-10-04 Alan Modra <amodra@gmail.com>
15243
15244 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15245 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15246 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15247 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15248 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15249 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15250 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15251 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15252 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15253 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15254
be1e5d31
AB
152552013-10-04 Anton Blanchard <anton@au1.ibm.com>
15256 Alistair Popple <alistair@ozlabs.au.ibm.com>
15257 Alan Modra <amodra@gmail.com>
15258
15259 [BZ #15723]
15260 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15261 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15262 _dl_hwcap access for little-endian.
15263 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15264 destroy vmx regs when saving unaligned.
15265 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15266 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15267 destroy vmx regs when saving unaligned.
15268
fef13a78
AM
152692013-10-04 Alan Modra <amodra@gmail.com>
15270
15271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15272 Don't use a union to pack hi/low value.
15273
76a66d51
AB
152742013-10-04 Anton Blanchard <anton@au1.ibm.com>
15275
15276 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15277 for little-endian.
15278 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15280 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15281 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15282 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15283
6a31fe7f
AM
152842013-10-04 Alan Modra <amodra@gmail.com>
15285
15286 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15287 constants to usual value for .cst8 section, and remove redundant
15288 high address load.
15289 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15290 constant for 0x1p52. Load little-endian words of double from
15291 correct stack offsets.
15292
7b88401f
AM
152932013-10-04 Alan Modra <amodra@gmail.com>
15294
15295 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15296 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15297 words of double from correct stack offsets.
15298 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15299 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15300 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15301 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15302 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15303 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15304 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15305 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15306 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15307 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15308 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15309 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15310 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15311 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15312 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15313 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15314 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15315
9c008155
AM
153162013-10-04 Alan Modra <amodra@gmail.com>
15317
15318 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15319 64-bit int/double union.
15320 (_FPU_SETCW): Likewise.
15321 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15322 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15323
da13146d
AM
153242013-10-04 Alan Modra <amodra@gmail.com>
15325
15326 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15327 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15328
603e8410
AM
153292013-10-04 Alan Modra <amodra@gmail.com>
15330
15331 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15332 use vector int constants.
15333 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15334
4a28b3ca
AB
153352013-10-04 Anton Blanchard <anton@au1.ibm.com>
15336
15337 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15338 array with long long.
15339 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15340 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15341 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15342 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15343 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15344 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15345 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15346 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15347 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15348 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15349 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15350 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15351 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15352
2ca85d2b
AB
153532013-10-04 Anton Blanchard <anton@au1.ibm.com>
15354
15355 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15356 (__signbit): Likewise. Correct for little-endian.
15357 (__signbitl): Call __signbit.
15358 (lrint): Correct for little-endian.
15359 (lrintf): Call lrint.
15360
62a728ae
AM
153612013-10-04 Alan Modra <amodra@gmail.com>
15362
15363 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15364 union 32-bit int array member with 64-bit int array.
15365 (t515, tm256): Double rather than long double.
15366 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15367
32c301df
AM
153682013-10-04 Alan Modra <amodra@gmail.com>
15369
15370 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15371 Delete.
15372 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15374 version of math_ldbl.h.
15375
650ef4bd
AM
153762013-10-04 Alan Modra <amodra@gmail.com>
15377
15378 [BZ #15734], [BZ #15735]
15379 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15380 all uses of ieee875 long double macros and unions. Simplify test
15381 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15382 ldbl_extract_mantissa value for ix,iy exponents. Properly
15383 normalize after ldbl_extract_mantissa, and don't add hidden bit
15384 already handled. Don't treat low word of ieee854 mantissa like
15385 low word of IBM long double and mask off bit when testing for
15386 zero.
15387 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15388 all uses of ieee875 long double macros and unions. Simplify tests
15389 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15390 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15391 two1022, instead use their values. Recognise that tests for large
15392 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15393 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15394 Rewrite all uses of ieee875 long double macros and unions. Simplify
15395 test for 0.0L and nan. Correct negation.
15396 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15397 ieee875 long double macros and unions. Correct output for large
15398 magnitude x. Correct absolute value calculation.
15399 (__erfcl): Likewise.
15400 * math/libm-test.inc: Add tests for errors discovered in IBM long
15401 double versions of fmodl, remainderl, erfl and erfcl.
15402
765714ca
AM
154032013-10-04 Alan Modra <amodra@gmail.com>
15404
15405 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15406 all uses of ieee854 long double macros and unions. Simplify tests
15407 for long doubles that are fully specified by the high double.
15408 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15409 Likewise.
15410 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15411 Remove dead code too.
15412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15413 (__ieee754_ynl): Likewise.
15414 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15415 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15416 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15417 Remove dead code too.
15418 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15419 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15420 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15421 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15422 Simplify.
15423 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15424 Simplify.
15425 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15426 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15427 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15428 Comment on variable precision.
15429 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15430 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15431 Likewise.
15432 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15433 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15434 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15435 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15436 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15437
4ebd120c
AM
154382013-10-04 Alan Modra <amodra@gmail.com>
15439
15440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15441 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15442 all uses of ieee854 long double macros and unions.
15443 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15445 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15446 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15448 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15449 Likewise.
15450 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15451 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15452 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15453 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15454 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15455 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15456 Simplify sign and nan test too.
15457 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15458 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15459 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15460 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15461 Likewise.
15462 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15463 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15464 Likewise.
15465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15467 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15471
1b6adf88
AM
154722013-10-04 Alan Modra <amodra@gmail.com>
15473
15474 * stdio-common/printf_size.c (__printf_size): Don't use
15475 union ieee854_long_double in fpnum union.
15476 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15477 signbit macro to retrieve sign from long double.
15478 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15479 retrieve sign from long double.
15480 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15481 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15482 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15483 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15484 * math/test-misc.c (main): Don't use union ieee854_long_double.
15485
4cf69995
AM
154862013-10-04 Alan Modra <amodra@gmail.com>
15487
15488 [BZ #15680]
15489 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15490 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15491 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15492 calculation. Remove unnecessary test for denormal exponent.
15493 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15494 Correct handling of denormals. Avoid undefined shift behaviour.
15495 Correct normalisation of low mantissa when low double is denormal.
15496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15497 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15498 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15499 Correct normalisation of low mantissa. Test for overflow of high
15500 mantissa and normalise.
15501 (ldbl_nearbyint): Use more readable constant for two52.
15502 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15503 (__mpn_construct_long_double): Fix test for overflow of high
15504 mantissa and correct normalisation. Avoid undefined shift.
15505
9605ca6c
AM
155062013-10-04 Alan Modra <amodra@gmail.com>
15507
15508 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15509 (union ibm_extended_long_double): Define as an array of ieee754_double.
15510 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15511 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15512 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15513 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15517 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15521
975569d0
JM
155222013-10-03 Joseph Myers <joseph@codesourcery.com>
15523
d3d23756
JM
15524 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15525 page size instead of calling getpagesize.
15526
975569d0
JM
15527 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15528 (LOCFILE_ALIGN_MASK): Likewise.
15529 (LOCFILE_ALIGN_UP): Likewise.
15530 (LOCFILE_ALIGNED_P): Likewise.
15531 * locale/programs/ld-collate.c (collate_output): Use the new
15532 macros instead of __alignof__ (int32_t).
15533 * locale/weight.h (findidx): Likewise.
15534
b1fe1f2b
OB
155352013-10-03 Ondřej Bílka <neleai@seznam.cz>
15536
15537 [BZ #431]
15538 * manual/string.texi: Fix strncat and wcsncat.
15539
5f855e35
BM
155402013-10-03 Brooks Moses <bmoses@google.com>
15541
15542 [BZ #15915]
15543 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15544 * Makerules: ...here, and adjust associated comments.
15545
3cef6009
WN
155462013-10-02 Will Newton <will.newton@linaro.org>
15547
15548 * malloc/Makefile: Add tst-pvalloc.
15549 * malloc/tst-pvalloc.c: New file.
15550
7815420b
WN
155512013-10-02 Will Newton <will.newton@linaro.org>
15552
15553 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15554 improve test coverage.
15555
4868b204
WN
155562013-10-02 Will Newton <will.newton@linaro.org>
15557
15558 * malloc/Makefile: Add tst-posix_memalign.
15559 * malloc/tst-posix_memalign.c: New file.
15560
29c793b3
EB
155612013-10-01 Eric Blake <eblake@redhat.com>
15562
15563 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15564 Use __THROWNL rather than __THROW on static functions.
15565
fd967522
PM
155662013-09-30 Petr Machata <pmachata@redhat.com>
15567
15568 * elf/elf.h (R_AARCH64_ABS16): New macro.
15569 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15570 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15571 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15572 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15573 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15574 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15575 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15576 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15577 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15578 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15579 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15580 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15581 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15582 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15583 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15584 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15585 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15586 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15587 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15588 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15589 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15590 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15591 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15592 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15593 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15594 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15595 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15596 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15597 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15598 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15599 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15600 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15601 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15602 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15603 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15604 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15605 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15606 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15607 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15608 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15609 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15610 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15611 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15612 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15613 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15614 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15615 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15616 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15617 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15618 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15619 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15620 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15621 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15622 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15623 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15624 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15625 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15626 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15627 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15628 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15629 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15630 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15631 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15632 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15633 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15634 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15635 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15636 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15637 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15638 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15639 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15640 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15641 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15642 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15643 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15644 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15645 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15646 (R_AARCH64_TLSDESC_LDR): Likewise.
15647 (R_AARCH64_TLSDESC_ADD): Likewise.
15648 (R_AARCH64_TLSDESC_CALL): Likewise.
15649
b2179107
AS
156502013-09-30 Andreas Schwab <schwab@suse.de>
15651
15652 [BZ #15048]
15653 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15654 the nss database lookup.
15655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15657
47f28d0a
MF
156582013-09-28 Mike Frysinger <vapier@gentoo.org>
15659
15660 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15661
156622013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15663
15664 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15665 ${Bash-specific parameter/pattern/string} parameter expansion.
15666 * sysdeps/unix/make-syscalls.sh: Likewise.
15667
f4518a17
KK
156682013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15669
15670 * sysdeps/sh/stackguard-macros.h: New file.
15671
dc1a95c7
OB
156722013-09-26 Ondřej Bílka <neleai@seznam.cz>
15673
15674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15676 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15677 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15678 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15679 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15680
5ebbff8f
AZ
156812013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15682
15683 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15684 Fix thread ID register.
15685
4fd2cf9f
JM
156862013-09-25 Joseph Myers <joseph@codesourcery.com>
15687
15688 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15689 [POSIX || UNIX98]: Require rather than permitting all symbols from
15690 <time.h>.
15691 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15692 element of struct sched_param.
15693 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15694 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15695 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15696 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15697 constant.
15698
12c22bc4
OL
156992013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15700
15701 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15702 argument calculation.
15703
a03d8ea7
JM
157042013-09-24 Joseph Myers <joseph@codesourcery.com>
15705
15706 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15707 Expect macro.
15708 [POSIX] (pthread_attr_t): Do not require type.
15709 [POSIX] (pthread_cond_t): Likewise.
15710 [POSIX] (pthread_condattr_t): Likewise.
15711 [POSIX] (pthread_key_t): Likewise.
15712 [POSIX] (pthread_mutex_t): Likewise.
15713 [POSIX] (pthread_mutexattr_t): Likewise.
15714 [POSIX] (pthread_once_t): Likewise.
15715 [POSIX] (pthread_t): Likewise.
15716 [POSIX-based standards] (pthread_atfork): Expect function.
15717
6055173a
JM
157182013-09-24 Joseph Myers <joseph@codesourcery.com>
15719 Richard Sandiford <richard@codesourcery.com>
15720
15721 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15722 (swap_endianness_p): New extern variable.
15723 (set_big_endian): New inline function.
15724 (maybe_swap_uint32): Likewise.
15725 (maybe_swap_uint32_array): Likewise.
15726 (maybe_swap_uint32_obstack): Likewise.
15727 * locale/programs/locfile.c: Include <stdbool.h>.
15728 (swap_endianness_p): New variable.
15729 (add_locale_uint32): Call maybe_swap_uint32.
15730 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15731 (write_locale_data): Call maybe_swap_uint32_array.
15732 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15733 maybe_swap_uint32.
15734 (obstack_int32_grow_fast): Likewise.
15735 (output_weightwc): Call maybe_swap_uint32_obstack.
15736 (collate_output): Likewise.
15737 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15738 (OPT_LITTLE_ENDIAN): Likewise.
15739 (options): Add --little-endian and --big-endian options.
15740 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15741 * locale/programs/locarchive.c: Include "locfile.h".
15742 (GET): New macro.
15743 (SET): Likewise.
15744 (INC): Likewise.
15745 (create_archive): Use the new macros to access fields of
15746 structures directly mapped from or written to locale archives.
15747 (oldlocrecentcmp): Likewise.
15748 (enlarge_archive): Likewise.
15749 (insert_name): Likewise.
15750 (add_alias): Likewise.
15751 (add_locale): Likewise.
15752 (delete_locales_from_archive): Likewise.
15753 (show_archive_content): Likewise.
15754 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15755 locale data.
15756
39bf0bb4
RM
157572013-09-24 Roland McGrath <roland@hack.frob.com>
15758
15759 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15760 http://www.gnu.org/doc/freemanuals.texi.
15761 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15762
f02eed10
WN
157632013-09-24 Will Newton <will.newton@linaro.org>
15764
15765 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15766 macro.
15767
a3a6c312
JM
157682013-09-23 Joseph Myers <joseph@codesourcery.com>
15769
15770 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15771 unsigned char.
15772
107375ac
MR
157732013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15774
15775 * manual/threads.texi (POSIX Threads): Fix a typo.
15776
141f3a77
SP
157772013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15778
303e567a
SP
15779 [BZ #14547]
15780 * string/tst-strcoll-overflow.c: New test case.
15781 * string/Makefile (xtests): Add tst-strcoll-overflow.
15782 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15783 cache if string sizes may cause integer overflow.
15784
141f3a77
SP
15785 [BZ #14547]
15786 * string/strcoll_l.c (coll_seq): New members rule, idx,
15787 save_idx and back_us.
15788 (get_next_seq_nocache): New function.
15789 (do_compare_nocache): New function.
15790 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15791 when malloc fails.
15792
c61b4d41
CD
157932013-09-23 Carlos O'Donell <carlos@redhat.com>
15794
0b1f8e35
CD
15795 [BZ #15754]
15796 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15797 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15798 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15799
c61b4d41
CD
15800 [BZ #15754]
15801 * elf/Makefile (tests): Add tst-ptrguard1.
15802 (tests-static): Add tst-ptrguard1-static.
15803 (tst-ptrguard1-ARGS): Define.
15804 (tst-ptrguard1-static-ARGS): Define.
15805 * elf/tst-ptrguard1.c: New file.
15806 * elf/tst-ptrguard1-static.c: New file.
15807 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15808 * sysdeps/i386/stackguard-macros.h: Likewise.
15809 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15810 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15811 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15812 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15813 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15814 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15815
158162013-09-23 Hector Marco <hecmargi@upv.es>
15817 Ismael Ripoll <iripoll@disca.upv.es>
15818 Carlos O'Donell <carlos@redhat.com>
15819
15820 [BZ #15754]
15821 * sysdeps/generic/stackguard-macros.h: Define
15822 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15823 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15824 Define __pointer_chk_guard_local.
15825 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15826 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15827
f5f4e7b4
VV
158282013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15829
15830 [BZ #15859]
15831 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15832
5bb43a43
AS
158332013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15834
15835 * include/string.h (__ffs): Declare as hidden.
15836 * string/ffs.c (__ffs): Define as hidden.
15837 * sysdeps/i386/ffs.c (__ffs): Likewise.
15838 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15839 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15840 * sysdeps/s390/ffs.c (__ffs): Likewise.
15841 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15842
3ea5be54
AO
158432013-09-20 Alexandre Oliva <aoliva@redhat.com>
15844
ffb89e53
AO
15845 * NEWS: Mention malloc probes.
15846
322dea08
AO
15847 * malloc/arena.c (new_heap): New memory_heap_new probe.
15848 (grow_heap): New memory_heap_more probe.
15849 (shrink_heap): New memory_heap_less probe.
15850 (heap_trim): New memory_heap_free probe.
15851 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15852 (systrim): New memory_sbrk_less probe.
15853 * manual/probes.texi: Document them.
15854
655673f3
AO
15855 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15856 * manual/probes.texi: Document it.
15857
35fed6f1
AO
15858 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15859 (__libc_realloc): Add memory_realloc_retry probe.
15860 (__libc_memalign): Add memory_memalign_retry probe.
15861 (__libc_valloc): Add memory_valloc_retry probe.
15862 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15863 (__libc_calloc): Add memory_calloc_retry probe.
15864 * manual/probes.texi: Document them.
15865
6999d38c
AO
15866 * malloc/arena.c (get_free_list): Add probe
15867 memory_arena_reuse_free_list.
15868 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15869 and memory_arena_reuse.
15870 (arena_get2) [!PER_THREAD]: Likewise.
15871 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15872 memory_arena_reuse_realloc.
15873 * manual/probes.texi: Document them.
15874
0653427f
AO
15875 * malloc/malloc.c (__libc_free): Add
15876 memory_mallopt_free_dyn_thresholds probe.
15877 (__libc_mallopt): Add multiple memory_mallopt probes.
15878 * manual/probes.texi: Document them.
15879
3ea5be54
AO
15880 * malloc/malloc.c: Include stap-probe.h.
15881 (__libc_mallopt): Add memory_mallopt probe.
15882 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15883 * manual/probes.texi: New.
15884 * manual/Makefile (chapters): Add probes.
15885 * manual/threads.texi: Set next node.
15886
e35696c3 158872013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15888
e35696c3
CL
15889 [BZ #15963, #13985]
15890 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15891 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15892 Add `Chinese' to `nan' entry name.
15893
4aafb73c
SP
158942013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15895
15896 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15897 (POLYNOMIAL): Likewise.
15898 (TAYLOR_SINCOS): Likewise.
15899 (TAYLOR_SLOW): Likewise.
15900 (__sin): Use TAYLOR_SINCOS.
15901 (__cos): Likewise.
15902 (slow): Use TAYLOR_SLOW.
15903 (sloww): Likewise.
15904 (bsloww): Likewise.
15905 (csloww): Likewise.
15906
d84f25c7
LD
159072013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15908
15909 * stdlib/strtod_l.c: Fix buffer overrun.
15910
5eea0404
SP
159112013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15912
7849ff93
SP
15913 * benchtests/Makefile (bench): Add sincos.
15914 * benchtests/bench-sincos.c: New file.
15915
cfa3c886
SP
15916 * math/libm-test.inc (cos_test_data): New test inputs.
15917 (sin_test_data): Likewise.
15918
b348e1e3
SP
15919 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15920 macro.
15921 (__sin): Use it.
15922 (__cos): Likewise.
15923 (slow1): Likewise.
15924 (slow2): Likewise.
15925 (sloww1): Likewise.
15926 (sloww2): Likewise.
15927 (bsloww1): Likewise.
15928 (bsloww2): Likewise.
15929 (cslow2): Likewise.
15930 (csloww1): Likewise.
15931 (csloww2): Likewise.
15932
6cce25f8
SP
15933 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15934 function.
15935 (__sin): Use it.
15936 (__cos): Likewise.
15937
5eea0404
SP
15938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15939 gotos.
15940 (__cos): Likewise.
15941
9c21573c
MR
159422013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15943
15944 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15945 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15946 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15947 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15948 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15949 * elf/cache.c (print_entry): Handle the new cache flags.
15950
24d22e65
JM
159512013-09-18 Joseph Myers <joseph@codesourcery.com>
15952 Aldy Hernandez <aldyh@redhat.com>
15953
15954 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15955 Change condition to [_SOFT_FLOAT].
15956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15968 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15971 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15972 declaration.
15973
d13ef066
JM
159742013-09-18 Joseph Myers <joseph@codesourcery.com>
15975
2e071de0
JM
15976 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15977 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15978 (__longjmp): Use LOAD_GP to load saved GPRs.
15979 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15980 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15981 (__sigsetjmp): Use SAVE_GP to save GPRs.
15982
d13ef066
JM
15983 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15984 Do not append -msoft-float.
15985 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15986
97a0650b
SP
159872013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15988
15989 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15990
11ca09e9
JM
159912013-09-17 Joseph Myers <joseph@codesourcery.com>
15992
15993 [BZ #15966]
15994 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15995 (_FPU_GETCW): Use initial "__" on variable and field names but not
15996 on macro parameter name.
15997 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15998 parentheses around reference to macro parameter.
15999
08ffcf34
RS
160002013-09-13 Richard Sandiford <richard@codesourcery.com>
16001
16002 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16003 prototype.
16004 (ctype_startup): Use uint32_t in cast and sizeof for
16005 ctype->charnames.
16006
ae7080d3
JL
160072013-09-11 Jia Liu <proljc@gmail.com>
16008
16009 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16010 __daddr_t_defined.
16011 [__FreeBSD__]: Likewise.
16012
5905e7b3
OB
160132013-09-11 Ondřej Bílka <neleai@seznam.cz>
16014
16015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16016 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16017 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16018 (strchr): Remove __strchr_sse42 ifunc selection.
16019 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16020 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16021
b987c776
WN
160222013-09-11 Will Newton <will.newton@linaro.org>
16023
16024 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16025 parameter to RES. Remove hardcoded 1000 value.
16026 * benchtests/bench-skeleton.c (main): Pass RES parameter
16027 to TIMING_INIT and multiply result by 1000.
16028
ddf985af
AZ
160292013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16030
16031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16032
ffdd3181
AS
160332013-09-11 Andreas Schwab <schwab@suse.de>
16034
16035 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16036 if not defined.
16037 (O_TMPFILE) [__USE_GNU]: Define.
16038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16039 Define.
16040
b73ed247
WN
160412013-09-11 Will Newton <will.newton@linaro.org>
16042
16043 [BZ #15857]
16044 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16045 does not overflow.
16046
55e17aad
WN
160472013-09-11 Will Newton <will.newton@linaro.org>
16048
16049 [BZ #15856]
16050 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16051 does not overflow.
16052
1159a193
WN
160532013-09-11 Will Newton <will.newton@linaro.org>
16054
16055 [BZ #15855]
16056 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16057 does not overflow.
16058
5905e7b3 160592013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16060
16061 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16062 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16063 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16064 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16065 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16066
cdfc721b
AM
160672013-09-10 Allan McRae <allan@archlinux.org>
16068
aa04af00
AM
16069 [BZ #15748]
16070 * manual/arith.texi (Parsing of Floats): Clarify
16071 cross-reference.
16072
cdfc721b
AM
16073 [BZ #15849]
16074 * manual/install.texi (Running make install): Mention
16075 --enable-pt-chown.
16076 * INSTALL: Regenerated.
16077
95e7cf29
MR
160782013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16079
16080 * csu/init-first.c (_init): Remove the !SHARED condition around
16081 FPU control word initialization.
16082 * elf/dl-support.c (_dl_fpu_control): New variable.
16083 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16084 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16085 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16086 * math/test-fpucw-static.c: New file.
16087 * math/test-fpucw-ieee.c: New file.
16088 * math/test-fpucw-ieee-static.c: New file.
16089 * math/Makefile (tests): Add `test-fpucw-ieee' and
16090 `$(tests-static)'.
16091 (tests-static): New variable.
16092 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16093 dependency to...
16094 [($(build-shared),yes)]
16095 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16096 ... this.
16097 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16098 New dependency.
16099
83e43bf0
AM
161002013-09-09 Allan McRae <allan@archlinux.org>
16101
a9f5ce09
AM
16102 [BZ #15939]
16103 * manual/string.texi (Collation Functions): Fix typo in
16104 strcoll example.
16105 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16106
34829bc2
AM
16107 [BZ #15893]
16108 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16109
3932737d
AM
16110 [BZ #15892]
16111 * libio/memstream.c (open_memstream): Fix memory leak.
16112 * libio/wmemstream.c (open_wmemstream): Likewise.
16113
83e43bf0
AM
16114 [BZ #15895]
16115 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16116
0c66b8e9
WN
161172013-09-09 Will Newton <will.newton@linaro.org>
16118
16119 * malloc/Makefile: Add tst-realloc to tests.
16120 * malloc/tst-realloc.c: New file.
16121
f6b00fd1
AM
161222013-09-09 Allan McRae <allan@archlinux.org>
16123
16124 [BZ #15844]
16125 * COPYING: Update from GNU website to fix FSF address.
16126 * COPYING.LIB: Likewise.
16127
eec55e16
DM
161282013-09-06 David S. Miller <davem@davemloft.net>
16129
16130 * po/zh_TW.po: Update Chinese (traditional) translation from
16131 translation project.
16132
1ecbb381
RS
161332013-09-06 Richard Sandiford <richard@codesourcery.com>
16134 Joseph Myers <joseph@codesourcery.com>
16135
16136 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16137 "localeinfo.h".
16138 (obstack_chunk_alloc): New macro.
16139 (obstack_chunk_free): Likewise.
16140 (record_offset): New function.
16141 (init_locale_data): Likewise.
16142 (align_locale_data): Likewise.
16143 (add_locale_empty): Likewise.
16144 (add_locale_raw_data): Likewise.
16145 (add_locale_raw_obstack): Likewise.
16146 (add_locale_string): Likewise.
16147 (add_locale_wstring): Likewise.
16148 (add_locale_uint32): Likewise.
16149 (add_locale_uint32_array): Likewise.
16150 (add_locale_char): Likewise.
16151 (start_locale_structure): Likewise.
16152 (end_locale_structure): Likewise.
16153 (start_locale_prelude): Likewise.
16154 (end_locale_prelude): Likewise.
16155 (write_locale_data): Take locale_file structure rather than an
16156 iovec.
16157 * locale/programs/locfile.h: Include "obstack.h".
16158 (struct locale_file): Change to store locale file contents instead
16159 of header.
16160 (init_locale_data): New prototype.
16161 (align_locale_data): Likewise.
16162 (add_locale_empty): Likewise.
16163 (add_locale_raw_data): Likewise.
16164 (add_locale_raw_obstack): Likewise.
16165 (add_locale_string): Likewise.
16166 (add_locale_wstring): Likewise.
16167 (add_locale_uint32): Likewise.
16168 (add_locale_uint32_array): Likewise.
16169 (add_locale_char): Likewise.
16170 (start_locale_structure): Likewise.
16171 (end_locale_structure): Likewise.
16172 (start_locale_prelude): Likewise.
16173 (end_locale_prelude): Likewise.
16174 (write_locale_data): Update prototype.
16175 * locale/programs/3level.h (struct TABLE): Remove result field.
16176 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16177 Use new locale_file interface.
16178 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16179 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16180 * locale/programs/ld-address.c (address_output): Use new
16181 locale_file interface.
16182 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16183 NO_ADD_LOCALE.
16184 (collate_finish): Don't call collseq_table_finalize.
16185 (collate_output): Use new locale_file interface.
16186 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16187 in file.
16188 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16189 (TABLE): Move defines earlier in file.
16190 (ELEMENT): Likewise.
16191 (DEFAULT): Likewise.
16192 (wctrans_table_add): Move macro and inline function earlier in
16193 file.
16194 (struct wctype_table): Move type earlier in file.
16195 (add_locale_wctype_table): New static prototype.
16196 (struct locale_ctype_t): Use logical types instead of struct iovec
16197 pointers for members.
16198 (ctype_output): Use new locale_file interface.
16199 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16200 new locale_file interface.
16201 (allocate_arrays): Update for use of new locale_file interface.
16202 * locale/programs/ld-identification.c (identification_output): Use
16203 new locale_file interface.
16204 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16205 * locale/programs/ld-messages.c (messages_output): Likewise.
16206 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16207 * locale/programs/ld-name.c (name_output): Likewise.
16208 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16209 * locale/programs/ld-paper.c (paper_output): Likewise.
16210 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16211 * locale/programs/ld-time.c (time_output): Likewise.
16212
e029e2e5
AZ
162132013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16214
16215 * benchtests/Makefile: Add memrchr benchmark.
16216 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16217 benchmark as memrchr.
16218 * benchtests/bench-memrchr-ifunc.c: New file.
16219 * benchtests/bench-memrchr.c: New file.
16220
bbf6e8e4
WN
162212013-09-06 Will Newton <will.newton@linaro.org>
16222
16223 * benchtests/Makefile (string-bench): Add memcpy.
16224
6c82a2f8
CD
162252013-09-05 Carlos O'Donell <carlos@redhat.com>
16226 Cong Wang <amwang@redhat.com>
16227
e732c5f0 16228 [BZ #15850]
6c82a2f8
CD
16229 * sysdeps/unix/sysv/linux/bits/in.h
16230 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16231 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16232 before __USE_KERNEL_IPV6_DEFS uses.
16233 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16234 IPPROTO_BEETPH.
16235 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16236 sockaddr_in6, or ipv6_mreq.
16237
5430fc65
AZ
162382013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16239
16240 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16241 memory access for final bytes in some large inputs.
16242 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16243
4660856c
AZ
162442013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16245
16246 * string/test-memrchr.c: New file.
16247 * string/test-memrchr-ifunc.c: New file.
16248 * string/Makefile: Add new memrchr testcase.
16249
bb8ea713
MF
162502013-09-05 Mike Frysinger <vapier@gentoo.org>
16251
16252 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16253 fanotify_init returns EPERM.
16254
b92a20b5
JM
162552013-09-04 Joseph Myers <joseph@codesourcery.com>
16256
16257 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16258 errors.
16259 (top level): Treat second token from macro or constant entries for
16260 allowed headers as allowed.
16261 * include/complex.h: Condition internal declarations on
16262 [!_ISOMAC].
16263 * include/fenv.h: Condition include of <stdbool.h> and internal
16264 declarations on [!_ISOMAC].
7447ccd9
CL
16265
162662013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16267
3e181dda 16268 [BZ #15923]
7447ccd9
CL
16269 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16270
3f2e46a4
JM
162712013-09-04 Joseph Myers <joseph@codesourcery.com>
16272
16273 * configure.in (--enable-versioning): Remove configure option.
16274 (libc_cv_asm_symver_directive): Remove configure test.
16275 (libc_cv_ld_version_script_option): Likewise.
16276 (VERSIONING): Remove variable and AC_SUBST.
16277 (DO_VERSIONING): Remove AC_DEFINE.
16278 * configure: Regenerated.
16279 * config.h.in (DO_VERSIONING): Remove macro.
16280 * Makerules [$(versioning) = yes]: Change conditionals to
16281 [$(build-shared) = yes].
16282 * config.make.in (versioning): Remove variable.
16283 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16284 [$(build-shared) = yes].
16285 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16286 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16287 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16288 [$(build-shared) = yes].
16289 * extra-lib.mk [$(versioning) = yes]: Likewise.
16290 * hurd/Makefile [$(versioning) = yes]: Likewise.
16291 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16292 [SHARED].
16293 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16294 [SHARED].
16295 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16296 [SHARED && !NO_HIDDEN].
16297 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16298 [SHARED].
16299 [SHARED && DO_VERSIONING]: Likewise..
16300 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16301 [$(build-shared) = yes].
16302 * manual/install.texi (--disable-versioning): Remove
16303 documentation.
16304 * INSTALL: Regenerated.
16305 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16306 to [SHARED].
16307 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16308 [$(build-shared) = yes].
16309 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16310 * sysdeps/i386/i686/multiarch/strstr-c.c
16311 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16312 [SHARED && !NO_HIDDEN].
16313 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16314 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16315 * sysdeps/powerpc/powerpc32/dl-machine.c
16316 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16317 * sysdeps/powerpc/powerpc32/sysdep.h
16318 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16319 to [SHARED && PIC && !NO_HIDDEN].
16320 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16321 conditional to [SHARED].
16322
44558701
WN
163232013-09-04 Will Newton <will.newton@linaro.org>
16324
16325 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16326 * benchtests/bench-string.h: Include bench-timing.h instead
16327 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16328 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16329 call to HP_TIMING_DIFF_INIT.
16330 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16331 instead of hp-timing.h macros.
16332 * benchtests/bench-memchr.c: Likewise.
16333 * benchtests/bench-memcmp.c: Likewise.
16334 * benchtests/bench-memcpy.c: Likewise.
16335 * benchtests/bench-memmem.c: Likewise.
16336 * benchtests/bench-memmove.c: Likewise.
16337 * benchtests/bench-memset.c: Likewise.
16338 * benchtests/bench-rawmemchr.c: Likewise.
16339 * benchtests/bench-strcasecmp.c: Likewise.
16340 * benchtests/bench-strcasestr.c: Likewise.
16341 * benchtests/bench-strcat.c: Likewise.
16342 * benchtests/bench-strchr.c: Likewise.
16343 * benchtests/bench-strcmp.c: Likewise.
16344 * benchtests/bench-strcpy.c: Likewise.
16345 * benchtests/bench-strcpy_chk.c: Likewise.
16346 * benchtests/bench-strlen.c: Likewise.
16347 * benchtests/bench-strncasecmp.c: Likewise.
16348 * benchtests/bench-strncat.c: Likewise.
16349 * benchtests/bench-strncmp.c: Likewise.
16350 * benchtests/bench-strncpy.c: Likewise.
16351 * benchtests/bench-strnlen.c: Likewise.
16352 * benchtests/bench-strpbrk.c: Likewise.
16353 * benchtests/bench-strrchr.c: Likewise.
16354 * benchtests/bench-strspn.c: Likewise.
16355 * benchtests/bench-strstr.c: Likewise.
16356
cae16d66
WN
163572013-09-04 Will Newton <will.newton@linaro.org>
16358
16359 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16360
ffa3cd7f
JM
163612013-09-03 Joseph Myers <joseph@codesourcery.com>
16362
16363 [BZ #15427]
16364 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16365 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16366 * math/libm-test.inc (lgamma_test_data): Add more tests.
16367 * sysdeps/i386/fpu/libm-test-ulps: Update.
16368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16369
8f02859f
OB
163702013-09-03 Ondřej Bílka <neleai@seznam.cz>
16371
16372 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16374 Add ifunc.
16375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16376 Add strcmp-sse2-unaligned
16377 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16378
18d43716
MF
163792013-09-02 Mike Frysinger <vapier@gentoo.org>
16380
16381 * Versions.def (libc): Add GLIBC_2.19.
16382
ac444012
MF
163832013-09-02 Mike Frysinger <vapier@gentoo.org>
16384
16385 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16386 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16387
b7835e32
JM
163882013-09-02 Joseph Myers <joseph@codesourcery.com>
16389
16390 [BZ #14155]
16391 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16392 intermediate calculations in recurrence.
16393 (__ieee754_ynf): Likewise.
16394 * math/libm-test.inc (jn_test_data): Do not allow spurious
16395 underflow exception. Add more tests.
16396 (yn_test_data): Add more tests.
16397 * sysdeps/i386/fpu/libm-test-ulps: Update.
16398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16399
8220f4f0
OB
164002013-09-02 Ondřej Bílka <neleai@seznam.cz>
16401
16402 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16403
f24a6d08
OB
164042013-08-30 Ondřej Bílka <neleai@seznam.cz>
16405
16406 * csu/init-first.c: Fix then/than typos.
16407 * locale/programs/ld-collate.c: Likewise.
16408 * locale/programs/linereader.h: Likewise.
16409 * manual/charset.texi: Likewise.
16410 * manual/filesys.texi: Likewise.
16411 * manual/stdio.texi: Likewise.
16412 * manual/string.texi: Likewise.
16413 * stdlib/fmtmsg.c: Likewise.
16414 * sysdeps/i386/stpncpy.S: Likewise.
16415 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16416 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16417 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16418 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16419
382466e0
OB
164202013-08-30 Ondřej Bílka <neleai@seznam.cz>
16421
16422 * elf/dl-open.c: Fix typos.
16423 * iconvdata/gbbig5.c: Likewise.
16424 * iconvdata/iso-2022-jp.c: Likewise.
16425 * iconv/gconv_int.h: Likewise.
16426 * iconv/loop.c: Likewise.
16427 * nis/rpcsvc/nis.h: Likewise.
16428 * resolv/ns_name.c: Likewise.
16429 * stdio-common/vfscanf.c: Likewise.
16430 * streams/stropts.h: Likewise.
16431 * sunrpc/rpc_thread.c: Likewise.
16432 * sysdeps/i386/strpbrk.S: Likewise.
16433 * sysdeps/ieee754/k_standard.c: Likewise.
16434 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16435 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16436 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16437 * sysdeps/mach/hurd/profil.c: Likewise.
16438 * sysdeps/s390/dl-procinfo.h: Likewise.
16439 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16440 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16441 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16442 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16443 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16444
0186c6e9
OB
164452013-08-30 Ondřej Bílka <neleai@seznam.cz>
16446
16447 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16448 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16449
d4e16af1
OB
164502013-08-29 Ondřej Bílka <neleai@seznam.cz>
16451
16452 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16453 aix specific files.
16454 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16455 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16456 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16457 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16458 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16459 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16460 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16461 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16462
88335980
TS
164632013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16464 Roland McGrath <roland@hack.frob.com>
16465
16466 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16467 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16468
ed479b02
ST
164692013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16470
16471 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16472 __executable_start symbol instead of _start.
16473
f1cc4c86
TS
164742013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16475
d821f07c
TS
16476 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16477 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16478 Move macros to...
16479 * sysdeps/gnu/ldsodefs.h: ... this new file.
16480
c54290cf
TS
16481 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16482 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16483 instead of ELFOSABI_LINUX.
16484
0007fc9b 16485 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16486 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16487 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16488 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16489 Likewise.
16490 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16491 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16492 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16493 Likewise.
16494 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16495 (ibm_extended_long_double): Add ieee_nan member.
16496 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16497 (do_test): New function.
16498
f1cc4c86
TS
16499 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16500 TEST_TRUNC.
16501 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16502 functions, renamed from truncdfsf_test, trunctfsf_test,
16503 trunctfdf_test.
16504 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16505 functions.
16506 (do_test): Run all these.
16507
6f65e668
OB
165082013-08-29 Ondřej Bílka <neleai@seznam.cz>
16509
16510 * argp/argp-help.c: Fix typos.
16511 * argp/argp-parse.c: Likewise.
16512 * debug/backtracesyms.c: Likewise.
16513 * elf/elf.h: Likewise.
16514 * malloc/malloc.c: Likewise.
16515 * nis/nis_print.c: Likewise.
16516 * resolv/res_comp.c: Likewise.
16517 * stdlib/stdlib.h: Likewise.
16518 * sunrpc/clnt_tcp.c: Likewise.
16519 * sunrpc/clnt_udp.c: Likewise.
16520 * sunrpc/clnt_unix.c: Likewise.
16521 * sysdeps/unix/bsd/ptsname.c: Likewise.
16522 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16525 Likewise.
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16527 Likewise.
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16529 Likewise.
6f65e668
OB
16530 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16531
3a309239
SP
165322013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16533
16534 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16536
3b813b29
MF
165372013-08-27 Mike Frysinger <vapier@gentoo.org>
16538
16539 [BZ #15897]
16540 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16541 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16542 ($(objpfx)bug-dl-leaf): New rule.
16543 ($(objpfx)bug-dl-leaf.so): Likewise.
16544 ($(objpfx)bug-dl-leaf.out): Likewise.
16545 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16546 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16547 * dlfcn/bug-dl-leaf.c: New test.
16548 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16549 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16550 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16551 (dlclose): Likewise.
16552 (dlmopen): Likewise.
16553
8cc3269f
RM
165542013-08-27 Roland McGrath <roland@hack.frob.com>
16555
7f9d0034
RM
16556 * include/netdb.h [!_ISOMAC]:
16557 Don't include <tls.h>.
16558 (h_errno, __libc_h_errno): Move declaration and macros out of
16559 [_LIBC_REENTRANT].
16560
fb431262
RM
16561 * include/resolv.h [_RESOLV_H_]:
16562 Don't include <tls.h>.
16563 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16564 * resolv/res_libc.c: Don't include <tls.h>.
16565 (_res): Use __attribute__ ((nocommon)) in place of
16566 __attribute__ ((section (".bss"))).
16567
bd81123a
RM
16568 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16569 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16570
c4e42566
RM
16571 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16572
f890a59b
RM
16573 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16574 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16575
16576 * resolv/res_mkquery.c: Include <sys/time.h>.
16577
5d1f0a09
RM
16578 * inet/ifreq.c: Moved to ...
16579 * sysdeps/unix/ifreq.c: ... here.
16580 * inet/ifreq.c: New file, true stub version.
16581
6fcf28b3
RM
16582 * socket/sa_len.c: New file.
16583 * socket/Makefile (aux): Add it.
16584 * sysdeps/unix/sysv/linux/Makefile
16585 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16586 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16587 and #include <socket/sa_len.c>.
16588 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16589 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16590
e041fb8b
RM
16591 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16592 * bits/socket.h: ... here.
16593
8cc3269f
RM
16594 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16595 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16596 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16597
5d228a43
AS
165982013-08-27 Andreas Schwab <schwab@suse.de>
16599
45b8accc
AS
16600 [BZ #15736]
16601 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16602 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16603 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16604 * string/test-strcasecmp.c (test_main): Run tests in several
16605 locales.
16606 * string/test-strncasecmp.c (test_main): Likewise.
16607
5d228a43
AS
16608 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16609 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16610 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16611 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16612 (__strncasecmp_ssse3) [PIC]: Likewise.
16613
59d112a4
RM
166142013-08-26 Roland McGrath <roland@hack.frob.com>
16615
53234cc3
RM
16616 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16617
59d112a4
RM
16618 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16619 instead of explicitly declaring xdecrypt.
16620 * nis/nss_nis/nis-publickey.c: Likewise.
16621
595aba70
SP
166222013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16623
16624 [BZ #15890]
16625 * nscd/aicache.c: Include res_hconf.h.
16626 (addhstaiX): Initialize res_hconf.
16627
ffabd393
AS
166282013-08-26 Andreas Schwab <schwab@suse.de>
16629
16630 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16631 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16632
e0a69f5c
SP
166332013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16634
16635 * nscd/aicache.c (addhstaiX): Fix indentation.
16636
8c12f01d
MF
166372013-08-25 Mike Frysinger <vapier@gentoo.org>
16638
16639 * configure.ac: Quote $build_pt_chown test.
16640 * configure: Regenerated.
16641
8fe89494
JM
166422013-08-23 Joseph Myers <joseph@codesourcery.com>
16643
16644 [BZ #15532]
16645 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16646 * math/s_cexpf.c (__cexpf): Likewise.
16647 * math/s_cexpl.c (__cexpl): Likewise.
16648 * math/libm-test.inc (cexp_test_data): Correct expected return
16649 value for NaN + i0. Add another test.
16650
75b181d6
DM
166512013-08-22 David S. Miller <davem@davemloft.net>
16652
16653 * po/ca.po: Update Catalan translation from translation project.
936241e4 16654 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16655
acd06bb1
JM
166562013-08-21 Joseph Myers <joseph@codesourcery.com>
16657
16658 [BZ #15797]
16659 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16660 is infinite, not alongside NaN test.
16661 * math/s_fdimf.c (__fdimf): Likewise.
16662 * math/s_fdiml.c (__fdiml): Likewise.
16663 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16664 errno is unchanged.
16665
c0c3f78a
OB
166662013-08-21 Ondřej Bílka <neleai@seznam.cz>
16667
16668 * argp/argp-help.c: Fix typos.
16669 * crypt/speeds.c: Likewise.
16670 * csu/check_fds.c: Likewise.
16671 * elf/dl-load.c: Likewise.
16672 * elf/dl-open.c: Likewise.
16673 * elf/reldep3.c: Likewise.
16674 * elf/reldep.c: Likewise.
16675 * elf/sprof.c: Likewise.
16676 * iconv/iconv_charmap.c: Likewise.
16677 * iconv/skeleton.c: Likewise.
16678 * iconv/strtab.c: Likewise.
16679 * io/lockf64.c: Likewise.
16680 * libio/libioP.h: Likewise.
16681 * resolv/gai_notify.c: Likewise.
16682 * resolv/ns_name.c: Likewise.
16683 * resolv/ns_samedomain.c: Likewise.
16684 * resolv/res_send.c: Likewise.
16685 * stdlib/random.c: Likewise.
16686 * sunrpc/rpc/xdr.h: Likewise.
16687 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16688 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16689 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16690 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16691 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16692 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16693 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16694 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16695 * sysdeps/mach/hurd/check_fds.c: Likewise.
16696 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16697 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16698 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16699 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16700 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16701 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16702 * sysdeps/pthread/aio_notify.c: Likewise.
16703 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16704 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16705 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16707 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16708
46ed1038
LD
167092013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16710
16711 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16712 version if bit_Slow_SSE4_2 is set.
16713 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16714 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16715
d400dcac
AZ
167162013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16717
16718 [BZ #15867]
16719 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16720 trampoline stack frame information.
16721 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16722 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16723 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16724 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16725 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16726 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16727 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16728 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16729 sa_flags value.
16730 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16731 interrupting a syscall and set with option SA_SIGINFO.
16732
42c8fdd8
JM
167332013-08-20 Joseph Myers <joseph@codesourcery.com>
16734
c980f2f4
JM
16735 [BZ #15531]
16736 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16737 argument is infinite.
16738 * math/s_cprojf.c (__cprojf): Likewise.
16739 * math/s_cprojl.c (__cprojl): Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16741 * math/libm-test.inc (cproj_test_data): Add more tests.
16742
0716c4fc
JM
16743 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16744
42c8fdd8
JM
16745 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16746 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16747 size. Use __ffs to determine corresponding shift.
16748
b31469d0
JM
167492013-08-20 Joseph Myers <joseph@codesourcery.com>
16750 Roland McGrath <roland@hack.frob.com>
16751
16752 * Makefile (INSTALL): Remove trailing blank lines from output of
16753 makeinfo.
16754
4e39af6e
AK
167552013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16756
16757 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16758 Align 32 bit compat elf_greg to 8 bytes.
16759
f315524e
AA
167602013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16761
16762 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16763
1326ba1a
SP
167642013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16765
16766 * string/strcoll_l.c (coll_seq): New structure.
16767 (get_next_seq_cached): New function.
16768 (get_next_seq): New function.
16769 (do_compare): New function.
16770 (STRCOLL): Use GNU style definition. Simplify implementation
16771 by using get_next_seq, get_next_seq_cached and do_compare.
16772
91ce4085
FW
167732013-08-16 Florian Weimer <fweimer@redhat.com>
16774
16775 [BZ #14699]
16776 CVE-2013-4237
16777 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16778 member.
16779 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16780 member.
16781 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16782 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16783 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16784 conditional.
16785 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16786 GETDENTS_64BIT_ALIGNED.
16787 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16788 * manual/filesys.texi (Reading/Closing Directory): Document
16789 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16790 strongly.
16791 * manual/conf.texi (Limits for Files): Add portability note to
16792 NAME_MAX, PATH_MAX.
16793 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16794
ca0a6bc4
AS
167952013-08-13 Andreas Schwab <schwab@suse.de>
16796
16797 [BZ #15749]
16798 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16799 of fabs.
16800 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16801 LDBL_MAX_EXP >= 16384]: Add tests for it.
16802
6c1fd795
DM
168032013-08-12 David S. Miller <davem@davemloft.net>
16804
16805 * version.h (RELEASE): Set to "development".
16806 (VERSION): Set to "2.18.90".
16807 * NEWS: Add 2.19 section.
16808
31ad488d
DM
168092013-08-03 David S. Miller <davem@davemloft.net>
16810
16811 * po/ko.po: Update Korean translation from translation project.
16812
db24e684
DM
168132013-08-01 David S. Miller <davem@davemloft.net>
16814
16815 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16816 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16817 Bilka.
16818
f723285b
DM
168192013-07-30 David S. Miller <davem@davemloft.net>
16820
16821 * po/fr.po: Update French translation from translation project.
16822
3cbc52db
DM
168232013-07-28 David S. Miller <davem@davemloft.net>
16824
30bbc0cc
DM
16825 * po/cs.po: Update Czech translation from translation project.
16826
3cbc52db
DM
16827 * po/sv.po: Update Swedish translation from translation project.
16828
d492e6d0
DM
168292013-07-27 David S. Miller <davem@davemloft.net>
16830
f1a7f492
DM
16831 * po/eo.po: Update Esperanto translation from translation project.
16832
90e62a4a
DM
16833 * po/vi.po: Update Vietnamese translation from translation project.
16834
d492e6d0
DM
16835 * po/de.po: Update German translation from translation project.
16836
d4baa62d
DM
168372013-07-26 David S. Miller <davem@davemloft.net>
16838
641aa7b4
DM
16839 * po/bg.po: Update Bulgarian translation from translation project.
16840
d4baa62d
DM
16841 * po/nl.po: Update Dutch translation from translation project.
16842 * po/pl.po: Update Polish translation from translation project.
16843 * po/ru.po: Update Russian translation from translation project.
16844
61a9dcb9
DM
168452013-07-24 David S. Miller <davem@davemloft.net>
16846
16847 * po/libc.pot: Update.
16848
7b1f8b58
AZ
168492013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16850
16851 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16852 variable page size.
16853 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16854 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16855 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16856
a8fc7a03
AK
168572013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16858
16859 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16860
e4608715
CD
168612013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16862 Andreas Schwab <schwab@suse.de>
16863 Roland McGrath <roland@hack.frob.com>
16864 Joseph Myers <joseph@codesourcery.com>
16865 Carlos O'Donell <carlos@redhat.com>
16866
16867 [BZ #15755]
16868 * config.h.in: Define HAVE_PT_CHOWN.
16869 * config.make.in (build-pt-chown): New variable.
16870 * configure.in (--enable-pt_chown): New configure option.
16871 * configure: Regenerate.
16872 * login/Makefile: Include Makeconfig. Build pt_chown only if
16873 build-pt-chown is enabled.
16874 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16875 pt_chown to fix pty ownership.
16876 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16877 CLOSE_ALL_FDS.
16878 * manual/install.texi (Configuring and compiling): Mention
16879 --enable-pt_chown. Add @findex for grantpt.
16880 * INSTALL: Regenerate.
16881
da2d62df
DM
168822013-07-20 David S. Miller <davem@davemloft.net>
16883
16884 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16885 difference between 32-bit and 64-bit.
16886
d7e06450
CD
168872013-07-15 Carlos O'Donell <carlos@redhat.com>
16888
16889 [BZ #15711]
16890 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16891 Avoid system header dependency with -ffreestanding.
16892 ($(objpfx)bits/syscall%d): Likewise.
16893
f959cfd7
DM
168942013-07-13 David S. Miller <davem@davemloft.net>
16895
16896 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16897 underflows from atanl/atan2l due to bug 15319.
16898 (casinh_test_data): Likewise.
16899
c61f8513
DM
169002013-07-07 David S. Miller <davem@davemloft.net>
16901
16902 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16903
72c90ed0
JA
169042013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16905
16906 * sysdeps/i386/fpu/libm-test-ulps: Update.
16907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16908
52dfbe13
SP
169092013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16910
16911 * configure.in (--enable-lock-elision): Fix message text.
16912 * INSTALL: Regenerate.
16913 * configure: Regenerate.
16914
3f169543
AZ
169152013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16916
16917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16918
521c6785
AJ
169192013-07-03 Andreas Jaeger <aj@suse.de>
16920
16921 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16922 define.
16923 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16924 (ptrace_peeksiginfo_args): Add.
16925 (__ptrace_peeksiginfo_flags): Add.
16926 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16927 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16928 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16929
d2cc15cb
AM
169302013-07-03 Allan McRae <allan@archlinux.org>
16931
16932 * sysdeps/i386/fpu/libm-test-ulps: Update.
16933
3aaeeca7
DM
169342013-07-02 David S. Miller <davem@davemloft.net>
16935
16936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16937
5314ed1a
MT
169382013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16939
16940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16941
67338156
JM
169422013-07-02 Joseph Myers <joseph@codesourcery.com>
16943
16944 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16946
1717da59
AK
169472013-07-02 Andi Kleen <ak@linux.intel.com>
16948
16949 * config.h.in (ENABLE_LOCK_ELISION): Add.
16950 * configure.in (--enable-lock-elision): Add option.
16951 * manual/install.texi: Document --enable lock elision.
16952 * configure: Regenerate
16953 * INSTALL: Regenerate.
16954
1c81621c
L
169552013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16956
16957 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16958 SSE4.2 strcasecmp for libc.a.
16959 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16960
77f01ab5
JM
169612013-07-02 Joseph Myers <joseph@codesourcery.com>
16962
16963 [BZ #13304]
16964 * soft-fp/op-common.h (_FP_FMA): New macro.
16965 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16966 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16967 (_FP_MUL_MEAT_1_imm): ... here.
16968 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16969 (_FP_MUL_MEAT_1_wide): ... here.
16970 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16971 (_FP_MUL_MEAT_1_hard): ... here.
16972 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16973 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16974 (_FP_MUL_MEAT_2_wide): ... here.
16975 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16976 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16977 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16978 (_FP_MUL_MEAT_2_gmp): ... here.
16979 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16980 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16981 (_FP_MUL_MEAT_4_wide): ... here.
16982 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16983 (_FP_MUL_MEAT_4_gmp): ... here.
16984 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16985 (_FP_WFRACBITS_DW_S): Likewise.
16986 (_FP_WFRACXBITS_DW_S): Likewise.
16987 (_FP_HIGHBIT_DW_S): Likewise.
16988 (FP_FMA_S): Likewise.
16989 (_FP_FRAC_HIGH_DW_S): Likewise.
16990 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16991 (_FP_WFRACBITS_DW_D): Likewise.
16992 (_FP_WFRACXBITS_DW_D): Likewise.
16993 (_FP_HIGHBIT_DW_D): Likewise.
16994 (FP_FMA_D): Likewise.
16995 (_FP_FRAC_HIGH_DW_D): Likewise.
16996 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16997 (_FP_WFRACBITS_DW_E): Likewise.
16998 (_FP_WFRACXBITS_DW_E): Likewise.
16999 (_FP_HIGHBIT_DW_E): Likewise.
17000 (FP_FMA_E): Likewise.
17001 (_FP_FRAC_HIGH_DW_E): Likewise.
17002 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17003 (_FP_WFRACBITS_DW_Q): Likewise.
17004 (_FP_WFRACXBITS_DW_Q): Likewise.
17005 (_FP_HIGHBIT_DW_Q): Likewise.
17006 (FP_FMA_Q): Likewise.
17007 (_FP_FRAC_HIGH_DW_Q): Likewise.
17008 * soft-fp/fmasf4.c: New file.
17009 * soft-fp/fmadf4.c: Likewise.
17010 * soft-fp/fmatf4.c: Likewise.
17011
6308fd9a
LD
170122013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17013
17014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17015 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17016 Silvermont.
17017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17018 macro.
17019 (index_Slow_SSE4_2): Likewise.
17020 (index_Prefer_PMINUB_for_stringop): Likewise.
17021 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17022 bit_Slow_SSE4_2 is set.
17023 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17024 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17025
89cd9569
RA
170262013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17027
17028 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17029 rtld_global._dl_hwcap2.
17030 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17031 POWER8.
17032 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17033 POWER8 feature descriptions defined in _dl_hwcap2.
17034 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17035 string handling for POWER8 feature bits.
17036 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17037 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17038 _dl_powerpc_cap_flags.
17039 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17040 * sysdeps/powerpc/rtld-global-offsets.sym
17041 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17042 _dl_hwcap2 in the rtld_global_ro structure.
17043
1ae8bfe0
RA
170442013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17045
17046 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17047 hardware capabilities in support of AT_HWCAP2.
17048 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17049 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17050 GLRO(dl_hwcap2).
17051 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17052 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17053 explicitly the unknown a_type display mechanism is used.
17054 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17055 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17056 struct member.
17057 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17058 to macro prototype for AT_HWCAP2 support.
17059 * sysdeps/i386/dl-procinfo.h: Likewise.
17060 * sysdeps/s390/dl-procinfo.h: Likewise.
17061 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17062 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17063 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17064 return -1 for unknown a_type display fallback.
17065 * sysdeps/sparc/dl-procinfo.h: Likewise.
17066 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17067 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17068
8fbec010
JM
170692013-06-28 Joseph Myers <joseph@codesourcery.com>
17070
17071 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17072 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17073
0432680e
PY
170742013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17075
17076 [BZ #12492]
17077 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17078 mprotect making __stack_prot writable.
17079
ce61a2ad
NF
170802013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17081 Joseph Myers <joseph@codesourcery.com>
17082
17083 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17084 as being properly aligned.
17085
f91f1c0f
MR
170862013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17087
3d0f5d0c
MR
17088 * dlfcn/modstatic5.c: New file.
17089 * dlfcn/tststatic5.c: New file.
17090 * dlfcn/Makefile (tests): Add tststatic5.
17091 (tests-static): Likewise.
17092 (modules-names): Add modstatic5.
17093 (tststatic5-ENV): New variable.
17094 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17095
f91f1c0f
MR
17096 [BZ #15022]
17097 * elf/dl-support.c (_dl_main_map): New variable.
17098 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17099 (_dl_nns, _dl_load_adds): Set to 1.
17100 (_dl_initial_searchlist): Refer to _dl_main_map.
17101 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17102 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17103 call to _dl_get_origin.
17104 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17105 around call_map.
17106 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17107 * dlfcn/modstatic3.c: New file.
17108 * dlfcn/tststatic3.c: New file.
17109 * dlfcn/tststatic4.c: New file.
17110 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17111 (tests-static): Likewise.
17112 (modules-names): Add modstatic3.
17113 (tststatic3-ENV, tststatic4-ENV): New variables.
17114 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17115 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17116
cbe7d24b
JM
171172013-06-26 Joseph Myers <joseph@codesourcery.com>
17118
17119 * configure.in (CC): Require GCC version 4.4 or later.
17120 * configure: Regenerated.
17121 * manual/install.texi (Tools for Compilation): Update GCC version
17122 requirement.
17123 * INSTALL: Regenerated.
17124
11b8a0e1
LD
171252013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17126
17127 [BZ #15674]
bb5bb87c
L
17128 * string/test-memcmp.c (check2): New.
17129 (main): Call check2.
17130
11b8a0e1
LD
17131 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17132
b0037103
MR
171332013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17134
17135 [BZ #15022]
17136 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17137 over to...
17138 (dl_open_worker) [!SHARED]: ... here.
17139
c18c701d
RA
171402013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17141
17142 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17143
1d17fa5f
RH
171442013-06-25 Richard Henderson <rth@redhat.com>
17145
17146 * locale/programs/locarchive.c: Include <libc-internal.h>
17147
8fcb833a
JM
171482013-06-25 Joseph Myers <joseph@codesourcery.com>
17149
17150 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17151 trailing whitespace removed.
17152
17db6e8d
MF
171532013-06-24 Mike Frysinger <vapier@gentoo.org>
17154
17155 [BZ #10283]
17db6e8d
MF
17156 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17157 * locale/programs/locarchive.c: Include libc-mmap.h.
17158 (prepare_address_space): Take two new outputs (the mmap base and len).
17159 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17160 values.
17161 (create_archive): Declare new mmap base and len values for
17162 prepare_address_space, and store the result in ah.
17163 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17164 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17165 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17166 Declare new mmap base and len values for
17167 prepare_address_space, and store the result in new_ah.
17168 (open_archive): Declare new mmap base and len values for
17169 prepare_address_space, and store the result in ah.
17170 (close_archive): If ah->mmap_base is not NULL, use that and
17171 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17172 * sysdeps/generic/libc-mmap.h: New file.
17173
d605071e
MF
171742013-06-24 Mike Frysinger <vapier@gentoo.org>
17175
17176 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17177 (ALIGN_UP): Likewise.
17178 (PTR_ALIGN_DOWN): Likewise.
17179 (PTR_ALIGN_UP): Likewise.
17180
2f063a6e
RA
171812013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17182
17183 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17184 entry mapped to PPC_PLATFORM_POWER8.
17185 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17186 POWER8.
17187 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17188 (_dl_string_platform): Add case for exporting platform position for
17189 POWER8.
17190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17191 search path to sysdeps/powerpc/powerpc32/power8 directory.
17192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17193 search path to sysdeps/powerpc/powerpc64/power8 directory.
17194 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17195 power7 directories.
17196 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17197 power7 directories.
17198
a31ee4b3
SP
171992013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17200
a74ca98f
SP
17201 * INSTALL: Regenerate.
17202
a31ee4b3
SP
17203 * nscd/connections.c (nscd_init): Fix comment.
17204
695c378f
JM
172052013-06-22 Joseph Myers <joseph@codesourcery.com>
17206
d8412221
JM
17207 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17208
695c378f
JM
17209 [BZ #15667]
17210 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17211 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17212
d1d54715
MR
172132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17214
17215 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17216 DL_DST_REQ_STATIC.
17217 (DL_DST_REQ_STATIC): Remove macro.
17218
8fdda7af
JM
172192013-06-21 Joseph Myers <joseph@codesourcery.com>
17220
17221 [BZ #7006]
17222 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17223 with a shift of 0 bits.
17224
f3bc5e5a
MR
172252013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17226
17227 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17228 $(tststatic-ENV).
17229
be09e8c9
KK
172302013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17231
17232 [BZ #15655]
17233 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17234
85c2e611
AZ
172352013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17236
17237 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17238 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17239 accepts -fno-tree-loop-distribute-patterns.
17240 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17241 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17242 recursive call.
17243 * string/memset.c (memset): Likewise.
17244 * string/test-memmove.c (simple_memmove): Disable loop transformation
17245 to library calls.
17246 * string/test-memset.c (simple_memset): Likewise.
17247 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17248 * benchtests/bench-memset.c (simple_memset): Likewise.
17249 * configure: Regenerated.
17250
c91e0825
JM
172512013-06-20 Joseph Myers <joseph@codesourcery.com>
17252
b8c792af
JM
17253 * math/test-misc.c (main): Ignore fesetround failure when failures
17254 of subsequent rounding tests would be ignored.
17255
c91e0825
JM
17256 [BZ #15654]
17257 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17258 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17259 * math/fegetenv.c (__fegetenv): Return 0.
17260 * math/fegetexcept.c (fegetexcept): Return 0.
17261 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17262 FE_TONEAREST.
17263 * math/feholdexcpt.c (feholdexcept): Return 0.
17264 * math/fesetenv.c (__fesetenv): Return 0.
17265 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17266 argument FE_TONEAREST.
17267 * math/feupdateenv.c (__feupdateenv): Return 0.
17268 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17269
bfcacbde
RM
172702013-06-18 Roland McGrath <roland@hack.frob.com>
17271
17272 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17273 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17274 ($(objpfx)rtld-%.os rules): Use them.
17275
e55a9b25
AZ
172762013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17277
17278 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17279 fields.
17280
346d65b3
RM
172812013-06-17 Roland McGrath <roland@hack.frob.com>
17282
12086fb4
RM
17283 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17284 length of target pattern, then descending length of dependency pattern.
17285 * configure.in (AWK): Require gawk 3.1.2 or newer.
17286 * manual/install.texi (Tools for Compilation): Say that we do.
17287 * configure: Regenerated.
17288
346d65b3
RM
17289 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17290 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17291 * scripts/sysd-rules.awk: ... this new script.
17292 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17293 than a glob-style pattern.
17294
1a846317
JM
172952013-06-17 Joseph Myers <joseph@codesourcery.com>
17296
17297 * math/test-misc.c (main): Do not treat incorrectly rounded
17298 conversions as failure unless ROUNDING_TESTS passes.
17299
8fc75e6f
JM
173002013-06-15 Joseph Myers <joseph@codesourcery.com>
17301
3711a167
JM
17302 [BZ #15631]
17303 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17304 restore exception state around main square root computation, then
17305 check for inexactness explicitly.
17306
8fc75e6f
JM
17307 * math/libm-test.inc (fma_test_data): Add another test.
17308
61dd6208
SP
173092013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17310
adf23d2c
SP
17311 * manual/threads.texi (Non-POSIX Extensions): New document
17312 node. Document pthread_getattr_default_np and
17313 pthread_setattr_default_np.
17314
61dd6208
SP
17315 * Versions.def (libpthread): Add GLIBC_2.18.
17316 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17318 Likewise.
17319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17320 Likewise.
17321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17322 Likewise.
17323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17324 Likewise.
17325 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17326 Likewise.
17327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17328 Likewise.
17329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17330 Likewise.
17331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17332 Likewise.
17333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17334 Likewise.
17335
d086fc7b
LD
173362013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17337
17338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17339 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17340
747ef469
SP
173412013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17342 H.J. Lu <hjl.tools@gmail.com>
17343
17344 [BZ #15627]
17345 * sysdeps/x86_64/rtld-memset.c: Remove file.
17346 * sysdeps/x86_64/rtld-memset.S: New file.
17347
1b2feed2
JM
173482013-06-14 Joseph Myers <joseph@codesourcery.com>
17349
17350 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17351 (test_in_one_mode): Take arguments for whether the rounding mode
17352 is supported for each floating-point type.
17353 (do_test): Pass new arguments to test_in_one_mode using
17354 ROUNDING_TESTS.
17355
a58ad3f8
RM
173562013-06-13 Roland McGrath <roland@hack.frob.com>
17357
17358 * posix/tst-waitid.c (do_test): Distinguish different instances of
17359 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17360 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17361 before entering the kernel for waitpid.
17362
c204ab28
SP
173632013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17364
17365 * NEWS: Fix note on clock function precision. Text by Roland
17366 McGrath.
17367
f4a29fba
RM
173682013-06-13 Roland McGrath <roland@hack.frob.com>
17369
17370 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17371 it into place only when and if the sanity check passes.
17372
1f24b9ad
JM
173732013-06-13 Joseph Myers <joseph@codesourcery.com>
17374
17375 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17376 output for whether conversion result is exact. Take argument
17377 indicating whether type is IBM long double.
17378 (round_for_all): Change need_exact field to ibm_ld.
17379 * stdlib/tst-strtod-round.c (struct exactness): New type.
17380 (struct test): Change bool ld_ok field to struct exactness exact.
17381 (TEST): Update all definitions for change to field.
17382 (tests): Regenerate array contents.
17383 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17384 field value. Check for IBM long double here.
17385 (do_test): Update calls to test_in_one_mode.
17386
58206c68
SP
173872013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17388
17389 [BZ #12515]
17390 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17391 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17392
2d6f4c5b 173932013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
17394
17395 [BZ #15605]
17396 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17397 generated by the compiler on loop optimizations.
17398 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17399 general definitions.
17400
94f2c076
JM
174012013-06-12 Joseph Myers <joseph@codesourcery.com>
17402
17403 * math/bug-nextafter.c: Include <math-tests.h>.
17404 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17405 the relevant type.
17406 * math/bug-nexttoward.c: Include <math-tests.h>.
17407 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17408 the relevant type.
17409 * math/test-misc.c: Include <math-tests.h>.
17410 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17411 the relevant type.
17412
e0e50a0a
AJ
174132013-06-12 Andreas Jaeger <aj@suse.de>
17414
17415 * po/ia.po: Update Interlingua translation from translation
17416 project.
17417
25061094
SP
174182013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17419
17420 * include/fenv.h: Include stdbool.h.
17421 (struct rm_ctx): New structure.
17422 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17423 Define macro.
17424 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17425 (SET_RESTORE_ROUNDF): Likewise.
17426 (SET_RESTORE_ROUNDL): Likewise.
17427 (SET_RESTORE_ROUND_NOEX): Likewise.
17428 (SET_RESTORE_ROUND_NOEXF): Likewise.
17429 (SET_RESTORE_ROUND_NOEXL): Likewise.
17430 (SET_RESTORE_ROUND_53BIT): Likewise.
17431 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17432 (libc_feresetround_noexf_ctx): Likewise.
17433 (libc_feresetround_noexl_ctx): Likewise.
17434 (libc_feholdsetround_53bit_ctx): Likewise.
17435 (libc_feresetround_53bit_ctx): Likewise.
17436 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17437 (libc_feholdexcept_setround_sse_ctx): New function.
17438 (libc_fesetenv_sse_ctx): Likewise.
17439 (libc_feupdateenv_sse_ctx): Likewise.
17440 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17441 (libc_feholdexcept_setround_387_ctx): Likewise.
17442 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17443 (libc_feholdsetround_387_prec_ctx): Likewise.
17444 (libc_feholdsetround_387_ctx): Likewise.
17445 (libc_feholdsetround_387_53bit_ctx): Likewise.
17446 (libc_feholdsetround_sse_ctx): Likewise.
17447 (libc_feresetround_sse_ctx): Likewise.
17448 (libc_feresetround_387_ctx): Likewise.
17449 (libc_feupdateenv_387_ctx): Likewise.
17450 (libc_feholdexcept_setroundf_ctx): Define macro.
17451 (libc_fesetenvf_ctx): Likewise.
17452 (libc_feupdateenvf_ctx): Likewise.
17453 (libc_feholdsetroundf_ctx): Likewise.
17454 (libc_feresetroundf_ctx): Likewise.
17455 (libc_feholdexcept_setround_ctx): Likewise.
17456 (libc_fesetenv_ctx): Likewise.
17457 (libc_feupdateenv_ctx): Likewise.
17458 (libc_feholdsetround_ctx): Likewise.
17459 (libc_feresetround_ctx): Likewise.
17460 (libc_feholdexcept_setroundl_ctx): Likewise.
17461 (libc_feupdateenvl_ctx): Likewise.
17462 (libc_feholdsetroundl_ctx): Likewise.
17463 (libc_feresetroundl_ctx): Likewise.
17464 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17465 (libc_feresetround_53bit_ctx): Likewise.
17466
59b30555
SP
174672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17468
17469 * locale/iso-639.def: Convert to UTF-8.
17470
f1d73d30
JM
174712013-06-11 Joseph Myers <joseph@codesourcery.com>
17472
17473 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17474 (EXCEPTION_TESTS_double): Likewise.
17475 (EXCEPTION_TESTS_long_double): Likewise.
17476 (EXCEPTION_TESTS): Likewise.
17477 * math/libm-test.inc (test_exceptions): Only test exceptions if
17478 EXCEPTION_TESTS (FLOAT).
17479
94aca5e7
SP
174802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17481
17482 * benchtests/Makefile (string-bench): Add strcpy_chk and
17483 stpcpy_chk.
17484 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17485 * benchtests/bench-stpcpy_chk.c: New file.
17486 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17487 * benchtests/bench-strcpy_chk.c: New file.
17488 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17489 code.
17490 (do_test): Likewise.
17491
fac0c5f2
RA
174922013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17493
17494 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17495 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17496 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17497 with tabs where appropriate.
17498 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17499 dl-procinfo.h.
17500 [PPC_PLATFORM_PPC440]: Likewise.
17501 [PPC_PLATFORM_PPC464]: Likewise.
17502 [PPC_PLATFORM_PPC476]: Likewise.
17503 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17504 ppc464, and ppc476 platform strings merging from ports/
17505 dl-procinfo.h.
17506
f22bc486
AS
175072013-06-11 Andreas Schwab <schwab@suse.de>
17508
17509 [BZ #14991]
17510 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17511 (from_ucs4_idx): Regenerate.
17512 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17513 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17514 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17515 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17516 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17517 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17518 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17519 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17520 from FROM_LOOP and TO_LOOP specific macros.
17521 (BODY): Handle combining characters.
17522 * iconvdata/BIG5HKSCS.irreversible: Update.
17523 * iconvdata/BIG5HKSCS.precomposed: New file.
17524 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17525 characters.
17526 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17527
c1f75dc3
SP
175282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17529
4eacded2
SP
17530 * include/sys/time.h: Fix indentation and add copyright header.
17531
fec799f8
SP
17532 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17533 (do_test): Likewise.
17534 * string/test-memchr.c (do_one_test): Likewise.
17535 (do_test): Likewise.
17536 * string/test-memcmp.c (do_one_test): Likewise.
17537 (do_test): Likewise.
17538 * string/test-memcpy.c (do_one_test): Likewise.
17539 (do_test): Likewise.
17540 * string/test-memmem.c (do_one_test): Likewise.
17541 (do_test): Likewise.
17542 (do_random_tests): Likewise.
17543 * string/test-memmove.c (do_one_test): Likewise.
17544 (do_test): Likewise.
17545 * string/test-memset.c (do_one_test): Likewise.
17546 (do_test): Likewise.
17547 * string/test-rawmemchr.c (do_one_test): Likewise.
17548 (do_test): Likewise.
17549 * string/test-strcasecmp.c (do_one_test): Likewise.
17550 (do_test): Likewise.
17551 * string/test-strcasestr.c (do_one_test): Likewise.
17552 (do_test): Likewise.
17553 * string/test-strcat.c (do_one_test): Likewise.
17554 (do_test): Likewise.
17555 * string/test-strchr.c (do_one_test): Likewise.
17556 (do_test): Likewise.
17557 * string/test-strcmp.c (do_one_test): Likewise.
17558 (do_test): Likewise.
17559 * string/test-strcpy.c (do_one_test): Likewise.
17560 (do_test): Likewise.
17561 * string/test-string.h: Likewise.
17562 (test_init): Likewise.
17563 * string/test-strlen.c (do_one_test): Likewise.
17564 (do_test): Likewise.
17565 * string/test-strncasecmp.c (do_one_test): Likewise.
17566 (do_test): Likewise.
17567 * string/test-strncat.c (do_one_test): Likewise.
17568 (do_test): Likewise.
17569 * string/test-strncmp.c (do_one_test): Likewise.
17570 (do_test_limit): Likewise.
17571 (do_test): Likewise.
17572 * string/test-strncpy.c (do_one_test): Likewise.
17573 (do_test): Likewise.
17574 * string/test-strnlen.c (do_one_test): Likewise.
17575 (do_test): Likewise.
17576 * string/test-strpbrk.c (do_one_test): Likewise.
17577 (do_test): Likewise.
17578 * string/test-strrchr.c (do_one_test): Likewise.
17579 (do_test): Likewise.
17580 * string/test-strspn.c (do_one_test): Likewise.
17581 (do_test): Likewise.
17582 * string/test-strstr.c (do_one_test): Likewise.
17583 (do_test): Likewise.
17584
97020474
SP
17585 * benchtests/Makefile (string-bench): Add string benchmarks.
17586 * benchtests/bench-bcopy-ifunc.c: New file.
17587 * benchtests/bench-bcopy.c: New file.
17588 * benchtests/bench-bzero-ifunc.c: New file.
17589 * benchtests/bench-bzero.c: New file.
17590 * benchtests/bench-memccpy-ifunc.c: New file.
17591 * benchtests/bench-memccpy.c: New file.
17592 * benchtests/bench-memchr-ifunc.c: New file.
17593 * benchtests/bench-memchr.c: New file.
17594 * benchtests/bench-memcmp-ifunc.c: New file.
17595 * benchtests/bench-memcmp.c: New file.
17596 * benchtests/bench-memmem-ifunc.c: New file.
17597 * benchtests/bench-memmem.c: New file.
17598 * benchtests/bench-memmove-ifunc.c: New file.
17599 * benchtests/bench-memmove.c: New file.
17600 * benchtests/bench-mempcpy-ifunc.c: New file.
17601 * benchtests/bench-mempcpy.c: New file.
17602 * benchtests/bench-memset-ifunc.c: New file.
17603 * benchtests/bench-memset.c: New file.
17604 * benchtests/bench-rawmemchr-ifunc.c: New file.
17605 * benchtests/bench-rawmemchr.c: New file.
17606 * benchtests/bench-stpcpy-ifunc.c: New file.
17607 * benchtests/bench-stpcpy.c: New file.
17608 * benchtests/bench-stpncpy-ifunc.c: New file.
17609 * benchtests/bench-stpncpy.c: New file.
17610 * benchtests/bench-strcasecmp-ifunc.c: New file.
17611 * benchtests/bench-strcasecmp.c: New file.
17612 * benchtests/bench-strcasestr-ifunc.c: New file.
17613 * benchtests/bench-strcasestr.c: New file.
17614 * benchtests/bench-strcat-ifunc.c: New file.
17615 * benchtests/bench-strcat.c: New file.
17616 * benchtests/bench-strchr-ifunc.c: New file.
17617 * benchtests/bench-strchr.c: New file.
17618 * benchtests/bench-strchrnul-ifunc.c: New file.
17619 * benchtests/bench-strchrnul.c: New file.
17620 * benchtests/bench-strcmp-ifunc.c: New file.
17621 * benchtests/bench-strcmp.c: New file.
17622 * benchtests/bench-strcpy-ifunc.c: New file.
17623 * benchtests/bench-strcpy.c: New file.
17624 * benchtests/bench-strcspn-ifunc.c: New file.
17625 * benchtests/bench-strcspn.c: New file.
17626 * benchtests/bench-strlen-ifunc.c: New file.
17627 * benchtests/bench-strlen.c: New file.
17628 * benchtests/bench-strncasecmp-ifunc.c: New file.
17629 * benchtests/bench-strncasecmp.c: New file.
17630 * benchtests/bench-strncat-ifunc.c: New file.
17631 * benchtests/bench-strncat.c: New file.
17632 * benchtests/bench-strncmp-ifunc.c: New file.
17633 * benchtests/bench-strncmp.c: New file.
17634 * benchtests/bench-strncpy-ifunc.c: New file.
17635 * benchtests/bench-strncpy.c: New file.
17636 * benchtests/bench-strnlen-ifunc.c: New file.
17637 * benchtests/bench-strnlen.c: New file.
17638 * benchtests/bench-strpbrk-ifunc.c: New file.
17639 * benchtests/bench-strpbrk.c: New file.
17640 * benchtests/bench-strrchr-ifunc.c: New file.
17641 * benchtests/bench-strrchr.c: New file.
17642 * benchtests/bench-strspn-ifunc.c: New file.
17643 * benchtests/bench-strspn.c: New file.
17644 * benchtests/bench-strstr-ifunc.c: New file.
17645 * benchtests/bench-strstr.c: New file.
17646
c1f75dc3
SP
17647 * benchtests/Makefile: Disable parallel execution of targets.
17648 (string-bench): Add memcpy.
17649 (benchset): New variable to store a list of benchmark sets.
17650 (bench-func): Renamed from bench.
17651 (bench-set): New target.
17652 (bench): Depend on bench-func and bench-set.
17653 * benchtests/README: Add section on benchmark sets.
17654 * benchtests/bench-memcpy-ifunc.c: New file.
17655 * benchtests/bench-memcpy.c: New file.
17656 * benchtests/bench-string.h: New file.
17657
50fd745b
AS
176582013-06-11 Andreas Schwab <schwab@suse.de>
17659
17660 [BZ #15577]
17661 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17662 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17663 values in the triple.
17664 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17665 terminator in the group key.
17666
3ee7e9fe
AJ
176672013-06-11 Andreas Jaeger <aj@suse.de>
17668
17669 * po/zh_TW.po: Update Chinese (traditional) translation from
17670 translation project.
17671
89fb6835
SP
176722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17673
17674 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17675 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17676 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17677 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17678 (clock_getcpuclockid): Likewise.
17679 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17680 Add weak_alias and libc_hidden_def.
17681 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17682 * rt/clock_gettime.c (clock_gettime): Rename to
17683 __clock_gettime. Add weak_alias and libc_hidden_def.
17684 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17685 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17686 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17687 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17688 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17689 Likewise.
17690 * rt/clock_settime.c (clock_settime): Rename to
17691 __clock_settime. Add weak_alias and libc_hidden_def.
17692 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17693
0efa6f8b
JM
176942013-06-10 Joseph Myers <joseph@codesourcery.com>
17695
b8c61b4b
JM
17696 * mach/err_boot.sub: Remove trailing whitespace.
17697 * mach/err_ipc.sub: Likewise.
17698 * mach/err_mach.sub: Likewise.
17699
0efa6f8b
JM
17700 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17701 (ROUNDING_TESTS_double): Likewise.
17702 (ROUNDING_TESTS_long_double): Likewise.
17703 (ROUNDING_TESTS): Likewise.
17704 * math/libm-test.inc: Include <math-tests.h>.
17705 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17706 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17707 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17708 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17709
50b818bf
SP
177102013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17711
17712 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17713 of assigning.
17714
60d2f8f3
JM
177152013-06-08 Joseph Myers <joseph@codesourcery.com>
17716
4902d2c3
JM
17717 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17718 otherwise empty TRANS lines.
17719 * sysdeps/gnu/errlist.c: Regenerated.
17720
60d2f8f3
JM
17721 * catgets/gencat.c (error_print): Use (void) in function
17722 definition.
17723 * crypt/crypt_util.c (__init_des): Likewise.
17724 * crypt/speeds.c (Stop): Likewise.
17725 (main): Likewise.
17726 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17727 * inet/ruserpass.c (token): Likewise.
17728 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17729 * intl/localealias.c (extend_alias_table): Likewise.
17730 * intl/plural-exp.c (init_germanic_plural): Likewise.
17731 * libio/fcloseall.c (__fcloseall): Likewise.
17732 * libio/genops.c (_IO_flush_all): Likewise.
17733 (_IO_flush_all_linebuffered): Likewise.
17734 (_IO_cleanup): Likewise.
17735 (_IO_iter_begin): Likewise.
17736 (_IO_iter_end): Likewise.
17737 (_IO_list_lock): Likewise.
17738 (_IO_list_unlock): Likewise.
17739 (_IO_list_resetlock): Likewise.
17740 * libio/getchar.c (getchar): Likewise.
17741 * libio/getchar_u.c (getchar_unlocked): Likewise.
17742 * libio/getwchar.c (getwchar): Likewise.
17743 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17744 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17745 * login/getpt.c (__getpt): Likewise.
17746 * login/tst-utmp.c (main): Likewise.
17747 * malloc/hooks.c (__malloc_check_init): Likewise.
17748 * malloc/malloc.c (__malloc_stats): Likewise.
17749 * malloc/mtrace.c (tr_break): Likewise.
17750 (mtrace): Likewise.
17751 (muntrace): Likewise.
17752 * misc/fstab.c (endfsent): Likewise.
17753 * misc/getclktck.c (__getclktck): Likewise.
17754 * misc/getdtsz.c (__getdtablesize): Likewise.
17755 * misc/gethostid.c (gethostid): Likewise.
17756 * misc/getpagesize.c (__getpagesize): Likewise.
17757 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17758 (__get_nprocs): Likewise.
17759 (__get_phys_pages): Likewise.
17760 (__get_avphys_pages): Likewise.
17761 * misc/getttyent.c (getttyent): Likewise.
17762 (setttyent): Likewise.
17763 (endttyent): Likewise.
17764 * misc/getusershell.c (getusershell): Likewise.
17765 (endusershell): Likewise.
17766 (setusershell): Likewise.
17767 (initshells): Likewise.
17768 * misc/hsearch.c (__hdestroy): Likewise.
17769 * misc/sync.c (sync): Likewise.
17770 * misc/syslog.c (closelog_internal): Likewise.
17771 (closelog): Likewise.
17772 * misc/ttyslot.c (ttyslot): Likewise.
17773 * misc/vhangup.c (vhangup): Likewise.
17774 * posix/fork.c (__fork): Likewise.
17775 * posix/getegid.c (__getegid): Likewise.
17776 * posix/geteuid.c (__geteuid): Likewise.
17777 * posix/getgid.c (__getgid): Likewise.
17778 * posix/getpid.c (__getpid): Likewise.
17779 * posix/getppid.c (__getppid): Likewise.
17780 * posix/getuid.c (__getuid): Likewise.
17781 * posix/pause.c (pause): Likewise.
17782 * posix/setpgrp.c (setpgrp): Likewise.
17783 * posix/setsid.c (__setsid): Likewise.
17784 * posix/test-vfork.c (noop): Likewise.
17785 * resolv/gethnamaddr.c (_endhtent): Likewise.
17786 (_gethtent): Likewise.
17787 (ht_endhostent): Likewise.
17788 (gethostent): Likewise.
17789 (dns_service): Likewise.
17790 * stdlib/drand48.c (drand48): Likewise.
17791 * stdlib/lrand48.c (lrand48): Likewise.
17792 * stdlib/mrand48.c (mrand48): Likewise.
17793 * stdlib/rand.c (rand): Likewise.
17794 * stdlib/random.c (__random): Likewise.
17795 * stdlib/setenv.c (clearenv): Likewise.
17796 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17797 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17798 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17799 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17800 (__get_nprocs): Likewise.
17801 (__get_phys_pages): Likewise.
17802 (__get_avphys_pages): Likewise.
17803 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17804 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17805 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17806 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17807 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17808 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17809 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17810 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17811 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17812 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17813 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17814 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17815 * sysdeps/posix/clock.c (clock): Likewise.
17816 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17817 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17818 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17819 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17820 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17822 (__get_nprocs_conf): Likewise.
17823 (__get_phys_pages): Likewise.
17824 (__get_avphys_pages): Likewise.
17825 * time/clock.c (clock): Likewise.
17826 * time/tzset.c (__tzname_max): Likewise.
17827
2e09a79a
JM
178282013-06-07 Joseph Myers <joseph@codesourcery.com>
17829
17830 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17831 (__bswap_32): Do not use "register".
17832 * crypt/crypt.c (_ufc_doit_r): Likewise.
17833 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17834 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17835 * gmon/gmon.c (__monstartup): Likewise.
17836 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17837 * hurd/hurdmalloc.c (more_memory): Likewise.
17838 (malloc): Likewise.
17839 (free): Likewise.
17840 (realloc): Likewise.
17841 (malloc_fork_prepare): Likewise.
17842 (malloc_fork_parent): Likewise.
17843 (malloc_fork_child): Likewise.
17844 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17845 (_svcauth_des): Likewise.
17846 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17847 * inet/inet_net.c (inet_network): Likewise.
17848 * inet/inet_netof.c (inet_netof): Likewise.
17849 * inet/rcmd.c (__validuser2_sa): Likewise.
17850 * io/fts.c (fts_open): Likewise.
17851 (fts_load): Likewise.
17852 (fts_close): Likewise.
17853 (fts_read): Likewise.
17854 (fts_children): Likewise.
17855 (fts_build): Likewise.
17856 (fts_stat): Likewise.
17857 (fts_sort): Likewise.
17858 (fts_alloc): Likewise.
17859 (fts_lfree): Likewise.
17860 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17861 (_IO_file_xsgetn): Likewise.
17862 (_IO_file_xsgetn_mmap): Likewise.
17863 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17864 (_IO_cookie_write): Likewise.
17865 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17866 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17867 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17868 * malloc/obstack.c (_obstack_begin): Likewise.
17869 (_obstack_begin_1): Likewise.
17870 (_obstack_newchunk): Likewise.
17871 (_obstack_allocated_p): Likewise.
17872 (obstack_free): Likewise.
17873 (_obstack_memory_used): Likewise.
17874 * misc/getttyent.c (getttynam): Likewise.
17875 (getttyent): Likewise.
17876 (skip): Likewise.
17877 (value): Likewise.
17878 * misc/getusershell.c (initshells): Likewise.
17879 * misc/syslog.c (__vsyslog_chk): Likewise.
17880 * misc/ttyslot.c (ttyslot): Likewise.
17881 * nis/nis_hash.c (__nis_hash): Likewise.
17882 * posix/fnmatch_loop.c (FCT): Likewise.
17883 * posix/getconf.c (print_all): Likewise.
17884 (main): Likewise.
17885 * posix/getopt.c (exchange): Likewise.
17886 * posix/glob.c (globfree): Likewise.
17887 (prefix_array): Likewise.
17888 (__glob_pattern_type): Likewise.
17889 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17890 (NS_GET32): Likewise.
17891 (NS_PUT16): Likewise.
17892 (NS_PUT32): Likewise.
17893 * resolv/gethnamaddr.c (getanswer): Likewise.
17894 (gethostbyname2): Likewise.
17895 (gethostbyaddr): Likewise.
17896 (_gethtent): Likewise.
17897 (_gethtbyname2): Likewise.
17898 (_gethtbyaddr): Likewise.
17899 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17900 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17901 * resolv/res_init.c (__res_vinit): Likewise.
17902 (net_mask): Likewise.
17903 * resolv/res_mkquery.c (outchar): Likewise.
17904 (PRINT): Likewise.
17905 * stdio-common/printf_fp.c (outchar): Likewise.
17906 (PRINT): Likewise.
17907 * stdio-common/printf_fphex.c (outchar): Likewise.
17908 (PRINT): Likewise.
17909 * stdio-common/printf_size.c (outchar): Likewise.
17910 (PRINT): Likewise.
17911 * stdio-common/test_rdwr.c (main): Likewise.
17912 * stdio-common/tfformat.c (matches): Likewise.
17913 * stdio-common/vfprintf.c (outchar): Likewise.
17914 (printf_unknown): Likewise.
17915 (buffered_vfprintf): Likewise.
17916 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17917 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17918 (ReadFile): Likewise.
17919 * stdlib/qsort.c (SWAP): Likewise.
17920 (_quicksort): Likewise.
17921 * stdlib/setenv.c (__add_to_environ): Likewise.
17922 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17923 * stdlib/strtol_l.c (__strtol_l): Likewise.
17924 * stdlib/tst-strtod.c (main): Likewise.
17925 * stdlib/tst-strtol.c (main): Likewise.
17926 * stdlib/tst-strtoll.c (main): Likewise.
17927 * string/bits/string2.h (__strcmp_cc): Likewise.
17928 (__strcmp_cg): Likewise.
17929 (__strcspn_c1): Likewise.
17930 (__strcspn_c2): Likewise.
17931 (__strcspn_c3): Likewise.
17932 (__strspn_c1): Likewise.
17933 (__strspn_c2): Likewise.
17934 (__strspn_c3): Likewise.
17935 (__strsep_1c): Likewise.
17936 (__strsep_2c): Likewise.
17937 (__strsep_3c): Likewise.
17938 * string/memccpy.c (__memccpy): Likewise.
17939 * string/stpcpy.c (__stpcpy): Likewise.
17940 * string/strcmp.c (strcmp): Likewise.
17941 * string/strrchr.c (strrchr): Likewise.
17942 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17943 Likewise.
17944 * sysdeps/mach/hurd/getcwd.c
17945 (_hurd_canonicalize_directory_name_internal): Likewise.
17946 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17947 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17948 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17949 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17950 Likewise, in both definitions.
17951 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17952 definitions.
17953 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17954 64] (__bswap_64): Likewise.
17955 * time/test_time.c (main): Likewise.
17956 * time/tzfile.c (__tzfile_read): Likewise.
17957 (__tzfile_compute): Likewise.
17958 * time/tzset.c (__tzset_parse_tz): Likewise.
17959 (tzset_internal): Likewise.
17960 (compute_change): Likewise.
17961 * wcsmbs/wcscat.c (__wcscat): Likewise.
17962 * wcsmbs/wcschr.c (wcschr): Likewise.
17963 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17964 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17965 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17966 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17967 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17968 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17969 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17970 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17971 * wcsmbs/wmemset.c (wmemset): Likewise.
17972
9e54314b
JM
179732013-06-06 Joseph Myers <joseph@codesourcery.com>
17974
17975 * scripts/config.guess: Update to version 2013-05-16.
17976 * scripts/config.sub: Update to version 2013-04-24.
17977 * scripts/install-sh: Update to version 2011-11-20.07.
17978 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17979 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17980
350635a5
OB
179812013-06-06 Ondřej Bílka <neleai@seznam.cz>
17982
17983 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17984 * elf/sln.c: Likewise.
17985 * hurd/hurd/ioctl.h: Likewise.
17986 * hurd/hurdmalloc.c: Likewise.
17987 * hurd/xattr.c: Likewise.
17988 * include/shlib-compat.h: Likewise.
17989 * inet/ruserpass.c: Likewise.
17990 * libio/iofgets_u.c: Likewise.
17991 * libio/iofgetws_u.c: Likewise.
17992 * locale/programs/ld-identification.c: Likewise.
17993 * locale/programs/ld-time.c: Likewise.
17994 * mach/msg-destroy.c: Likewise.
17995 * nss/nss_files/files-netgrp.c: Likewise.
17996 * resolv/res_data.c: Likewise.
17997 * soft-fp/op-1.h: Likewise.
17998 * soft-fp/op-2.h: Likewise.
17999 * soft-fp/op-4.h: Likewise.
18000 * soft-fp/op-common.h: Likewise.
18001 * stdio-common/printf_fphex.c: Likewise.
18002 * stdlib/strtod_l.c: Likewise.
18003 * sunrpc/rpc/clnt.h: Likewise.
18004 * sysdeps/generic/framestate.c: Likewise.
18005 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18006 * sysdeps/i386/bsd-setjmp.S: Likewise.
18007 * sysdeps/i386/__longjmp.S: Likewise.
18008 * sysdeps/i386/setjmp.S: Likewise.
18009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18010 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18011 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18019 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18027 * sysdeps/ieee754/support.c: Likewise.
18028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18029 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18030 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18031 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18032 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18033 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18034 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18035 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18036 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18037 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18038 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18039 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18040 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18041 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18042 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18043 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18044 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18046
44a988af
OB
180472013-06-05 Ondřej Bílka <neleai@seznam.cz>
18048
25506f09 18049 * posix/transbug.c: Remove executable mode.
44a988af 18050
9c84384c
JM
180512013-06-05 Joseph Myers <joseph@codesourcery.com>
18052
18053 * crypt/speeds.c: Remove trailing whitespace.
18054 * dlfcn/default.c: Likewise.
18055 * elf/ifuncdep2.c: Likewise.
18056 * elf/ifuncmain1.c: Likewise.
18057 * elf/ifuncmain1vis.c: Likewise.
18058 * elf/testobj.h: Likewise.
18059 * elf/tst-stackguard1.c: Likewise.
18060 * gmon/sys/gmon.h: Likewise.
18061 * hurd/hurdmsg.c: Likewise.
18062 * hurd/new-fd.c: Likewise.
18063 * hurd/ports-get.c: Likewise.
18064 * iconvdata/ibm1008_420.c: Likewise.
18065 * inet/tst-getni1.c: Likewise.
18066 * inet/tst-getni2.c: Likewise.
18067 * libio/ioungetc.c: Likewise.
18068 * libio/wfiledoalloc.c: Likewise.
18069 * manual/libm-err-tab.pl: Likewise.
18070 * math/w_dremf.c: Likewise.
18071 * misc/ftruncate.c: Likewise.
18072 * posix/bug-glob2.c: Likewise.
18073 * posix/tst-pcre.c: Likewise.
18074 * posix/wait4.c: Likewise.
18075 * resolv/README: Likewise.
18076 * resolv/res_debug.h: Likewise.
18077 * resolv/tst-inet_ntop.c: Likewise.
18078 * setjmp/bug269-setjmp.c: Likewise.
18079 * soft-fp/extended.h: Likewise.
18080 * soft-fp/op-1.h: Likewise.
18081 * soft-fp/op-2.h: Likewise.
18082 * soft-fp/op-4.h: Likewise.
18083 * soft-fp/op-8.h: Likewise.
18084 * soft-fp/testit.c: Likewise.
18085 * stdio-common/bug16.c: Likewise.
18086 * stdlib/random.c: Likewise.
18087 * sunrpc/rpcsvc/rquota.x: Likewise.
18088 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18089 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18091 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18095 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18096 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18097 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18115 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18117 * sysdeps/ieee754/s_lib_version.c: Likewise.
18118 * sysdeps/mach/hurd/check_fds.c: Likewise.
18119 * sysdeps/mach/hurd/getsockname.c: Likewise.
18120 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18121 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18122 * sysdeps/powerpc/bits/link.h: Likewise.
18123 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18124 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18125 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18126 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18127 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18128 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18129 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18130 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18131 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18132 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18133 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18134 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18135 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18136 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18137 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18138 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18139 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18140 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18141 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18142 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18143 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18144 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18145 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18146 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18147 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18148 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18149 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18150 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18151 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18152 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18153 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18154 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18155 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18156 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18157 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18158 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18159 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18160 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18161 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18162 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18163 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18164 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18165 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18166 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18167 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18168 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18169 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18170 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18171 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18172 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18173 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18175 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18176 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18177 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18178 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18179 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18180 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18181 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18182 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18183 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18184 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18185 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18186 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18187 * sysdeps/powerpc/sysdep.h: Likewise.
18188 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18189 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18190 * sysdeps/sh/dl-trampoline.S: Likewise.
18191 * sysdeps/sh/memset.S: Likewise.
18192 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18193 * sysdeps/sh/strlen.S: Likewise.
18194 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18195 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18196 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18197 * sysdeps/sparc/sparc32/rem.S: Likewise.
18198 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18199 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18200 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18201 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18202 * sysdeps/sparc/sparc32/urem.S: Likewise.
18203 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18204 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18205 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18206 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18208 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18209 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18210 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18211 * sysdeps/unix/bsd/times.c: Likewise.
18212 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18213 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18217 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18218 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18219 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18220 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18221 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18222 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18223 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18224 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18225 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18226 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18227 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18228 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18229 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18230 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18231 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18232 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18233 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18234 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18235 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18236 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18237 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18238 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18239 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18240 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18241 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18242 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18243 * sysdeps/x86_64/strcspn.S: Likewise.
18244
869378a5
RA
182452013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18246
18247 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18248 generated file. Regenerate properly from gen-translit.pl.
18249 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18250 locale/C-translit.h.
18251
840e2943
AS
182522013-06-05 Andreas Schwab <schwab@suse.de>
18253
18254 [BZ #15100]
18255 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18256 week as 6 instead of -1.
18257 * time/tst-strptime.c (day_tests): Add test case.
18258
4c60cb0c
SP
182592013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18260
18261 * sysdeps/generic/math_private.h
18262 (libc_feholdexcept_setround_53bit): Replace with
18263 libc_feholdsetround_53bit.
18264 (libc_feupdateenv_53bit): Replace with
18265 libc_feresetround_53bit.
18266 (SET_RESTORE_ROUND_53BIT): Adjust.
18267
d180203e
SP
182682013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18269
96df079a
SP
18270 * string/test-strchrnul.c: Add copyright header.
18271
d180203e
SP
18272 * posix/tst-getaddrinfo4.c: Increase test timeout.
18273
8b0ccb2d
CD
182742013-06-03 Carlos O'Donell <carlos@redhat.com>
18275
18276 [BZ #15536]
18277 * math/libm-test.inc (MAX_EXP): Remove
18278 (MIN_EXP): Define.
18279 (ulp): Use MIN_EXP - MANT_DIG.
18280 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18281
3b3c4d40
CD
182822013-05-31 Carlos O'Donell <carlos@redhat.com>
18283
18284 * po/be.po: Revert last change.
18285 * po/zh_CN.po: Likewise.
18286 * po/header.pot: Likewise.
18287
fab7ce3f
JM
182882013-05-31 Joseph Myers <joseph@codesourcery.com>
18289
18290 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18291 link-libc-deps to empty as target-specific variable.
18292 * Makerules (link-libc-args): New variable.
18293 (libc-for-link): Likewise.
18294 (link-libc-deps): Likewise.
18295 (lib%.so): Depend on $(link-libc-deps). Link with
18296 $(link-libc-args).
18297 (build-module): Link with $(link-libc-args).
18298 (build-module-asneeded): Likewise.
18299 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18300 list of objects.
18301 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18302 target-specific variable.
18303 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18304 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18305 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18306 libc.
18307 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18308 libc and ld.so.
18309 ($(objpfx)libpcprofile.so): Likewise.
18310 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18311 libc_nonshared.a.
18312 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18313 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18314 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18315 $(link-libc-deps).
18316 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18317 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18318 * login/Makefile ($(objpfx)libutil.so): Likewise.
18319 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18320 * math/Makefile ($(objpfx)libm.so): Likewise.
18321 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18322 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18323 variable instead of depending directly on libc.
18324 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18325 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18326 $(link-libc-deps).
18327 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18328 libc.
18329 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18330 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18331 ($(objpfx)libanl.so): Likewise.
18332 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18333 ld.so.
18334 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18335 $(link-libc-deps).
18336 * sysdeps/i386/fpu/Makefile: Remove file.
18337 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18338 ($(objpfx)libm.so): Remove dependency on ld.so.
18339
eca5920c
PF
183402013-05-30 Patsy Franklin <pfrankli@redhat.com>
18341
18342 [BZ # 15553]
18343 * nis/yp_xdr.c (XDRMAXNAME): Define.
18344 (XDRMAXRECORD): Define.
18345 (xdr_domainname): Use XDRMAXNAME.
18346 (xdr_mapname): Likewise.
18347 (xdr_peername): Likewise.
18348 (xdr_keydat): Use XDRMAXRECORD.
18349 (xdr_valdat): Likewise.
18350
183512013-05-30 Jeff Law <law@redhat.com>
96945714
JL
18352
18353 [BZ #14256]
18354 * manual/errno.texi (ESTALE): Update to account for more than
18355 just NFS file systems.
18356 * sysdeps/gnu/errlist.c: Regenerated.
18357
b9375348
SP
183582013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18359
18360 [BZ #15465]
18361 * elf/Makefile (tests): Add tst-null-argv.
18362 (modules-names): Add tst-null-argv-lib.
18363 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18364 (tst-null-argv-ENV): Set environment for tst-null-argv.
18365 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18366 (RTLD_PROGNAME): New macro.
18367 * elf/tst-null-argv.c: New test case.
18368 * elf/tst-null-argv-lib.c: Library for test case.
18369 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18370 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18371 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18372 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18373 * elf/dl-init.c (call_init): Likewise.
18374 (_dl_init): Likewise.
18375 * elf/dl-load.c (print_search_path): Likewise.
18376 (_dl_map_object): Likewise.
18377 * elf/dl-lookup.c (do_lookup_x): Likewise.
18378 (add_dependency): Likewise.
18379 (_dl_lookup_symbol_x): Likewise.
18380 (_dl_debug_bindings): Likewise.
18381 * elf/dl-open.c (_dl_show_scope): Likewise.
18382 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18383 * elf/dl-version.c (match_symbol): Likewise.
18384 (_dl_check_map_versions): Likewise.
18385 * elf/rtld.c (dl_main): Likewise.
18386 (print_unresolved): Use RTLD_PROGNAME.
18387 (print_missing_version): Likewise.
18388 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18389 (elf_machine_rela): Likewise.
18390 * sysdeps/powerpc/powerpc32/dl-machine.c
18391 (__process_machine_rela): Likewise.
18392 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18393 Likewise.
18394 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18395 Likewise.
18396 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18397 Likewise.
18398 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18400 Likewise.
18401 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18402 Likewise.
18403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18404
8a9f20c8
CD
184052013-05-28 Carlos O'Donell <carlos@redhat.com>
18406
18407 * po/be.po: Add descriptive title.
18408 * po/zh_CN.po: Likewise.
18409 * po/header.pot: Likewise.
18410
0e60d68e
MF
184112013-05-28 Mike Frysinger <vapier@gentoo.org>
18412
18413 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18414 error message.
18415 (enlarge_archive): Likewise.
18416
56b672e9
BN
184172013-05-28 Ben North <ben@redfrontdoor.org>
18418
18419 * manual/arith.texi (frexp): It is the magnitude of the return
18420 value which lies in [0.5, 1), not the return value itself.
18421
5e056687
AZ
184222013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18423
18424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18425
2b66ef5d
TS
184262013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18427
528c2405
TS
18428 * stdio-common/bug26.c (main): Correct fscanf template.
18429
07b4c13d
TS
18430 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18431 declare _dl_skip_args.
18432
ec9dd97c
TS
18433 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18434 Don't declare.
18435
2b66ef5d
TS
18436 * manual/platform.texi: Add missing @end deftypefun.
18437
4f8dfe27
JM
184382013-05-24 Joseph Myers <joseph@codesourcery.com>
18439
0323d086
JM
18440 [BZ #15529]
18441 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18442 bit of mantissa of 2^16382.
18443 * math/libm-test.inc (hypot_test_data): Add more tests.
18444
dd4259b9
JM
18445 * math/libm-test.inc: Add drem and pow10 to list of tested
18446 functions.
18447 (pow10_test): New function.
18448 (drem_test): Likewise.
18449 (drem_test_tonearest): Likewise.
18450 (drem_test_towardzero): Likewise.
18451 (drem_test_downward): Likewise.
18452 (drem_test_upward): Likewise.
18453 (main): Call the new functions.
18454
4f8dfe27
JM
18455 * math/libm-test.inc (finite_test_data): Remove.
18456 (finite_test): Run tests from isfinite_test_data.
18457 (gamma_test_data): Remove.
18458 (gamma_test): Run tests from lgamma_test_data.
18459 * sysdeps/i386/fpu/libm-test-ulps: Update.
18460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18461
d116b7c4
AZ
184622013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18463
18464 * manual/platform.texi: Add PowerPC PPR function set documentation.
18465 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18466 implementation.
18467
e96e3767
CD
184682013-05-24 Carlos O'Donell <carlos@redhat.com>
18469
18470 * math/libm-test.inc (MAX_EXP): Define.
18471 (ULPDIFF): Define.
18472 (ulp): New function.
18473 (check_float_internal): Use ULPDIFF.
18474 (cpow_test): Disable failing test.
18475 (check_ulp): Test ulp() implemetnation.
18476 (main): Call check_ulp before starting tests.
18477
b679a606
JM
184782013-05-24 Joseph Myers <joseph@codesourcery.com>
18479
e8bdba36
JM
18480 * math/gen-libm-test.pl (generate_testfile): Do not handle
18481 START_DATA and END_DATA.
18482 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18483 END_DATA.
18484 (acos_tonearest_test_data): Likewise.
18485 (acos_towardzero_test_data): Likewise.
18486 (acos_downward_test_data): Likewise.
18487 (acos_upward_test_data): Likewise.
18488 (acosh_test_data): Likewise.
18489 (asin_test_data): Likewise.
18490 (asin_tonearest_test_data): Likewise.
18491 (asin_towardzero_test_data): Likewise.
18492 (asin_downward_test_data): Likewise.
18493 (asin_upward_test_data): Likewise.
18494 (asinh_test_data): Likewise.
18495 (atan_test_data): Likewise.
18496 (atanh_test_data): Likewise.
18497 (atan2_test_data): Likewise.
18498 (cabs_test_data): Likewise.
18499 (cacos_test_data): Likewise.
18500 (cacosh_test_data): Likewise.
18501 (carg_test_data): Likewise.
18502 (casin_test_data): Likewise.
18503 (casinh_test_data): Likewise.
18504 (catan_test_data): Likewise.
18505 (catanh_test_data): Likewise.
18506 (cbrt_test_data): Likewise.
18507 (ccos_test_data): Likewise.
18508 (ccosh_test_data): Likewise.
18509 (ceil_test_data): Likewise.
18510 (cexp_test_data): Likewise.
18511 (cimag_test_data): Likewise.
18512 (clog_test_data): Likewise.
18513 (clog10_test_data): Likewise.
18514 (conj_test_data): Likewise.
18515 (copysign_test_data): Likewise.
18516 (cos_test_data): Likewise.
18517 (cos_tonearest_test_data): Likewise.
18518 (cos_towardzero_test_data): Likewise.
18519 (cos_downward_test_data): Likewise.
18520 (cos_upward_test_data): Likewise.
18521 (cosh_test_data): Likewise.
18522 (cosh_tonearest_test_data): Likewise.
18523 (cosh_towardzero_test_data): Likewise.
18524 (cosh_downward_test_data): Likewise.
18525 (cosh_upward_test_data): Likewise.
18526 (cpow_test_data): Likewise.
18527 (cproj_test_data): Likewise.
18528 (creal_test_data): Likewise.
18529 (csin_test_data): Likewise.
18530 (csinh_test_data): Likewise.
18531 (csqrt_test_data): Likewise.
18532 (ctan_test_data): Likewise.
18533 (ctan_tonearest_test_data): Likewise.
18534 (ctan_towardzero_test_data): Likewise.
18535 (ctan_downward_test_data): Likewise.
18536 (ctan_upward_test_data): Likewise.
18537 (ctanh_test_data): Likewise.
18538 (ctanh_tonearest_test_data): Likewise.
18539 (ctanh_towardzero_test_data): Likewise.
18540 (ctanh_downward_test_data): Likewise.
18541 (ctanh_upward_test_data): Likewise.
18542 (erf_test_data): Likewise.
18543 (erfc_test_data): Likewise.
18544 (exp_test_data): Likewise.
18545 (exp_tonearest_test_data): Likewise.
18546 (exp_towardzero_test_data): Likewise.
18547 (exp_downward_test_data): Likewise.
18548 (exp_upward_test_data): Likewise.
18549 (exp10_test_data): Likewise.
18550 (exp2_test_data): Likewise.
18551 (expm1_test_data): Likewise.
18552 (fabs_test_data): Likewise.
18553 (fdim_test_data): Likewise.
18554 (finite_test_data): Likewise.
18555 (floor_test_data): Likewise.
18556 (fma_test_data): Likewise.
18557 (fma_towardzero_test_data): Likewise.
18558 (fma_downward_test_data): Likewise.
18559 (fma_upward_test_data): Likewise.
18560 (fmax_test_data): Likewise.
18561 (fmin_test_data): Likewise.
18562 (fmod_test_data): Likewise.
18563 (fpclassify_test_data): Likewise.
18564 (frexp_test_data): Likewise.
18565 (gamma_test_data): Likewise.
18566 (hypot_test_data): Likewise.
18567 (ilogb_test_data): Likewise.
18568 (isfinite_test_data): Likewise.
18569 (isgreater_test_data): Likewise.
18570 (isgreaterequal_test_data): Likewise.
18571 (isinf_test_data): Likewise.
18572 (isless_test_data): Likewise.
18573 (islessequal_test_data): Likewise.
18574 (islessgreater_test_data): Likewise.
18575 (isnan_test_data): Likewise.
18576 (isnormal_test_data): Likewise.
18577 (issignaling_test_data): Likewise.
18578 (isunordered_test_data): Likewise.
18579 (j0_test_data): Likewise.
18580 (j1_test_data): Likewise.
18581 (jn_test_data): Likewise.
18582 (ldexp_test_data): Likewise.
18583 (lgamma_test_data): Likewise.
18584 (lrint_test_data): Likewise.
18585 (lrint_tonearest_test_data): Likewise.
18586 (lrint_towardzero_test_data): Likewise.
18587 (lrint_downward_test_data): Likewise.
18588 (lrint_upward_test_data): Likewise.
18589 (llrint_test_data): Likewise.
18590 (llrint_tonearest_test_data): Likewise.
18591 (llrint_towardzero_test_data): Likewise.
18592 (llrint_downward_test_data): Likewise.
18593 (llrint_upward_test_data): Likewise.
18594 (log_test_data): Likewise.
18595 (log10_test_data): Likewise.
18596 (log1p_test_data): Likewise.
18597 (log2_test_data): Likewise.
18598 (logb_test_data): Likewise.
18599 (logb_downward_test_data): Likewise.
18600 (lround_test_data): Likewise.
18601 (llround_test_data): Likewise.
18602 (modf_test_data): Likewise.
18603 (nearbyint_test_data): Likewise.
18604 (nextafter_test_data): Likewise.
18605 (nexttoward_test_data): Likewise.
18606 (pow_test_data): Likewise.
18607 (pow_tonearest_test_data): Likewise.
18608 (pow_towardzero_test_data): Likewise.
18609 (pow_downward_test_data): Likewise.
18610 (pow_upward_test_data): Likewise.
18611 (remainder_test_data): Likewise.
18612 (remainder_tonearest_test_data): Likewise.
18613 (remainder_towardzero_test_data): Likewise.
18614 (remainder_downward_test_data): Likewise.
18615 (remainder_upward_test_data): Likewise.
18616 (remquo_test_data): Likewise.
18617 (rint_test_data): Likewise.
18618 (rint_tonearest_test_data): Likewise.
18619 (rint_towardzero_test_data): Likewise.
18620 (rint_downward_test_data): Likewise.
18621 (rint_upward_test_data): Likewise.
18622 (round_test_data): Likewise.
18623 (scalb_test_data): Likewise.
18624 (scalbn_test_data): Likewise.
18625 (scalbln_test_data): Likewise.
18626 (signbit_test_data): Likewise.
18627 (sin_test_data): Likewise.
18628 (sin_tonearest_test_data): Likewise.
18629 (sin_towardzero_test_data): Likewise.
18630 (sin_downward_test_data): Likewise.
18631 (sin_upward_test_data): Likewise.
18632 (sincos_test_data): Likewise.
18633 (sinh_test_data): Likewise.
18634 (sinh_tonearest_test_data): Likewise.
18635 (sinh_towardzero_test_data): Likewise.
18636 (sinh_downward_test_data): Likewise.
18637 (sinh_upward_test_data): Likewise.
18638 (sqrt_test_data): Likewise.
18639 (tan_test_data): Likewise.
18640 (tan_tonearest_test_data): Likewise.
18641 (tan_towardzero_test_data): Likewise.
18642 (tan_downward_test_data): Likewise.
18643 (tan_upward_test_data): Likewise.
18644 (tanh_test_data): Likewise.
18645 (tgamma_test_data): Likewise.
18646 (trunc_test_data): Likewise.
18647 (y0_test_data): Likewise.
18648 (y1_test_data): Likewise.
18649 (yn_test_data): Likewise.
18650 (significand_test_data): Likewise.
18651
b679a606
JM
18652 * math/gen-libm-test.pl (@functions): Remove variable.
18653 (generate_testfile): Don't handle START and END lines.
18654 * math/libm-test.inc (START): New macro.
18655 (END): Likewise.
18656 (END_COMPLEX): Likewise.
18657 (acos_test): Use END macro without arguments.
18658 (acos_test_tonearest): Likewise.
18659 (acos_test_towardzero): Likewise.
18660 (acos_test_downward): Likewise.
18661 (acos_test_upward): Likewise.
18662 (acosh_test): Likewise.
18663 (asin_test): Likewise.
18664 (asin_test_tonearest): Likewise.
18665 (asin_test_towardzero): Likewise.
18666 (asin_test_downward): Likewise.
18667 (asin_test_upward): Likewise.
18668 (asinh_test): Likewise.
18669 (atan_test): Likewise.
18670 (atanh_test): Likewise.
18671 (atan2_test): Likewise.
18672 (cabs_test): Likewise.
18673 (cacos_test): Use END_COMPLEX macro without arguments.
18674 (cacosh_test): Likewise.
18675 (carg_test): Use END macro without arguments.
18676 (casin_test): Use END_COMPLEX macro without arguments.
18677 (casinh_test): Likewise.
18678 (catan_test): Likewise.
18679 (catanh_test): Likewise.
18680 (cbrt_test): Use END macro without arguments.
18681 (ccos_test): Use END_COMPLEX macro without arguments.
18682 (ccosh_test): Likewise.
18683 (ceil_test): Use END macro without arguments.
18684 (cexp_test): Use END_COMPLEX macro without arguments.
18685 (cimag_test): Use END macro without arguments.
18686 (clog_test): Use END_COMPLEX macro without arguments.
18687 (clog10_test): Likewise.
18688 (conj_test): Likewise.
18689 (copysign_test): Use END macro without arguments.
18690 (cos_test): Likewise.
18691 (cos_test_tonearest): Likewise.
18692 (cos_test_towardzero): Likewise.
18693 (cos_test_downward): Likewise.
18694 (cos_test_upward): Likewise.
18695 (cosh_test): Likewise.
18696 (cosh_test_tonearest): Likewise.
18697 (cosh_test_towardzero): Likewise.
18698 (cosh_test_downward): Likewise.
18699 (cosh_test_upward): Likewise.
18700 (cpow_test): Use END_COMPLEX macro without arguments.
18701 (cproj_test): Likewise.
18702 (creal_test): Use END macro without arguments.
18703 (csin_test): Use END_COMPLEX macro without arguments.
18704 (csinh_test): Likewise.
18705 (csqrt_test): Likewise.
18706 (ctan_test): Likewise.
18707 (ctan_test_tonearest): Likewise.
18708 (ctan_test_towardzero): Likewise.
18709 (ctan_test_downward): Likewise.
18710 (ctan_test_upward): Likewise.
18711 (ctanh_test): Likewise.
18712 (ctanh_test_tonearest): Likewise.
18713 (ctanh_test_towardzero): Likewise.
18714 (ctanh_test_downward): Likewise.
18715 (ctanh_test_upward): Likewise.
18716 (erf_test): Use END macro without arguments.
18717 (erfc_test): Likewise.
18718 (exp_test): Likewise.
18719 (exp_test_tonearest): Likewise.
18720 (exp_test_towardzero): Likewise.
18721 (exp_test_downward): Likewise.
18722 (exp_test_upward): Likewise.
18723 (exp10_test): Likewise.
18724 (exp2_test): Likewise.
18725 (expm1_test): Likewise.
18726 (fabs_test): Likewise.
18727 (fdim_test): Likewise.
18728 (finite_test): Likewise.
18729 (floor_test): Likewise.
18730 (fma_test): Likewise.
18731 (fma_test_towardzero): Likewise.
18732 (fma_test_downward): Likewise.
18733 (fma_test_upward): Likewise.
18734 (fmax_test): Likewise.
18735 (fmin_test): Likewise.
18736 (fmod_test): Likewise.
18737 (fpclassify_test): Likewise.
18738 (frexp_test): Likewise.
18739 (gamma_test): Likewise.
18740 (hypot_test): Likewise.
18741 (ilogb_test): Likewise.
18742 (isfinite_test): Likewise.
18743 (isgreater_test): Likewise.
18744 (isgreaterequal_test): Likewise.
18745 (isinf_test): Likewise.
18746 (isless_test): Likewise.
18747 (islessequal_test): Likewise.
18748 (islessgreater_test): Likewise.
18749 (isnan_test): Likewise.
18750 (isnormal_test): Likewise.
18751 (issignaling_test): Likewise.
18752 (isunordered_test): Likewise.
18753 (j0_test): Likewise.
18754 (j1_test): Likewise.
18755 (jn_test): Likewise.
18756 (ldexp_test): Likewise.
18757 (lgamma_test): Likewise.
18758 (lrint_test): Likewise.
18759 (lrint_test_tonearest): Likewise.
18760 (lrint_test_towardzero): Likewise.
18761 (lrint_test_downward): Likewise.
18762 (lrint_test_upward): Likewise.
18763 (llrint_test): Likewise.
18764 (llrint_test_tonearest): Likewise.
18765 (llrint_test_towardzero): Likewise.
18766 (llrint_test_downward): Likewise.
18767 (llrint_test_upward): Likewise.
18768 (log_test): Likewise.
18769 (log10_test): Likewise.
18770 (log1p_test): Likewise.
18771 (log2_test): Likewise.
18772 (logb_test): Likewise.
18773 (logb_test_downward): Likewise.
18774 (lround_test): Likewise.
18775 (llround_test): Likewise.
18776 (modf_test): Likewise.
18777 (nearbyint_test): Likewise.
18778 (nextafter_test): Likewise.
18779 (nexttoward_test): Likewise.
18780 (pow_test): Likewise.
18781 (pow_test_tonearest): Likewise.
18782 (pow_test_towardzero): Likewise.
18783 (pow_test_downward): Likewise.
18784 (pow_test_upward): Likewise.
18785 (remainder_test): Likewise.
18786 (remainder_test_tonearest): Likewise.
18787 (remainder_test_towardzero): Likewise.
18788 (remainder_test_downward): Likewise.
18789 (remainder_test_upward): Likewise.
18790 (remquo_test): Likewise.
18791 (rint_test): Likewise.
18792 (rint_test_tonearest): Likewise.
18793 (rint_test_towardzero): Likewise.
18794 (rint_test_downward): Likewise.
18795 (rint_test_upward): Likewise.
18796 (round_test): Likewise.
18797 (scalb_test): Likewise.
18798 (scalbn_test): Likewise.
18799 (scalbln_test): Likewise.
18800 (signbit_test): Likewise.
18801 (sin_test): Likewise.
18802 (sin_test_tonearest): Likewise.
18803 (sin_test_towardzero): Likewise.
18804 (sin_test_downward): Likewise.
18805 (sin_test_upward): Likewise.
18806 (sincos_test): Likewise.
18807 (sinh_test): Likewise.
18808 (sinh_test_tonearest): Likewise.
18809 (sinh_test_towardzero): Likewise.
18810 (sinh_test_downward): Likewise.
18811 (sinh_test_upward): Likewise.
18812 (sqrt_test): Likewise.
18813 (tan_test): Likewise.
18814 (tan_test_tonearest): Likewise.
18815 (tan_test_towardzero): Likewise.
18816 (tan_test_downward): Likewise.
18817 (tan_test_upward): Likewise.
18818 (tanh_test): Likewise.
18819 (tgamma_test): Likewise.
18820 (trunc_test): Likewise.
18821 (y0_test): Likewise.
18822 (y1_test): Likewise.
18823 (yn_test): Likewise.
18824 (significand_test): Likewise.
18825
bae143d2
OB
188262013-05-24 Ondřej Bílka <neleai@seznam.cz>
18827
18828 [BZ #15381]
18829 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18830
9323d39b
EM
188312013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18832
d4ea44a0 18833 [BZ #14894]
9323d39b
EM
18834 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18835 __ppc_mdoio and __ppc_mdoom.
18836 * manual/platform.texi: Document new functions __ppc_yield,
18837 __ppc_mdoio and __ppc_mdoom.
18838
13e23af7
CD
188392013-05-22 Carlos O'Donell <carlos@redhat.com>
18840
18841 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18842 (main): Mention "tls" pseudo-hwcap is legacy.
18843 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18844
351fe550
JM
188452013-05-22 Joseph Myers <joseph@codesourcery.com>
18846
18847 * math/gen-libm-test.pl (parse_args): Output only string of
18848 arguments as text for test name, not full call or descriptions of
18849 tests for extra outputs.
18850 (generate_testfile): Do not pass function name to parse_args.
18851 Generate this_func variable from START.
18852 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18853 field to arg_str.
18854 (struct test_ff_f_data): Likewise.
18855 (test_ff_f_data_nexttoward): Likewise.
18856 (struct test_fi_f_data): Likewise.
18857 (struct test_fl_f_data): Likewise.
18858 (struct test_if_f_data): Likewise.
18859 (struct test_fff_f_data): Likewise.
18860 (struct test_c_f_data): Likewise.
18861 (struct test_f_f1_data): Likewise. Remove field extra_name.
18862 (struct test_fF_f1_data): Likewise.
18863 (struct test_ffI_f1_data): Likewise.
18864 (struct test_c_c_data): Rename test_name field to arg_str.
18865 (struct test_cc_c_data): Likewise.
18866 (struct test_f_i_data): Likewise.
18867 (struct test_ff_i_data): Likewise.
18868 (struct test_f_l_data): Likewise.
18869 (struct test_f_L_data): Likewise.
18870 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18871 and extra2_name.
18872 (COMMON_TEST_SETUP): New macro.
18873 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18874 (COMMON_TEST_CLEANUP): Likewise.
18875 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18876 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18877 macros.
18878 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18879 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18880 macros.
18881 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18882 (RUN_TEST_fff_f): Take argument string. Call new setup and
18883 cleanup macros.
18884 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18885 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18886 macros.
18887 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18888 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18889 macros.
18890 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18891 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18892 cleanup macros.
18893 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18894 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18895 cleanup macros.
18896 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18897 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18898 cleanup macros.
18899 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18900 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18901 macros.
18902 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18903 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18904 macros.
18905 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18906 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18907 macros.
18908 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18909 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18910 cleanup macros.
18911 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18912 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18913 cleanup macros.
18914 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18915 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18916 macros.
18917 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18918 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18919 cleanup macros.
18920 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18921 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18922 macros.
18923 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18924 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18925 macros.
18926 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18927 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18928 cleanup macros.
18929 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18930
85118d4d
EBM
189312013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18932
18933 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18934 to _sifields.sigfault.
18935 (si_addr_lsb): Define new macro.
18936 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18937 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18938 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18939
7a44c18f
CD
189402013-05-03 Carlos O'Donell <carlos at redhat.com>
18941
18942 [BZ #15441]
18943 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18944 returns -1.
18945 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18946 null return -1.
18947 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18948 loading the domain.
18949
b50a7181
JM
189502013-05-22 Joseph Myers <joseph@codesourcery.com>
18951
18952 * math/gen-libm-test.pl (parse_args): Do not include expected
18953 result in test name.
18954 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18955 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18956 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18957 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18958 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18960
051063c8
SP
189612013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18962
3ce9e010
SP
18963 * benchtests/Makefile: Sort function entries.
18964
051063c8
SP
18965 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18966 tanh, asinh, acosh, atanh.
18967 * benchtests/acos-inputs: New file.
18968 * benchtests/acosh-inputs: New file.
18969 * benchtests/asin-inputs: New file.
18970 * benchtests/asinh-inputs: New file.
18971 * benchtests/atanh-inputs: New file.
18972 * benchtests/cosh-inputs: New file.
18973 * benchtests/log-inputs: New file.
18974 * benchtests/sinh-inputs: New file.
18975 * benchtests/tanh-inputs: New file.
18976
47c22455
DL
189772013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18978
18979 [BZ #15339]
18980 * posix/tst-getaddrinfo4.c: New test.
18981 * posix/Makefile (tests): Add it.
18982
3d04f5db
SP
189832013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18984
18985 [BZ #15339]
18986 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18987 when no services were used.
18988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18989 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18990
d5dd6189
AS
189912013-05-21 Andreas Schwab <schwab@suse.de>
18992
18993 [BZ #15014]
18994 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18995 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18996 successful.
18997 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18998 redundant variable declarations and reallocation of buffer when
18999 parsing as IPv6 address. Always set NSS status when called from
19000 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19001 buffer too small. Correct computation of needed size.
19002 * nss/Makefile (tests): Add test-digits-dots.
19003 * nss/test-digits-dots.c: New test.
19004
fef94eab
SP
190052013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19006
19007 * benchtests/Makefile: Remove instructions for adding
19008 benchmark tests.
19009 * benchtests/README: New file to explain how to execute and
19010 enhance the benchmark tests.
19011
e39adf43
AS
190122013-05-21 Andreas Schwab <schwab@suse.de>
19013
19014 [BZ #15493]
19015 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19016 * setjmp/tst-sigsetjmp.c: New test.
19017
b2b671b6
OB
190182013-05-20 Ondřej Bílka <neleai@seznam.cz>
19019
19020 * sysdeps/x86_64/memset.S (memset): New implementation.
19021 (__bzero): Likewise.
19022 (__memset_tail): New function.
19023
2d48b41c
OB
190242013-05-20 Ondřej Bílka <neleai@seznam.cz>
19025
19026 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19027 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19028 __memcpy_sse2_unaligned ifunc selection.
19029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19030 Add memcpy-sse2-unaligned.S.
19031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19032 Add: __memcpy_sse2_unaligned.
19033
f16cc3eb
JM
190342013-05-19 Joseph Myers <joseph@codesourcery.com>
19035
3e694268
JM
19036 [BZ #15490]
19037 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19038 math_force_eval before restoring floating-point envrionment.
19039 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19040 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19041 Likewise.
19042 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19043 <math_private.h>.
19044 (__nearbyintl): Use math_force_eval before restoring
19045 floating-point environment.
19046 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19047
db62a907
JM
19048 * math/gen-libm-test.pl (special_functions): Remove.
19049 (parse_args): Don't handle TEST_extra. Handle functions with no
19050 return value.
19051 * math/libm-test.inc (struct test_sincos_data): Replace with
19052 struct test_fFF_11_data.
19053 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19054 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19055 (sincos_test_data): Change element type to struct
19056 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19057 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19058 RUN_TEST_LOOP_sincos.
19059 * math/README.libm-test: Don't mention special handling of
19060 individual functions.
19061 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19062 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19063 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19064 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19065 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19067
f16cc3eb
JM
19068 * math/gen-libm-test.pl (get_variable): Remove function.
19069 (parse_args): Don't show pointer parameters to call in test
19070 names. Use "extra output N" in test names for extra outputs
19071 rather than naming variables.
19072
3779b5b6
JM
190732013-05-18 Joseph Myers <joseph@codesourcery.com>
19074
2ee094ff
JM
19075 [BZ #15488]
19076 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19077 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19078 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19079 double tests.
19080 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19081 disable.
19082 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19083 check_long_double.
19084
3779b5b6
JM
19085 * math/gen-libm-test.pl (@tests): Remove variable.
19086 ($count): Likewise.
19087 (new_test): Remove function.
19088 (show_exceptions): New function.
19089 (special_functions): Use show_exceptions instead of new_test.
19090 (parse_args): Likewise.
19091 (generate_testfile): Pass only function name in generated call to
19092 print_max_error or print_complex_max_error.
19093 (get_ulps): Do not handle complex tests specially.
19094 (output_test): Rename to ...
19095 (get_all_ulps_for_test): ... this. Return a string rather than
19096 printing to a file. Require ulps to be present.
19097 (output_ulps): Generate arrays rather than #defines.
19098 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19099 (struct ulp_data): New type.
19100 (BUILD_COMPLEX_ULP): Remove macro.
19101 (compare_ulp_data): New function.
19102 (find_ulps): Likewise.
19103 (find_test_ulps): Likewise.
19104 (find_function_ulps): Likewise.
19105 (find_complex_function_ulps): Likewise.
19106 (print_max_error): Determine allowed ulps using
19107 find_function_ulps.
19108 (print_complex_max_error): Determine allowed ulps using
19109 find_complex_function_ulps.
19110 (check_float_internal): Determine max ulps using find_test_ulps.
19111 (check_float): Do not take max_ulp parameter. Update call to
19112 check_float_internal.
19113 (check_complex): Likewise.
19114 (check_int): Do not take max_ulp parameter.
19115 (check_long): Likewise.
19116 (check_bool): Likewise.
19117 (check_longlong): Likewise.
19118 (struct test_f_f_data): Remove max_ulp field.
19119 (struct test_ff_f_data): Likewise.
19120 (struct test_ff_f_data_nexttoward): Likewise.
19121 (struct test_fi_f_data): Likewise.
19122 (struct test_fl_f_data): Likewise.
19123 (struct test_if_f_data): Likewise.
19124 (struct test_fff_f_data): Likewise.
19125 (struct test_c_f_data): Likewise.
19126 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19127 (struct test_fF_f1_data): Likewise.
19128 (struct test_ffI_f1_data): Likewise.
19129 (struct test_c_c_data): Remove max_ulp field.
19130 (struct test_cc_c_data): Likewise.
19131 (struct test_f_i_data): Likewise.
19132 (struct test_ff_i_data): Likewise.
19133 (struct test_f_l_data): Likewise.
19134 (struct test_f_L_data): Likewise.
19135 (struct test_sincos_data): Likewise.
19136 (RUN_TEST_f_f): Do not handle ulps.
19137 (RUN_TEST_LOOP_f_f): Likewise.
19138 (RUN_TEST_2_f): Likewise.
19139 (RUN_TEST_LOOP_2_f): Likewise.
19140 (RUN_TEST_fff_f): Likewise.
19141 (RUN_TEST_LOOP_fff_f): Likewise.
19142 (RUN_TEST_c_f): Likewise.
19143 (RUN_TEST_LOOP_c_f): Likewise.
19144 (RUN_TEST_f_f1): Likewise.
19145 (RUN_TEST_LOOP_f_f1): Likewise.
19146 (RUN_TEST_fF_f1): Likewise.
19147 (RUN_TEST_LOOP_fF_f1): Likewise.
19148 (RUN_TEST_fI_f1): Likewise.
19149 (RUN_TEST_LOOP_fI_f1): Likewise.
19150 (RUN_TEST_ffI_f1): Likewise.
19151 (RUN_TEST_LOOP_ffI_f1): Likewise.
19152 (RUN_TEST_c_c): Likewise.
19153 (RUN_TEST_LOOP_c_c): Likewise.
19154 (RUN_TEST_cc_c): Likewise.
19155 (RUN_TEST_LOOP_cc_c): Likewise.
19156 (RUN_TEST_f_i): Likewise.
19157 (RUN_TEST_LOOP_f_i): Likewise.
19158 (RUN_TEST_f_i_tg): Likewise.
19159 (RUN_TEST_LOOP_f_i_tg): Likewise.
19160 (RUN_TEST_ff_i_tg): Likewise.
19161 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19162 (RUN_TEST_f_b): Likewise.
19163 (RUN_TEST_LOOP_f_b): Likewise.
19164 (RUN_TEST_f_b_tg): Likewise.
19165 (RUN_TEST_LOOP_f_b_tg): Likewise.
19166 (RUN_TEST_f_l): Likewise.
19167 (RUN_TEST_LOOP_f_l): Likewise.
19168 (RUN_TEST_f_L): Likewise.
19169 (RUN_TEST_LOOP_f_L): Likewise.
19170 (RUN_TEST_sincos): Likewise.
19171 (RUN_TEST_LOOP_sincos): Likewise.
19172
8269107f
JM
191732013-05-17 Joseph Myers <joseph@codesourcery.com>
19174
bb38759d
JM
19175 [BZ #15480]
19176 [BZ #15485]
19177 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19178 main case of finite arguments, set rounding mode to FE_TONEAREST
19179 and discard exceptions.
19180 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19181 exceptions.
19182 (remainder_tonearest_test_data): New variable.
19183 (remainder_test_tonearest): New function.
19184 (remainder_towardzero_test_data): New variable.
19185 (remainder_test_towardzero): New function.
19186 (remainder_downward_test_data): New variable.
19187 (remainder_test_downward): New function.
19188 (remainder_upward_test_data): New variable.
19189 (remainder_test_upward): New function.
19190 (main): Call the new test functions.
19191
a00bdcf0
JM
19192 * math/libm-test.inc (struct test_f_f1_data): Remove field
19193 extra_init.
19194 (struct test_fF_f1_data): Likewise.
19195 (struct test_ffI_f1_data): Likewise.
19196 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19197 based on value of EXTRA_EXPECTED.
19198 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19199 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19200 EXTRA_VAR based on value of EXTRA_EXPECTED.
19201 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19202 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19203 EXTRA_VAR based on value of EXTRA_EXPECTED.
19204 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19205 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19206 EXTRA_VAR based on value of EXTRA_EXPECTED.
19207 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19208 * math/gen-libm-test.pl (parse_args): Don't output initializers
19209 for extra output values.
19210
de407f79
JM
19211 * math/libm-test.inc (check_int): Expect result to be exactly
19212 equal to expected value and do not handle ulps.
19213 (check_long): Likewise.
19214 (check_longlong): Likewise.
19215
8269107f
JM
19216 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19217 exceptions.
19218 (cimag_test_data): Likewise.
19219 (conj_test_data): Likewise.
19220 (copysign_test_data): Likewise.
19221 (cproj_test_data): Likewise.
19222 (creal_test_data): Likewise.
19223 (fabs_test_data): Likewise.
19224 (fdim_test_data): Likewise.
19225 (finite_test_data): Likewise.
19226 (floor_test_data): Likewise.
19227 (fmax_test_data): Likewise.
19228 (fmin_test_data): Likewise.
19229 (fmod_test_data): Likewise.
19230 (fpclassify_test_data): Likewise.
19231 (frexp_test_data): Likewise.
19232 (ilogb_test_data): Likewise.
19233 (isfinite_test_data): Likewise.
19234 (isgreater_test_data): Likewise.
19235 (isgreaterequal_test_data): Likewise.
19236 (isinf_test_data): Likewise.
19237 (isless_test_data): Likewise.
19238 (islessequal_test_data): Likewise.
19239 (islessgreater_test_data): Likewise.
19240 (isnan_test_data): Likewise.
19241 (isnormal_test_data): Likewise.
19242 (issignaling_test_data): Likewise.
19243 (isunordered_test_data): Likewise.
19244 (ldexp_test_data): Likewise.
19245 (lrint_test_data): Likewise.
19246 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19247 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19248 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19249 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19250 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19251 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19252 test input.
19253 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19254 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19255 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19256 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19257 that test input.
19258 (lrint_downward_test_data): Test for "inexact" exceptions.
19259 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19260 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19261 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19262 test input.
19263 (lrint_upward_test_data): Test for "inexact" exceptions.
19264 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19265 test input.
19266 (llrint_test_data): Test for "inexact" exceptions.
19267 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19268 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19269 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19270 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19271 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19272 (llrint_downward_test_data): Test for "inexact" exceptions.
19273 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19274 (llrint_upward_test_data): Test for "inexact" exceptions.
19275 (logb_test_data): Likewise.
19276 (logb_downward_test_data): Likewise.
19277 (nextafter_test_data): Likewise.
19278 (nexttoward_test_data): Likewise.
19279 (remainder_test_data): Likewise.
19280 (remquo_test_data): Likewise.
19281 (scalbn_test_data): Likewise.
19282 (scalbln_test_data): Likewise.
19283 (signbit_test_data): Likewise.
19284 (sqrt_test_data): Likewise.
19285 (significand_test_data): Likewise.
19286
48a18de1
SP
192872013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19288
19289 [BZ #15424]
19290 * benchtests/bench-modf.c (struct args): Mark arg0 as
19291 volatile.
19292 * scripts/bench.pl: Mark members of struct args as volatile.
19293
13d3b41a
AZ
192942013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19295
68191c1d 19296 [BZ # 15497]
13d3b41a
AZ
19297 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19298 negative infinity on POWER6 or lower.
19299 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19300
2848b105
MR
193012013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19302
19303 [BZ #15442]
19304 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19305 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19306 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19307 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19308 (_FP_SETQNAN): New macro.
19309 (_FP_SETQNAN_SEMIRAW): Likewise.
19310 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19311 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19312 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19313 (FP_EXTEND): Use _FP_FRAC_SNANP.
19314 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19315 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19316 into account.
19317 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19318 New macro.
19319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19320 Likewise.
19321
323e5cb7
JM
193222013-05-16 Joseph Myers <joseph@codesourcery.com>
19323
c58b274f
JM
19324 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19325 with DIVIDE_BY_ZERO_EXCEPTION.
19326 (gamma_test_data): Likewise.
19327 (lgamma_test_data): Likewise.
19328 (log_test_data): Likewise.
19329 (log10_test_data): Likewise.
19330 (log2_test_data): Likewise.
19331 (tgamma_test_data): Likewise.
19332
0ab34904
JM
19333 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19334 (acos_test_tonearest): Likewise.
19335 (acos_test_towardzero): Likewise.
19336 (acos_test_downward): Likewise.
19337 (acos_test_upward): Likewise.
19338 (acosh_test): Likewise.
19339 (asin_test): Likewise.
19340 (asin_test_tonearest): Likewise.
19341 (asin_test_towardzero): Likewise.
19342 (asin_test_downward): Likewise.
19343 (asin_test_upward): Likewise.
19344 (asinh_test): Likewise.
19345 (atan_test): Likewise.
19346 (atanh_test): Likewise.
19347 (atan2_test): Likewise.
19348 (cabs_test): Likewise.
19349 (cacos_test): Likewise.
19350 (cacosh_test): Likewise.
19351 (casin_test): Likewise.
19352 (casinh_test): Likewise.
19353 (catan_test): Likewise.
19354 (catanh_test): Likewise.
19355 (cbrt_test): Likewise.
19356 (ccos_test): Likewise.
19357 (ccosh_test): Likewise.
19358 (cexp_test): Likewise.
19359 (clog_test): Likewise.
19360 (clog10_test): Likewise.
19361 (cos_test): Likewise.
19362 (cos_test_tonearest): Likewise.
19363 (cos_test_towardzero): Likewise.
19364 (cos_test_downward): Likewise.
19365 (cos_test_upward): Likewise.
19366 (cosh_test): Likewise.
19367 (cosh_test_tonearest): Likewise.
19368 (cosh_test_towardzero): Likewise.
19369 (cosh_test_downward): Likewise.
19370 (cosh_test_upward): Likewise.
19371 (cpow_test): Likewise.
19372 (csin_test): Likewise.
19373 (csinh_test): Likewise.
19374 (csqrt_test): Likewise.
19375 (ctan_test): Likewise.
19376 (ctan_test_tonearest): Likewise.
19377 (ctan_test_towardzero): Likewise.
19378 (ctan_test_downward): Likewise.
19379 (ctan_test_upward): Likewise.
19380 (ctanh_test): Likewise.
19381 (ctanh_test_tonearest): Likewise.
19382 (ctanh_test_towardzero): Likewise.
19383 (ctanh_test_downward): Likewise.
19384 (ctanh_test_upward): Likewise.
19385 (erf_test): Likewise.
19386 (erfc_test): Likewise.
19387 (exp_test): Likewise.
19388 (exp_test_tonearest): Likewise.
19389 (exp_test_towardzero): Likewise.
19390 (exp_test_downward): Likewise.
19391 (exp_test_upward): Likewise.
19392 (exp10_test): Likewise.
19393 (exp2_test): Likewise.
19394 (expm1_test): Likewise.
19395 (fmod_test): Likewise.
19396 (gamma_test): Likewise.
19397 (hypot_test): Likewise.
19398 (j0_test): Likewise.
19399 (j1_test): Likewise.
19400 (jn_test): Likewise.
19401 (lgamma_test): Likewise.
19402 (log_test): Likewise.
19403 (log10_test): Likewise.
19404 (log1p_test): Likewise.
19405 (log2_test): Likewise.
19406 (logb_test_downward): Likewise.
19407 (pow_test): Likewise.
19408 (pow_test_tonearest): Likewise.
19409 (pow_test_towardzero): Likewise.
19410 (pow_test_downward): Likewise.
19411 (pow_test_upward): Likewise.
19412 (remainder_test): Likewise.
19413 (remquo_test): Likewise.
19414 (sin_test): Likewise.
19415 (sin_test_tonearest): Likewise.
19416 (sin_test_towardzero): Likewise.
19417 (sin_test_downward): Likewise.
19418 (sin_test_upward): Likewise.
19419 (sincos_test): Likewise.
19420 (sinh_test): Likewise.
19421 (sinh_test_tonearest): Likewise.
19422 (sinh_test_towardzero): Likewise.
19423 (sinh_test_downward): Likewise.
19424 (sinh_test_upward): Likewise.
19425 (sqrt_test): Likewise.
19426 (tan_test): Likewise.
19427 (tan_test_tonearest): Likewise.
19428 (tan_test_towardzero): Likewise.
19429 (tan_test_downward): Likewise.
19430 (tan_test_upward): Likewise.
19431 (tanh_test): Likewise.
19432 (tgamma_test): Likewise.
19433 (y0_test): Likewise.
19434 (y1_test): Likewise.
19435 (yn_test): Likewise.
19436
323e5cb7
JM
19437 * math/gen-libm-test.pl (adjust_arg): Remove function.
19438 (special_function): Remove argument $in_func. Only handle
19439 generating output for tables of tests, not inside functions.
19440 (parse_args): Likewise.
19441 (generate_testfile): Remove variable $in_func. Update call to
19442 parse_args.
19443 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19444 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19445 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19446 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19447 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19448 (MAX_VALUE_INIT): Rename macro to max_value.
19449 (MIN_VALUE_INIT): Rename macro to min_value.
19450 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19451 (plus_zero): Remove variable.
19452 (minus_zero): Likewise.
19453 (plus_infty): Likewise.
19454 (minus_infty): Likewise.
19455 (qnan_value): Likewise.
19456 (max_value): Likewise.
19457 (min_value): Likewise.
19458 (min_subnorm_value): Likewise.
19459
e054f494
RA
194602013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19461
19462 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19463 uint64_t or uint32_t usage.
19464 * crypt/sha256-block.c: Likewise.
19465 * crypt/sha256-crypt.c: Likewise.
19466 * crypt/sha256.c: Likewise.
19467 * crypt/sha512-block.c: Likewise.
19468 * crypt/sha512-crypt.c: Likewise.
19469 * crypt/sha512.c: Likewise.
19470 * debug/backtrace-tst.c: Likewise.
19471 * debug/pcprofiledump.c: Likewise.
19472 * elf/cache.c: Likewise.
19473 * elf/dl-cache.c: Likewise.
19474 * elf/dl-misc.c: Likewise.
19475 * elf/dl-profile.c: Likewise.
19476 * elf/dl-support.c: Likewise.
19477 * elf/ldconfig.c: Likewise.
19478 * elf/sprof.c: Likewise.
19479 * iconv/dummy-repertoire.c: Likewise.
19480 * iconv/iconv_charmap.c: Likewise.
19481 * iconv/skeleton.c: Likewise.
19482 * iconvdata/8bit-generic.c: Likewise.
19483 * iconvdata/cp737.h: Likewise.
19484 * iconvdata/cp775.h: Likewise.
19485 * iconvdata/ibm1008.h: Likewise.
19486 * iconvdata/ibm1025.h: Likewise.
19487 * iconvdata/ibm1046.h: Likewise.
19488 * iconvdata/ibm1097.h: Likewise.
19489 * iconvdata/ibm1112.h: Likewise.
19490 * iconvdata/ibm1122.h: Likewise.
19491 * iconvdata/ibm1123.h: Likewise.
19492 * iconvdata/ibm1124.h: Likewise.
19493 * iconvdata/ibm1129.h: Likewise.
19494 * iconvdata/ibm1130.h: Likewise.
19495 * iconvdata/ibm1132.h: Likewise.
19496 * iconvdata/ibm1133.h: Likewise.
19497 * iconvdata/ibm1137.h: Likewise.
19498 * iconvdata/ibm1140.h: Likewise.
19499 * iconvdata/ibm1141.h: Likewise.
19500 * iconvdata/ibm1142.h: Likewise.
19501 * iconvdata/ibm1143.h: Likewise.
19502 * iconvdata/ibm1144.h: Likewise.
19503 * iconvdata/ibm1145.h: Likewise.
19504 * iconvdata/ibm1146.h: Likewise.
19505 * iconvdata/ibm1147.h: Likewise.
19506 * iconvdata/ibm1148.h: Likewise.
19507 * iconvdata/ibm1149.h: Likewise.
19508 * iconvdata/ibm1153.h: Likewise.
19509 * iconvdata/ibm1154.h: Likewise.
19510 * iconvdata/ibm1155.h: Likewise.
19511 * iconvdata/ibm1156.h: Likewise.
19512 * iconvdata/ibm1157.h: Likewise.
19513 * iconvdata/ibm1158.h: Likewise.
19514 * iconvdata/ibm1160.h: Likewise.
19515 * iconvdata/ibm1161.h: Likewise.
19516 * iconvdata/ibm1162.h: Likewise.
19517 * iconvdata/ibm1163.h: Likewise.
19518 * iconvdata/ibm1164.h: Likewise.
19519 * iconvdata/ibm1166.h: Likewise.
19520 * iconvdata/ibm1167.h: Likewise.
19521 * iconvdata/ibm12712.h: Likewise.
19522 * iconvdata/ibm1390.h: Likewise.
19523 * iconvdata/ibm1399.h: Likewise.
19524 * iconvdata/ibm16804.h: Likewise.
19525 * iconvdata/ibm4517.h: Likewise.
19526 * iconvdata/ibm4899.h: Likewise.
19527 * iconvdata/ibm4909.h: Likewise.
19528 * iconvdata/ibm4971.h: Likewise.
19529 * iconvdata/ibm5347.h: Likewise.
19530 * iconvdata/ibm803.h: Likewise.
19531 * iconvdata/ibm856.h: Likewise.
19532 * iconvdata/ibm901.h: Likewise.
19533 * iconvdata/ibm902.h: Likewise.
19534 * iconvdata/ibm9030.h: Likewise.
19535 * iconvdata/ibm9066.h: Likewise.
19536 * iconvdata/ibm921.h: Likewise.
19537 * iconvdata/ibm922.h: Likewise.
19538 * iconvdata/ibm9448.h: Likewise.
19539 * iconvdata/isiri-3342.h: Likewise.
19540 * iconvdata/jis0201.h: Likewise.
19541 * include/link.h: Likewise.
19542 * include/netdb.h: Likewise.
19543 * inet/check_native.c: Likewise.
19544 * inet/check_pf.c: Likewise.
19545 * inet/getipv4sourcefilter.c: Likewise.
19546 * inet/getnameinfo.c: Likewise.
19547 * inet/getsourcefilter.c: Likewise.
19548 * inet/htonl.c: Likewise.
19549 * inet/setipv4sourcefilter.c: Likewise.
19550 * inet/setsourcefilter.c: Likewise.
19551 * inet/test-inet6_opt.c: Likewise.
19552 * inet/tst-network.c: Likewise.
19553 * locale/C-collate.c: Likewise.
19554 * locale/C-ctype.c: Likewise.
19555 * locale/C-time.c: Likewise.
19556 * locale/C-translit.h: Likewise.
19557 * locale/loadarchive.c: Likewise.
19558 * locale/programs/3level.h: Likewise.
19559 * locale/programs/charmap.c: Likewise.
19560 * locale/programs/charmap.h: Likewise.
19561 * locale/programs/ld-address.c: Likewise.
19562 * locale/programs/ld-collate.c: Likewise.
19563 * locale/programs/ld-ctype.c: Likewise.
19564 * locale/programs/ld-identification.c: Likewise.
19565 * locale/programs/ld-measurement.c: Likewise.
19566 * locale/programs/ld-messages.c: Likewise.
19567 * locale/programs/ld-monetary.c: Likewise.
19568 * locale/programs/ld-name.c: Likewise.
19569 * locale/programs/ld-numeric.c: Likewise.
19570 * locale/programs/ld-paper.c: Likewise.
19571 * locale/programs/ld-telephone.c: Likewise.
19572 * locale/programs/ld-time.c: Likewise.
19573 * locale/programs/linereader.c: Likewise.
19574 * locale/programs/locale.c: Likewise.
19575 * locale/programs/locarchive.c: Likewise.
19576 * locale/programs/locfile.h: Likewise.
19577 * locale/programs/repertoire.c: Likewise.
19578 * locale/programs/simple-hash.c: Likewise.
19579 * locale/programs/simple-hash.h: Likewise.
19580 * malloc/memusage.c: Likewise.
19581 * malloc/memusagestat.c: Likewise.
19582 * nis/nis_defaults.c: Likewise.
19583 * nis/nis_hash.c: Likewise.
19584 * nis/nis_print.c: Likewise.
19585 * nis/nis_xdr.c: Likewise.
19586 * nscd/connections.c: Likewise.
19587 * nscd/hstcache.c: Likewise.
19588 * nscd/nscd_gethst_r.c: Likewise.
19589 * nscd/nscd_getserv_r.c: Likewise.
19590 * nscd/nscd_helper.c: Likewise.
19591 * nscd/servicescache.c: Likewise.
19592 * nss/makedb.c: Likewise.
19593 * nss/nss_db/db-XXX.c: Likewise.
19594 * nss/nss_db/db-initgroups.c: Likewise.
19595 * nss/nss_db/db-netgrp.c: Likewise.
19596 * nss/nss_files/files-network.c: Likewise.
19597 * nss/nss_files/files-parse.c: Likewise.
19598 * posix/bug-regex5.c: Likewise.
19599 * posix/fnmatch_loop.c: Likewise.
19600 * posix/regcomp.c: Likewise.
19601 * posix/regexec.c: Likewise.
19602 * posix/tst-rfc3484-2.c: Likewise.
19603 * posix/tst-rfc3484-3.c: Likewise.
19604 * posix/tst-rfc3484.c: Likewise.
19605 * resolv/nss_dns/dns-canon.c: Likewise.
19606 * resolv/nss_dns/dns-network.c: Likewise.
19607 * resolv/res_init.c: Likewise.
19608 * resolv/res_mkquery.c: Likewise.
19609 * resolv/tst-aton.c: Likewise.
19610 * stdlib/cxa_atexit.c: Likewise.
19611 * stdlib/cxa_finalize.c: Likewise.
19612 * stdlib/gen-fpioconst.c: Likewise.
19613 * stdlib/strtol_l.c: Likewise.
19614 * string/tst-endian.c: Likewise.
19615 * sunrpc/auth_des.c: Likewise.
19616 * sunrpc/clnt_udp.c: Likewise.
19617 * sunrpc/rtime.c: Likewise.
19618 * sunrpc/svcauth_des.c: Likewise.
19619 * sunrpc/xdr.c: Likewise.
19620 * sunrpc/xdr_intXX_t.c: Likewise.
19621 * sunrpc/xdr_rec.c: Likewise.
19622 * sysdeps/generic/ldconfig.h: Likewise.
19623 * sysdeps/generic/ldsodefs.h: Likewise.
19624 * sysdeps/generic/memusage.h: Likewise.
19625 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19628 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19632 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19633 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19634 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19635 * sysdeps/posix/getaddrinfo.c: Likewise.
19636 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19637 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19638 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19639 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19640 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19641 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19642 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19643 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19644 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19645 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19646 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19647 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19648 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19649 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19650 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19651 * sysdeps/x86_64/dl-tls.h: Likewise.
19652 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19653 * time/alt_digit.c: Likewise.
19654 * time/era.c: Likewise.
19655 * wcsmbs/tst-c16c32-1.c: Likewise.
19656
8c75f674
JM
196572013-05-16 Joseph Myers <joseph@codesourcery.com>
19658
19659 * math/libm-test.inc (struct test_sincos_data): New type.
19660 (RUN_TEST_LOOP_sincos): New macro.
19661 (sincos_test_data): New variable.
19662 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19663
e6e49e59
RH
196642013-05-16 Richard Henderson <rth@redhat.com>
19665
19666 * math/atest-exp2.c (LIMB64): New macro.
19667 (CONSTSZ): New macro.
19668 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19669 (hexdig): Move ...
19670 (print_mpn_fp): ... to function scope.
19671 (read_mpn_hex): Remove.
19672 (get_log2): Remove.
19673 (exp2_mpn): Use mp_log2.
19674 (main): Use mp_exp1.
19675
15c7c18d
JM
196762013-05-16 Joseph Myers <joseph@codesourcery.com>
19677
105a07df
JM
19678 * math/libm-test.inc: Remove comment about not testing "inexact"
19679 exceptions.
19680 (INEXACT_EXCEPTION): New macro.
19681 (NO_INEXACT_EXCEPTION): Likewise.
19682 (INVALID_EXCEPTION_OK): Update value.
19683 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19684 (OVERFLOW_EXCEPTION_OK): Likewise.
19685 (UNDERFLOW_EXCEPTION_OK): Likewise.
19686 (IGNORE_ZERO_INF_SIGN): Likewise.
19687 (ERRNO_UNCHANGED): Likewise.
19688 (ERRNO_EDOM): Likewise.
19689 (ERRNO_ERANGE): Likewise.
19690 (test_exceptions): Handle testing "inexact" exceptions.
19691 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19692 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19693 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19694 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19695 INEXACT_EXCEPTION.
19696 (rint_towardzero_test_data): Likewise.
19697 (rint_downward_test_data): Likewise.
19698 (rint_upward_test_data): Likewise.
19699
e9eee333
JM
19700 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19701 with OVERFLOW_EXCEPTION.
19702 (exp10_test_data): Likewise.
19703 (exp2_test_data): Likewise.
19704 (expm1_test_data): Likewise.
19705 (lgamma_test_data): Likewise.
19706 (pow_test_data): Likewise.
19707 (tgamma_test_data): Likewise.
19708 (yn_test_data): Remove duplicate test of overflow.
19709
1c38ff73
JM
19710 * math/libm-test.inc (struct test_cc_c_data): New type.
19711 (RUN_TEST_LOOP_cc_c): New macro.
19712 (cpow_test_data): New variable.
19713 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19714
15c7c18d
JM
19715 * math/libm-test.inc (struct test_f_L_data): New type.
19716 (RUN_TEST_LOOP_f_L): New macro.
19717 (llrint_test_data): New variable.
19718 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19719 (llrint_tonearest_test_data): New variable.
19720 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19721 (llrint_towardzero_test_data): New variable.
19722 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19723 (llrint_downward_test_data): New variable.
19724 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19725 (llrint_upward_test_data): New variable.
19726 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19727 (llround_test_data): New variable.
19728 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19729
f137ff13
PC
197302013-05-13 Peter Collingbourne <pcc@google.com>
19731
19732 * math/atest-exp2.c (get_log2): Remove const attribute.
19733
3608cb24
JM
197342013-05-15 Joseph Myers <joseph@codesourcery.com>
19735
19736 * math/libm-test.inc (struct test_f_l_data): New type.
19737 (RUN_TEST_LOOP_f_l): New macro.
19738 (lrint_test_data): New variable.
19739 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19740 (lrint_tonearest_test_data): New variable.
19741 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19742 (lrint_towardzero_test_data): New variable.
19743 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19744 (lrint_downward_test_data): New variable.
19745 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19746 (lrint_upward_test_data): New variable.
19747 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19748 (lround_test_data): New variable.
19749 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19750
39b1f617
PC
197512013-05-15 Peter Collingbourne <pcc@google.com>
19752
1deff3dc
PC
19753 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19754 (EXTRACT_WORDS64) Use where appropriate.
19755 (INSERT_WORDS64) Likewise.
19756
791f3ba0
PC
19757 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19758 constraints with x constraints.
19759 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19760
39b1f617
PC
19761 * malloc/obstack.c (_obstack_compat): Add initializer.
19762
12fba011
EM
197632013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19764
19765 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19766 si_trapno and add si_addr_lsb to _sifields.sigfault.
19767 (si_trapno): Remove macro.
19768 (si_addr_lsb): Define new macro.
19769 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19770
d369f531
JM
197712013-05-15 Joseph Myers <joseph@codesourcery.com>
19772
b861c6c4
JM
19773 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19774 instead of TEST_f_l.
19775 (llrint_test_tonearest): Likewise.
19776 (llrint_test_towardzero): Likewise.
19777 (llrint_test_downward): Likewise.
19778 (llrint_test_upward): Likewise.
19779 (llround_test): Likewise.
19780
7abeee12
JM
19781 * math/libm-test.inc (struct test_f_i_data): Add comment.
19782 (RUN_TEST_LOOP_f_b): New macro.
19783 (RUN_TEST_LOOP_f_b_tg): Likewise.
19784 (finite_test_data): New variable.
19785 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19786 (isfinite_test_data): New variable.
19787 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19788 (isinf_test_data): New variable.
19789 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19790 (isnan_test_data): New variable.
19791 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19792 (isnormal_test_data): New variable.
19793 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19794 (issignaling_test_data): New variable.
19795 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19796 (signbit_test_data): New variable.
19797 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19798
cbe8c4d3
JM
19799 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19800 with INVALID_EXCEPTION.
19801 (acosh_test_data): Likewise.
19802 (asin_test_data): Likewise.
19803 (atanh_test_data): Likewise.
19804 (fmod_test_data): Likewise.
19805 (log_test_data): Likewise.
19806 (log10_test_data): Likewise.
19807 (log2_test_data): Likewise.
19808 (pow_test_data): Likewise.
19809 (sqrt_test_data): Likewise.
19810 (y0_test_data): Likewise.
19811 (y1_test_data): Likewise.
19812 (yn_test_data): Likewise.
19813
5575c0e5
JM
19814 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19815 function contents.
19816
d369f531
JM
19817 * math/libm-test.inc (struct test_ff_i_data): New type.
19818 (RUN_TEST_LOOP_ff_i_tg): New macro.
19819 (isgreater_test_data): New variable.
19820 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19821 (isgreaterequal_test_data): New variable.
19822 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19823 (isless_test_data): New variable.
19824 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19825 (islessequal_test_data): New variable.
19826 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19827 (islessgreater_test_data): New variable.
19828 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19829 (isunordered_test_data): New variable.
19830 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19831
781fd748
DM
198322013-05-14 David S. Miller <davem@davemloft.net>
19833
19834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19835
87aa21df
JM
198362013-05-14 Joseph Myers <joseph@codesourcery.com>
19837
5e908270
JM
19838 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19839
f71172e5
JM
19840 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19841 extra_test to int.
19842 (struct test_f_i_data): Change type of max_ulp to int.
19843
8cfa635a
JM
19844 * math/libm-test.inc (test_ffI_f1_data): New type.
19845 (RUN_TEST_LOOP_ffI_f1): New macro.
19846 (remquo_test_data): New variable.
19847 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19848
2bcb36b2
JM
19849 * setjmp/tst-setjmp-fp.c: New file.
19850 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19851 (link-libm): New variable.
19852 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19853
acbd839a
JM
19854 * math/libm-test.inc (struct test_f_i_data): New type.
19855 (RUN_TEST_LOOP_f_i): New macro.
19856 (RUN_TEST_LOOP_f_i_tg): Likewise.
19857 (fpclassify_test_data): New variable.
19858 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19859 (ilogb_test_data): New variable.
19860 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19861
e414d745
JM
19862 * math/libm-test.inc (scalbln_test): Correct function name in END
19863 call.
19864
d9c2a0fd
JM
19865 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19866 (RUN_TEST_LOOP_fI_f1): New macro.
19867 (frexp_test_data): New variable.
19868 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19869
9dc9095d
JM
19870 * math/libm-test.inc (struct test_fF_f1_data): New type.
19871 (RUN_TEST_LOOP_fF_f1): New macro.
19872 (modf_test_data): New variable.
19873 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19874
87aa21df
JM
19875 * math/libm-test.inc (struct test_f_f1_data): New type.
19876 (RUN_TEST_LOOP_f_f1): New macro.
19877 (gamma_test_data): New variable.
19878 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19879 (lgamma_test_data): New variable.
19880 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19881
141af660
CD
198822013-05-13 Carlos O'Donell <carlos@redhat.com>
19883
19884 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19885 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19886 (main): Comment "tls" pseudo-hwcap.
19887
6d33265c
JM
198882013-05-13 Joseph Myers <joseph@codesourcery.com>
19889
68fc074c
JM
19890 * math/libm-test.inc (struct test_fl_f_data): New type.
19891 (RUN_TEST_LOOP_fl_f): New variable.
19892 (scalbln_test_data): New variable.
19893 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19894
243216e1
JM
19895 * math/libm-test.inc (struct test_fi_f_data): New type.
19896 (RUN_TEST_LOOP_fi_f): New macro.
19897 (ldexp_test_data): New variable.
19898 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19899 (scalbn_test_data): New variable.
19900 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19901
6a1992e2
JM
19902 * math/libm-test.inc (struct test_c_f_data): New type.
19903 (RUN_TEST_LOOP_c_f): New macro.
19904 (cabs_test_data): New variable.
19905 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19906 (carg_test_data): New variable.
19907 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19908 (cimag_test_data): New variable.
19909 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19910 (creal_test_data): New variable.
19911 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19912
0e400df5
JM
19913 * math/libm-test.inc (struct test_if_f_data): New type.
19914 (RUN_TEST_LOOP_if_f): New macro.
19915 (jn_test_data): New variable.
19916 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19917 (yn_test_data): New variable.
19918 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19919
6d33265c
JM
19920 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19921
f98ece5f
AZ
199222013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19923
19924 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19925 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19926
0f7d347b
SP
199272013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19928
43fe811b
SP
19929 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19930 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19931 (bench-deps): Add bench-timing.h.
19932 * benchtests-bench-skeleton.c: Include bench-timing.h.
19933 (main): Use TIMING_* macros instead of clock_gettime.
19934 * benchtests/bench-timing.h: New file.
19935
0f7d347b
SP
19936 [BZ #14582]
19937 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19938 Renamed from _LIB_VERSION.
19939 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19940
601a3a5f
JM
199412013-05-12 Joseph Myers <joseph@codesourcery.com>
19942
4f184d30
JM
19943 * math/libm-test.inc (struct test_fff_f_data): New type.
19944 (RUN_TEST_LOOP_fff_f): New macro.
19945 (fma_test_data): New variable.
19946 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19947 (fma_towardzero_test_data): New variable.
19948 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19949 (fma_downward_test_data): New variable.
19950 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19951 (fma_upward_test_data): New variable.
19952 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19953
08198877
JM
19954 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19955 (struct test_c_c_data): New type.
19956 (RUN_TEST_LOOP_c_c): New macro.
19957 (cacos_test_data): New variable.
19958 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19959 (cacosh_test_data): New variable.
19960 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19961 (casin_test_data): New variable.
19962 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19963 (casinh_test_data): New variable.
19964 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19965 (catan_test_data): New variable.
19966 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19967 (catanh_test_data): New variable.
19968 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19969 (ccos_test_data): New variable.
19970 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19971 (ccosh_test_data): New variable.
19972 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19973 (cexp_test_data): New variable.
19974 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19975 (clog_test_data): New variable.
19976 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19977 (clog10_test_data): New variable.
19978 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19979 (conj_test_data): New variable.
19980 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19981 (cproj_test_data): New variable.
19982 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19983 (csin_test_data): New variable.
19984 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19985 (csinh_test_data): New variable.
19986 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19987 (csqrt_test_data): New variable.
19988 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19989 (ctan_test_data): New variable.
19990 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19991 (ctan_tonearest_test_data): New variable.
19992 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19993 (ctan_towardzero_test_data): New variable.
19994 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19995 (ctan_downward_test_data): New variable.
19996 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19997 (ctan_upward_test_data): New variable.
19998 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19999 (ctanh_test_data): New variable.
20000 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20001 (ctanh_tonearest_test_data): New variable.
20002 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20003 (ctanh_towardzero_test_data): New variable.
20004 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20005 (ctanh_downward_test_data): New variable.
20006 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20007 (ctanh_upward_test_data): New variable.
20008 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20009 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20010 of BUILD_COMPLEX.
20011
601a3a5f
JM
20012 * math/libm-test.inc (struct test_ff_f_data): New type.
20013 (struct test_ff_f_data_nexttoward): Likewise.
20014 (RUN_TEST_LOOP_2_f): New macro.
20015 (RUN_TEST_LOOP_ff_f): Likewise.
20016 (atan2_test_data): New variable.
20017 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20018 (copysign_test_data): New variable.
20019 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20020 (fdim_test_data): New variable.
20021 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20022 (fmax_test_data): New variable.
20023 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20024 (fmin_test_data): New variable.
20025 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20026 (fmod_test_data): New variable.
20027 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20028 (hypot_test_data): New variable.
20029 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20030 (nextafter_test_data): New variable.
20031 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20032 (nexttoward_test_data): New variable.
20033 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20034 (pow_test_data): New variable.
20035 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20036 (pow_tonearest_test_data): New variable.
20037 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20038 (pow_towardzero_test_data): New variable.
20039 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20040 (pow_downward_test_data): New variable.
20041 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20042 (pow_upward_test_data): New variable.
20043 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20044 (remainder_test_data): New variable.
20045 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20046 (scalb_test_data): New variable.
20047 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20048 * sysdeps/i386/fpu/libm-test-ulps: Update.
20049
74c57478
JM
200502013-05-11 Joseph Myers <joseph@codesourcery.com>
20051
8329e4da
JM
20052 * math/libm-test.inc (fma_test): Use max_value instead of local
20053 variable fltmax.
20054 (nextafter_test): Likewise.
20055
74c57478
JM
20056 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20057 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20058 (acos_downward_test_data): New variable.
20059 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20060 (acos_upward_test_data): New variable.
20061 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20062 (acosh_test_data): New variable.
20063 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20064 (asin_test_data): New variable.
20065 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20066 (asin_tonearest_test_data): New variable.
20067 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20068 (asin_towardzero_test_data): New variable.
20069 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20070 (asin_downward_test_data): New variable.
20071 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20072 (asin_upward_test_data): New variable.
20073 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20074 (asinh_test_data): New variable.
20075 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20076 (atan_test_data): New variable.
20077 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20078 (atanh_test_data): New variable.
20079 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20080 (cbrt_test_data): New variable.
20081 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20082 (ceil_test_data): New variable.
20083 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20084 (cos_test_data): New variable.
20085 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20086 (cos_tonearest_test_data): New variable.
20087 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20088 (cos_towardzero_test_data): New variable.
20089 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20090 (cos_downward_test_data): New variable.
20091 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20092 (cos_upward_test_data): New variable.
20093 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20094 (cosh_test_data): New variable.
20095 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20096 (cosh_tonearest_test_data): New variable.
20097 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20098 (cosh_towardzero_test_data): New variable.
20099 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20100 (cosh_downward_test_data): New variable.
20101 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20102 (cosh_upward_test_data): New variable.
20103 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20104 (erf_test_data): New variable.
20105 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20106 (erfc_test_data): New variable.
20107 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20108 (exp_test_data): New variable.
20109 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20110 (exp_tonearest_test_data): New variable.
20111 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20112 (exp_towardzero_test_data): New variable.
20113 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20114 (exp_downward_test_data): New variable.
20115 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20116 (exp_upward_test_data): New variable.
20117 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20118 (exp10_test_data): New variable.
20119 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20120 (exp2_test_data): New variable.
20121 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20122 (expm1_test_data): New variable.
20123 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20124 (fabs_test_data): New variable.
20125 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20126 (floor_test_data): New variable.
20127 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20128 (j0_test_data): New variable.
20129 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20130 (j1_test_data): New variable.
20131 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20132 (log_test_data): New variable.
20133 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20134 (log10_test_data): New variable.
20135 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20136 (log1p_test_data): New variable.
20137 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20138 (log2_test_data): New variable.
20139 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20140 (logb_test_data): New variable.
20141 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20142 (logb_downward_test_data): New variable.
20143 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20144 (nearbyint_test_data): New variable.
20145 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20146 (rint_test_data): New variable.
20147 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20148 (rint_tonearest_test_data): New variable.
20149 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20150 (rint_towardzero_test_data): New variable.
20151 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20152 (rint_downward_test_data): New variable.
20153 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20154 (rint_upward_test_data): New variable.
20155 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20156 (round_test_data): New variable.
20157 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20158 (sin_test_data): New variable.
20159 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20160 (sin_tonearest_test_data): New variable.
20161 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20162 (sin_towardzero_test_data): New variable.
20163 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20164 (sin_downward_test_data): New variable.
20165 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20166 (sin_upward_test_data): New variable.
20167 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20168 (sinh_test_data): New variable.
20169 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20170 (sinh_tonearest_test_data): New variable.
20171 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20172 (sinh_towardzero_test_data): New variable.
20173 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20174 (sinh_downward_test_data): New variable.
20175 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20176 (sinh_upward_test_data): New variable.
20177 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20178 (sqrt_test_data): New variable.
20179 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20180 (tan_test_data): New variable.
20181 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20182 (tan_tonearest_test_data): New variable.
20183 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20184 (tan_towardzero_test_data): New variable.
20185 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20186 (tan_downward_test_data): New variable.
20187 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20188 (tan_upward_test_data): New variable.
20189 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20190 (tanh_test_data): New variable.
20191 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20192 (tgamma_test_data): New variable.
20193 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20194 (trunc_test_data): New variable.
20195 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20196 (y0_test_data): New variable.
20197 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20198 (y1_test_data): New variable.
20199 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20200 (significand_test_data): New variable.
20201 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20202
7187d844
CG
202032013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20204
20205 [BZ #12387]
20206 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20207
f63fae73
PT
202082013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20209
20210 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20211
8a67a4b3
AJ
202122013-05-10 Andreas Jaeger <aj@suse.de>
20213
20214 [BZ #15448]
20215 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20216 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20217
51df539d
JM
202182013-05-10 Joseph Myers <joseph@codesourcery.com>
20219
20220 * math/gen-libm-test.pl (adjust_arg): New function.
20221 (special_functions): Handle generating output in both functions
20222 and arrays.
20223 (parse_args): Likewise.
20224 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20225 $in_func argument to parse_args.
20226 * math/libm-test.inc (struct test_f_f_data): New type.
20227 (IF_ROUND_INIT_): New macro.
20228 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20229 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20230 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20231 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20232 (ROUND_RESTORE_): Likewise.
20233 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20234 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20235 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20236 (ROUND_RESTORE_FE_UPWARD): Likewise.
20237 (RUN_TEST_LOOP_f_f): New macro.
20238 (acos_test_data): New variable.
20239 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20240 (acos_tonearest_test_data): New variable.
20241 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20242
5c637fe5
SP
202432013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20244
20245 * benchtests/bench-skeleton.c (startup): Fix coding style.
20246
ab2b9461
JM
202472013-05-10 Joseph Myers <joseph@codesourcery.com>
20248
20249 [BZ #6809]
20250 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20251 negative infinity argument.
20252 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20253 negative infinity argument.
20254 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20255 negative infinity argument.
20256 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20257 domain errors.
20258
4c0fe6fe
FW
202592013-05-10 Florian Weimer <fweimer@redhat.com>
20260
20261 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20262 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20263 * iconv/iconv_prog.c (main): Likewise.
20264 * locale/programs/charmap-dir.c (charmap_readdir)
20265 (fopen_uncompressed): Likewise.
20266 * locale/programs/locfile.c (siblings_uncached)
20267 (write_locale_data): Use lstat64 instead of lstat.
20268 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20269 stat.
20270
a3375d29
AJ
202712013-05-10 Andreas Jaeger <aj@suse.de>
20272
20273 [BZ #15395]
20274 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20275 localization.
20276 Include <locale.h>.
20277
36129722
CD
202782013-05-09 Carlos O'Donell <carlos@redhat.com>
20279
20280 * elf/dl-close.c (_dl_close_worker): Add comments.
20281
faa7f811
JM
202822013-05-09 Joseph Myers <joseph@codesourcery.com>
20283
ed41ffef
JM
20284 [BZ #15359]
20285 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20286 high part of pi/2.
20287 (__ieee754_rem_pio2l): Update comments.
20288
d0213cd0
JM
20289 [BZ #15429]
20290 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20291 high part of pi/2.
20292 (__ieee754_rem_pio2l): Update comments.
20293
0d3e777a
JM
20294 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20295 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20296
24f56066
JM
20297 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20298 M_PI_4l.
20299
faa7f811
JM
20300 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20301 (M_PI_34_LOG10El): Likewise.
20302 (M_PI2_LOG10El): Likewise.
20303 (M_PI4_LOG10El): Likewise.
20304 (M_PI_LOG10El): Likewise.
20305
e9a5e0fd
AZ
203062013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20307
20308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20309
d8cd06db
JM
203102013-05-08 Joseph Myers <joseph@codesourcery.com>
20311
a0d9f9d7
JM
20312 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20313 (MINUS_ZERO_INIT): Likewise.
20314 (PLUS_INFTY_INIT): Likewise.
20315 (MINUS_INFTY_INIT): Likewise.
20316 (QNAN_VALUE_INIT): Likewise.
20317 (MAX_VALUE_INIT): Likewise.
20318 (MIN_VALUE_INIT): Likewise.
20319 (MIN_SUBNORM_VALUE_INIT): Likewise.
20320 (plus_zero): Initialize with PLUS_ZERO_INIT.
20321 (minus_zero): Initialize with MINUS_ZERO_INIT.
20322 (plus_infty): Initialize with PLUS_INFTY_INIT.
20323 (minus_infty): Initialize with MINUS_INFTY_INIT.
20324 (qnan_value): Initialize with QNAN_VALUE_INIT.
20325 (max_value): Initialize with MAX_VALUE_INIT.
20326 (min_value): Initialize with MIN_VALUE_INIT.
20327 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20328
ae08db3b
JM
20329 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20330 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20331 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20332 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20333
f44bf14a
JM
20334 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20335 (RUN_TEST_2_f): Likewise.
20336 (RUN_TEST_ff_f): Likewise.
20337 (RUN_TEST_fi_f): Likewise.
20338 (RUN_TEST_fl_f): Likewise.
20339 (RUN_TEST_fff_f): Likewise.
20340 (RUN_TEST_c_f): Likewise.
20341 (RUN_TEST_f_f1): Likewise.
20342 (RUN_TEST_fF_f1): Likewise.
20343 (RUN_TEST_fI_f1): Likewise.
20344 (RUN_TEST_ffI_f1): Likewise.
20345 (RUN_TEST_c_c): Likewise.
20346 (RUN_TEST_cc_c): Likewise.
20347 (RUN_TEST_f_i): Likewise.
20348 (RUN_TEST_f_i_tg): Likewise.
20349 (RUN_TEST_ff_i_tg): Likewise.
20350 (RUN_TEST_f_b): Likewise.
20351 (RUN_TEST_f_b_tg): Likewise.
20352 (RUN_TEST_f_l): Likewise.
20353 (RUN_TEST_f_L): Likewise.
20354 (RUN_TEST_sincos): Likewise.
20355 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20356 whether to show exceptions. Do not include ");\n" in return
20357 value.
20358 (special_functions): Output call to RUN_TEST_sincos instead of
20359 check_float calls. Update calls to new_test.
20360 (parse_args): Output call to single RUN_TEST_* macro instead of
20361 check_* calls and other assignments. Update calls to new_test.
20362
d8cd06db
JM
20363 [BZ #2546]
20364 [BZ #2560]
20365 [BZ #5159]
20366 [BZ #15426]
20367 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20368 input to result for tgamma overflow.
20369 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20370 (gamma_coeff): New variable.
20371 (NCOEFF): New macro.
20372 (gamma_positive): New function.
20373 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20374 underflow here. Use gamma_positive instead of exp (lgamma) for
20375 other arguments.
20376 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20377 (gamma_coeff): New variable.
20378 (NCOEFF): New macro.
20379 (gammaf_positive): New function.
20380 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20381 underflow here. Use gamma_positive instead of exp (lgamma) for
20382 other arguments.
20383 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20384 (gamma_coeff): New variable.
20385 (NCOEFF): New macro.
20386 (gammal_positive): New function.
20387 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20388 underflow here. Use gamma_positive instead of exp (lgamma) for
20389 other arguments.
20390 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20391 (gamma_coeff): New variable.
20392 (NCOEFF): New macro.
20393 (gammal_positive): New function.
20394 (__ieee754_gammal_r): Handle positive infinity, overflow and
20395 underflow here. Handle NaN the same as positive infinity. Remove
20396 check x < 0xffffffff for negative integers. Use gamma_positive
20397 instead of exp (lgamma) for other arguments.
20398 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20399 (gamma_coeff): New variable.
20400 (NCOEFF): New macro.
20401 (gammal_positive): New function.
20402 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20403 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20406 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20407 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20408 * sysdeps/generic/math_private.h (__gamma_productf): New
20409 prototype.
20410 (__gamma_product): Likewise.
20411 (__gamma_productl): Likewise.
20412 * math/Makefile (libm-calls): Add gamma_product.
20413 * math/libm-test.inc (tgamma_test): Add more tests.
20414 * sysdeps/i386/fpu/libm-test-ulps: Update.
20415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20416
bb7cf681
OB
204172013-05-08 Ondřej Bílka <neleai@seznam.cz>
20418
20419 * benchtests/bench-skeleton.c (main): Preheat CPU.
20420
ba853947
AJ
204212013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20422
20423 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20424
8347c74c
RM
204252013-05-07 Roland McGrath <roland@hack.frob.com>
20426
20427 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20428 and _dl_skip_args_internal.
20429
e8dd4791
CD
204302013-05-07 Carlos O'Donell <carlos@redhat.com>
20431
20432 * manual/message.texi (Message Translation): Talk about users.
20433 Message to key mapping impacts design.
20434
c7405830
RM
204352013-05-06 Roland McGrath <roland@hack.frob.com>
20436
a9173057
RM
20437 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20438
976e2f03
RM
20439 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20440
9723ffc5
RM
20441 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20442 * sysdeps/wordsize-64/glob64.c: ... here.
20443
962e6658
RM
20444 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20445 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20446 New macros.
20447
ee586a6d
RM
20448 * debug/getlogin_r_chk.c: Moved to ...
20449 * login/getlogin_r_chk.c: ... here.
20450 * debug/Makefile (routines): Move getlogin_r_chk to ...
20451 * login/Makefile (routines): ... here.
20452 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20453 * login/Versions (libc: GLIBC_2.4): ... here.
20454
355f9165
RM
20455 * io/poll.c (__poll): Renamed from poll.
20456 Add libc_hidden_def.
20457 (poll): Define as weak alias.
20458
bd9ffde6
RM
20459 * debug/ptsname_r_chk.c: Moved to ...
20460 * login/ptsname_r_chk.c: ... here.
20461 * debug/Makefile (routines): Move ptsname_r_chk to ...
20462 * login/Makefile (routines): ... here.
20463 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20464 * login/Versions (libc: GLIBC_2.4): ... here.
20465
8fb16a04
RM
20466 * posix/getlogin.c: Moved to ...
20467 * login/getlogin.c: ... here.
20468 * posix/getlogin_r.c: Moved to ...
20469 * login/getlogin_r.c: ... here.
20470 * posix/getlogin_r.c: Moved to ...
20471 * login/getlogin_r.c: ... here.
20472 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20473 * login/Makefile (routines): ... here.
20474 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20475 * login/Versions (libc: GLIBC_2.0): ... here.
20476
b99b892f
RM
20477 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20478 (setrlimit): Define as weak alias.
20479
c7405830
RM
20480 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20481 Call __ names for open, ftruncate, and close.
20482 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20483 (truncate): Define as weak alias.
20484
5bf96de5
JM
204852013-05-06 Joseph Myers <joseph@codesourcery.com>
20486
9ea3513c
JM
20487 * math/gen-libm-test.pl (parse_args): Initialize x before each
20488 test of frexp, modf and remquo.
20489
5bf96de5
JM
20490 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20491 test signgam value.
20492
16e616a7
AZ
204932013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20494
20495 [BZ #15418]
20496 [BZ #15419]
20497 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20498 internal tests.
20499 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20500
d5e82754
RM
205012013-05-06 Roland McGrath <roland@hack.frob.com>
20502
20503 * elf/dl-writev.h: New file.
20504 * elf/dl-misc.c: Include it.
20505 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20506 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20507
a7548d41
JM
205082013-05-04 Joseph Myers <joseph@codesourcery.com>
20509
b7dab1e4
JM
20510 * math/libm-test.inc (noXFails): Remove variable.
20511 (noXPasses): Likewise.
20512 (BUILD_COMPLEX_INT): Remove macro.
20513 (print_screen): Remove xfail argument.
20514 (print_screen_max_error): Likewise.
20515 (update_stats): Likewise.
20516 (print_max_error): Likewise. Update calls to other affected
20517 functions.
20518 (print_complex_max_error): Likewise.
20519 (test_single_exception): Update calls to print_screen.
20520 (test_single_errno): Likewise.
20521 (check_float_internal): Remove xfail argument. Update calls to
20522 other affected functions.
20523 (check_float): Likewise.
20524 (check_complex): Likewise.
20525 (check_int): Likewise.
20526 (check_long): Likewise.
20527 (check_bool): Likewise.
20528 (check_longlong): Likewise.
20529 (main): Don't print noXFails and noXPasses.
20530 * math/gen-libm-test.pl (top level): Don't mention expected
20531 failure handling in comment.
20532 (new_test): Don't handle expected failures.
20533 (parse_args): Don't mention expected failure handling in comment.
20534 (generate_testfile): Don't handle expected failures.
20535 (parse_ulps): Likewise.
20536 (print_ulps_file): Likewise.
20537 (get_failure): Remove function.
20538 (output_test): Don't handle expected failures.
20539 * make/README.libm-test: Don't mention expected failure handling.
20540
a7548d41
JM
20541 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20542 (minus_zero): Likewise.
20543 (plus_infty): Likewise.
20544 (minus_infty): Likewise.
20545 (qnan_value): Likewise.
20546 (max_value): Likewise.
20547 (min_value): Likewise.
20548 (min_subnorm_value): Likewise.
20549 (initialize): Do not initialize those variables dynamically.
20550
60bfd54c
RM
205512013-05-03 Roland McGrath <roland@hack.frob.com>
20552
cc0e6ed8
RM
20553 * io/open.c (__open_2): Moved to ...
20554 * io/open_2.c: ... this new file.
20555 * io/open64.c (__open64_2): Moved to ...
20556 * io/open64_2.c: ... this new file.
20557 * io/openat.c (__openat_2): Moved to ...
20558 * io/openat_2.c: ... this new file.
20559 * io/openat64.c (__openat64_2): Moved to ...
20560 * io/openat64_2.c: ... this new file.
20561 * io/Makefile (routines): Add them.
20562 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20563 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20564 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20565 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20566 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20567 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20568 (__openat64): Add hidden_ver.
20569 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20570 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20571
60bfd54c
RM
20572 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20573 Separately conditionalize setting of GLRO(dl_sysinfo) so
20574 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20575 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20576
83e7640f
AZ
205772013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20578
20579 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20580 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20581 definition.
20582 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20583 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20584 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20585 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20586 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20587
d5dc2af3
JM
205882013-05-03 Joseph Myers <joseph@codesourcery.com>
20589
c31a5b1e
JM
20590 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20591 test signgam value.
20592
d5dc2af3
JM
20593 * math/libm-test.inc (hypot_test): Do not use
20594 IGNORE_ZERO_INF_SIGN.
20595
164fd39d
AJ
205962013-05-03 Andreas Jaeger <aj@suse.de>
20597
20598 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20599 Linux 3.9.
20600 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20601 (PF_MAX): Adjust for VSOCK change.
20602
8237f48c
AZ
206032013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20604
20605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20606
9df02941
CD
206072013-05-02 Carlos O'Donell <carlos@redhat.com>
20608
20609 [BZ #15264]
20610 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20611 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20612 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20613
d422395e
DM
206142013-05-02 David S. Miller <davem@davemloft.net>
20615
20616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20617
a07c5731
OB
206182013-05-01 Ondřej Bílka <neleai@seznam.cz>
20619
20620 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20621
1324e37f
RM
206222013-05-01 Roland McGrath <roland@hack.frob.com>
20623
20624 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20625
0695940b
RS
206262013-05-01 Richard Smith <richard@metafoo.co.uk>
20627
bb5f27ad 20628 [BZ #14952]
0695940b
RS
20629 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20630 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20631 Use __attribute__ ((__gnu_inline__)).
20632 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20633 Don't use __attribute__ ((__gnu_inline__)).
20634
10de07f5
JM
206352013-05-01 Joseph Myers <joseph@codesourcery.com>
20636
20637 [BZ #15423]
20638 * math/s_catan.c (__catan): Handle small real or imaginary part of
20639 input specially to avoid spurious underflow.
20640 * math/s_catanf.c (__catanf): Likewise.
20641 * math/s_catanh.c (__catanh): Likewise.
20642 * math/s_catanhf.c (__catanhf): Likewise.
20643 * math/s_catanhl.c (__catanhl): Likewise.
20644 * math/s_catanl.c (__catanl): Likewise.
20645 * math/libm-test.inc (catan_test): Add more tests.
20646 (catanh_test): Likewise.
20647 * sysdeps/i386/fpu/libm-test-ulps: Update.
20648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20649
cb4d5414
AZ
206502013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20651
20652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20653
caf84319
JM
206542013-04-30 Joseph Myers <joseph@codesourcery.com>
20655
20656 [BZ #15416]
20657 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20658 accurately for denominator in atan2.
20659 * math/s_catanf.c (__catanf): Likewise.
20660 * math/s_catanh.c (__catanh): Likewise.
20661 * math/s_catanhf.c (__catanhf): Likewise.
20662 * math/s_catanhl.c (__catanhl): Likewise.
20663 * math/s_catanl.c (__catanl): Likewise.
20664 * math/libm-test.inc (catan_test): Add more tests.
20665 (catanh_test): Likewise.
20666 * sysdeps/i386/fpu/libm-test-ulps: Update.
20667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20668
d569c6ee
SP
206692013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20670
6dbe713d
SP
20671 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20672
f0ee064b
SP
20673 * benchtests/Makefile (bench): Remove slow benchmarks.
20674 * benchtests/atan-inputs: Add slow benchmark inputs.
20675 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20676 (BENCH_FUNC): Accept variant offset.
20677 (VARIANT): Define.
20678 * benchtests/bench-skeleton.c (main): Run benchmark for each
20679 variant.
20680 * benchtests/cos-inputs: Add slow benchmark inputs.
20681 * benchtests/exp-inputs: Likewise.
20682 * benchtests/pow-inputs: Likewise.
20683 * benchtests/sin-inputs: Likewise.
20684 * benchtests/slowatan-inputs: Remove.
20685 * benchtests/slowatan.c: Remove.
20686 * benchtests/slowcos-inputs: Remove.
20687 * benchtests/slowcos.c: Remove.
20688 * benchtests/slowexp-inputs: Remove.
20689 * benchtests/slowexp.c: Remove.
20690 * benchtests/slowpow-inputs: Remove.
20691 * benchtests/slowpow.c: Remove.
20692 * benchtests/slowsin-inputs: Remove.
20693 * benchtests/slowsin.c: Remove.
20694 * benchtests/slowtan-inputs: Remove.
20695 * benchtests/slowtan.c: Remove.
20696 * benchtests/tan-inputs: Add slow benchmark inputs.
20697 * scripts/bench.pl: Parse comments and directives.
20698
d569c6ee
SP
20699 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20700 in CPPFLAGS.
20701 ($(objpfx)bench-%.c): Remove *-ITER.
20702 * benchtests/bench-modf.c: Remove definition of ITER.
20703 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20704 (main): Loop for DURATION seconds instead of fixed number of
20705 iterations.
20706 * scripts/bench.pl: Don't expect iterations in parameters.
20707
a6a242fe
RM
207082013-04-29 Roland McGrath <roland@hack.frob.com>
20709
20710 * io/fchdir.c (__fchdir): Renamed from fchdir.
20711 (fchdir): Define as weak alias.
20712
f2da7793
JM
207132013-04-29 Joseph Myers <joseph@codesourcery.com>
20714
20715 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20716 (ERRNO_EDOM): Likewise.
20717 (ERRNO_ERANGE): Likewise.
20718 (noErrnoTests): New variable.
20719 (init_max_error): Set errno to 0.
20720 (test_single_errno): New function.
20721 (test_errno): Likewise.
20722 (check_float_internal): Call test_errno. Set errno to 0.
20723 (check_complex): Refer to errno tests in comment.
20724 (check_int): Call test_errno. Set errno to 0.
20725 (check_long): Likewise.
20726 (check_bool): Likewise.
20727 (check_longlong): Likewise.
20728 (cos_test): Use ERRNO_* flags for errno tests instead of
20729 check_int.
20730 (expm1_test): Likewise.
20731 (fmod_test): Likewise.
20732 (ilogb_test): Likewise.
20733 (lgamma_test): Likewise.
20734 (pow_test): Likewise.
20735 (remainder_test): Likewise.
20736 (sin_test): Likewise.
20737 (tan_test): Likewise.
20738 (yn_test): Likewise.
20739 (initialize): Set errno to 0.
20740 (main): Print number of errno tests.
20741 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20742
b1a36ceb
AJ
207432013-04-29 Andreas Jaeger <aj@suse.de>
20744
c3ed8088
AJ
20745 [BZ #15084]
20746 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20747 and RES_USEVC.
20748
f1a24198
AJ
20749 [BZ #15085]
20750 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20751 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20752 unimplemented.
20753
9ce3b2cb
AJ
20754 [BZ #15380]
20755 * stdlib/random.c (__initstate): Return NULL if
20756 __initstate fails.
20757
f1a24198 20758 [BZ #15086]
b1a36ceb
AJ
20759 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20760 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20761 RES_SNGLKUPREOP.
20762
7e7b6f36
AZ
207632013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20764
20765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20766
4d14f449
JM
207672013-04-29 Joseph Myers <joseph@codesourcery.com>
20768
20769 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20770 of individual tests.
20771 (casin_test): Likewise.
20772 (casinh_test): Likewise.
20773
5b4217d7
JM
207742013-04-27 Joseph Myers <joseph@codesourcery.com>
20775
20776 [BZ #15409]
20777 * math/s_catan.c (__catan): Handle arguments with large real or
20778 imaginary part separately without squaring.
20779 * math/s_catanf.c (__catanf): Likewise.
20780 * math/s_catanh.c (__catanh): Likewise.
20781 * math/s_catanhf.c (__catanhf): Likewise.
20782 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20783 and redefine.
20784 (__catanhl): Handle arguments with large real or imaginary part
20785 separately without squaring.
20786 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20787 and redefine.
20788 (__catanl): Handle arguments with large real or imaginary part
20789 separately without squaring.
20790 * math/libm-test.inc (catan_test): Add more tests.
20791 (catanh_test): Likewise.
20792 * sysdeps/i386/fpu/libm-test-ulps: Update.
20793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20794
4220c3ef
AJ
207952013-04-27 Andreas Jaeger <aj@suse.de>
20796
20797 [BZ #15007]
20798 * stdlib/stdlib.h: Update guards for qecvt.
20799 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20800 <stdlib.h>.
20801
4721b2d1
AM
208022013-04-27 Allan McRae <allan@archlinux.org>
20803
20804 * sysdeps/i386/fpu/libm-test-ulps: Update.
20805
f0302940
JM
208062013-04-26 Joseph Myers <joseph@codesourcery.com>
20807
9457fd95
JM
20808 [BZ #15406]
20809 * math/s_catan.c: Include <float.h>.
20810 (__catan): Ensure underflow exception occurs for underflowed
20811 result.
20812 * math/s_catanf.c: Include <float.h>.
20813 (__catanf): Ensure underflow exception occurs for underflowed
20814 result.
20815 * math/s_catanh.c: Include <float.h>.
20816 (__catanh): Ensure underflow exception occurs for underflowed
20817 result.
20818 * math/s_catanhf.c: Include <float.h>.
20819 (__catanhf): Ensure underflow exception occurs for underflowed
20820 result.
20821 * math/s_catanhl.c: Include <float.h>.
20822 (__catanhl): Ensure underflow exception occurs for underflowed
20823 result.
20824 * math/s_catanl.c: Include <float.h>.
20825 (__catanl): Ensure underflow exception occurs for underflowed
20826 result.
20827 * math/libm-test.inc (catan_test): Add more tests.
20828 (catanh_test): Likewise.
20829
f0302940
JM
20830 [BZ #15405]
20831 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20832 underflowed result.
20833 * math/s_ccoshf.c (__ccoshf): Likewise.
20834 * math/s_ccoshl.c (__ccoshl): Likewise.
20835 * math/s_csin.c (__csin): Likewise.
20836 * math/s_csinf.c (__csinf): Likewise.
20837 * math/s_csinh.c (__csinh): Likewise.
20838 * math/s_csinhf.c (__csinhf): Likewise.
20839 * math/s_csinhl.c (__csinhl): Likewise.
20840 * math/s_csinl.c (__csinl): Likewise.
20841 * math/libm-test.inc (ccos_test): Add more tests.
20842 (ccosh_test): Likewise.
20843 (csin_test): Likewise.
20844 (csinh_test): Likewise.
20845
aa630f59
AZ
208462013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20847
20848 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20849 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20850 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20851 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20852 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20853 powerpc/power5+/fpu folders.
20854 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20855
20856
1b835983
MT
208572013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20858
20859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20860
73709b26
JM
208612013-04-25 Joseph Myers <joseph@codesourcery.com>
20862
20863 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20864 additions to variable.
20865 [$(config-machine) = x86_64] (modules-names): Likewise.
20866 ($(objpfx)tst-audit3): Remove dependency.
20867 ($(objpfx)tst-audit3.out): Likewise.
20868 ($(objpfx)tst-audit4): Likewise.
20869 ($(objpfx)tst-audit4.out): Likewise.
20870 ($(objpfx)tst-audit5): Likewise.
20871 ($(objpfx)tst-audit5.out): Likewise.
20872 ($(objpfx)tst-audit6): Likewise.
20873 ($(objpfx)tst-audit6.out): Likewise.
20874 ($(objpfx)tst-audit7): Likewise.
20875 ($(objpfx)tst-audit7.out): Likewise.
20876 (tst-audit3-ENV): Remove variable.
20877 (tst-audit4-ENV): Likewise.
20878 (tst-audit5-ENV): Likewise.
20879 (tst-audit6-ENV): Likewise.
20880 (tst-audit7-ENV): Likewise.
20881 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20882 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20883 addition to variable.
20884 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20885 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20886 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20887 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20888 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20889 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20890 tst-audit3, tst-audit4 and tst-audit5.
20891 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20892 tst-audit6 and tst-audit7.
20893 [$(subdir) = elf] (modules-names): Add audit modules for those
20894 tests.
20895 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20896 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20897 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20898 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20899 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20900 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20901 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20902 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20903 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20904 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20905 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20906 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20907 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20908 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20909 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20910 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20911 Likewise.
20912 [$(subdir) = elf && $(config-cflags-avx) = yes]
20913 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20914 [$(subdir) = elf && $(config-cflags-avx) = yes]
20915 (CFLAGS-tst-auditmod4a.c): Likewise.
20916 [$(subdir) = elf && $(config-cflags-avx) = yes]
20917 (CFLAGS-tst-auditmod4b.c): Likewise.
20918 [$(subdir) = elf && $(config-cflags-avx) = yes]
20919 (CFLAGS-tst-auditmod6b.c): Likewise.
20920 [$(subdir) = elf && $(config-cflags-avx) = yes]
20921 (CFLAGS-tst-auditmod6c.c): Likewise.
20922 [$(subdir) = elf && $(config-cflags-avx) = yes]
20923 (CFLAGS-tst-auditmod7b.c): Likewise.
20924 * elf/tst-audit3.c: Move to ...
20925 * sysdeps/x86_64/tst-audit3.c: ... here.
20926 * elf/tst-audit4.c: Move to ...
20927 * sysdeps/x86_64/tst-audit4.c: ... here.
20928 * elf/tst-audit5.c: Move to ...
20929 * sysdeps/x86_64/tst-audit5.c: ... here.
20930 * elf/tst-audit6.c: Move to ...
20931 * sysdeps/x86_64/tst-audit6.c: ... here.
20932 * elf/tst-audit7.c: Move to ...
20933 * sysdeps/x86_64/tst-audit7.c: ... here.
20934 * elf/tst-auditmod3a.c: Move to ...
20935 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20936 * elf/tst-auditmod3b.c: Move to ...
20937 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20938 * elf/tst-auditmod4a.c: Move to ...
20939 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20940 * elf/tst-auditmod4b.c: Move to ...
20941 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20942 * elf/tst-auditmod5a.c: Move to ...
20943 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20944 * elf/tst-auditmod5b.c: Move to ...
20945 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20946 * elf/tst-auditmod6a.c: Move to ...
20947 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20948 * elf/tst-auditmod6b.c: Move to ...
20949 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20950 * elf/tst-auditmod6c.c: Move to ...
20951 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20952 * elf/tst-auditmod7a.c: Move to ...
20953 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20954 * elf/tst-auditmod7b.c: Move to ...
20955 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20956
1ef74943
PP
209572013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20958
20959 [BZ #15366]
20960 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20961 define unconditionally.
20962 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20963 define unconditionally.
20964 (INT8_C, INT16_C, etc.): Likewise.
20965
93fd48c5
MR
209662013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20967
ae9552cf
MR
20968 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20969 __ehdr_start with hidden visibility.
20970
93fd48c5
MR
20971 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20972
418601aa
CD
209732013-04-24 Carlos O'Donell <carlos@redhat.com>
20974
20975 * math/libm-test.inc (cos_test): Use accurate hex constants.
20976 (sincost_test): Likewise.
20977
2f38fbfe
JM
209782013-04-24 Joseph Myers <joseph@codesourcery.com>
20979
5e221800
JM
20980 * math/libm-test.inc (catan_test): Add more tests.
20981 (catanh_test): Likewise.
20982
77f143fd
JM
20983 * math/s_catanf.c (__catanf): Use suffixed floating-point
20984 constants.
20985 * math/s_catanhf.c (__catanhf): Likewise.
20986 * math/s_catanhl.c (__catanhl): Likewise.
20987 * math/s_catanl.c (__catanl): Likewise.
20988
2f38fbfe
JM
20989 [BZ #15394]
20990 * math/s_catan.c (__catan): Calculate imaginary part of result
20991 with log1p not log unless computing log of number close to 0.
20992 * math/s_catanf.c (__catanf): Likewise.
20993 * math/s_catanl.c (__catanl): Likewise.
20994 * math/s_catanh.c (__catanh): Calculate real part of result with
20995 log1p not log unless computing log of number close to 0.
20996 * math/s_catanhf.c (__catanhf): Likewise.
20997 * math/s_catanhl.c (__catanhl): Likewise.
20998 * math/libm-test.inc (catan_test): Add more tests.
20999 (catanh_test): Likewise.
21000 * sysdeps/i386/fpu/libm-test-ulps: Update.
21001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21002
45d69176
SP
210032013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21004
21005 * benchtests/Makefile: Mention files in which fast and slow
21006 paths of math functions are implemented.
21007
87f51853
RM
210082013-04-23 Roland McGrath <roland@hack.frob.com>
21009
21010 * sysdeps/posix/timespec_get.c: New file.
21011
3c026539
AZ
210122013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21013
21014 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21015 POWER.
21016 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21017 for POWER.
21018 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21019 powerpc/power5/fpu folders.
21020 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21021 * benchtests/Makefile: Add modf testcase.
21022 * benchtests/bench-modf.c: New file: Benchmark test for mo
21023
ff491d14
SP
210242013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21025
21026 [BZ #14888]
21027 * time/Makefile (tests): Add tst-strptime-whitespace.
21028 * time/strptime_l.c (get_number): Use ISSPACE.
21029 (__strptime_internal): Likewise.
21030 * time/tst-strptime-whitespace.c: New test case.
21031
7ed3f4e8
AS
210322013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21033
21034 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21035 member.
21036 (_nss_files_init): Set it here.
21037
5c95f7b6
HC
210382013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21039
21040 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21041 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21042 unsigned.
21043
d34c9158
JBG
210442013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21045
21046 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21047
2169712d
SP
210482013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21049
21050 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21051 size just once.
21052
29c5de99
DM
210532013-04-21 David S. Miller <davem@davemloft.net>
21054
21055 * po/ru.po: Update Russion translation from translation project.
21056
ccdad15d
AC
210572013-04-17 Adam Conrad <adconrad@0c3.net>
21058
21059 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21060 and setfsgid.
21061
0f122b8d
CD
210622013-04-17 Carlos O'Donell <carlos@redhat.com>
21063
5c5b07da 21064 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21065 * configure: Regenerate.
5c5b07da 21066 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21067 Add example to error message.
21068 * sysdeps/i386/configure: Regenerate.
21069
037714dd
SP
210702013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21071
21072 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21073 slowtan.
21074 * benchtests/cos-inputs: New file.
21075 * benchtests/slowcos-inputs: New file.
21076 * benchtests/slowcos.c: New file.
21077 * benchtests/slowtan-inputs: New file.
21078 * benchtests/slowtan.c: New file.
21079 * benchtests/tan-inputs: New file.
21080
e913141d
RM
210812013-04-16 Roland McGrath <roland@hack.frob.com>
21082
21083 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21084 considered kosher.
21085
a2964074
SP
210862013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21087
4856bcd2
SP
21088 * benchtests/Makefile: Include cppflags-iterator.mk to add
21089 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21090
a2964074
SP
21091 * Makefile.in (bench-clean): New target.
21092 * benchtests/Makefile (bench-clean): Likewise.
21093
9fbf9aca
DH
210942013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21095
21096 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21097
207d1e2a
TS
210982013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21099
21100 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21101
306dfba9
AS
211022013-04-15 Andreas Schwab <schwab@suse.de>
21103
21104 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21105 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21106 * nscd/pwdcache.c (cache_addpw): Likewise.
21107 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21108 more than recsize.
21109
206a6699
SP
211102013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21111
21112 * benchtests/Makefile (bench): Write all output to
21113 bench-out.tmp together.
21114
0582f6b3
AS
211152013-04-15 Andreas Schwab <schwab@suse.de>
21116
21117 * nscd/nscd.c (main): Don't fork again after closing files.
21118
acb4325f
SP
211192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21120
5cb26d0a
SP
21121 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21122
acb4325f
SP
21123 * benchtests/Rules (bench-deps): Collect dependencies into a
21124 single variable. Add Makefile to dependencies.
21125 ($(objpfx)bench-%.c): Depend on bench-deps.
21126
47792506
RM
211272013-04-12 Roland McGrath <roland@hack.frob.com>
21128 Xavier Roche <roche+kml2@exalead.com>
21129
21130 [BZ #15361]
21131 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21132 just that it's a file descriptor.
21133 * manual/llio.texi (Synchronizing AIO Operations): Update description
21134 for EBADF error from aio_fsync.
21135
8fc1bee5
SP
211362013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21137
21138 * Rules (bench): Move target definition...
21139 * benchtests/Makefile: ... here.
21140
aba5e333
CD
211412013-04-11 Carlos O'Donell <carlos@redhat.com>
21142
21143 * math/libm-test.inc (cos_test): Fix PI/2 test.
21144 (sincos_test): Likewise.
21145 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21146 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21147
273cdee8
AS
211482013-04-11 Andreas Schwab <schwab@suse.de>
21149
6ecec3b6
AS
21150 [BZ #13988]
21151 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21152 accept exponent character only when digits were seen.
21153 * stdio-common/Makefile (tests): Add bug26.
21154 * stdio-common/bug26.c: New file.
21155
273cdee8
AS
21156 [BZ #14293]
21157 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21158 non-freeable.
21159
8da491f5
SP
211602013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21161
01dc6df9
SP
21162 * Makeconfig (rtld-prefix): Define built linker prefix.
21163 * Rules (run-bench): Use it.
21164 * math/Makefile (run-regen-ulps): Likewise.
21165
8da491f5
SP
21166 * Rules (bench): Remove eval.
21167
abe7f530
SP
211682013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21169 Roland McGrath <roland@hack.frob.com>
21170 Ondrej Bilka <neleai@seznam.cz>
21171
21172 [BZ #15346]
21173 * time/getdate.c: Include ctype.h and alloca.h.
21174 (__getdate_r): Trim leading and trailing spaces of input.
21175 * time/tst-getdate.c (tests): Add tests with leading and
21176 trailing spaces.
21177
61c23e62
RM
211782013-04-08 Roland McGrath <roland@hack.frob.com>
21179
21180 [BZ #14280]
21181 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21182 when computing value.
21183
7208a313
CD
211842013-04-06 Carlos O'Donell <carlos@redhat.com>
21185
085b2d41
CD
21186 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21187 Use testrun.sh to run libm tests.
21188
7208a313
CD
21189 [BZ #15309]
21190 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21191
872c0acd
MM
211922013-04-06 Marko Myllynen <myllynen@redhat.com>
21193
21194 [BZ #15264]
21195 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21196
26510bdd
CD
211972013-04-06 Carlos O'Donell <carlos@redhat.com>
21198
21199 * Makefile.in (regen-ulps): New target.
21200 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21201 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21202 [ifneq (no,$(PERL)] (regen-ulps): New target.
21203 [ifeq (no,$(PERL)] (regen-ulps): New target.
21204 * math/libm-test.inc (ulps_file_name): Define.
21205 (output_dir): New variable.
21206 (options): Add "output-dir" option.
21207 (parse_opt): Handle 'o' case.
21208 (main): If output_dir is non-NULL use it as a prefix
21209 otherwise use "".
21210 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21211
a01f19c8
CD
212122013-04-06 Carlos O'Donell <carlos@redhat.com>
21213
21214 [BZ #10060, #10062]
21215 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21216 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21217 fail configure if __sync_val_compare_and_swap is not inlined.
21218 * sysdeps/i386/configure: Regenerate.
21219 * configure.in: Build for i686 when configured for i386.
21220 * configure: Regenerate.
21221 * README: Remove i386 reference.
21222
b7a329a5
CD
212232013-04-06 Carlos O'Donell <carlos@redhat.com>
21224
21225 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21226 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21227
bf0f50df
TS
212282013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21229
ee091edf
TS
21230 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21231 (lmsnanval): New variables.
21232 (F): Add conversion tests.
21233 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21234 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21235
a8b792d6
TS
21236 * stdio-common/tstdiomisc.c (F): Properly collect individual
21237 tests' results.
21238
a1cbf437
TS
21239 [BZ #14686, #15336]
21240 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21241 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21242 Instead, use input NaN values or generate a qNaN by arithmetic
21243 operation. Also fix bugs to comply with the standard.
21244 * math/libm-test.inc (remainder_test): Add more tests.
21245
8b43a0c9
TS
21246 [BZ #15335, #15342]
21247 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21248 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21249 input NaN values or generate a qNaN by arithmetic operation.
21250
d91da4ce
TS
21251 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21252 unreachable code.
21253
bf0f50df
TS
21254 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21255 definitions.
21256
05e166c8
JM
212572013-04-03 Joseph Myers <joseph@codesourcery.com>
21258
21259 [BZ #14478]
21260 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21261 underflowed result.
21262 * math/s_cexpf.c (__cexpf): Likewise.
21263 * math/s_cexpl.c (__cexpl): Likewise.
21264 * math/libm-test.inc (cexp_test): Add more tests.
21265
1cef1b19
AS
212662013-04-03 Andreas Schwab <schwab@suse.de>
21267
21268 [BZ #15330]
21269 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21270 order arrays from heap if bigger than alloca cutoff.
21271
74d87055
TS
212722013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21273
21274 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21275 (SNAN_TESTS_double): Refer to GCC PR56831.
21276 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21277 GCC PR56828.
21278
d755bba4
SP
212792013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21280
90d5d5bb
SP
21281 * Rules (bench): Move bench.out after the run is complete.
21282
73e0cd5d
SP
21283 * Rules (bench): Echo currently running benchmark.
21284
64aabd4b
SP
21285 * benchtests/Makefile (bench): Add atan and slowatan.
21286 * benchtests/atan-inputs: New file.
21287 * benchtests/slowatan-inputs: New file.
21288 * benchtests/slowatan.c: New file.
21289
c871eccd
SP
21290 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21291 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21292 its value.
21293
d755bba4
SP
21294 [BZ #15305]
21295 * sysdeps/unix/sysv/linux/kernel-features.h
21296 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21297 __ASSUME_XFS_RESTRICTED_CHOWN.
21298 * sysdeps/unix/sysv/linux/pathconf.c
21299 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21300 Save and restore errno.
21301
52ce4860
JM
213022013-04-02 Joseph Myers <joseph@codesourcery.com>
21303
21304 [BZ #15327]
21305 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21306 arguments using __kernel_casinh.
21307 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21308 arguments using __kernel_casinhf.
21309 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21310 arguments using __kernel_casinhl.
21311 * math/libm-test.inc (cacosh_test): Add more tests.
21312 * sysdeps/i386/fpu/libm-test-ulps: Update.
21313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21314
81f311c2
SP
213152013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21316
e7906a47
SP
21317 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21319
92e3664b
SP
21320 * bench/Makefile (bench): Add sin and slowsin.
21321 * benchtests/sin-inputs: New file.
21322 * benchtests/slowsin-inputs: New file.
21323 * benchtests/slowsin.c: New file.
21324
81f311c2
SP
21325 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21326 (bench): Add slowexp and slowpow.
21327 (exp-ITER): Increase iterations.
21328 (pow-ITER): Likewise.
21329 * benchtests/exp-inputs: Change input.
21330 * benchtests/pow-inputs: Likewise.
21331 * benchtests/slowexp-inputs: New file.
21332 * benchtests/slowexp.c: New file.
21333 * benchtests/slowpow-inputs: New file.
21334 * benchtests/slowpow.c: New file.
21335
ab0f1aa9
AZ
213362013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21337
21338 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21339 instructions.
21340 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21341 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21342 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21343 * benchtests/Makefile: Add rint benchtest.
21344 * benchtests/rint-inputs: Input for rint benchtest.
21345
57267616
TS
213462013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21347
21348 * Versions.def (libm): Add GLIBC_2.18.
21349 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21350 hidden libm prototypes.
21351 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21352 * math/Makefile (libm-calls): Add s_issignaling.
21353 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21354 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21355 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21356 declaration.
21357 * math/math.h [__USE_GNU] (issignaling): New macro.
21358 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21359 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21360 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21361 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21362 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21363 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21364 * manual/arith.texi (issignaling): New section.
21365 * manual/libm-err-tab.pl (@all_functions): Update comment.
21366 * math/gen-libm-test.pl (parse_args): Apply special handling for
21367 issignaling.
21368 * math/libm-test.inc (print_float, issignaling_test): New
21369 functions.
21370 (check_float_internal): Add issignaling checks.
21371 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21372 default definition.
21373 * sysdeps/powerpc/math-tests.h: New file.
21374 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21375 tests.
21376 * math/test-snan.c (TEST_FUNC): Likewise.
21377
6142896d
DM
213782013-03-30 David S. Miller <davem@davemloft.net>
21379
21380 * po/de.po: Update from translation team.
21381
ccc8cadf
JM
213822013-03-30 Joseph Myers <joseph@codesourcery.com>
21383
21384 [BZ #10357]
21385 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21386 imaginary part less than 1.0 and real part less than 0.5
21387 specially.
21388 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21389 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21390 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21391 (cacos_test): Add more tests.
21392 (casin_test): Likewise.
21393 (casinh_test): Likewise.
21394 * sysdeps/i386/fpu/libm-test-ulps: Update.
21395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21396
0f6a8d4b
SP
213972013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21398
0d1029de
SP
21399 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21400 ONE with its value.
21401
c2d94018
SP
21402 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21403 (__pow_mp): Replace ONE and MONE with their values.
21404 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21405 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21406 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21407 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21408 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21409 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21410
27ec37f1
SP
21411 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21412
a64d7e0e
SP
21413 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21414 (__pow_mp): Replace ZERO and MZERO with their values.
21415 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21416 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21417 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21418 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21419 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21420 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21421 (__sqr): Likewise.
21422
d26dd3eb
SP
21423 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21424
0f6a8d4b
SP
21425 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21426
e57b0c61
RM
214272013-03-28 Roland McGrath <roland@hack.frob.com>
21428
21429 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21430 Declare with __attribute__ ((weak)).
21431 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21432 Call __call_tls_dtors only if it's not NULL.
21433
356b3480
RM
214342013-03-28 Roland McGrath <roland@hack.frob.com>
21435
288f7d79
RM
21436 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21437 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21438 magic __ehdr_start linker symbol if it's defined.
21439 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21440 them up here if it was already done.
21441
dc0a0263
RM
21442 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21443 (_dl_aux_init): Use const in cast when setting it.
21444 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21445 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21446 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21447
3d3436ae
RM
21448 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21449 Declare them here.
21450 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21451 * csu/libc-tls.c: Nor here.
21452 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21453
356b3480
RM
21454 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21455 (__libc_message): Never call vsyslog.
21456
b0f1246a
AM
214572013-03-28 Alan Modra <amodra@gmail.com>
21458
21459 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21460 Define as empty.
21461 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21462 Likewise.
21463
fbbe2b9a
AZ
214642013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21465
21466 [BZ #15214]
21467 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21468 underflow.
21469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21470
1728ab37
SP
214712013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21472
7a86be6e
SP
21473 [BZ #15304]
21474 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21475 Don't add gid passed as argument.
21476
1728ab37
SP
21477 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21478
3a7182a1
JM
214792013-03-27 Joseph Myers <joseph@codesourcery.com>
21480
21481 [BZ #15307]
21482 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21483 imaginary part between 1.0 and 1.5 and real part less than 0.5
21484 specially.
21485 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21486 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21487 * math/libm-test.inc (cacos_test): Add more tests.
21488 (casin_test): Likewise.
21489 (casinh_test): Likewise.
21490 * sysdeps/i386/fpu/libm-test-ulps: Update.
21491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21492
6f2e90e7
SP
214932013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21494
5739f705
SP
21495 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21496 constants.
21497 (norm): Likewise.
21498 (denorm): Likewise.
21499 (__dbl_mp): Likewise.
21500 (add_magnitudes): Likewise.
21501 (sub_magnitudes): Likewise.
21502 (__add): Likewise.
21503 (__sub): Likewise.
21504 (__mul): Likewise.
21505 (__sqr): Likewise.
21506 (__inv): Likewise.
21507 (__dvd): Likewise.
21508
e375e83d
SP
21509 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21510 commented code.
21511 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21512 (__dubcos): Likewise.
21513 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21514 (__ieee754_acos): Likewise.
21515 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21516 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21517 (__exp1): Likewise.
21518 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21519 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21520 (log1): Likewise.
21521 (my_log2): Likewise.
21522 (checkint): Likewise.
21523 * sysdeps/ieee754/dbl-64/e_remainder.c
21524 (__ieee754_remainder): Likewise.
21525 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21526 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21527 (bsloww): Likewise.
21528 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21529
6f2e90e7
SP
21530 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21531 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21532 MANTISSA_STORE_T to store computations on mantissa. Use
21533 macros for rounding and division.
21534 (denorm): Likewise.
21535 (__dbl_mp): Likewise.
21536 (add_magnitudes): Likewise.
21537 (sub_magnitudes): Likewise.
21538 (__mul): Likewise.
21539 (__sqr): Likewise.
21540 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21541 powers of two in terms of TWOPOW macro.
21542 (mp_no): Make type of mantissa as MANTISSA_T.
21543 [!RADIXI]: Define RADIXI.
21544 [!TWO52]: Define TWO52.
21545 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21546
fce14d4e
AZ
215472013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21548
21549 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21550 llroundl symbol when building for PPC32.
21551
9ad027fb
MW
215522013-03-24 Mark H Weaver <mhw@netris.org>
21553
21554 * manual/arith.texi (Normalization Functions): Fix prototypes for
21555 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21556
e42a38dd
AZ
215572013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21558
21559 [BZ #13889]
21560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21561 high value to check if expl overflow.
21562 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21563 to check for underflow and overflow.
21564 * math/libm-test.inc: Add exp test.
21565
2e0fb521
DL
215662013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21567
21568 [BZ #11120]
21569 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21570 with NOT_IN_libc.
21571
b5784d95
AZ
215722013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21573
21574 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21575 symbol.
21576
5aa4a1a1
TS
215772013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21578
bdef0be7
TS
21579 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21580 wrap blocks consisting of several statements.
21581
5aa4a1a1
TS
21582 * sysdeps/generic/math-tests.h: New file.
21583 * sysdeps/i386/fpu/math-tests.h: Likewise.
21584 * math/test-snan.c: Include it.
21585 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21586
98c48fe5
JM
215872013-03-21 Joseph Myers <joseph@codesourcery.com>
21588
21589 [BZ #15285]
21590 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21591 (__ieee754_j0l): Do not improve calculations using cos of twice
21592 input for inputs above LDBL_MAX / 2.0L.
21593 (__ieee754_y0l): Likewise.
21594 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21595 (__ieee754_j1l): Do not improve calculations using cos of twice
21596 input for inputs above LDBL_MAX / 2.0L.
21597 (__ieee754_y1l): Likewise.
21598 * math/libm-test.inc (j0_test): Add another test.
21599 (j1_test): Likewise.
21600 (y0_test): Likewise.
21601 (y1_test): Likewise.
21602 * sysdeps/i386/fpu/libm-test-ulps: Update.
21603
3775a8bc
SP
216042013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21605
21606 * Rules ($(objpfx)bench-%.c): Include code from a C source
21607 file.
21608
0a1b2ae6
JM
216092013-03-21 Joseph Myers <joseph@codesourcery.com>
21610
21611 [BZ #15287]
21612 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21613 imaginary part 1.0 and real part less than 0.5 specially.
21614 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21615 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21616 * math/libm-test.inc (cacos_test): Add more tests.
21617 (casin_test): Likewise.
21618 (casinh_test): Likewise.
21619 * sysdeps/i386/fpu/libm-test-ulps: Update.
21620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21621
b33d4ce4
SP
216222013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21623
21624 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21625 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21626
bef0b507
JM
216272013-03-20 Joseph Myers <joseph@codesourcery.com>
21628
21629 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21630 * config.make.in (config-cflags-sse4): Remove variable.
21631 (config-cflags-avx): Likewise.
21632 (config-cflags-sse2avx): Likewise.
21633 (config-cflags-novzeroupper): Likewise.
21634 (config-asflags-i686): Likewise.
21635 (have-mfma4): Likewise.
21636 (have-as-vis3): Likewise.
21637 (MIG): Likewise.
21638 * configure.in (MIG): Do not AC_SUBST.
21639 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21640 (libc_cv_cc_sse4): Do not AC_SUBST.
21641 (libc_cv_cc_avx): Likewise.
21642 (libc_cv_cc_sse2avx): Likewise.
21643 (libc_cv_cc_novzeroupper): Likewise.
21644 (libc_cv_cc_fma4): Likewise.
21645 (libc_cv_as_i686): Likewise.
21646 (libc_cv_sparc_as_vis3): Likewise.
21647 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21648 LIBC_CONFIG_VAR.
21649 (config-asflags-i686): Likewise.
21650 (config-cflags-avx): Likewise.
21651 (config-cflags-sse2avx): Likewise.
21652 (have-mfma4): Likewise.
21653 (config-cflags-novzeroupper): Likewise.
21654 * sysdeps/mach/configure.in (MIG): Likewise.
21655 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21656 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21657 LIBC_CONFIG_VAR.
21658 (config-cflags-avx): Likewise.
21659 (config-cflags-sse2avx): Likewise.
21660 (have-mfma4): Likewise.
21661 (config-cflags-novzeroupper): Likewise.
21662 * configure: Regenerated.
21663 * sysdeps/i386/configure: Likewise.
21664 * sysdeps/mach/configure: Likewise.
21665 * sysdeps/sparc/configure: Likewise.
21666 * sysdeps/x86_64/configure: Likewise.
21667
912cc4b3
RM
216682013-03-20 Roland McGrath <roland@hack.frob.com>
21669
21670 [BZ #14812]
21671 * locale/programs/localedef.c (options): Put N_ translation marker
21672 on argument names, not just descriptions.
21673
04eed2b0
MS
216742013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21675
21676 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21677
a065ceff
OB
216782013-03-20 Ondřej Bílka <neleai@seznam.cz>
21679
9bb2a810 21680 [BZ #14176]
a065ceff
OB
21681 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21682
a600e5ce
RM
216832013-03-19 Roland McGrath <roland@hack.frob.com>
21684
21685 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21686 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21687 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21688 [!BEFORE_ABORT] (before_abort): New function.
21689 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21690 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21691 (writev_for_fatal): New function.
21692 (WRITEV_FOR_FATAL): New macro; call that.
21693 (backtrace_and_maps): New function.
21694 (BEFORE_ABORT): New macro; call that.
21695 (struct str_list): Type removed.
21696 (__libc_message, __libc_fatal): Functions removed.
21697 Include <sysdeps/posix/libc_fatal.c> instead.
21698
6b18bea6
JM
216992013-03-19 Joseph Myers <joseph@codesourcery.com>
21700
21701 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21702 constants.
21703 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21704 double constants.
21705
aaa8cb4b
AS
217062013-03-19 Andreas Schwab <schwab@suse.de>
21707
44673770
AS
21708 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21709 * sysdeps/gnu/configure: Regenerate.
21710
aaa8cb4b
AS
21711 * configure.in: Substitute libc_cv_rtlddir.
21712 * configure: Regenerate.
21713 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21714 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21715 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21716 * elf/Makefile (install-others, CFLAGS-interp.c)
21717 (ldso_install, common-ldd-rewrite): Likewise.
21718 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21719 $(inst_slibdir)/$(rtld-installed-name).
21720 * scripts/rellns-sh: Add -p option.
21721 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21722 for source.
21723
d3cfc668
SP
217242013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21725
21726 * manual/nptl.texi: Renamed to ...
21727 * manual/threads.texi: ... this.
21728 * manual/Makefile (chapters): Update.
21729
0e2b9cdd
RM
217302013-03-18 Roland McGrath <roland@hack.frob.com>
21731
21732 [BZ #14812]
21733 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21734 on argument names, not just descriptions.
0e2b9cdd
RM
21735 * malloc/memusagestat.c (options): Likewise.
21736 * nss/getent.c (options): Likewise.
63270c24
RM
21737
217382013-03-18 Benno Schulenberg <bensberg@justemail.net>
21739
21740 [BZ #14812]
21741 * iconv/iconv_prog.c (options): Put N_ translation marker
21742 on argument names, not just descriptions.
21743 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21744
b2e1393c
OB
217452013-03-18 Ondrej Bilka <neleai@seznam.cz>
21746
21747 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21748 implementation which is faster on all x86_64 architectures.
21749 Tested on AMD, Intel Nehalem, SNB, IVB.
21750 * sysdeps/x86_64/strnlen.S: Likewise.
21751
21752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21753 Remove all multiarch strlen and strnlen versions.
21754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21755 Remove strlen and strnlen related parts.
21756
21757 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21758 Inline strlen part.
21759 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21760
21761 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21762 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21763 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21764 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21765 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21766 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21767
ec4ff04d
CD
217682013-03-17 Carlos O'Donell <carlos@redhat.com>
21769
21770 * manual/memory.texi (Malloc Tunable Parameters):
21771 Sort parameters alphabetically. Add comments for missing entries.
21772
cd18e90a
DM
217732013-03-17 David S. Miller <davem@davemloft.net>
21774
21775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21776
2a185d32
JM
217772013-03-16 Joseph Myers <joseph@codesourcery.com>
21778
d2f9799e
JM
21779 [BZ #15283]
21780 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21781 for arguments at most half maximum finite value.
21782 * math/libm-test.inc (j0_test): Add more tests.
21783 (j1_test): Likewise.
21784 (y0_test): Likewise.
21785 (y1_test): Likewise.
21786 * sysdeps/i386/fpu/libm-test-ulps: Update.
21787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21788
2a185d32
JM
21789 [BZ #14155]
21790 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21791 1 / x and functions P and Q for arguments above 0x1p256L.
21792 (__ieee754_y0l): Likewise.
21793 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21794 (__ieee754_y1l): Likewise.
21795 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21796 (j1_test): Likewise.
21797 (y0_test): Likewise.
21798 (y1_test): Likewise.
21799
6cbec759
TS
218002013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21801
21802 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21803 variable.
21804
bc16e260
RM
218052013-03-15 Roland McGrath <roland@hack.frob.com>
21806
aefc9b8c
RM
21807 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21808 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21809 zero since it's initialized to EXEC_PAGESIZE.
21810
bc16e260
RM
21811 * sysdeps/unix/sysv/linux/ldsodefs.h
21812 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21813 * sysdeps/generic/ldsodefs.h: ... here.
21814
a57da955
TS
218152013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21816
af00a34d
TS
21817 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21818
495ded2c
TS
21819 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21820 math/test-snan.c.
21821 * math/test-snan.c: Renamed from
21822 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21823 * math/Makefile (tests): Add test-snan.
21824 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21825 test-powerpc-snan.
21826
777b0332
TS
21827 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21828 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21829 functions.
21830 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21831 __builtin_nan family of functions.
21832 * math/libm-test.inc (initialize): Initialize qnan_value with
21833 __builtin_nan family of functions.
21834 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21835 Remove variables.
21836 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21837 Remove functions.
21838 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21839 storage class. Initialize qNaN_var and sNaN_var with
21840 __builtin_nan and __builtin_nans families of functions,
21841 respectively.
21842
64d063b8
TS
21843 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21844 (sqrt_test): Remove duplicate test with qNaN input.
21845 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21846 (round_test, signbit_test, significand_test): Note missing +/-Inf
21847 as well as qNaN tests.
21848
67e971f1
TS
21849 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21850 qNaN_var. Fix a few strings, too.
21851 * math/libm-test.inc (nan_value): Rename to qnan_value.
21852 * math/gen-libm-test.pl (%beautify): Adjust to that.
21853 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21854 * math/test-misc.c (main): Likewise.
21855 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21856 to __qnan_bytes, and __qnan_union, respectively.
21857 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21858 Likewise.
21859 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21860 and lqnanval, respectively.
21861 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21862 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21863 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21864 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21865
64487e12
TS
21866 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21867 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21868 doubles.
21869
e015e27b
TS
21870 * math/test-misc.c (main): Fix copy'n'pastos.
21871 * misc/tst-efgcvt.c (special): Likewise.
21872
a57da955
TS
21873 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21874 Remove declarations.
21875
1e380345
SP
218762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21877
21878 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21879 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21880 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21881 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21882
ef26eece
AZ
218832013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21884
21885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21886 macro to return vdso values correctly in IFUNC implementations.
21887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21888 Optimization by using IFUNC.
21889
8cfdb7e0
SP
218902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21891 Richard Henderson <rth@redhat.com>
21892 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21893
21894 * Makefile.in (bench): New target.
21895 * NEWS: Mention the benchmark framework.
21896 * Rules (bench): Likewise.
21897 (binaries-bench): Generate binaries for functions to
21898 benchmark.
21899 * benchtests/Makefile: New makefile for benchmark tests.
21900 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21901 programs.
21902 * benchtests/exp-inputs: New input file for EXP function.
21903 * benchtests/pow-inputs: New input file for POW function.
21904 * scripts/bench.pl: New script to generate source files for
21905 benchmark programs.
21906
bcda9880
SP
219072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21908
d22ca8cd
SP
21909 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21910 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21911 computations on mantissa. Use macros for rounding and
21912 division.
21913 (denorm): Likewise.
21914 (__dbl_mp): Likewise.
21915 (add_magnitudes): Likewise.
21916 (sub_magnitudes): Likewise.
21917 (__mul): Likewise.
21918 (__sqr): Likewise.
21919 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21920 powers of two in terms of TWOPOW macro.
21921 (mp_no): Make type of mantissa as MANTISSA_T.
21922 [!RADIXI]: Define RADIXI.
21923 [!TWO52]: Define TWO52.
21924 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21925
bcda9880
SP
21926 * manual/nptl.texi (cindex): Modify threads to pthreads.
21927
06d5adfb
JM
219282013-03-15 Joseph Myers <joseph@codesourcery.com>
21929
21930 * sysdeps/x86_64/preconfigure: Regenerated.
21931
41c7328e
JM
219322013-03-14 Joseph Myers <joseph@codesourcery.com>
21933
21934 [BZ #14155]
21935 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21936 0x1p28 and above.
21937 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21938 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21939 0x1p28 and above.
21940 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21941 * math/libm-test.inc (j0_test): Do not allow one spurious
21942 underflow exception.
21943 (y1_test): Likewise.
21944
e25cfa60
SP
219452013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21946
0409959c
SP
21947 * manual/Makefile (chapters): Add nptl.
21948 * manual/debug.texi (Debugging Support): Add link to Threads
21949 chapter.
21950 * manual/nptl.texi: New file.
21951
e25cfa60
SP
21952 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21953
58a1335e
PB
219542013-03-14 Petr Baudis <pasky@ucw.cz>
21955
21956 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21957 for non-NULL pointer before the memory validity test. Pointed
21958 out by Holger Brunck <holger.brunck@keymile.com>.
21959
9dc7c64f
AS
219602013-03-13 Andreas Schwab <schwab@suse.de>
21961
21962 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21963 instead of .os.
21964
54206aa6
JM
219652013-03-13 Joseph Myers <joseph@codesourcery.com>
21966
21967 * timezone/zic.c: Update from tzcode 2013b.
21968
e98cdb38
CD
219692013-03-12 Carlos O'Donell <carlos@redhat.com>
21970
21971 * manual/install.texi (Configuring and compiling):
21972 Mention i686 and i586.
21973 * INSTALL: Regenerate.
21974
9967e003
RM
219752013-03-12 Roland McGrath <roland@hack.frob.com>
21976
21977 * sysdeps/init_array/elf-init.c: New file.
21978 * csu/elf-init.c
21979 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21980 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21981
21982 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21983 __gmon_start__ as global, but as static with a .preinit_array pointer.
21984 * sysdeps/init_array/gmon-start.c: New file. Use that.
21985 * sysdeps/init_array/crti.S: New file, empty except for comments.
21986 * sysdeps/init_array/crtn.S: Likewise.
21987
e6b5a293 219882013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21989
21990 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21991 definining bcopy.
80f844c9
OB
21992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21993 Remove Prefer_SSE_for_memop.
21994 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21995 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21996 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21998 memset-x86-64.
80f844c9 21999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22000 Remove bzero, memset ifunc support.
80f844c9
OB
22001 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22002 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22003 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22004 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22005
fb6b0fcb
AS
220062013-03-11 Andreas Schwab <schwab@suse.de>
22007
22008 [BZ #15234]
22009 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22010 by SHLIB_COMPAT.
22011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22012 (GLIBC_2.16): Remove pthread_atfork.
22013
3e6bd4b1
PP
220142013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22015
22016 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22017 (ptestcases.h): Likewise.
22018
222d7f00
RM
220192013-03-08 Roland McGrath <roland@hack.frob.com>
22020
22021 * Makeconfig ($(common-objpfx)config.status): Depend on
22022 sysdeps/*/preconfigure{,.in} too.
22023
1ba4f030
JM
220242013-03-08 Joseph Myers <joseph@codesourcery.com>
22025
a222d91a
JM
22026 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22027 (__free_hook): Use void * instead of __malloc_ptr_t.
22028 (__malloc_hook): Likewise.
22029 (__realloc_hook): Likewise.
22030 (__memalign_hook): Likewise.
22031 (__after_morecore_hook): Likewise.
22032 * malloc/arena.c (save_malloc_hook): Likewise.
22033 (save_free_hook): Likewise.
22034 * malloc/hooks.c (malloc_hook_ini): Likewise.
22035 (realloc_hook_ini): Likewise.
22036 (memalign_hook_ini): Likewise.
22037 * malloc/malloc.c (malloc_hook_ini): Likewise.
22038 (realloc_hook_ini): Likewise.
22039 (memalign_hook_ini): Likewise.
22040 (__free_hook): Likewise.
22041 (__malloc_hook): Likewise.
22042 (__realloc_hook): Likewise.
22043 (__memalign_hook): Likewise.
22044 (__libc_malloc): Likewise.
22045 (__libc_free): Likewise.
22046 (__libc_realloc): Likewise.
22047 (__libc_memalign): Likewise.
22048 (__libc_valloc): Likewise.
22049 (__libc_pvalloc): Likewise.
22050 (__libc_calloc): Likewise.
22051 (__posix_memalign): Likewise.
22052 * malloc/morecore.c (__sbrk): Likewise.
22053 (__default_morecore): Likewise.
22054
5cc45e10
JM
22055 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22056
dd54b864
JM
22057 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22058 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22059 __malloc_ptrdiff_t.
22060
1ba4f030
JM
22061 * malloc/malloc.h (__malloc_size_t): Remove macro.
22062 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22063 __malloc_size_t.
22064 (old_memalign_hook): Likewise.
22065 (old_realloc_hook): Likewise.
22066 (struct hdr): Likewise.
22067 (flood): Likewise.
22068 (mallochook): Likewise.
22069 (memalignhook): Likewise.
22070 (reallochook): Likewise.
22071 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22072 (tr_old_realloc_hook): Likewise.
22073 (tr_old_memalign_hook): Likewise.
22074 (tr_mallochook): Likewise.
22075 (tr_reallochook): Likewise.
22076 (tr_memalignhook): Likewise.
22077
edf66e57
AZ
220782013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22079
22080 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22081 default_ldbl_pack and using as default implementation.
22082 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22083 implementation.
22084 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22085 redundant definition.
22086 (ldbl_insert_mantissa): Likewise.
22087 (ldbl_canonicalize): Likewise.
22088 (ldbl_nearbyint): Likewise.
22089 (ldbl_pack): Rename to ldbl_pack_ppc.
22090 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22091 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22092 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22093
6d9145d8
SP
220942013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22095
22096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22097 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22098 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22099 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22101 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22102 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22103 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22104
4dd4e157
AJ
221052013-03-07 Andreas Jaeger <aj@suse.de>
22106
22107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22108 bits/mman-linux.h.
22109
adbb8027
SP
221102013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22111
ce544b5b
SP
22112 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22113 Include mpa.h and declare __MPEXP.
22114 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22115 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22116 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22117 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22118 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22119 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22120 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22121
4cc149fd
SP
22122 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22123 (__slowpow): Use long double EXPL and LOGL functions to
22124 compute POW.
22125 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22126 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22127 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22128 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22129 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22131
e6ebd4a7
SP
22132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22133 intermediate variable to calculate exponent.
22134 (__sqr): Likewise.
22135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22136 Likewise.
22137 (__sqr): Likewise.
22138
82a9811d
SP
22139 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22140 [!NO__SQR]: Define __sqr.
22141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22142 and NO__SQR. Remove all code except __mul and __sqr. Include
22143 sysdeps/ieee754/dbl-64/mpa.c.
22144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22145
adbb8027
SP
22146 [BZ #12723]
22147 * posix/Makefile (tests): Add tst-pathconf.
22148 * posix/tst-pathconf.c: New test case.
22149 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22150 _PC_PIPE_BUF.
22151 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22152
39120df9
PF
221532013-03-06 Patsy Franklin <pfrankli@redhat.com>
22154
22155 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22156
67525cb8
AJ
221572013-03-06 Andreas Jaeger <aj@suse.de>
22158
664a9ce4
AJ
22159 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22160 definition via __MAP_ANONYMOUS.
22161
8e39047d
AJ
22162 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22163 it's not part of Linux headers.
22164
67525cb8
AJ
22165 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22166 (MAP_HUGE_MASK): Define.
22167
22168 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22169 Define.
22170 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22171 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22172 Define.
22173 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22174 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22175 Define.
22176 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22178 Define.
22179 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22180
22181 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22182 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22183 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22184 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22185 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22186 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22187
22188 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22189 Handle f2fs.
22190
22191 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22192 Handle f2fs and efivarfs.
22193
22194 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22195 f2fs.
22196
22197 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22198 (EFIVARFS_MAGIC): Add.
22199 (F2FS_LINK_MAX): Add.
22200
e1b42695
PP
222012013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22202
22203 * stdio-common/vfprintf.c: Replace __builtin_expect with
22204 __glibc_unlikely.
22205
2d67d91a
JM
222062013-03-06 Joseph Myers <joseph@codesourcery.com>
22207
22208 [BZ #13550]
22209 * sysdeps/generic/bp-sym.h: Remove file.
22210 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22211 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22212 <bp-sym.h> and <bp-asm.h>.
22213 (__longjmp): Don't use BP_SYM.
22214 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22215 and <bp-asm.h>.
22216 (memcpy): Don't use BP_SYM.
22217 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22218 <bp-sym.h> and <bp-asm.h>.
22219 (memcpy): Don't use BP_SYM.
22220 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22221 <bp-asm.h>.
22222 (memcpy): Don't use BP_SYM.
22223 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22224 <bp-asm.h>.
22225 (memset): Don't use BP_SYM.
22226 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22227 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22228 (__bzero): Don't use BP_SYM.
22229 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22230 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22231 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22232 <bp-sym.h> and <bp-asm.h>.
22233 (memcmp): Don't use BP_SYM. Remove comment about bounded
22234 pointers.
22235 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22236 <bp-sym.h> and <bp-asm.h>.
22237 (memcpy): Don't use BP_SYM.
22238 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22239 <bp-sym.h> and <bp-asm.h>.
22240 (memset): Don't use BP_SYM.
22241 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22242 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22243 (__bzero): Don't use BP_SYM.
22244 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22245 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22246 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22247 <bp-sym.h> and <bp-asm.h>.
22248 (strncmp): Don't use BP_SYM. Remove comment about bounded
22249 pointers.
22250 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22251 <bp-sym.h> and <bp-asm.h>.
22252 (memcpy): Don't use BP_SYM.
22253 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22254 <bp-sym.h> and <bp-asm.h>.
22255 (memset): Don't use BP_SYM.
22256 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22257 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22258 (__bzero): Don't use BP_SYM.
22259 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22260 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22261 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22262 <bp-sym.h> and <bp-asm.h>.
22263 (__memchr): Don't use BP_SYM.
22264 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22265 <bp-sym.h> and <bp-asm.h>.
22266 (memcmp): Don't use BP_SYM. Remove comment about bounded
22267 pointers.
22268 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22269 <bp-sym.h> and <bp-asm.h>.
22270 (memcpy): Don't use BP_SYM.
22271 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22272 <bp-sym.h> and <bp-asm.h>.
22273 (__mempcpy): Don't use BP_SYM.
22274 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22275 <bp-sym.h> and <bp-asm.h>.
22276 (__memrchr): Don't use BP_SYM.
22277 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22278 <bp-sym.h> and <bp-asm.h>.
22279 (memset): Don't use BP_SYM.
22280 (__bzero): Likewise.
22281 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22282 <bp-sym.h> and <bp-asm.h>.
22283 (__rawmemchr): Don't use BP_SYM.
22284 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22285 <bp-sym.h> and <bp-asm.h>.
22286 (__STRCMP): Don't use BP_SYM.
22287 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22288 <bp-sym.h> and <bp-asm.h>.
22289 (strchr): Don't use BP_SYM.
22290 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22291 <bp-sym.h> and <bp-asm.h>.
22292 (__strchrnul): Don't use BP_SYM.
22293 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22294 <bp-sym.h> and <bp-asm.h>.
22295 (strlen): Don't use BP_SYM.
22296 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22297 <bp-sym.h> and <bp-asm.h>.
22298 (strncmp): Don't use BP_SYM. Remove comment about bounded
22299 pointers.
22300 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22301 <bp-sym.h> and <bp-asm.h>.
22302 (__strnlen): Don't use BP_SYM.
22303 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22304 <bp-sym.h> and <bp-asm.h>.
22305 (__GI__setjmp): Don't use BP_SYM.
22306 (_setjmp): Likewise.
22307 (__sigsetjmp): Likewise.
22308 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22309 (L(start_addresses)): Don't use BP_SYM.
22310 (_start): Likewise.
22311 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22312 <bp-asm.h>.
22313 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22314 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22315 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22316 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22317 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22318 <bp-asm.h>.
22319 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22320 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22321 about bounded pointers.
22322 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22323 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22324 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22325 <bp-asm.h>.
22326 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22327 about bounded pointers. Remove GKM FIXME comments.
22328 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22329 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22330 <bp-asm.h>.
22331 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22332 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22333 Remove GKM FIXME comments.
22334 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22335 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22336 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22337 <bp-asm.h>.
22338 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22339 about bounded pointers. Remove GKM FIXME comment.
22340 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22341 and <bp-asm.h>.
22342 (strncmp): Don't use BP_SYM. Remove comment about bounded
22343 pointers.
22344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22345 <bp-sym.h> and <bp-asm.h>.
22346 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22348 <bp-sym.h> and <bp-asm.h>.
22349 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22350 comment.
22351
cdcf361f
PP
223522013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22353
22354 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22355 call free(NULL).
22356
3c4a2b15
DM
223572013-03-05 David S. Miller <davem@davemloft.net>
22358
22359 * po/es.po: Update from translation team.
22360
cdcf361f 223612013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
22362
22363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22364 <bits/mman-linux.h>.
22365 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22366 is fine.
22367 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22368 <bits/mman-linux.h> to end of file.
22369 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22370 is fine.
22371 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22372 <bits/mman-linux.h> to end of file.
22373 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22374 is fine.
22375 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22376 <bits/mman-linux.h> to end of file.
22377
22378 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22379 (MCL_CURRENT, MCL_FUTURE): Define here.
22380
5f67c04f
AK
223812013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22382
8a4473cc 22383 [BZ #15232]
5f67c04f
AK
22384 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22385 attribute_hidden.
22386 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22387
c3e94a95
AK
223882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22389
22390 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22391 fourth parameter needed for rt_sigprocmask syscall.
22392 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22393 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22394 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22395 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22396 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22397 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22398
cfb6382a
JM
223992013-03-04 Joseph Myers <joseph@codesourcery.com>
22400
22401 [BZ #13550]
22402 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22403 comment about bounded pointers.
22404 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22405 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22406
539d8e01
AJ
224072013-03-04 Andreas Jaeger <aj@suse.de>
22408
22409 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22410 common definitions.
22411
22412 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22413 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22414 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22415 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22416 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22417 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22418
2e167a70 224192013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22420
22421 [BZ #15055]
22422 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22423 __ieee754_sqrl instead of __sqrl.
22424
68508633
JM
224252013-03-01 Joseph Myers <joseph@codesourcery.com>
22426
22427 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22428 * sysdeps/powerpc/fpu_control.h: ... here.
22429 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22430 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22431 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22432 * sysdeps/powerpc/bits/mathinline.h: ... here.
22433
7775448e
RM
224342013-03-01 Roland McGrath <roland@hack.frob.com>
22435
22436 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22437 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22438 to just [NEED_DL_SYSINFO_DSO].
22439 * elf/dl-support.c: Likewise.
22440 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22441 * elf/rtld.c (dl_main): Likewise.
22442 * elf/setup-vdso.h (setup_vdso): Likewise.
22443 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22444 * sysdeps/unix/sysv/linux/dl-sysdep.c
22445 (_dl_discover_osversion): Likewise.
22446
4e9b5995
CD
224472013-03-01 Carlos O'Donell <carlos@redhat.com>
22448
22449 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22450 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22451
e23872c8
SP
224522013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22453
e5c74c63
SP
22454 * NEWS: Mention libm performance improvements and non-x86 PI
22455 futex support.
22456
e23872c8
SP
22457 * csu/libc-start.c (__pthread_initialize_minimal): Change
22458 function arguments.
22459 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22460
b5510883
JM
224612013-02-28 Joseph Myers <joseph@codesourcery.com>
22462
22463 [BZ #13550]
22464 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22465 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22466 <bp-sym.h> and <bp-asm.h>.
22467 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22468 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22469 and <bp-asm.h>.
22470 (memcpy): Don't use BP_SYM.
22471 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22472 <bp-asm.h>.
22473 (__mpn_add_n): Don't use BP_SYM.
22474 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22475 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22476 and <bp-asm.h>.
22477 (__mpn_addmul_1): Don't use BP_SYM.
22478 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22479 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22480 <bp-sym.h>.
22481 (_setjmp): Don't use BP_SYM.
22482 (__novmx_setjmp): Likewise.
22483 (__GI__setjmp): Likewise.
22484 (__vmx_setjmp): Likewise.
22485 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22486 <bp-sym.h>.
22487 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22488 (__bzero): Don't use BP_SYM.
22489 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22490 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22491 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22492 <bp-sym.h> and <bp-asm.h>.
22493 (memcpy): Don't use BP_SYM.
22494 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22495 <bp-sym.h> and <bp-asm.h>.
22496 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22497 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22498 <bp-sym.h> and <bp-asm.h>.
22499 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22500 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22501 <bp-asm.h>.
22502 (__mpn_lshift): Don't use BP_SYM.
22503 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22504 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22505 <bp-asm.h>.
22506 (memset): Don't use BP_SYM.
22507 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22508 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22509 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22510 <bp-asm.h>.
22511 (__mpn_mul_1): Don't use BP_SYM.
22512 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22513 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22514 <bp-sym.h> and <bp-asm.h>.
22515 (memcmp): Don't use BP_SYM.
22516 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22517 <bp-sym.h> and <bp-asm.h>.
22518 (memcpy): Don't use BP_SYM.
22519 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22520 <bp-sym.h> and <bp-asm.h>.
22521 (memset): Don't use BP_SYM.
22522 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22523 <bp-sym.h> and <bp-asm.h>.
22524 (strncmp): Don't use BP_SYM.
22525 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22526 <bp-sym.h> and <bp-asm.h>.
22527 (memcpy): Don't use BP_SYM.
22528 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22529 <bp-sym.h> and <bp-asm.h>.
22530 (memset): Don't use BP_SYM.
22531 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22532 <bp-sym.h> and <bp-asm.h>.
22533 (__memchr): Don't use BP_SYM.
22534 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22535 <bp-sym.h> and <bp-asm.h>.
22536 (memcmp): Don't use BP_SYM.
22537 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22538 <bp-sym.h> and <bp-asm.h>.
22539 (memcpy): Don't use BP_SYM.
22540 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22541 <bp-sym.h> and <bp-asm.h>.
22542 (__mempcpy): Don't use BP_SYM.
22543 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22544 <bp-sym.h> and <bp-asm.h>.
22545 (__memrchr): Don't use BP_SYM.
22546 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22547 <bp-sym.h> and <bp-asm.h>.
22548 (memset): Don't use BP_SYM.
22549 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22550 <bp-sym.h> and <bp-asm.h>.
22551 (__rawmemchr): Don't use BP_SYM.
22552 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22553 <bp-sym.h> and <bp-asm.h>.
22554 (__STRCMP): Don't use BP_SYM.
22555 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22556 <bp-sym.h> and <bp-asm.h>.
22557 (strchr): Don't use BP_SYM.
22558 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22559 <bp-sym.h> and <bp-asm.h>.
22560 (__strchrnul): Don't use BP_SYM.
22561 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22562 <bp-sym.h> and <bp-asm.h>.
22563 (strlen): Don't use BP_SYM.
22564 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22565 <bp-sym.h> and <bp-asm.h>.
22566 (strncmp): Don't use BP_SYM.
22567 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22568 <bp-sym.h> and <bp-asm.h>.
22569 (__strnlen): Don't use BP_SYM.
22570 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22571 <bp-asm.h>.
22572 (__mpn_rshift): Don't use BP_SYM.
22573 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22574 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22575 <bp-sym.h> and <bp-asm.h>.
22576 (__sigsetjmp): Don't use BP_SYM.
22577 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22578 (L(start_addresses)): Don't use BP_SYM.
22579 (_start): Likewise.
22580 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22581 <bp-asm.h>.
22582 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22583 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22584 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22585 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22586 <bp-asm.h>.
22587 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22588 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22589 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22590 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22591 <bp-asm.h>.
22592 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22593 comments.
22594 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22595 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22596 <bp-asm.h>.
22597 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22598 FIXME comments.
22599 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22600 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22601 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22602 <bp-asm.h>.
22603 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22604 comment.
22605 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22606 and <bp-asm.h>.
22607 (strncmp): Don't use BP_SYM,
22608 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22609 <bp-asm.h>.
22610 (__mpn_sub_n): Don't use BP_SYM.
22611 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22612 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22613 and <bp-asm.h>.
22614 (__mpn_submul_1): Don't use BP_SYM.
22615 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22617 <bp-sym.h> and <bp-asm.h>.
22618 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22620 <bp-sym.h> and <bp-asm.h>.
22621 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22622 comment.
22623
8d19fe64
SP
226242013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22625
22626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22627 Use ZK to minimize writes to Z.
22628 (sub_magnitudes): Simplify code a bit.
22629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22630 Use ZK to minimize writes to Z.
22631 (sub_magnitudes): Simplify code a bit.
22632
85bd816a
RM
226332013-02-27 Roland McGrath <roland@hack.frob.com>
22634
22635 * csu/gmon-start.c: Add special exception to license text.
22636
b5977bf2
RH
226372013-02-27 Richard Henderson <rth@redhat.com>
22638
22639 * scripts/config.guess: Update from config.git.
22640 * scripts/config.sub: Likewise.
22641
11d6e2f2
SP
226422013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22643
09c14ed2
SP
22644 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22645
a688864e
SP
22646 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22647
6295157a
SP
22648 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22649
b8de2202
SP
22650 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22651
11d6e2f2
SP
22652 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22653
7e80ddb8
RM
226542013-02-26 Roland McGrath <roland@hack.frob.com>
22655
22656 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22657 [$(build-shared = yes].
7e80ddb8 22658
7da6d9ed
SP
226592013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22660
45f05884
SP
22661 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22662 (__mul): Reduce iterations for calculating mantissa.
22663
2236d359
SP
22664 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22665 MPTWO.
22666 (__mpranred): Likewise.
22667
7da6d9ed
SP
22668 [BZ #15160]
22669 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22670 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22671
b7688c42
PE
226722013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22673
22674 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22675 Define __attribute__.
22676
53a5c423
SP
226772013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22678
22679 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22680 unused.
22681 * posix/regex_internal.h (__attribute): Remove.
22682 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22683 (re_string_context_at): Likewise.
22684 (bitset_not): Use __attribute__ and mark function as possibly
22685 unused.
22686 (bitset_merge): Likewise.
22687 (bitset_mask): Likewise.
22688 (re_string_char_size_at): Likewise.
22689 (re_string_wchar_at): Likewise.
22690 (re_string_elem_size_at): Likewise.
22691
60f5a8b5
SP
226922013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22693
2a983a2e
SP
22694 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22695 code.
22696 (cc32): Likewise.
22697
e69804d1
SP
22698 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22699 (__acr): Likewise.
22700 (__cpy): Likewise.
22701 (norm): Likewise.
22702 (denorm): Likewise.
22703 (__dbl_mp): Likewise.
22704 (add_magnitudes): Likewise.
22705 (sub_magnitudes): Likewise.
22706 (__mul): Likewise.
22707 (__inv): Likewise.
22708
2f22a1e8
SP
22709 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22710 style.
22711
8930ddc7
SP
22712 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22713 style.
22714
dc60cb11
SP
22715 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22716 code.
22717
60f5a8b5
SP
22718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22719 up changes with default code.
22720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22721 Likewise.
22722
b4d1fd33
AM
227232013-02-24 Allan McRae <allan@archlinux.org>
22724
faf6f8bc
AM
22725 * manual/socket.texi (The Internet Namespace): Order menu items
22726 to match that in the file.
22727
b4d1fd33
AM
22728 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22729 node listing of the info page menu.
22730
2366713d
JM
227312013-02-21 Joseph Myers <joseph@codesourcery.com>
22732
22733 [BZ #13550]
22734 * sysdeps/i386/bp-asm.h: Remove file.
22735 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22736 (PARMS): Do not use macros from bp-asm.h.
22737 (S1): Likewise.
22738 (S2): Likewise.
22739 (SIZE): Likewise.
22740 (__mpn_add_n): Do not use BP_SYM
22741 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22742 "bp-asm.h".
22743 (PARMS): Do not use macros from bp-asm.h.
22744 (S1): Likewise.
22745 (SIZE): Likewise.
22746 (__mpn_addmul_1): Do not use BP_SYM
22747 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22748 "bp-asm.h".
22749 (PARMS): Do not use macros from bp-asm.h.
22750 (SIGMSK): Likewise.
22751 (_setjmp): Likewise. Do not use BP_SYM.
22752 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22753 "bp-asm.h".
22754 (PARMS): Do not use macros from bp-asm.h.
22755 (SIGMSK): Likewise.
22756 (setjmp): Likewise. Do not use BP_SYM.
22757 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22758 "bp-asm.h".
22759 (PARMS): Do not use macros from bp-asm.h.
22760 (__frexp): Do not use BP_SYM.
22761 (frexp): Likewise.
22762 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22763 "bp-asm.h".
22764 (PARMS): Do not use macros from bp-asm.h.
22765 (__frexpf): Do not use BP_SYM.
22766 (frexpf): Likewise.
22767 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22768 "bp-asm.h".
22769 (PARMS): Do not use macros from bp-asm.h.
22770 (__frexpl): Do not use BP_SYM.
22771 (frexpl): Likewise.
22772 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22773 "bp-asm.h".
22774 (PARMS): Do not use macros from bp-asm.h.
22775 (__remquo): Do not use BP_SYM.
22776 (remquo): Likewise.
22777 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22778 "bp-asm.h".
22779 (PARMS): Do not use macros from bp-asm.h.
22780 (__remquof): Do not use BP_SYM.
22781 (remquof): Likewise.
22782 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22783 "bp-asm.h".
22784 (PARMS): Do not use macros from bp-asm.h.
22785 (__remquol): Do not use BP_SYM.
22786 (remquol): Likewise.
22787 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22788 "bp-asm.h".
22789 (PARMS): Do not use macros from bp-asm.h.
22790 (DEST): Likewise.
22791 (SRC): Likewise.
22792 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22793 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22794 "bp-asm.h".
22795 (PARMS): Do not use macros from bp-asm.h.
22796 (strlen): Do not use BP_SYM.
22797 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22798 "bp-asm.h".
22799 (PARMS): Do not use macros from bp-asm.h.
22800 (S1): Likewise.
22801 (S2): Likewise.
22802 (SIZE): Likewise.
22803 (__mpn_add_n): Do not use BP_SYM.
22804 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22805 "bp-asm.h".
22806 (PARMS): Do not use macros from bp-asm.h.
22807 (S1): Likewise.
22808 (SIZE): Likewise.
22809 (__mpn_addmul_1): Do not use BP_SYM.
22810 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22811 weak_alias.
22812 (bzero): Likewise.
22813 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22814 "bp-asm.h".
22815 (PARMS): Do not use macros from bp-asm.h.
22816 (S): Likewise.
22817 (SIZE): Likewise.
22818 (__mpn_lshift): Do not use BP_SYM.
22819 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22820 "bp-asm.h".
22821 (PARMS): Do not use macros from bp-asm.h.
22822 (DEST): Likewise.
22823 (SRC): Likewise.
22824 (LEN): Likewise.
22825 (memcpy): Likewise. Do not use BP_SYM.
22826 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22827 libc_hidden_def and weak_alias.
22828 (mempcpy): Do not use BP_SYM in weak_alias.
22829 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22830 "bp-asm.h".
22831 (PARMS): Do not use macros from bp-asm.h.
22832 (DEST): Likewise.
22833 (LEN): Likewise.
22834 [!BZERO_P] (CHR): Likewise.
22835 (memset): Likewise. Do not use BP_SYM.
22836 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22837 "bp-asm.h".
22838 (PARMS): Do not use macros from bp-asm.h.
22839 (S1): Likewise.
22840 (SIZE): Likewise.
22841 (__mpn_mul_1): Do not use BP_SYM.
22842 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22843 "bp-asm.h".
22844 (PARMS): Do not use macros from bp-asm.h.
22845 (S): Likewise.
22846 (SIZE): Likewise.
22847 (__mpn_rshift): Do not use BP_SYM.
22848 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22849 "bp-asm.h".
22850 (PARMS): Do not use macros from bp-asm.h.
22851 (STR): Likewise.
22852 (CHR): Likewise.
22853 (strchr): Likewise. Do not use BP_SYM.
22854 (index): Do not use BP_SYM in weak_alias.
22855 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22856 "bp-asm.h".
22857 (PARMS): Do not use macros from bp-asm.h.
22858 (DEST): Likewise.
22859 (SRC): Likewise.
22860 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22861 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22862 "bp-asm.h".
22863 (PARMS): Do not use macros from bp-asm.h.
22864 (strlen): Do not use BP_SYM.
22865 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22866 "bp-asm.h".
22867 (PARMS): Do not use macros from bp-asm.h.
22868 (S1): Likewise.
22869 (S2): Likewise.
22870 (SIZE): Likewise.
22871 (__mpn_sub_n): Do not use BP_SYM.
22872 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22873 "bp-asm.h".
22874 (PARMS): Do not use macros from bp-asm.h.
22875 (S1): Likewise.
22876 (SIZE): Likewise.
22877 (__mpn_submul_1): Do not use BP_SYM.
22878 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22879 "bp-asm.h".
22880 (PARMS): Do not use macros from bp-asm.h.
22881 (S1): Likewise.
22882 (S2): Likewise.
22883 (SIZE): Likewise.
22884 (__mpn_add_n): Do not use BP_SYM.
22885 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22886 weak_alias.
22887 (bzero): Likewise.
22888 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22889 "bp-asm.h".
22890 (PARMS): Do not use macros from bp-asm.h.
22891 (BLK2): Likewise.
22892 (LEN): Likewise.
22893 (memcmp): Do not use BP_SYM.
22894 (bcmp): Do not use BP_SYM in weak_alias.
22895 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22896 "bp-asm.h".
22897 (PARMS): Do not use macros from bp-asm.h.
22898 (DEST): Likewise.
22899 (SRC): Likewise.
22900 (LEN): Likewise.
22901 (memcpy): Likewise. Do not use BP_SYM.
22902 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22903 "bp-asm.h".
22904 (PARMS): Do not use macros from bp-asm.h.
22905 (DEST): Likewise.
22906 (SRC): Likewise.
22907 (LEN): Likewise.
22908 (memmove): Likewise. Do not use BP_SYM.
22909 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22910 "bp-asm.h".
22911 (PARMS): Do not use macros from bp-asm.h.
22912 (DEST): Likewise.
22913 (SRC): Likewise.
22914 (LEN): Likewise.
22915 (__mempcpy): Likewise. Do not use BP_SYM.
22916 (mempcpy): Do not use BP_SYM in weak_alias.
22917 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22918 "bp-asm.h".
22919 (PARMS): Do not use macros from bp-asm.h.
22920 (DEST): Likewise.
22921 (LEN): Likewise.
22922 [!BZERO_P] (CHR): Likewise.
22923 (memset): Likewise. Do not use BP_SYM.
22924 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22925 "bp-asm.h".
22926 (PARMS): Do not use macros from bp-asm.h.
22927 (STR2): Likewise.
22928 (strcmp): Do not use BP_SYM.
22929 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22930 "bp-asm.h".
22931 (PARMS): Do not use macros from bp-asm.h.
22932 (STR): Likewise.
22933 (DELIM): Likewise.
22934 [USE_AS_STRTOK_R] (SAVE): Likewise.
22935 (FUNCTION): Likewise. Do not use BP_SYM.
22936 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22937 aliases.
22938 (strtok_r): Likewise.
22939 (__GI___strtok_r): Likewise.
22940 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22941 (PARMS): Do not use macros from bp-asm.h.
22942 (S): Likewise.
22943 (SIZE): Likewise.
22944 (__mpn_lshift): Do not use BP_SYM.
22945 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22946 (PARMS): Do not use macros from bp-asm.h.
22947 (STR): Likewise.
22948 (CHR): Likewise.
22949 (__memchr): Do not use BP_SYM.
22950 (memchr): Do not use BP_SYM in weak_alias.
22951 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22952 (PARMS): Do not use macros from bp-asm.h.
22953 (BLK2): Likewise.
22954 (LEN): Likewise.
22955 (memcmp): Do not use BP_SYM.
22956 (bcmp): Do not use BP_SYM in weak_alias.
22957 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22958 (PARMS): Do not use macros from bp-asm.h.
22959 (S1): Likewise.
22960 (SIZE): Likewise.
22961 (__mpn_mul_1): Do not use BP_SYM.
22962 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22963 "bp-asm.h".
22964 (PARMS): Do not use macros from bp-asm.h.
22965 (STR): Likewise.
22966 (CHR): Likewise.
22967 (__rawmemchr): Do not use BP_SYM.
22968 (rawmemchr): Do not use BP_SYM in weak_alias.
22969 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22970 (PARMS): Do not use macros from bp-asm.h.
22971 (S): Likewise.
22972 (SIZE): Likewise.
22973 (__mpn_rshift): Do not use BP_SYM.
22974 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22975 (PARMS): Do not use macros from bp-asm.h.
22976 (SIGMSK): Likewise.
22977 (__sigsetjmp): Likewise. Do not use BP_SYM.
22978 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22979 (_start): Do not use BP_SYM.
22980 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22981 (PARMS): Do not use macros from bp-asm.h.
22982 (DEST): Likewise.
22983 (SRC): Likewise.
22984 (__stpcpy): Likewise. Do not use BP_SYM.
22985 (stpcpy): Do not use BP_SYM in weak_alias.
22986 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22987 "bp-asm.h".
22988 (PARMS): Do not use macros from bp-asm.h.
22989 (DEST): Likewise.
22990 (SRC): Likewise.
22991 (LEN): Likewise.
22992 (__stpncpy): Likewise. Do not use BP_SYM.
22993 (stpncpy): Do not use BP_SYM in weak_alias.
22994 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22995 (PARMS): Do not use macros from bp-asm.h.
22996 (STR): Likewise.
22997 (CHR): Likewise.
22998 (strchr): Likewise. Do not use BP_SYM.
22999 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23000 "bp-asm.h".
23001 (PARMS): Do not use macros from bp-asm.h.
23002 (STR): Likewise.
23003 (CHR): Likewise.
23004 (__strchrnul): Likewise. Do not use BP_SYM.
23005 (strchrnul): Do not use BP_SYM in weak_alias.
23006 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23007 "bp-asm.h".
23008 (PARMS): Do not use macros from bp-asm.h.
23009 (STOP): Likewise.
23010 (strcspn): Do not use BP_SYM.
23011 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23012 "bp-asm.h".
23013 (PARMS): Do not use macros from bp-asm.h.
23014 (STR): Likewise.
23015 (STOP): Likewise.
23016 (strpbrk): Likewise. Do not use BP_SYM.
23017 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23018 "bp-asm.h".
23019 (PARMS): Do not use macros from bp-asm.h.
23020 (STR): Likewise.
23021 (CHR): Likewise.
23022 (strrchr): Likewise. Do not use BP_SYM.
23023 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23024 (PARMS): Do not use macros from bp-asm.h.
23025 (SKIP): Likewise.
23026 (strspn): Do not use BP_SYM.
23027 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23028 (PARMS): Do not use macros from bp-asm.h.
23029 (STR): Likewise.
23030 (DELIM): Likewise.
23031 (SAVE): Likewise.
23032 (FUNCTION): Likewise. Do not use BP_SYM.
23033 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23034 aliases.
23035 (strtok_r): Likewise.
23036 (__GI___strtok_r): Likewise.
23037 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23038 (PARMS): Do not use macros from bp-asm.h.
23039 (S1): Likewise.
23040 (S2): Likewise.
23041 (SIZE): Likewise.
23042 (__mpn_sub_n): Do not use BP_SYM.
23043 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23044 "bp-asm.h".
23045 (PARMS): Do not use macros from bp-asm.h.
23046 (S1): Likewise.
23047 (SIZE): Likewise.
23048 (__mpn_submul_1): Do not use BP_SYM.
23049 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23050 <bp-sym.h>.
23051 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23052 and <bp-asm.h>.
23053 (PARMS): Do not use macros from bp-asm.h.
23054 (FLAGS): Likewise.
23055 (PTID): Likewise.
23056 (TLS): Likewise.
23057 (CTID): Likewise.
23058 (__clone): Do not use BP_SYM.
23059 (clone): Do not use BP_SYM in weak_alias.
23060 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23061 and <bp-asm.h>.
23062 (PARMS): Do not use macros from bp-asm.h.
23063 (LEN): Likewise.
23064 (__mmap64): Do not use BP_SYM.
23065 (mmap64): Do not use BP_SYM in weak_alias.
23066 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23067 <bp-sym.h> and <bp-asm.h>.
23068 (PARMS): Do not use macros from bp-asm.h.
23069 (__posix_fadvise64_l64): Do not use BP_SYM.
23070 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23071 (PARMS): Do not use macros from bp-asm.h.
23072 (NSOPS): Likewise.
23073 (semtimedop): Do not use BP_SYM.
23074 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23075 and <bp-asm.h>.
23076
582a3cff
AM
230772013-02-21 Allan McRae <allan@archlinux.org>
23078
23079 * manual/message.texi (Charset conversion in gettext):
23080 Move @end statement to beginning of line.
23081
bab8a695
SP
230822013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23083
80945231
SP
23084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23085 static.
23086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23087 Likewise.
23088
bab8a695
SP
23089 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23090 (denorm): Likewise.
23091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23093
e21d7aa7
AK
230942013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23095
23096 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23097 tail-call to the resolved function if pltexit isn't needed.
23098
4c7a4263
SP
230992013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23100
23101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23102 or Y being zero as being unlikely.
23103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23104 Likewise.
23105
41f49342
CD
231062013-02-20 Carlos O'Donell <carlos@redhat.com>
23107
23108 * manual/nss.texi (System Databases and Name Service Switch):
23109 Remove frobnicate @pxref.
23110
50022a93
TS
231112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23112
23113 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23114 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23115
08cbd996
PM
231162013-02-20 Petr Machata <pmachata@redhat.com>
23117
23118 * elf/elf.h (R_ARM_TARGET1): New macro.
23119 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23120 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23121 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23122 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23123 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23124 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23125 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23126 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23127 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23128 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23129 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23130 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23131 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23132 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23133 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23134 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23135 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23136 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23137 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23138 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23139 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23140 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23141 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23142 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23143 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23144 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23145 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23146 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23147 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23148 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23149 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23150 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23151 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23152 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23153 (R_ARM_THM_GOT_BREL12): Likewise.
23154 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23155 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23156 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23157 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23158 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23159 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23160 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23161 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23162 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23163
c7b275d6
TS
231642013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23165
23166 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23167 __attribute_used__ to __attribute__ ((unused)).
23168
20cd7fb3
SP
231692013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23170
23171 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23172 powerpc mpa.c.
23173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23174 comment formatting.
23175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23176
92945b52
JM
231772013-02-19 Joseph Myers <joseph@codesourcery.com>
23178
23179 [BZ #13550]
23180 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23181 Remove macro.
23182 (ENTER): Remove both macro definitions.
23183 (LEAVE): Likewise.
23184 (CHECK_BOUNDS_LOW): Likewise.
23185 (CHECK_BOUNDS_HIGH): Likewise.
23186 (CHECK_BOUNDS_BOTH): Likewise.
23187 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23188 (RETURN_BOUNDED_POINTER): Likewise.
23189 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23190 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23191 (POP_ERRNO_LOCATION_RETURN): Likewise.
23192 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23193 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23194 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23195 macros.
23196 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23197 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23198 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23199 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23200 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23201 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23202 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23203 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23204 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23205 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23206 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23207 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23208 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23209 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23210 removed macros.
23211 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23212 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23213 macros.
23214 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23215 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23216 * sysdeps/i386/i586/memset.S (memset): Likewise.
23217 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23218 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23219 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23220 macros.
23221 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23222 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23223 Change uses of L(2) to L(out).
23224 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23225 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23226 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23227 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23228 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23229 removed macros.
23230 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23231 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23232 macros.
23233 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23234 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23235 (RETURN): Do not use macro LEAVE.
23236 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23237 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23238 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23239 * sysdeps/i386/i686/memset.S (memset): Likewise.
23240 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23241 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23242 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23243 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23244 Likewise.
23245 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23246 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23247 L(1_2) and L(1_3) into L(1).
23248 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23249 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23250 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23251 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23252 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23253 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23254 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23255 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23256 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23257 macros.
23258 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23259 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23260 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23261 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23262 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23263 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23264 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23265 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23266 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23267 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23268 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23269 * sysdeps/i386/strspn.S (strspn): Likewise.
23270 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23271 conditional code.
23272 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23273 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23274 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23275 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23276 L(1_3) into L(1_1).
23277 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23278 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23279 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23280 macros.
23281 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23282
2389741a
JJ
232832013-02-19 Jakub Jelinek <jakub@redhat.com>
23284
23285 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23286 macro.
23287
2016b3cd
SP
232882013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23289
e4f22324
SP
23290 * math/atest-exp.c (exp_mpn): Remove ROUND.
23291 * math/atest-exp2.c (exp_mpn): Likewise.
23292 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23293
2016b3cd
SP
23294 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23295 * stdlib/tst-tls-atexit-lib.c: Likewise.
23296 * stdlib/tst-tls-atexit.c: Likewise.
23297
4be9b544
MF
232982013-02-18 Mike Frysinger <vapier@gentoo.org>
23299
23300 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23301 and __attribute_alloc_size__.
23302
2f62b9ee
MF
233032013-02-18 Mike Frysinger <vapier@gentoo.org>
23304
23305 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23306 __attribute_alloc_size__.
23307 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23308 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23309
6ff444c4
MF
233102013-02-18 Mike Frysinger <vapier@gentoo.org>
23311
23312 * include/programs/xmalloc.h: New file.
23313 * catgets/gencat.c: Include it.
23314 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23315 * elf/pldd.c: Likewise.
23316 * iconv/iconv_charmap.c: Likewise.
23317 * iconv/iconvconfig.c: Likewise.
23318 * iconv/strtab.c: Likewise.
23319 * locale/programs/locale.c: Likewise.
23320 * locale/programs/localedef.h: Likewise.
23321 * locale/programs/simple-hash.c: Likewise.
23322 * nscd/nscd.h: Likewise.
23323 * nss/makedb.c: Likewise.
23324 * sysdeps/generic/ldconfig.h: Likewise.
23325
be179c8a
SP
233262013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23327
ba384f6e
SP
23328 * Versions.def: Add GLIBC_2.18.
23329 * include/link.h (struct link_map): New member l_tls_dtor_count.
23330 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23331 (__call_tls_dtors): Likewise.
23332 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23333 __cxa_thread_atexit_impl.
23334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23335 Likewise.
23336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23337 Likewise.
23338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23339 Likewise.
23340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23341 Likewise.
23342 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23344 Likewise.
23345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23346 Likewise.
23347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23349 Likewise.
23350 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23351 (tests): Add test case tst-tls-atexit.
23352 (modules-names): Add shared library for tst-tls-atexit.
85891aca 23353 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
23354 (GLIBC_PRIVATE): Add __call_tls_dtors.
23355 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23356 for libstdc++.
23357 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23358 * stdlib/tst-tls-atexit.c: New test case.
23359 * stdlib/tst-tls-atexit-lib.c: New test case.
23360
ffaa74cf 23361 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 23362
be179c8a
SP
23363 * elf/Versions (ld): Add _dl_find_dso_for_object.
23364 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23365 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23366 (dl_open_worker): Use _dl_find_dso_for_object.
23367 * elf/dl-sym.c (do_sym): Likewise.
23368 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23369
f78b5caa
AK
233702013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23371
23372 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23373 Syntactic changes only.
23374 (_dl_runtime_profile): Do a tail-call to the resolved function.
23375
29691210
JM
233762013-02-17 Joseph Myers <joseph@codesourcery.com>
23377
23378 [BZ #13550]
23379 * sysdeps/x86_64/bp-asm.h: Remove file.
23380 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23381 <bp-sym.h> and <bp-asm.h>.
23382 (__clone): Do not use BP_SYM.
23383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23384 <bp-sym.h> and <bp-asm.h>.
23385 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23386 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23387 "bp-asm.h".
23388 (_setjmp): Do not use BP_SYM.
23389 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23390 "bp-asm.h".
23391 (setjmp): Do not use BP_SYM.
23392 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23393 libc_hidden_def.
23394 (mempcpy): Do not use BP_SYM in weak_alias.
23395 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23396 "bp-asm.h".
23397 (strchr): Do not use BP_SYM.
23398 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23399 "bp-asm.h".
23400 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23401 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23402 (_start): Do not use BP_SYM.
23403 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23404 "bp-asm.h".
23405 (strcat): Do not use BP_SYM.
23406 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23407 "bp-asm.h".
23408 (STRCMP): Do not use BP_SYM.
23409 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23410 "bp-asm.h".
23411 (STRCPY): Do not use BP_SYM.
23412 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23413 "bp-asm.h".
23414 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23415 "bp-asm.h".
23416 (FUNCTION): Do not use BP_SYM.
23417 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23418 weak_alias.
23419 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23420
f238fd19
AJ
234212013-02-17 Andreas Jaeger <aj@suse.de>
23422
23423 * time/Versions: Sort entries.
23424 * string/Versions: Likewise.
23425 * resolv/Versions: Likewise.
23426 * posix/Versions: Likewise.
23427 * iconv/Versions: Likewise.
23428 * elf/Versions: Likewise.
23429 * wcsmbs/Versions: Likewise.
23430
bd07f23c 234312013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23432
22af19f9
SP
23433 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23434 loop termination condition.
23435
4709fe76
SP
23436 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23437 variable to calculate EZ.
23438 (__sqr): Likewise.
2d0e0f29
SP
23439
23440 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23441 the lower precision input.
23442
daaa7713
JM
234432013-02-15 Joseph Myers <joseph@codesourcery.com>
23444
23445 [BZ #13550]
23446 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23447 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23448 (run-via-rtld-prefix): Do not handle %-bp tests.
23449 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23450 (all-object-suffixes): Remove .ob.
23451 (bppfx): Remove variable.
23452 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23453 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23454 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23455 [$(build-bounded) = yes] (libtype.ob): Likewise.
23456 * Makerules (elide-routines.ob): Remove variable.
23457 (do-tests-clean): Do not handle *-bp.out.
23458 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23459 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23460 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23461 (tests): Do not include $(tests-bp.out).
23462 (xtests): Do not include $(xtests-bp.out).
23463 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23464 [$(build-bounded) = yes] ($(addprefix
23465 $(objpfx),$(binaries-bounded))): Remove rule.
23466 ($(objpfx)%-bp.out): Remove rule.
23467 * config.make.in (build-bounded): Remove variable.
23468 * crypt/Makefile [$(build-bounded) = yes]
23469 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23470 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23471 append to variable.
23472 [$(build-bounded) = yes] (install-lib): Likewise.
23473 [$(build-bounded) = yes] (generated): Likewise.
23474 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23475 Remove rule.
23476 * intl/Makefile [$(build-bounded) = yes]
23477 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23478 * math/Makefile [$(build-bounded) = yes]
23479 ($(tests:%=$(objpfx)%-bp): Likewise.
23480 * misc/Makefile [$(build-bounded) = yes]
23481 ($(objpfx)tst-tsearch-bp): Likewise.
23482 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23483 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23484 Remove dependency.
23485 * string/Makefile (o-objects.ob): Remove variable.
23486 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23487 (CFLAGS-.ob): Remove variable.
23488 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23489 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23490 both definitions of variable.
23491 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23492 (ASFLAGS-.ob): Remove variable.
23493
e97ed6dd
JM
234942013-02-14 Joseph Myers <joseph@codesourcery.com>
23495
2bdd4ca6
JM
23496 [BZ #13550]
23497 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23498 Remove __BOUNDED_POINTERS__ from condition.
23499 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23500 * string/bits/string2.h [!__NO_STRING_INLINES &&
23501 !__BOUNDED_POINTERS__]: Likewise.
23502 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23503 Likewise.
23504 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23505 Remove conditional code.
23506 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23507 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23508 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23509 condition.
23510
e97ed6dd
JM
23511 [BZ #13550]
23512 * csu/libc-start.c: Do not include <bp-sym.h>.
23513 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23514 * elf/dl-open.c: Do not include <bp-sym.h>.
23515 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23516 * math/fegetenv.c: Do not include <bp-sym.h>.
23517 (fegetenv): Do not use BP_SYM in versioned symbols.
23518 * nptl/sysdeps/pthread/bits/libc-lockP.h
23519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23520 <bp-sym.h>.
23521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23522 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23524 (__pthread_mutex_destroy): Likewise.
23525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23526 (__pthread_mutex_lock): Likewise.
23527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23528 (__pthread_mutex_trylock): Likewise.
23529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23530 (__pthread_mutex_unlock): Likewise.
23531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23532 (__pthread_mutexattr_init): Likewise.
23533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23534 (__pthread_mutexattr_destroy): Likewise.
23535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23536 (__pthread_mutexattr_settype): Likewise.
23537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23538 (__pthread_rwlock_init): Likewise.
23539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23540 (__pthread_rwlock_destroy): Likewise.
23541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23542 (__pthread_rwlock_rdlock): Likewise.
23543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23544 (__pthread_rwlock_tryrdlock): Likewise.
23545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23546 (__pthread_rwlock_wrlock): Likewise.
23547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23548 (__pthread_rwlock_trywrlock): Likewise.
23549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23550 (__pthread_rwlock_unlock): Likewise.
23551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23552 (__pthread_key_create): Likewise.
23553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23554 (__pthread_setspecific): Likewise.
23555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23556 (__pthread_getspecific): Likewise.
23557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23558 Likewise.
23559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23560 (_pthread_cleanup_push_defer): Likewise.
23561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23562 (_pthread_cleanup_pop_restore): Likewise.
23563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23564 (pthread_setcancelstate): Likewise.
23565 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23566 <bp-sym.h>.
23567 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23568 (memchr): Do not use BP_SYM in weak_alias.
23569 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23570 (fegetenv): Do not use BP_SYM in versioned symbols.
23571 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23572 (fesetenv): Do not use BP_SYM in versioned symbols.
23573 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23574 (feupdateenv): Do not use BP_SYM in versioned symbols.
23575 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23576 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23577 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23578 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23579 (open64): Do not use BP_SYM in weak_alias.
23580 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23581 (fegetenv): Do not use BP_SYM in versioned symbols.
23582 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23583 (fesetenv): Do not use BP_SYM in versioned symbols.
23584 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23585 (feupdateenv): Do not use BP_SYM in versioned symbols.
23586 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23587 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23588 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23589 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23590 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23591 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23592 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23593 <bp-sym.h>.
23594 (__libc_start_main): Do not use BP_SYM.
23595
d6752ccd
SP
235962013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23597
cb57ce60
SP
23598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23599 redundant return line.
23600 (norm): Likewise.
23601 (denorm): Likewise.
23602 (dbl_mp): Likewise.
23603 (sub_magnitudes): Likewise.
23604 (__add): Likewise.
23605 (__sub): Likewise.
23606 (__mul): Likewise.
23607 (__inv): Likewise.
23608 (__dvd): Likewise.
23609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23610 (norm): Likewise.
23611 (denorm): Likewise.
23612 (dbl_mp): Likewise.
23613 (sub_magnitudes): Likewise.
23614 (__add): Likewise.
23615 (__sub): Likewise.
23616 (__mul): Likewise.
23617 (__inv): Likewise.
23618 (__dvd): Likewise.
23619
f414520d
SP
23620 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23621 instead of __mul.
23622 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23623 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23624 (cc32): Likewise.
23625
d6752ccd
SP
23626 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23627 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23629 of __mul for squares.
23630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23631 function
23632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23633 Likewise.
23634 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23635 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23636
70d9946a
JM
236372013-02-13 Joseph Myers <joseph@codesourcery.com>
23638
23639 [BZ #13550]
23640 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23641 code.
23642 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23643 prototype or function definition. Rename ubp_* variables and
23644 parameters. Remove argv definitions conditional on
23645 [__BOUNDED_POINTERS__].
23646 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23647 * elf/dl-runtime.c (_dl_fixup): Likewise.
23648 * include/set-hooks.h (RUN_HOOK): Likewise.
23649 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23650 definition.
23651 * string/strcpy.c (strcpy): Do not use __unbounded.
23652 * sysdeps/generic/frame.h (struct layout): Likewise.
23653 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23654 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23655 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23656 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23657 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23658 (__backtrace): Likewise.
23659 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23660 use __ptrvalue.
23661 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23662 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23663 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23664 Likewise.
23665 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23666 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23667 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23668 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23669 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23670 Do not use __unbounded.
23671 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23672 Rename __unboundedrlimits parameter to rlimits in prototype.
23673 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23674 Do not use __unbounded.
23675 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23676 not use __ptrvalue.
23677 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23678 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23679 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23680 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23681 __ptrvalue or __unbounded.
23682 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23683 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23684 use __unbounded.
23685 (__new_msgctl): Do not use __ptrvalue.
23686 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23687 __unbounded.
23688 (__libc_msgrcv): Do not use __ptrvalue.
23689 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23690 startup_info): Do not use __unbounded.
23691 (__libc_start_main): Likewise. Rename ubp_* variables and
23692 parameters. Remove argv definitions conditional on
23693 [__BOUNDED_POINTERS__].
23694 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23695 __ptrvalue.
23696 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23697 use __unbounded.
23698 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23699 or __ptrvalue.
23700 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23701 use __unbounded.
23702 (__new_shmctl): Do not use __ptrvalue.
23703 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23704 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23705 Likewise.
23706 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23707 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23708 (__libc_sigaction): Likewise.
23709 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23710 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23711 Likewise.
23712 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23713
cc7834d6
OB
237142013-02-13 Ondřej Bílka <neleai@seznam.cz>
23715
ffb1ec7b 23716 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23717
23718 * string/mempcpy.c: Implement by calling memcpy.
23719
bdf02814
SP
237202013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23721
c2af38aa
SP
23722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23723
4e92d59e
SP
23724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23725 evaluation.
23726
909279a5
SP
23727 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23728 values in the mantissa.
23729
bdf02814
SP
23730 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23731 minimize writes to Z.
23732 (sub_magnitudes): Simplify code a bit.
23733
cd525923
RM
237342013-02-12 Roland McGrath <roland@hack.frob.com>
23735
23736 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23737 from the message. The linker prefixes all warnings with that already.
23738
7e2f0d2d
AS
237392013-02-12 Andreas Schwab <schwab@suse.de>
23740
a445af0b
AS
23741 [BZ #15078]
23742 * posix/regexec.c (extend_buffers): Add parameter min_len.
23743 (check_matching): Pass minimum needed length.
23744 (clean_state_log_if_needed): Likewise.
23745 (get_subexp): Likewise.
23746 * posix/Makefile (tests): Add bug-regex34.
23747 (bug-regex34-ENV): Define.
23748 * posix/bug-regex34.c: New file.
23749
7e2f0d2d
AS
23750 [BZ #11561]
23751 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23752 elements compare against the byte sequence of it, not its name.
23753 * posix/Makefile (tests): Add bug-regex35.
23754 (bug-regex35-ENV): Define.
23755 * posix/bug-regex35.c: New file.
23756
a175b684
TV
237572013-02-11 Tom de Vries <tom@codesourcery.com>
23758
23759 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23760 comment.
23761 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23762 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23763 (CHECK_EOL): Add undef.
23764
310998fe 237652013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23766
23767 * bits/stdlib-bsearch.h: New file.
23768 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23769 * stdlib/stdlib.h: Likewise.
41eda41d 23770
8ded91fb
RM
237712013-02-11 Roland McGrath <roland@hack.frob.com>
23772
23773 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23774 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23775 declaration.
23776 * manual/search.texi (Array Search Function): Add missing const in
23777 lfind prototype.
23778 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23779 declaration to use rlim_t.
23780 (Basic Scheduling Functions): Remove erroneous const from
23781 sched_getparam prototype. Remove erroneous * from
23782 sched_get_priority_max and sched_get_priority_min prototypes.
23783 (Resource Usage): Fix summary @comment on vtimes to refer to
23784 sys/vtimes.h rather than vtimes.h.
23785 Add missing *s in vtimes prototype.
23786 (Limits on Resources): Fix ulimit prototype to return long int.
23787 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23788 prototypes to use long int rather than double.
23789 (BSD Random): Fix initstate and setstate to use char *, not void *.
23790 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23791 prototype to make second argument 'struct aiocb64 *const[]'.
23792 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23793 (Status of AIO Operations): Remove erroneous const in aio_return and
23794 aio_return64 prototypes.
23795 (Synchronizing I/O): Fix sync prototype to return void.
23796 * manual/startup.texi (Suboptions): Remove an erroneous const in
23797 getsubopt prototype.
23798 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23799 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23800 use size_t rather than int.
23801 (Scanning All Users): Likewise for getpwent_r.
23802 (Setting Groups): Add missing const to setgroups prototype.
23803 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23804 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23805 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23806 'const void *' rather than 'const char *'.
23807 (Host Address Functions): Likewise for inet_ntop.
23808 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23809 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23810 ssize_t for return value.
23811 (Sending Data): Likewise for send, sendto, sendmsg.
23812 (Socket Option Functions): Add a missing const in setsockopt prototype.
23813 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23814 use wchar_t for the argument.
23815 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23816 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23817 take no arguments.
23818 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23819 double/float/long double for second argument.
23820 Fix return types of significand, significandf, significandl.
23821 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23822 argument in fchmod prototype.
23823 (File Owner): Use uid_t and gid_t in fchown prototype.
23824 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23825 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23826 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23827 use 'const struct dirent **' as argument types to CMP function pointer
23828 argument.
23829 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23830 (File Times): Fix summary magic @comment for struct utimbuf and utime
23831 to refer to utime.h, not time.h.
23832 * manual/string.texi (Argz Functions): Add missing const in
23833 argz_extract and argz_next prototypes.
23834 (Finding Tokens in a String): Likewise for basename.
23835 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23836 (Copying and Concatenation): Fix typo in wmemmove prototype.
23837 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23838 (Signal Stack): Remove erroneous const in sigstack prototype.
23839 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23840 prototype.
23841 (Simple Calendar Time): Likewise for stime.
23842 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23843 prototype.
23844 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23845 say sys/sysctl.h instead.
23846 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23847 and vsyslog prototypes.
23848
fe77fe6d
TV
238492013-02-11 Tom de Vries <tom@codesourcery.com>
23850
23851 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23852 Remove.
23853
3a09b620
RM
238542013-02-11 Roland McGrath <roland@hack.frob.com>
23855
23856 * misc/sys/mman.h: Fix typo in mremap comment.
23857
550a0b89
RM
238582013-02-08 Roland McGrath <roland@hack.frob.com>
23859
23860 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23861 the '\0' terminator.
23862
a2da1673
JM
238632013-02-08 Joseph Myers <joseph@codesourcery.com>
23864
23865 [BZ #13550]
23866 * debug/segfault.c: Don't include <bp-checks.h>.
23867 * sysdeps/generic/bp-checks.h: Remove file.
23868 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23869 (__GETDENTS): Don't use CHECK_N.
23870 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23871 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23872 (__getgroups): Don't use CHECK_N.
23873 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23874 (setgroups): Don't use CHECK_N.
23875 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23876 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23877 (__libc_msgrcv): Don't use CHECK_N.
23878 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23879 (__libc_msgsnd): Don't use CHECK_N.
23880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23881 <bp-checks.h>.
23882 (__libc_pread): Don't use CHECK_N.
23883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23884 include <bp-checks.h>.
23885 (__libc_pread64): Don't use CHECK_N.
23886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23887 include <bp-checks.h>.
23888 (__libc_pwrite): Don't use CHECK_N.
23889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23890 include <bp-checks.h>.
23891 (__libc_pwrite64): Don't use CHECK_N.
23892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23893 <bp-checks.h>.
23894 (__libc_pread): Don't use CHECK_N.
23895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23896 include <bp-checks.h>.
23897 (__libc_pread64): Don't use CHECK_N.
23898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23899 include <bp-checks.h>.
23900 (__libc_pwrite): Don't use CHECK_N.
23901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23902 include <bp-checks.h>.
23903 (__libc_pwrite64): Don't use CHECK_N.
23904 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23905 (do_pread): Don't use CHECK_N.
23906 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23907 (do_pread64): Don't use CHECK_N.
23908 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23909 (do_pwrite): Don't use CHECK_N.
23910 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23911 (do_pwrite64): Don't use CHECK_N.
23912 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23913 (__libc_readv): Don't use CHECK_N.
23914 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23915 (semop): Don't use CHECK_N.
23916 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23917 <bp-checks.h>.
23918 (semtimedop): Don't use CHECK_N.
23919 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23920 (__libc_pread): Don't use CHECK_N.
23921 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23922 <bp-checks.h>.
23923 (__libc_pread64): Don't use CHECK_N.
23924 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23925 <bp-checks.h>.
23926 (__libc_pwrite): Don't use CHECK_N.
23927 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23928 <bp-checks.h>.
23929 (__libc_pwrite64): Don't use CHECK_N.
23930 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23931 <bp-checks.h>.
23932 (__libc_msgrcv): Don't use CHECK_N.
23933 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23934 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23935 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23936 (__libc_writev): Don't use CHECK_N.
23937
b84660a8
RM
239382013-02-08 Roland McGrath <roland@hack.frob.com>
23939
7f3e75f8
RM
23940 * string/strcpy.c: Removed unused variable.
23941
b84660a8
RM
23942 * Makeconfig (+sysdep-includes): Define with := rather than =.
23943 Use an existing include/ subdir of each sysdeps dir before it.
23944
471514d3
CD
239452013-02-08 Carlos O'Donell <carlos@redhat.com>
23946
23947 * nscd/connection.c (register_traced_file): Comment function.
23948 [HAVE_INOTIFY] (union __inev): Define.
23949 [HAVE_INOTIFY] (inotify_check_files): New function.
23950 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23951 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23952 clear_db_cache.
23953 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23954
b2d3c3be
CD
239552013-02-08 Carlos O'Donell <carlos@redhat.com>
23956
23957 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23958 loaded if not already and that a failure is permanent.
23959
b39949d2
CD
239602013-02-08 Carlos O'Donell <carlos@redhat.com>
23961
ddacd1db 23962 [BZ #15006]
b39949d2
CD
23963 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23964 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23965
b2c9eff4
JM
239662013-02-08 Joseph Myers <joseph@codesourcery.com>
23967
f3aae3f3
JM
23968 [BZ #13550]
23969 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23970 (CHECK_1_NULL_OK): Likewise.
23971 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23972 (__fxstat): Do not use CHECK_1.
23973 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23974 <bp-checks.h>.
23975 (___fxstat64): Do not use CHECK_1.
23976 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23977 <bp-checks.h>.
23978 (__fxstatat): Do not use CHECK_1.
23979 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23980 <bp-checks.h>.
23981 (__fxstatat64): Do not use CHECK_1.
23982 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23983 <bp-checks.h>.
23984 (__fxstat): Do not use CHECK_1.
23985 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23986 <bp-checks.h>.
23987 (__fxstatat): Do not use CHECK_1.
23988 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23989 <bp-checks.h>.
23990 (__getresgid): Do not use CHECK_1.
23991 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23992 <bp-checks.h>.
23993 (__getresuid): Do not use CHECK_1.
23994 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23995 <bp-checks.h>.
23996 (__lxstat): Do not use CHECK_1.
23997 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23998 <bp-checks.h>.
23999 (__old_msgctl): Do not use CHECK_1.
24000 (__new_msgctl): Likewise.
24001 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24002 <bp-checks.h>.
24003 (__new_setrlimit): Do not use CHECK_1.
24004 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24005 <bp-checks.h>.
24006 (__old_shmctl): Do not use CHECK_1.
24007 (__new_shmctl): Likewise.
24008 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24009 <bp-checks.h>.
24010 (__xstat): Do not use CHECK_1.
24011 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24012 (__lxstat): Do not use CHECK_1.
24013 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24014 <bp-checks.h>.
24015 (___lxstat64): Do not use CHECK_1.
24016 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24017 (__old_msgctl): Do not use CHECK_1.
24018 (__new_msgctl): Likewise.
24019 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24020 <bp-checks.h>.
24021 (__gettimeofday): Do not use CHECK_1.
24022 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24023 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24024 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24025 <bp-checks.h>.
24026 (__gettimeofday): Do not use CHECK_1.
24027 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24028 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24029 (__new_shmctl): Do not use CHECK_1.
24030 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24031 <bp-checks.h>.
24032 (do_sigtimedwait): Do not use CHECK_1.
24033 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24034 <bp-checks.h>.
24035 (do_sigwaitinfo): Do not use CHECK_1.
24036 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24037 <bp-checks.h>.
24038 (msgctl): Do not use CHECK_1.
24039 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24040 <bp-checks.h>.
24041 (shmctl): Do not use CHECK_1.
24042 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24043 (ustat): Do not use CHECK_1.
24044 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24045 <bp-checks.h>.
24046 (__fxstat): Do not use CHECK_1.
24047 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24048 <bp-checks.h>.
24049 (__fxstatat): Do not use CHECK_1.
24050 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24051 <bp-checks.h>.
24052 (__lxstat): Do not use CHECK_1.
24053 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24054 <bp-checks.h>.
24055 (__xstat): Do not use CHECK_1.
24056 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24057 (__xstat): Do not use CHECK_1.
24058 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24059 (___xstat64): Do not use CHECK_1.
24060
b2c9eff4
JM
24061 [BZ #13550]
24062 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24063 definitions.
24064 (CHECK_BOUNDS_HIGH): Likewise.
24065 * string/strcpy.c: Do not include <bp-checks.h>.
24066 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24067
f1d70dad
RM
240682013-02-07 Roland McGrath <roland@hack.frob.com>
24069
24070 * nscd/nscd-client.h (__nscd_drop_map_ref):
24071 Add __attribute__ ((unused)).
24072 * nis/nss-nisplus.h (niserr2nss): Likewise.
24073
24074 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24075 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24076
24077 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24078 Remove inline keyword.
24079 * include/rounding-mode.h (round_away): Likewise.
24080 * libio/wfileops.c (adjust_wide_data): Likewise.
24081 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24082 (__m128i_strloadu_tolower): Likewise.
24083 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24084 (__m128i_strloadu_tolower): Likewise.
24085 * time/mktime.c (ydhms_diff): Likewise.
24086 * locale/elem-hash.h (elem_hash): Likewise.
24087 * locale/setlocale.c (setdata): Likewise.
24088 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24089 (re_string_wchar_at): Likewise.
24090 (bitset_not, bitset_merge, bitset_mask): Likewise.
24091 [!(__GNUC__ > 3)] (inline): Remove macro.
24092 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24093 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24094 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24095 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24096 * string/memcmp.c (memcmp_bytes): Likewise.
24097 * locale/programs/locarchive.c (compute_hashval): Likewise.
24098 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24099 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24100 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24101 * nss/getent.c (print_rpc, print_protocols): Likewise.
24102 (print_passwd, print_group, print_aliases): Likewise.
24103 * nis/nss-nisplus.h (niserr2nss): Likewise.
24104 * nscd/connections.c (restart_p): Likewise.
24105 Change return type to bool.
24106
eab55bfb
RM
241072013-02-05 Roland McGrath <roland@hack.frob.com>
24108
7bd642f5
RM
24109 * Makeconfig (all-Depend-files): Add existing
24110 $(sorted-subdirs:=/Depend) files.
24111 (all-subdirs): Remove nss.
24112 * sysdeps/unix/inet/Subdirs: Add it here instead.
24113 * hesiod/Depend: New file.
24114
573c29b2
RM
24115 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24116 instead of calling alloca.
24117
b2e25af0
RM
24118 * io/lseek.c (__lseek): Rename to __libc_lseek.
24119 Define __lseek as an alias.
24120
eab55bfb
RM
24121 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24122
9a0d1941
CD
241232013-02-04 Carlos O'Donell <carlos@redhat.com>
24124
24125 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24126 else clause and remove check for non-standard endianness.
24127
b83bbec4
DM
241282013-02-04 David S. Miller <davem@davemloft.net>
24129
24130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24131
6277fdab
JM
241322013-02-04 Joseph Myers <joseph@codesourcery.com>
24133
24134 [BZ #13550]
24135 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24136 (__ubp_memchr): Remove prototype.
24137 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24138 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24139 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24140 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24141 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24142 Remove alias.
24143 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24144 (__ubp_memchr): Likewise.
24145 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24146 (__ubp_memchr): Likewise.
24147 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24148 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24149 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24150 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24151 CHECK_STRING.
24152 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24153 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24154 (__getcwd): Do not use CHECK_STRING.
24155 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24156 <bp-checks.h>.
24157 (__real_chown): Do not use CHECK_STRING.
24158 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24159 <bp-checks.h>.
24160 (fchownat): Do not use CHECK_STRING.
24161 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24162 CHECK_STRING.
24163 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24164 <bp-checks.h>.
24165 (__lchown): Do not use CHECK_STRING.
24166 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24167 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24168 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24169 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24171 include <bp-checks.h>.
24172 (truncate64): Do not use CHECK_STRING.
24173 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24174 <bp-checks.h>.
24175 (__real_chown): Do not use CHECK_STRING.
24176 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24177 <bp-checks.h>.
24178 (__lchown): Do not use CHECK_STRING.
24179 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24180 <bp-checks.h>.
24181 (__chown): Do not use CHECK_STRING.
24182 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24183 <bp-checks.h>.
24184 (truncate64): Do not use CHECK_STRING.
24185 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24186 Likewise.
24187 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24188 (__xmknod): Do not use CHECK_STRING.
24189 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24190 <bp-checks.h>.
24191 (__xmknodat): Do not use CHECK_STRING.
24192 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24193 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24194
903ae060
AS
241952013-02-04 Andreas Schwab <schwab@suse.de>
24196
24197 [BZ #14142]
24198 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24199 * include/netdb.h: Likewise for h_errno.
24200 * elf/tst-stackguard1.c: Include <tls.h>.
24201
542f9466
JK
242022013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24203
24204 * elf/link.h (struct link_map): Extend the l_addr comment.
24205 * include/link.h (struct link_map): Likewise.
24206
e782a927
JM
242072013-02-01 Joseph Myers <joseph@codesourcery.com>
24208
24209 [BZ #13550]
24210 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24211 (BOUNDED_1): Remove macro.
24212 * debug/backtrace.c: Don't include <bp-checks.h>.
24213 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24214 (__backtrace): Likewise.
24215 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24216 <bp-checks.h>.
24217 (__backtrace): Don't use BOUNDED_1.
24218 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24219 <bp-checks.h>.
24220 (__backtrace): Don't use BOUNDED_1.
24221 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24222 (__backtrace): Don't use BOUNDED_1.
24223 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24224 (shmat): Don't use BOUNDED_N.
24225
8cf28c5e
JM
242262013-01-31 Joseph Myers <joseph@codesourcery.com>
24227
3a7ac8a0
JM
24228 [BZ #13550]
24229 * sysdeps/generic/bp-start.h: Remove file.
24230 * csu/libc-start.c: Don't include <bp-start.h>.
24231 (LIBC_START_MAIN): Set up __environ directly instead of using
24232 INIT_ARGV_and_ENVIRON.
24233 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24234 <bp-start.h>.
24235
f3499f95
JM
24236 [BZ #13550]
24237 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24238 definitions.
24239 (CHECK_FCNTL): Likewise.
24240 (CHECK_N_PAGES): Likewise.
24241
32a45bea
JM
24242 [BZ #13550]
24243 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24244 definitions.
24245 (CHECK_SIGSET_NULL_OK): Likewise.
24246 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24247 <bp-checks.h>.
24248 (sigpending): Don't use CHECK_SIGSET.
24249 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24250 <bp-checks.h>.
24251 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24252 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24253 <bp-checks.h>.
24254 (do_sigsuspend): Don't use CHECK_SIGSET.
24255 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24256 use CHECK_SIGSET.
24257 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24258 (do_sigwait): Don't use CHECK_SIGSET.
24259 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24260 use CHECK_SIGSET.
24261 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24262 include <bp-checks.h>.
24263 (sigpending): Don't use CHECK_SIGSET.
24264 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24265 include <bp-checks.h>.
24266 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24267 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24268 <bp-checks.h>.
24269 (sigpending): Don't use CHECK_SIGSET.
24270 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24271 <bp-checks.h>.
24272 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24273
2e8a5c8c
JM
24274 [BZ #13550]
24275 * sysdeps/generic/bp-semctl.h: Remove file.
24276 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24277 <bp-checks.h> and <bp-semctl.h>.
24278 (__old_semctl): Don't use CHECK_SEMCTL.
24279 (__new_semctl): Likewise.
24280 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24281 and <bp-semctl.h>.
24282 (__old_semctl): Don't use CHECK_SEMCTL.
24283 (__new_semctl): Likewise.
24284 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24285 <bp-checks.h> and <bp-semctl.h>.
24286 (__old_semctl): Don't use CHECK_SEMCTL.
24287 (__new_semctl): Likewise.
24288 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24289 <bp-checks.h> and <bp-semctl.h>.
24290 (semctl): Don't use CHECK_SEMCTL.
24291
c2d54929
JM
24292 [BZ #13550]
24293 * Makerules (elide-bp-thunks): Remove variable.
24294 (elide-routines.oS): Don't use $(elide-bp-thunks).
24295 (elide-routines.os): Likewise.
24296 (elide-routines.o): Likewise.
24297 (elide-routines.op): Likewise.
24298 (elide-routines.og): Likewise.
24299 (objects): Don't use $(bp-thunks).
24300 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24301 include.
24302 (common-generated): Do not add s-proto-bp.d.
24303 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24304 (int): Likewise.
24305 (typ): Likewise.
24306 Do not generate makefile rules for bounded-pointer thunks.
24307 * sysdeps/generic/bp-thunks.h: Remove file.
24308 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24309 * sysdeps/unix/s-proto-bp.S: Likewise.
24310
8cf28c5e
JM
24311 [BZ #15062]
24312 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24313 parts of result separately when argument is not close to line from
24314 -i to i and one part of argument is small.
24315 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24316 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24317 * math/libm-test.inc (cacos_test): Add more tests.
24318 (casin_test): Likewise.
24319 (casinh_test): Likewise.
24320 * sysdeps/i386/fpu/libm-test-ulps: Update.
24321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24322
c4e33b8d
DM
243232013-01-31 David S. Miller <davem@davemloft.net>
24324
24325 * po/de.po: Update from translation team.
24326
3b60b421
MK
243272013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24328
24329 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24330
bb931195
TS
243312013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24332
b5a5da23
TS
24333 * configure.in (_AC_PROG_CC_C89): New definition.
24334 * configure: Regenerate.
24335
bb931195
TS
24336 * configure.in (AC_PROG_CPP): New definition.
24337 * configure: Regenerate.
24338
8c53a12c
JM
243392013-01-23 Joseph Myers <joseph@codesourcery.com>
24340
24341 * debug/tst-backtrace.h: New file.
24342 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24343 (ret): Remove variable.
24344 (x): Likewise.
24345 (FAIL): Remove macro.
24346 (NO_INLINE): Likewise.
24347 (fn1): Use match function instead of strstr.
24348 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24349 (ret): Remove variable.
24350 (x): Likewise.
24351 (FAIL): Remove macro.
24352 (NO_INLINE): Likewise.
24353 (fn): Use match function instead of strstr.
24354 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24355 (ret): Remove variable.
24356 (x): Likewise.
24357 (FAIL): Remove macro.
24358 (NO_INLINE): Likewise.
24359 (handle_signal): Use match function instead of strstr.
24360 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24361 (ret): Remove variable.
24362 (x): Likewise.
24363 (FAIL): Remove macro.
24364 (NO_INLINE): Likewise.
24365 (handle_signal): Use match function instead of strstr.
24366
4858fa2a
RM
243672013-01-23 Roland McGrath <roland@hack.frob.com>
24368
24369 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24370
bae8e7f5
DM
243712013-01-23 David S. Miller <davem@davemloft.net>
24372
24373 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24374 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24375 argument of CAS if possible.
24376 * sysdeps/sparc/sparc64/bits/atomic.h
24377 (__arch_compare_and_exchange_val_32_acq): Likewise.
24378 (__arch_compare_and_exchange_val_64_acq): Likewise.
24379
9cbbc4ae
PT
243802013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24381
24382 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24383 * sysdeps/posix/ulimit.c: ... this.
92a601b8 24384 Include <limits.h>.
67b3f58c 24385 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 24386
5655a0b5
AC
243872013-01-23 Adam Conrad <adconrad@0c3.net>
24388
24389 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24390 (LDFLAGS-tst-array5): Likewise.
24391
052aff95
JM
243922013-01-23 Joseph Myers <joseph@codesourcery.com>
24393
24394 [BZ #15036]
24395 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24396 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24397 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24398 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24399
7c1e01aa
DM
244002013-01-21 David S. Miller <davem@davemloft.net>
24401
24402 * sysdeps/sparc/backtrace.c: New file.
24403 * sysdeps/sparc/sparc32/backtrace.h: New file.
24404 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24405 * sysdeps/sparc/sparc64/backtrace.h: New file.
24406 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24407 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24408 -funwind-tables.
24409
ab087e0a
AS
244102013-01-21 Andreas Schwab <schwab@suse.de>
24411
24412 [BZ #15020]
24413 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24414 closed its stdout.
24415
ed689c2f
AS
244162013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24417
24418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24419 "mpa2.h".
24420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24421
31d470ac
JM
244222013-01-18 Joseph Myers <joseph@codesourcery.com>
24423 Mark Mitchell <mark@codesourcery.com>
24424 Tom de Vries <tom@codesourcery.com>
24425 Paul Pluzhnikov <ppluzhnikov@google.com>
24426
24427 * debug/tst-backtrace2.c: New file.
24428 * debug/tst-backtrace3.c: Likewise.
24429 * debug/tst-backtrace4.c: Likewise.
24430 * debug/tst-backtrace5.c: Likewise.
24431 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24432 (CFLAGS-tst-backtrace3.c): Likewise.
24433 (CFLAGS-tst-backtrace4.c): Likewise.
24434 (CFLAGS-tst-backtrace5.c): Likewise.
24435 (LDFLAGS-tst-backtrace2): Likewise.
24436 (LDFLAGS-tst-backtrace3): Likewise.
24437 (LDFLAGS-tst-backtrace4): Likewise.
24438 (LDFLAGS-tst-backtrace5): Likewise.
24439 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24440 tst-backtrace4 and tst-backtrace5.
24441
90567f30 244422013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24443 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24444
24445 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24446 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24447 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24448 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24450 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24451 "+r" and remove output regs list as redundant. Add explicit inline
24452 asm to specify register of return val to work around compiler codegen
24453 bug. Remove (int) cast on return value. Add return type parameter to
24454 use in macro so that this macro does not truncate return value for
24455 64-bit values.
24456 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24457 pass to INTERNAL_VSYSCALL_NCS.
24458 (INLINE_VSYSCALL): Add 'long int' as return type to
24459 INTERNAL_VSYSCALL_NCS macro invocation.
24460 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24461 INTERNAL_VSYSCALL_NCS macro invocation.
24462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24463
d3b9ea61
SP
244642013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24465
0b57daeb
SP
24466 [BZ #14496]
24467 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24468 Fix application of SIMD FP exception mask.
24469
caa99d06
SP
24470 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24471 mp_no from a power of two.
24472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24473 __mpexp_twomm1. Use __pow_mp.
24474
d3b9ea61
SP
24475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24476 multiplication.
24477
1dbaee3c
DM
244782013-01-17 David S. Miller <davem@davemloft.net>
24479
24480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24481
728d7b43
JM
244822013-01-17 Joseph Myers <joseph@codesourcery.com>
24483
24484 [BZ #15023]
24485 * include/complex.h: Condition contents on [!_COMPLEX_H].
24486 (__kernel_casinhf): New prototype.
24487 (__kernel_casinh): Likewise.
24488 (__kernel_casinhl): Likewise.
24489 * math/Makefile (libm_calls): Add k_casinh.
24490 * math/k_casinh.c: New file.
24491 * math/k_casinhf.c: Likewise.
24492 * math/k_casinhl.c: Likewise.
24493 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24494 finite nonzero arguments.
24495 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24496 finite nonzero arguments.
24497 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24498 finite nonzero arguments.
24499 * math/s_casinh.c: Do not include <float.h>.
24500 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24501 * math/s_casinhf.c: Do not include <float.h>.
24502 (__casinhf): Move code for finite nonzero arguments to
24503 k_casinhf.c.
24504 * math/s_casinhl.c: Do not include <float.h>.
24505 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24506 redefine.
24507 (__casinhl): Move code for finite nonzero arguments to
24508 k_casinhl.c.
24509 * math/libm-test.inc (cacos_test): Add more tests.
24510 * sysdeps/i386/fpu/libm-test-ulps: Update.
24511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24512
2a26ef3a
PT
245132013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24514
24515 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24516 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24517 [!HAVE_MREMAP]: Remove [defined linux] case.
24518 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24519
a897655d
SP
245202013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24521
24522 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24523
881ebe89 245242013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24525
24526 * elf/elf.h (R_386_SIZE32): New relocation.
24527 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24528 R_386_SIZE32.
24529 (elf_machine_rela): Likewise.
24530 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24531 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24532
59981e9b
JM
245332013-01-17 Joseph Myers <joseph@codesourcery.com>
24534
24535 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24536 (FP_FAST_FMA): Do not define.
24537 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24538 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24539 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24540 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24541 !_SOFT_FLOAT]: Likewise.
24542 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24543 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24544 value.
24545 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24546 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24547 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24548 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24549 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24550 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24551 file.
24552
cfa8054f
AS
245532013-01-16 Andreas Schwab <schwab@suse.de>
24554
24555 [BZ #14327]
24556 * include/stdlib.h (__mktemp): Add declaration.
24557 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24558 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24559
dd930cc5
SP
245602013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24561
881ebe89
SP
24562 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24563 definitions.
24564 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24565 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24566 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24567 definitions here.
24568 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24569 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24570 definitions.
24571 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24572 and ONE.
24573 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24574 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24575 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24576 definitions.
24577 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24578 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24579 definitions.
24580 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24581
dd930cc5
SP
24582 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24583
c19a9f89
DM
245842013-01-15 David S. Miller <davem@davemloft.net>
24585
1aa61767
DM
24586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24587 trunc{,f} to libm-sysdep_routes.
24588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24590 file.
24591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24593 file.
24594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24595 file.
24596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24598 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24599 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24600 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24601 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24602 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24603 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24604
c42d5e98
DM
24605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24606 nearbyint{,f} to libm-sysdep_routes.
24607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24609 New file.
24610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24611 file.
24612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24613 New file.
24614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24615 file.
24616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24618 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24619 file.
24620 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24621 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24622 file.
24623 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24624 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24625 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24626
c19a9f89
DM
24627 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24628 libc_feholdexcept and libc_fesetenv.
24629
357679d2
MF
246302013-01-15 Mike Frysinger <vapier@gentoo.org>
24631
24632 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24633
65a82e3d
DM
246342013-01-14 David S. Miller <davem@davemloft.net>
24635
8b954ab9
DM
24636 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24637 (SPARC_ASM_VIS2_IFUNC): Likewise.
24638 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24640 use of 'siam' instruction.
24641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24642 Likewise.
24643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24644 Likewise.
24645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24646 Likewise.
24647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24652 file.
24653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24654 file.
24655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24656 file.
24657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24658 file.
24659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24664 new VIS2 routines.
24665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24668 Likewise.
24669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24674 routines to libm-sysdep_routines.
24675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24676
65a82e3d
DM
24677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24678 fdim/fdimf to libm-sysdep_routines.
24679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24680 file.
24681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24683 file.
24684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24687 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24688 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24689 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24690 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24691
e34ab705
SP
246922013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24693
2a91b573
SP
24694 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24695 to optimize copies.
24696
1066a534
SP
24697 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24700
e34ab705
SP
24701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24702 local variable MPTWO.
24703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24704 Likewise.
24705
aba5e596
MF
247062013-01-13 Mike Frysinger <vapier@gentoo.org>
24707
24708 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24709 GLOB_NOESCAPE.
24710
e557e9e5
MF
247112013-01-13 Mike Frysinger <vapier@gentoo.org>
24712
24713 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24714
0428cec9
MF
247152013-01-13 Mike Frysinger <vapier@gentoo.org>
24716
24717 * manual/pattern.texi (glob_t): Document gl_flags.
24718 (glob64_t): Likewise.
24719
8794a964
DM
247202013-01-11 David S. Miller <davem@davemloft.net>
24721
66438c3f
RM
24722 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24723 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24724 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24725 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24726 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24727 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24728 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24729 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24730 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24731 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24732 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24733 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24734 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24735
4ae4244d
DM
24736 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24737 sparc V9 rather than using V8 code.
24738 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24739 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24740
8794a964
DM
24741 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24742 Move to...
24743 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24744 Here.
24745
6270516e
RM
247462013-01-11 Roland McGrath <roland@hack.frob.com>
24747
24748 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24749 not in the main loop.
24750 * configure: Regenerated.
24751
6a57d931
JM
247522013-01-11 Joseph Myers <joseph@codesourcery.com>
24753
24754 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24755 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24756 to just #else.
24757 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24758 [!__GLIBC_HAVE_LONG_LONG] case.
24759 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24760 condition to just #else.
24761 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24762 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24763 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24764 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24765 unconditional.
24766 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24767 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24768 #elif condition to just #else.
24769 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24770 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24771 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24772 #elif condition to just #else.
24773
0e8529e9
SE
247742013-01-11 Steve Ellcey <sellcey@mips.com>
24775
24776 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24777 (EF_MIPS_ARCH_64): Fix value.
24778 (EF_MIPS_ARCH_32R2): New.
24779 (EF_MIPS_ARCH_64R2): New.
24780
740b3dbe
L
247812013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24782
24783 * Makeconfig (+link-pie-before-libc): New.
24784 (+link-pie-after-libc): Likewise.
24785 (+link-pie-tests): Likewise.
24786 (+link-pie): Rewritten.
24787 (link-before-libc): Remove $(config-LDFLAGS).
24788 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24789 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24790 (config-LDFLAGS): Renamed to ...
24791 (rtld-LDFLAGS): This.
24792 (rtld-tests-LDFLAGS): New macro.
24793 (link-libc-rpath-link): Likewise.
24794 (link-libc-tests-rpath-link): Likewise.
24795 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24796 (link-libc): Prepand $(link-libc-rpath-link).
24797 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24798 (test-program-prefix): New macro.
24799 (test-via-rtld-prefix): Likewise.
24800 (test-program-cmd): Likewise.
24801 (host-test-program-cmd): Likewise.
24802 * Makefile ($(common-objpfx)testrun.sh): Replace
24803 $(run-program-prefix) with $(test-program-prefix).
24804 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24805 $(rtld-LDFLAGS).
24806 ($(common-objpfx)shlib.lds): Likewise.
24807 (build-module-helper): Likewise.
24808 ($(common-objpfx)format.lds): Likewise.
24809 * Rules (binaries-pie-tests): New.
24810 (binaries-pie-notests): Likewise.
24811 (binaries-pie): Rewritten.
24812 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24813 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24814 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24815 (make-test-out): Replace $(host-built-program-cmd) with
24816 $(host-test-program-cmd).
24817 * config.make.in (build-hardcoded-path-in-tests): New variable.
24818 * configure.in (--enable-hardcoded-path-in-tests): New configure
24819 option.
24820 (hardcoded_path_in_tests): New AC_SUBST.
24821 * configure: Regenerated.
24822 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24823 $(built-program-cmd) with $(test-program-cmd).
24824 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24825 (test_program_cmd): This.
24826 * elf/Makefile ($(objpfx)order.out): Run test with
24827 $(test-program-prefix).
24828 ($(objpfx)order2.out): Likewise.
24829 ($(objpfx)tst-initorder.out): Likewise.
24830 ($(objpfx)tst-initorder2.out): Likewise.
24831 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24832 $(test-program-cmd).
24833 ($(objpfx)tst-array1-static.out): Likewise.
24834 ($(objpfx)tst-array2.out): Likewise.
24835 ($(objpfx)tst-array3.out): Likewise.
24836 ($(objpfx)tst-array4.out): Likewise.
24837 ($(objpfx)tst-array5.out): Likewise.
24838 ($(objpfx)tst-array5-static.out): Likewise.
24839 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24840 $(test-program-cmd).
24841 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24842 $(run-program-prefix) with $(test-program-prefix).
24843 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24844 (test_program_prefix): This.
24845 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24846 $(run-program-prefix) with $(test-program-prefix).
24847 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24848 (test_program_prefix): This.
24849 * iconvdata/tst-tables.sh: Likewise.
24850 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24851 $(run-program-prefix) with $(test-program-prefix).
24852 ($(objpfx)tst-translit.out): Likewise.
24853 ($(objpfx)tst-gettext2.out): Likewise.
24854 ($(objpfx)tst-gettext4.out): Likewise.
24855 ($(objpfx)tst-gettext6.out): Likewise.
24856 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24857 (test_program_prefix): This.
24858 * intl/tst-gettext2.sh: Likewise.
24859 * intl/tst-gettext4.sh Likewise.
24860 * intl/tst-gettext6.sh: Likewise.
24861 * intl/tst-translit.sh: Likewise.
24862 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24863 with $(test-program-cmd).
24864 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24865 $(run-program-prefix) with $(test-program-prefix).
24866 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24867 (test_program_prefix): This.
24868 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24869 $(run-program-prefix) with $(test-program-prefix).
24870 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24871 (test_program_prefix): This.
24872 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24873 * posix/Makefile ($(objpfx)globtest.out): Replace
24874 $(run-via-rtld-prefix) and $(test-wrapper) with
24875 $(test-program-prefix) and $(test-via-rtld-prefix).
24876 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24877 $(test-program-prefix).
24878 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24879 $(host-test-program-cmd).
24880 (tst-spawn-ARGS): Likewise.
24881 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24882 $(test-program-prefix).
24883 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24884 (test_via_rtld_prefix): This.
24885 (test_wrapper): Renamed to ...
24886 (test_program_prefix): This.
24887 (run_program_prefix): Replaced by test_program_prefix.
24888 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24889 (test_program_prefix): This.
24890 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24891 with $(host-test-program-cmd).
24892 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24893 $(run-program-prefix) with $(test-program-prefix).
24894 ($(objpfx)tst-printf.out): Likewise.
24895 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24896 $(test-program-cmd).
24897 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24898 (test_program_prefix): This.
24899 * stdio-common/tst-unbputc.sh: Likewise.
24900 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24901 $(run-program-prefix) with $(test-program-prefix).
24902 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24903 (test_program_prefix): This.
24904 * string/Makefile ($(objpfx)tst-svc.out): Replace
24905 $(built-program-cmd) with $(test-program-cmd).
24906
c6fe55cf
AJ
249072013-01-11 Andreas Jaeger <aj@suse.de>
24908
24909 [BZ #15003]
24910 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24911 value. Sync with Linux 3.7.
24912
9e6919c8
DM
249132013-01-10 David S. Miller <davem@davemloft.net>
24914
24915 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24916 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24917 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24918
1c9f1a02
RM
249192013-01-10 Roland McGrath <roland@hack.frob.com>
24920
24921 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24922 never set.
24923 * configure: Regenerated.
24924
b9de2dde
DM
249252013-01-10 David S. Miller <davem@davemloft.net>
24926
24927 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24928 sparc V9 rather than using V8 code.
24929 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24930 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24931
e7f68ef4
RM
249322013-01-10 Roland McGrath <roland@hack.frob.com>
24933
24934 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24935 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24936 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24937 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24938 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24939 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24940 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24941 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24942 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24943 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24944 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24945 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24946 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24947 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24948 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24949 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24950 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24951 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24952 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24953 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24954 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24955 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24956 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24957 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24958 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24959 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24960 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24961
5a47cc9c
DM
249622013-01-10 David S. Miller <davem@davemloft.net>
24963
24964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24965
4cf8f209
L
249662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24967
24968 * posix/Makefile (tests-static): New variable.
24969 (tests): Add $(tests-static).
24970 (tst-exec-static-ARGS): New variable.
24971 (tst-spawn-static-ARGS): Likewise.
24972 * posix/tst-exec-static.c: New file.
24973 * posix/tst-spawn-static.c: Likewise.
24974 * posix/tst-exec.c: Support run directly.
24975 * posix/tst-spawn.c: Likewise.
24976
fed0faa1
JM
249772013-01-10 Joseph Myers <joseph@codesourcery.com>
24978
828beb13
JM
24979 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24980 long.
24981 * math/bits/mathcalls.h (llrint): Likewise.
24982 (llround): Likewise.
24983 * stdlib/stdlib.h (struct drand48_data): Likewise.
24984 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24985 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24986 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24987 Likewise.
24988 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24989 Likewise.
24990 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24991 (elf_greg_t): Likewise.
24992 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24993 (__jmp_buf): Likewise.
24994 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24995 definitions.
24996 (llrint): Likewise, for all definitions.
24997 (llrintl): Likewise.
24998
fed0faa1
JM
24999 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25000 Remove [__GNUC__] condition.
25001 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25002 condition to just [__USE_ISOC99].
25003 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25004
1a20cb20
L
250052013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25006
25007 [BZ #14200]
25008 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25009 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25010 defined.
25011 (_POSIX_V6_ILP32_OFF32): Likewise.
25012 (_XBS5_ILP32_OFF32): Likewise.
25013 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25014 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25015
751b85f7
SP
250162013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25017
7490eb81
SP
25018 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25019
751b85f7
SP
25020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25021 doubles __mpexp_twomm1. Adjust usage.
25022 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25023 Remove.
25024
988197f0
AS
250252013-01-10 Andreas Schwab <schwab@suse.de>
25026
25027 [BZ #14964]
25028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25029 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25030
e83d7298
DM
250312013-01-09 David S. Miller <davem@davemloft.net>
25032
034ed64b 25033 [BZ #15003]
57f41c40
AS
25034 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25035 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25036 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25037 (TCP_FASTOPEN): Define.
e83d7298
DM
25038 (tcp_repair_opt): New structure.
25039 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25040 enum values.
57f41c40
AS
25041 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25042 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25043 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25044 (tcp_cookie_transactions): New structure.
25045
d5e0b9bd
AB
250462013-01-09 Anton Blanchard <anton@samba.org>
25047
25048 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25049 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25050 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25051 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25052
0c07e3ea
JM
250532013-01-09 Joseph Myers <joseph@codesourcery.com>
25054
25055 * include/features.h (__USE_ANSI): Remove.
25056
232f7002
RM
250572013-01-09 Roland McGrath <roland@hack.frob.com>
25058
ad98e30c
RM
25059 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25060
232f7002
RM
25061 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25062
950c99ca
SP
250632013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25064
b5792741
SP
25065 * sysdeps/s390/fpu/libm-test-ulps: Update.
25066
47cf2278
SP
25067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25068
950c99ca
SP
25069 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25070 (__acr): Likewise.
25071 (__cpy): Likewise.
25072 (norm): Likewise.
25073 (denorm): Likewise.
25074 (__mp_dbl): Likewise.
25075 (__dbl_mp): Likewise.
25076 (add_magnitudes): Likewise.
25077 (sub_magnitudes): Likewise.
25078 (__add): Likewise.
25079 (__sub): Likewise.
25080 (__mul): Likewise.
25081 (__inv): Likewise.
25082 (__dvd): Likewise.
25083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25084 (__acr): Likewise.
25085 (__cpy): Likewise.
25086 (norm): Likewise.
25087 (denorm): Likewise.
25088 (__mp_dbl): Likewise.
25089 (__dbl_mp): Likewise.
25090 (add_magnitudes): Likewise.
25091 (sub_magnitudes): Likewise.
25092 (__add): Likewise.
25093 (__sub): Likewise.
25094 (__mul): Likewise.
25095 (__inv): Likewise.
25096 (__dvd): Likewise.
25097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25098 (__acr): Likewise.
25099 (__cpy): Likewise.
25100 (norm): Likewise.
25101 (denorm): Likewise.
25102 (__mp_dbl): Likewise.
25103 (__dbl_mp): Likewise.
25104 (add_magnitudes): Likewise.
25105 (sub_magnitudes): Likewise.
25106 (__add): Likewise.
25107 (__sub): Likewise.
25108 (__mul): Likewise.
25109 (__inv): Likewise.
25110 (__dvd): Likewise.
25111
eede9df9
JM
251122013-01-08 Joseph Myers <joseph@codesourcery.com>
25113
25114 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25115 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25116 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25117 2 && __USE_EXTERN_INLINES]: Likewise.
25118
c40ea3d9
AJ
251192013-01-08 Andreas Jaeger <aj@suse.de>
25120
25121 [BZ# 14985]
25122 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25123 Remove.
25124 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25125 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25126
2ccdea26
AB
251272013-01-07 Anton Blanchard <anton@samba.org>
25128
25129 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25130 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25131 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25132 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25133 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25134 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25135 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25136 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25138 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25139 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25140 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25141 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25142 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25143 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25144 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25145 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25146 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25147 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25148 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25149 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25150 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25151 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25152 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25153 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25154 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25155 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25156 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25157 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25158 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25159 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25161 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25162 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25163 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25164 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25165 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25166 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25167 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25169 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25170 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25171 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25172
a9708fed
JM
251732013-01-07 Joseph Myers <joseph@codesourcery.com>
25174
375607b9
JM
25175 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25176 (__MALLOC_PMT): Likewise.
25177 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25178 [__GNUC__], only on [_LIBC].
25179 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25180 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25181 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25182 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25183 forward declaration.
25184 (realloc_hook_ini): Likewise.
25185 (memalign_hook_ini): Likewise.
25186 (__libc_memalign): Do not use __MALLOC_PMT in variable
25187 declaration.
25188 (__libc_valloc): Likewise.
25189 (__libc_pvalloc): Likewise.
25190 (__libc_calloc): Likewise.
25191 (__posix_memalign): Likewise.
25192
a9708fed
JM
25193 [BZ #14996]
25194 * math/s_casinh.c: Include <float.h>.
25195 (__casinh): Do not do computation with squaring and square root
25196 for large arguments.
25197 * math/s_casinhf.c: Include <float.h>.
25198 (__casinhf): Do not do computation with squaring and square root
25199 for large arguments.
25200 * math/s_casinhl.c: Include <float.h>.
25201 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25202 (__casinhl): Do not do computation with squaring and square root
25203 for large arguments.
25204 * math/libm-test.inc (casin_test): Add more tests.
25205 (casinh_test): Likewise.
25206 * sysdeps/i386/fpu/libm-test-ulps: Update.
25207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25208
afec409a
L
252092013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25210
25211 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25212 (__x86_64_raw_data_cache_size): Likewise.
25213 (__x86_64_data_cache_size_half): Likewise.
25214 (__x86_64_raw_data_cache_size_half): Likewise.
25215 (__x86_64_shared_cache_size): Likewise.
25216 (__x86_64_raw_shared_cache_size): Likewise.
25217 (__x86_64_shared_cache_size_half): Likewise.
25218 (__x86_64_raw_shared_cache_size_half): Likewise.
25219 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25220 to ...
25221 (__x86_data_cache_size): This.
25222 (__x86_64_raw_data_cache_size): Renamed to ...
25223 (__x86_raw_data_cache_size): This.
25224 (__x86_64_data_cache_size_half): Renamed to ...
25225 (__x86_data_cache_size_half): This.
25226 (__x86_64_raw_data_cache_size_half): Renamed to ...
25227 (__x86_raw_data_cache_size_half): This.
25228 (__x86_64_shared_cache_size): Renamed to ...
25229 (__x86_shared_cache_size): This.
25230 (__x86_64_raw_shared_cache_size): Renamed to ...
25231 (__x86_raw_shared_cache_size): This.
25232 (__x86_64_shared_cache_size_half): Renamed to ...
25233 (__x86_shared_cache_size_half): This.
25234 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25235 (__x86_raw_shared_cache_size_half): This.
25236 * sysdeps/x86_64/memcpy.S: Updated.
25237 * sysdeps/x86_64/memset.S: Likewise.
25238 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25239 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25241
0b3986d0
DM
252422013-01-04 David S. Miller <davem@davemloft.net>
25243
25244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25245
e47686e9
AS
252462013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25247
d643bac1
AS
25248 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25249 1 to avoid redefinition warning.
25250 (__USE_GNU): Don't define.
25251 (init_signaling_nan): Protoize.
25252
e47686e9
AS
25253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25254
b18decba
SP
252552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25256
fffb407f
SP
25257 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25259 (__cpymn): Likewise.
25260 (norm): Remove commented code.
25261 (denorm): Likewise.
25262 (__mp_dbl): Likewise.
25263 (__inv): Likewise.
25264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25265 (__cpymn): Likewise.
25266 (norm): Remove commented code.
25267 (denorm): Likewise.
25268 (__mp_dbl): Likewise.
25269 (__inv): Likewise.
25270
b18decba
SP
25271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25272 mp_no value for 1.0 and 2.0.
25273 (norm): Use RADIXI instead of radixi.d.
25274 (denorm): Likewise.
25275 (__mul): Use 0.0 instead of zero.d.
25276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25277 mp_no value for 1.0 and 2.0.
25278 (norm): Use RADIXI instead of radixi.d.
25279 (denorm): Likewise.
25280 (__mul): Use 0.0 instead of zero.d.
25281
cdc1c96f
JM
252822013-01-04 Joseph Myers <joseph@codesourcery.com>
25283
25284 [BZ #14994]
25285 * math/s_casinh.c (__casinh): Reduce finite argument to first
25286 quadrant then set signs of results at the end.
25287 * math/s_casinhf.c (__casinhf): Likewise.
25288 * math/s_casinhl.c (__casinhl): Likewise.
25289 * math/libm-test.inc (casin_test): Add more tests.
25290 (casinh_test): Likewise.
25291 * sysdeps/i386/fpu/libm-test-ulps: Update.
25292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25293
302913e1
SP
252942013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25295
6420d207
SP
25296 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25297
a9e48ab4
SP
25298 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25299
b7837264
SP
25300 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25301 declarations.
25302 (denorm): Likewise.
25303 (__mp_dbl): Likewise.
25304 (__inv): Likewise.
25305
f8af25d2
SP
25306 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25307 and adjust the header comment.
25308
302913e1
SP
25309 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25310 variable name from declaration.
25311
5d7dd1ca
L
253122013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25313
25314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25315 Initialize COMMON_CPUID_INDEX_7 element.
25316 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25317 (CPUID_RTM): Likewise.
25318 (HAS_RTM): Likewise.
25319 (COMMON_CPUID_INDEX_7): New enum.
25320
2f5f40f4
AS
253212013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25322
25323 [BZ #14981]
25324 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25325 size is zero, record memory as freed.
25326
4056f4a0
AJ
253272013-01-03 Andreas Jaeger <aj@suse.de>
25328
25329 * po/ia.po: Add new Interlingua translation.
25330
ab15736f 253312012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
25332
25333 * locale/programs/localedef.c: Fix description of '--posix' flag.
25334
568035b7
JM
253352013-01-02 Joseph Myers <joseph@codesourcery.com>
25336
e6898b8d
JM
25337 * NEWS: Update dates in second copyright notice.
25338 * README: Update copyright dates in example.
25339 * manual/libc.texinfo: Update copyright dates.
25340 * scripts/test-installation.pl: Update copyright date in --version
25341 output.
25342
0e2f9562
JM
25343 * hurd/ctty-input.c: Fix copyright notice formatting.
25344 * hurd/ctty-output.c: Likewise.
25345 * hurd/dtable.c: Likewise.
25346 * hurd/hurd-raise.c: Likewise.
25347 * hurd/hurdprio.c: Likewise.
25348 * hurd/msgportdemux.c: Likewise.
25349 * misc/sys/file.h: Likewise.
25350 * misc/sys/ioctl.h: Likewise.
25351 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25352 * sysdeps/mach/hurd/chdir.c: Likewise.
25353 * sysdeps/mach/hurd/fchdir.c: Likewise.
25354 * sysdeps/mach/hurd/rename.c: Likewise.
25355 * sysdeps/mach/hurd/rmdir.c: Likewise.
25356 * sysdeps/mach/hurd/seekdir.c: Likewise.
25357 * sysdeps/mach/hurd/setsid.c: Likewise.
25358 * sysdeps/posix/wait3.c: Likewise.
25359
568035b7
JM
25360 * All files with FSF copyright notices: Update copyright dates
25361 using scripts/update-copyrights.
25362 * intl/plural.c: Regenerated.
25363 * locale/programs/charmap-kw.h: Likewise.
25364 * locale/programs/locfile-kw.h: Likewise.
25365
da08f647
SP
253662013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25367
0f5477af
SP
25368 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25369 four values.
25370
44e0d4c2
SP
25371 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25372 calculation loop and add branch prediction.
25373
4d55b4e5
SP
25374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25375 check access beyond bounds of m1np.
25376
da08f647
SP
25377 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25378 MPTWO.
25379 (__inv): Remove local variable MPTWO to use the global
25380 constant.
25381 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25382 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25383 variable MPTWO.
25384 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25385 MP3HALFS static const.
25386
8e051029
DM
253872013-01-01 David S. Miller <davem@davemloft.net>
25388
25389 * po/ca.po: Update from translation team.
25390
f4cf5f2d
JM
253912013-01-01 Joseph Myers <joseph@codesourcery.com>
25392
25393 * scripts/update-copyrights: New file.
25394 * Makeconfig: Reformat copyright notice.
25395 * ctype/ctype.h: Likewise.
25396 * debug/swprintf_chk.c: Likewise.
25397 * elf/dl-cache.c: Likewise.
25398 * elf/dl-debug.c: Likewise.
25399 * elf/dl-object.c: Likewise.
25400 * grp/initgroups.c: Likewise.
25401 * hurd/Makefile: Likewise.
25402 * hurd/hurd/signal.h: Likewise.
25403 * hurd/hurdfault.c: Likewise.
25404 * hurd/hurdioctl.c: Likewise.
25405 * hurd/hurdlookup.c: Likewise.
25406 * hurd/intr-msg.c: Likewise.
25407 * iconv/gconv_open.c: Likewise.
25408 * libio/swprintf.c: Likewise.
25409 * locale/lc-ctype.c: Likewise.
25410 * locale/nl_langinfo.c: Likewise.
25411 * mach/Machrules: Likewise.
25412 * mach/Makefile: Likewise.
25413 * malloc/obstack.h: Likewise.
25414 * manual/Makefile: Likewise.
25415 * manual/tsort.awk: Likewise.
25416 * misc/bits/stab.def: Likewise.
25417 * nis/nis_print_group_entry.c: Likewise.
25418 * nis/nis_table.c: Likewise.
25419 * nis/nss_compat/compat-pwd.c: Likewise.
25420 * nis/nss_compat/compat-spwd.c: Likewise.
25421 * po/Makefile: Likewise.
25422 * posix/fnmatch.c: Likewise.
25423 * posix/regex.h: Likewise.
25424 * resolv/Makefile: Likewise.
25425 * resolv/nss_dns/dns-network.c: Likewise.
25426 * resolv/res_hconf.c: Likewise.
25427 * scripts/gen-sorted.awk: Likewise.
25428 * soft-fp/soft-fp.h: Likewise.
25429 * stdio-common/printf.h: Likewise.
25430 * stdlib/monetary.h: Likewise.
25431 * stdlib/random.c: Likewise.
25432 * stdlib/random_r.c: Likewise.
25433 * sysdeps/generic/Makefile: Likewise.
25434 * sysdeps/gnu/Makefile: Likewise.
25435 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25437 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25440 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25441 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25442 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25443 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25445 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25446 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25447 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25448 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25449 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25450 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25453 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25455 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25456 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25457 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25458 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25459 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25461 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25463 * sysdeps/mach/hurd/errnos.awk: Likewise.
25464 * sysdeps/mach/hurd/fork.c: Likewise.
25465 * sysdeps/mach/hurd/getcwd.c: Likewise.
25466 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25467 * sysdeps/mach/hurd/mmap.c: Likewise.
25468 * sysdeps/mach/hurd/utimes.c: Likewise.
25469 * sysdeps/mach/hurd/xmknod.c: Likewise.
25470 * sysdeps/posix/profil.c: Likewise.
25471 * sysdeps/posix/readdir_r.c: Likewise.
25472 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25473 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25474 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25475 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25477 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25478 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25479 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25481 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25482 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25483 * sysdeps/pthread/lio_listio.c: Likewise.
25484 * sysdeps/sparc/dl-procinfo.h: Likewise.
25485 * sysdeps/unix/i386/sysdep.S: Likewise.
25486 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25487 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25488 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25489 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25491 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25492 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25493 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25494 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25495 * sysdeps/wordsize-32/divdi3.c: Likewise.
25496 * time/sys/time.h: Likewise.
25497 * wcsmbs/Makefile: Likewise.
25498
0549fbba
DM
254992013-01-01 David S. Miller <davem@davemloft.net>
25500
a141f1a7
DM
25501 * po/fr.po: Update from translation team.
25502
0549fbba
DM
25503 * catgets/gencat.c: Update copyright year.
25504 * csu/version.c: Likewise.
25505 * debug/catchsegv.sh: Likewise.
25506 * debug/pcprofiledump.c: Likewise.
25507 * debug/xtrace.sh: Likewise.
25508 * elf/ldconfig.c: Likewise.
25509 * elf/ldd.bash.in: Likewise.
25510 * elf/pldd.c: Likewise.
25511 * elf/sotruss.ksh: Likewise.
25512 * elf/sprof.c: Likewise.
25513 * iconv/iconv_prog.c: Likewise.
25514 * iconv/iconvconfig.c: Likewise.
25515 * locale/programs/locale.c: Likewise.
25516 * locale/programs/localedef.c: Likewise.
25517 * login/programs/pt_chown.c: Likewise.
25518 * malloc/memusage.sh: Likewise.
25519 * malloc/memusagestat.c: Likewise.
25520 * malloc/mtrace.pl: Likewise.
25521 * nscd/nscd.c: Likewise.
25522 * nss/getent.c: Likewise.
25523 * nss/makedb.c: Likewise.
25524 * posix/getconf.c: Likewise.
25525
18ea052c
SP
255262012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25527
25528 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25529 numbers.
25530
9c89fca6
MF
255312012-12-30 Mike Frysinger <vapier@gentoo.org>
25532
25533 * math/bits/mathcalls.h (modf): Use __nonnull.
25534
085ec079
SP
255352012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25536
25537 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25538 (split): Use macro CN instead of the bare value.
25539 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25540 could be used.
25541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25542 instead of the bare value.
25543 (power1): Likewise.
25544
6d9f97e1
SP
255452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25546
d63f73be
SP
25547 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25548 __ATAN_TWOM.
25549 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25550
6d9f97e1
SP
25551 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25552 their values.
25553 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25554 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25555 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25556 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25557
4c4febf5
AJ
255582012-12-28 Andreas Jaeger <aj@suse.de>
25559
af5843ef
AJ
25560 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25561 values are from Linux 3.7.
25562
4c4febf5
AJ
25563 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25564 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25565
99136f82
SP
255662012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25567
2f216c3c 25568 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25569 TRUE case.
25570
99136f82
SP
25571 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25572 (norm): Likewise.
25573 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25574 variables with preprocessor constants.
25575 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25576 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25577 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25578
7fffbdff
BH
255792012-12-27 Bruno Haible <bruno@clisp.org>
25580
25581 [BZ #14317]
25582 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25583 only if needed.
25584
b76eb5f0
SP
255852012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25586
31a7fe5c
SP
25587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25588 and use variable directly.
25589 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25590
b76eb5f0
SP
25591 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25592 MPONE.
25593 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25594 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25595 variable MPONE.
25596 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25598 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25599 include directive. Remove local variable MPONE.
25600 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25601 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25602 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25603
2c8bfe7d
DM
256042012-12-25 David S. Miller <davem@davemloft.net>
25605
25606 * version.h (RELEASE): Set to "development".
25607 (VERSION): Set to "2.17.90".
25608 * NEWS: Add 2.18 section.
25609
147d03b0
DM
256102012-12-21 David S. Miller <davem@davemloft.net>
25611
25612 * po/hr.po: Update from translation team.
25613
a8ebb2b9
AK
256142012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25615
25616 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25617
95b4f1b6
SE
256182012-12-19 Steve Ellcey <sellcey@mips.com>
25619
b2d94007 25620 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25621
cedb2a90
MS
256222012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25623
25624 * manual/contrib.texi (Contributors): Spelling correction.
25625
bbf527d6
DM
256262012-12-15 David S. Miller <davem@davemloft.net>
25627
25628 * po/ru.po: Update from translation team.
25629
bc38c906
DM
256302012-12-13 David S. Miller <davem@davemloft.net>
25631
85429b1a
DM
25632 * NEWS: Mention IFUNC testsuite enhancements.
25633
d283e353
DM
25634 * po/pl.po: Update from translation team.
25635 * po/bg.po: Likewise.
25636
bc38c906
DM
25637 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25638 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25639
a181b0d7
DM
256402012-12-11 David S. Miller <davem@davemloft.net>
25641
4641d57e
DM
25642 * po/sv.po: Update from translation team.
25643
f7bc6495
DM
25644 * po/vi.po: Update from translation team.
25645
6fc9048f
DM
25646 * po/cs.po: Update from translation team.
25647
a181b0d7
DM
25648 * po/de.po: Update from translation team.
25649 * po/eo.po: Likewise.
25650 * po/nl.po: Likewise.
25651
f70bfe80
SP
256522012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25653
3c8b4190
SP
25654 [BZ #14246]
25655 * manual/argp.texi (Argp Helper Functions): Move node to follow
25656 Argp Parsing State.
25657
f70bfe80
SP
25658 [BZ #14872]
25659 * manual/conf.texi (Limits on File System Capacity): Mention if
25660 terminating null is included in the max size.
25661
188f0adf
AJ
256622012-12-10 Andreas Jaeger <aj@suse.de>
25663
25664 * po/cs.po: Update from translation team.
25665
56e7d3ad
SP
256662012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25667
25668 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25669 void pointer and cast to uintptr_t.
25670 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25671 path.
25672 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25673 * sysdeps/s390/s390-64/memset.S: Likewise.
25674
76f2d2ea 256752012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25676
25677 [BZ #14833]
25678 * menual/message.texi (Message Translation): Fix typos.
25679 (Helper programs for gettext): Likewise.
25680
67cbf9a2
AS
256812012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25682
25683 [BZ #14898]
25684 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25685 Change to -1.
25686
682d0e9a
DM
256872012-12-07 David S. Miller <davem@davemloft.net>
25688
25689 * po/libc.pot: Update.
25690
573cd484
RH
256912012-12-07 Richard Henderson <rth@redhat.com>
25692
7e9da188 25693 [BZ #10114]
573cd484
RH
25694 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25695 normal/normal case to before the switch.
25696 (_FP_DIV): Likewise.
25697
e933a943
MF
256982012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25699 Mike Frysinger <vapier@gentoo.org>
25700
25701 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25702 check for __NR_fadvise64_64.
25703
82123268
CM
257042012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25705
25706 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25707 0, not just to plain "0" as a statement.
25708 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25709 with cw.
25710
d9814526
JM
257112012-12-06 Joseph Myers <joseph@codesourcery.com>
25712
25713 * NEWS: Use sourceware.org in Bugzilla URL.
25714
7728c574
SP
257152012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25716
f16946dd
SP
25717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25718 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25719
5704bbcb
SP
25720 * stdio-common/tst-put-error.c (do_test): Add newline to the
25721 padded test to ensure flush.
25722
17aa0516
JL
257232012-12-05 Jeff Law <law@redhat.com>
25724
25725 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25726
363313b5
JM
257272012-12-05 Joseph Myers <joseph@codesourcery.com>
25728
effbd42a
JM
25729 * README: Don't refer to ports add-on as distributed separately.
25730 Mention AArch64 in list of systems supported in the ports add-on.
25731
87600365
JM
25732 * LICENSES: Add more non-FSF copyright and license notices.
25733
a0d7066a
JM
25734 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25735 ((unused)).
25736
66ca5a5b
JM
25737 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25738
363313b5
JM
25739 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25740 10000 as width of padded output.
25741
b37984ad
JM
257422012-12-04 Joseph Myers <joseph@codesourcery.com>
25743
9003570a
JM
25744 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25745
b37984ad
JM
25746 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25747 variable LX with __attribute__ ((unused)).
25748 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25749 Likewise.
25750 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25753 with __attribute__ ((unused)).
25754
c8df52ec
DM
257552012-12-04 David S. Miller <davem@abraco.davemloft.net>
25756
25757 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25758
b3b099af
JM
257592012-12-04 Joseph Myers <joseph@codesourcery.com>
25760
c33aa6e3
JM
25761 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25762 (CFLAGS-nldbl-acos.c): New variable.
25763 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25764 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25765 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25766 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25767 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25768 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25769 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25770 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25771 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25772 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25773 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25774 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25775 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25776 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25777 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25778 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25779 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25780 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25781 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25782 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25783 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25784 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25785 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25786 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25787 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25788 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25789 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25790 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25791 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25792 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25793 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25794 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25795 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25796 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25797 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25798 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25799 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25800 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25801 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25802 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25803 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25804 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25805 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25806 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25807 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25808 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25809 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25810 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25811 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25812 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25813 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25814 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25815 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25816 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25817 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25818 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25819 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25820 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25821 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25822 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25823 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25824 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25825 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25826 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25827 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25828 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25829 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25830 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25831 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25832 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25833 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25834 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25835 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25836 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25837 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25838 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25839 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25840 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25841 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25842 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25843 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25844 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25845 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25846 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25847 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25848 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25849 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25850 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25851 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25852 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25853 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25854 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25855 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25856 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25857 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25858 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25859 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25860
20f0018d
JM
25861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25862 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25863
b3b099af
JM
25864 [BZ #14914]
25865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25866 whole low double instead of just low 47 bits when splitting values
25867 into two parts.
25868
029264d1
AM
258692012-12-03 Allan McRae <allan@archlinux.org>
25870
25871 * manual/stdio.texi (Predefined Printf Handlers): Remove
25872 @hsep and @vsep usage.
25873
c9d6789e
MF
258742012-12-03 Mike Frysinger <vapier@gentoo.org>
25875
25876 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25877 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25878
4b7634a5
JL
258792012-12-03 Jeff Law <law@redhat.com>
25880
25881 * time/sys/time.h (settimeofday): Do not mark TV argument
25882 as __nonnull.
25883
eb6cbd24
MF
258842012-12-01 Mike Frysinger <vapier@gentoo.org>
25885
25886 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25887 when currently writing and seek to current position when not.
25888 * libio/Makefile (tests): Remove bug-fclose1.
25889 * libio/bug-fclose1.c: Delete.
25890
f638872a
JM
258912012-12-01 Joseph Myers <joseph@codesourcery.com>
25892
25893 * manual/arith.texi (feenableexcept): Fix typo.
25894 (fedisableexcept): Likewise.
25895
48085d14
RM
258962012-11-30 Roland McGrath <roland@hack.frob.com>
25897
25898 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25899 second, differently-typed declaration, rather than a cast.
25900
1a538b9f
SP
259012012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25902
25903 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25904 * include/rpc/svc.h: ... here.
25905
d07f2ff1 259062012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25907
25908 [BZ #13013]
25909 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25910 depending n and resplen2 to catch cases where answer
25911 equals answerp2.
25912
c93ec1f0
CD
259132012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25914
25915 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25916 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25917
37db69de
MF
259182012-11-29 Mike Frysinger <vapier@gentoo.org>
25919
25920 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25921
e10c4e4f
RM
259222012-11-29 Roland McGrath <roland@hack.frob.com>
25923
25924 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25925
2af1b328
JL
259262012-11-28 Jeff Law <law@redhat.com>
25927
25928 [BZ #13761]
25929 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25930 dataset_temporary. Track alloca usage into alloca_used.
25931 If dataset is large allocate and release it via malloc/free.
25932
111db5b1
FW
259332012-06-04 Florian Weimer <fweimer@redhat.com>
25934
f06cc227 25935 [BZ #14197]
111db5b1
FW
25936 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25937
dd694abd
DM
259382012-11-28 David S. Miller <davem@davemloft.net>
25939
25940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25941
9984dd01
JM
259422012-11-28 Joseph Myers <joseph@codesourcery.com>
25943
25944 [BZ #14803]
25945 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25946 of pi/2 rounded to nearest to 64 bits.
25947 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25948 nearest to 64 bits.
25949 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25950 bits.
25951
14bc93a9
JL
259522012-11-28 Jeff Law <law@redhat.com>
25953 Martin Osvald <mosvald@redhat.com>
25954
25955 [BZ #14889]
25956 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25957 * sunrpc/svc.c: Include time.h.
25958 (__svc_accept_failed): New function.
25959 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25960 any reason other than EINTR, call __svc_accept_failed.
25961 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25962 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25963
e3c6aa3a
AS
259642012-11-28 Andreas Schwab <schwab@suse.de>
25965
25966 * scripts/abilist.awk: Also handle indirect functions in .opd
25967 section.
25968
1bead169
JM
259692012-11-28 Joseph Myers <joseph@codesourcery.com>
25970
25971 [BZ #13881]
25972 * sysdeps/x86/fpu/powl_helper.c: New file.
25973 * sysdeps/x86/fpu/Makefile: Likewise.
25974 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25975 (p3): New object.
25976 (__ieee754_powl): Use __powl_helper for finite arguments except
25977 integer exponents below 8.
25978 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25979 (p3): New object.
25980 (__ieee754_powl): Use __powl_helper for finite arguments except
25981 integer exponents below 8.
25982 * math/libm-test.inc (pow_test): Add more tests and enable some
25983 previously disabled tests.
25984 * sysdeps/i386/fpu/libm-test-ulps: Update.
25985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25986
0817d63d
SP
259872012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25988 Carlos O'Donell <carlos_odonell@mentor.com>
25989
25990 * nss/makedb.c (is_prime): Assert that input is odd and greater
25991 than 4. Note that fact in a comment too.
25992 (next_prime): Add 4 to input.
25993
de2fd463
SP
259942012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25995
25996 [BZ #11741]
25997 * libio/Makefile (tests): Add test case tst-fwrite-error.
25998 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25999 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26000 * libio/tst-fwrite-error.c: New test case.
26001
c515fb51
L
260022012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26003
26004 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26005 before casting to void *.
26006 * include/libc-internal.h (__pointer_type): New macro.
26007 (__integer_if_pointer_type_sub): Likewise.
26008 (__integer_if_pointer_type): Likewise.
26009 (cast_to_integer): Likewise.
26010 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26011 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26012 before casting to atomic64_t.
26013 (atomic_exchange_acq): Likewise.
26014 (__arch_exchange_and_add_body): Likewise.
26015 (__arch_add_body): Likewise.
26016 (atomic_add_negative): Likewise.
26017 (atomic_add_zero): Likewise.
26018
4cf77aa9
JM
260192012-11-26 Joseph Myers <joseph@codesourcery.com>
26020
26021 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26022 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26023 (add_fdes): Likewise.
26024 (linear_search_fdes): Likewise.
26025 (binary_search_unencoded_fdes): Likewise.
26026
d260b3b4
AS
260272012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26028
26029 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26030
67060746
AC
260312012-11-24 Adam Conrad <adconrad@0c3.net>
26032
26033 * configure.in: Autodetect C++ header directories.
26034 * configure: Regenerated.
26035
800938a1
MF
260362012-11-23 Mike Frysinger <vapier@gentoo.org>
26037
26038 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26039
4e6e34e6
AS
260402012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26041
26042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26043
7c7feb47
JM
260442012-11-22 Joseph Myers <joseph@codesourcery.com>
26045
7184dcdf
JM
26046 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26047 LDBL_MANT_DIG == 106]: Disable some tests.
26048 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26049 Likewise.
26050 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26051 Likewise.
26052
0a42601f
JM
26053 [BZ #14871]
26054 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26055 input for small inputs. Return +/- pi/2 for large inputs.
26056 * math/libm-test.inc (atan_test): Add more tests.
26057
79c9b9fe
JM
26058 * sysdeps/generic/unwind-dw2-fde-glibc.c
26059 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26060 __attribute__ ((unused)).
26061
c60d3bf2
JM
26062 [BZ #14645]
26063 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26064 x * y if x and y are nonzero and z is zero.
26065
ef1e0867
JM
26066 [BZ #14811]
26067 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26068 nonzero exponents with absolute value below 0x1p-117 to +/-
26069 0x1p-117.
26070
1468ded3
JM
26071 [BZ #14869]
26072 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26073 up arguments below 2**-450, not just those below 2**-500.
26074 * math/libm-test.inc (hypot_test): Add another test.
26075
8e27e3cc
JM
26076 [BZ #14868]
26077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26078 Return a+b for ratio over 2**120, not 2**60.
26079 * math/libm-test.inc (hypot_test): Add another test.
26080
c9c0279b
JM
26081 * math/libm-test.inc (clog_test): Use
26082 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26083 (clog10_test): Likewise.
26084
7c7feb47
JM
26085 [BZ #6778]
26086 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26087
fff1530e
AS
260882012-11-22 Andreas Schwab <schwab@suse.de>
26089
26090 * sysdeps/i386/fpu/libm-test-ulps: Update.
26091
94558d30
PT
260922012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26093
26094 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26095 printf output with newline.
26096
7e1be741
L
260972012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26098
6bfea974
L
26099 [BZ #14865]
26100 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26101 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26102 -z nodlopen, -z initfirst and -z execstack support.
26103 * configure: Regenerated.
26104
7e1be741
L
26105 * elf/elf.h (DF_1_NODIRECT): New macro.
26106 (DF_1_IGNMULDEF): Likewise.
26107 (DF_1_NOKSYMS): Likewise.
26108 (DF_1_NOHDR): Likewise.
26109 (DF_1_EDITED): Likewise.
26110 (DF_1_NORELOC): Likewise.
26111 (DF_1_SYMINTPOSE): Likewise.
26112 (DF_1_GLOBAUDIT): Likewise.
26113 (DF_1_SINGLETON): Likewise.
26114 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26115 DT_1_SUPPORTED_MASK bits.
26116 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26117
105ce2ce
CD
261182012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26119
26120 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26121
123be9de
TS
261222012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26123
d072f3f7
TS
26124 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26125 macro.
26126
123be9de
TS
26127 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26128 (sendmmsg): Move declarations...
26129 * socket/sys/socket.h: ... here.
26130 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26131 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26132 include it from...
26133 * socket/recvmmsg.c: ... this new file.
26134 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26135 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26136 definition of __sendmmsg hidden.
26137 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26138 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26139 Move ENOSYS stub into and include it from...
26140 * socket/sendmmsg.c: ... this new file.
26141 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26142 (sysdep_routines): Move recvmmsg and sendmmsg...
26143 * socket/Makefile (routines): ... here.
26144 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26145 (GLIBC_PRIVATE): Add __sendmmsg.
26146 * include/sys/socket.h (__sendmmsg): Add declarations.
26147 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26148 sendmmsg.
26149
cf9a5d18
JM
261502012-11-20 Joseph Myers <joseph@codesourcery.com>
26151
26152 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26153 variable I1 with __attribute__ ((unused)).
26154 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26155
ecd4caf9
JM
261562012-11-19 Joseph Myers <joseph@codesourcery.com>
26157
be14d48f
JM
26158 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26159 DUMMY variables with __attribute__ ((unused)).
26160
ecd4caf9
JM
26161 * bits/byteswap.h: Include <bits/types.h>.
26162 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26163
986cab95
PT
261642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26165
26166 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26167 string_t. Do not manually set errno.
26168 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26169 length with __strnlen. Make sure to both set errno and return it on
26170 failure.
26171
6d33cc9d
DM
261722012-11-19 David S. Miller <davem@davemloft.net>
26173
26174 With help from Joseph Myers.
26175 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26176 very large arguments properly.
26177 * math/libm-test.inc (atan_test): New tests.
26178 (atan2_test): New tests.
26179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26181
ee663277
JM
261822012-11-19 Joseph Myers <joseph@codesourcery.com>
26183
877f2d8e
JM
26184 [BZ #14856]
26185 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26186 Define to 3.
26187
116fc08a
JM
26188 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26189 [POSIX] (EADDRNOTAVAIL): Likewise.
26190 [POSIX] (EAFNOSUPPORT): Likewise.
26191 [POSIX] (EALREADY): Likewise.
26192 [POSIX] (ECONNABORTED): Likewise.
26193 [POSIX] (ECONNREFUSED): Likewise.
26194 [POSIX] (ECONNRESET): Likewise.
26195 [POSIX] (EDESTADDRREQ): Likewise.
26196 [POSIX] (EDQUOT): Likewise.
26197 [POSIX] (EHOSTUNREACH): Likewise.
26198 [POSIX] (EIDRM): Likewise.
26199 [POSIX] (EISCONN): Likewise.
26200 [POSIX] (ELOOP): Likewise.
26201 [POSIX] (EMULTIHOP): Likewise.
26202 [POSIX] (ENETDOWN): Likewise.
26203 [POSIX] (ENETUNREACH): Likewise.
26204 [POSIX] (ENOBUFS): Likewise.
26205 [POSIX] (ENODATA): Likewise.
26206 [POSIX] (ENOLINK): Likewise.
26207 [POSIX] (ENOMSG): Likewise.
26208 [POSIX] (ENOPROTOOPT): Likewise.
26209 [POSIX] (ENOSR): Likewise.
26210 [POSIX] (ENOSTR): Likewise.
26211 [POSIX] (ENOTCONN): Likewise.
26212 [POSIX] (ENOTSOCK): Likewise.
26213 [POSIX] (EOPNOTSUPP): Likewise.
26214 [POSIX] (EOVERFLOW): Likewise.
26215 [POSIX] (EPROTO): Likewise.
26216 [POSIX] (EPROTONOSUPPORT): Likewise.
26217 [POSIX] (EPROTOTYPE): Likewise.
26218 [POSIX] (ESTALE): Likewise.
26219 [POSIX] (ETIME): Likewise.
26220 [POSIX] (ETXTBSY): Likewise.
26221 [POSIX] (EWOULDBLOCK): Likewise.
26222 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26223 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26224 [POSIX] (SEEK_CUR): Likewise.
26225 [POSIX] (SEEK_END): Likewise.
26226 [POSIX || UNIX98] (mode_t): Do not require.
26227 [POSIX] (off_t): Likewise.
26228 [POSIX] (pid_t): Likewise.
26229 [POSIX] (sys/stat.h): Do not allow header.
26230 [POSIX] (unistd.h): Likewise.
26231 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26232 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26233 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26234 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26235 require.
26236 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26237 sigevent): Specify elements.
26238 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26239 entry.
26240 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26241 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26242
a483863f
JM
26243 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26244 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26245 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26246 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26247 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26248 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26249 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26250 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26251 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26252 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26253 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26254 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26255 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26256 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26257 Likewise.
26258 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26259 Likewise.
26260 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26261 Likewise.
26262 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26263 Likewise.
26264 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26265 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26266 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26267 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26268 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26269 Specify lower bound on value.
26270 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26271 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26272 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26273 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26274 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26275 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26276 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26277 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26278 value.
26279 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26280 as optional.
26281 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26282 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26283 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26284 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26285 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26286 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26287 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26288 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26289 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26290 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26291 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26292 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26293 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26294 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26295 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26296 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26297 entry.
26298 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26299 optional.
26300 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26301 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26302 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26303 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26304 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26305 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26306 Likewise.
26307 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26308 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26309 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26310 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26311 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26312 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26313 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26314 as optional.
26315 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26316 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26317 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26318 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26319 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26320 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26321 specify as optional.
26322 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26323 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26324 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26325 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26326 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26327 [XPG3] (NL_LANGMAX): Likewise.
26328 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26329 [POSIX || XPG3] (NL_NMAX): Likewise.
26330 [POSIX || XPG3] (NL_SETMAX): Likewise.
26331 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26332 [XPG3] (NZERO): Likewise.
26333 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26334 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26335 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26336 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26337 (REG_ERANGE): Expect.
26338 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26339 optional-constant.
26340 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26341 Use (void) in prototype.
26342 [POSIX] (*_t): Allow.
26343 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26344 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26345 (WRDE_BADVAL): Expect.
26346
5ba924e3
JM
26347 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26348 expect.
26349 [XPG3 || XPG4] (O_RSYNC): Likewise.
26350 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26351 Likewise.
26352 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26353 [XPG3 || XPG4] (sigqueue): Likewise.
26354 [XPG3 || XPG4] (sigtimedwait): Likewise.
26355 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26356 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26357 [XPG3 || XPG4] (vsnprintf): Likewise.
26358 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26359 Likewise.
26360 [XPG3 || XPG4] (blksize_t): Likewise.
26361 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26362 Likewise.
26363 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26364 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26365 [XPG3 || XPG4] (struct itimerspec): Likewise.
26366 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26367 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26368 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26369 [XPG3 || XPG4] (clockid_t): Likewise.
26370 [XPG3 || XPG4] (timer_t): Likewise.
26371 [XPG3 || XPG4] (clock_getres): Likewise.
26372 [XPG3 || XPG4] (clock_gettime): Likewise.
26373 [XPG3 || XPG4] (clock_settime): Likewise.
26374 [XPG3 || XPG4] (nanosleep): Likewise.
26375 [XPG3 || XPG4] (timer_create): Likewise.
26376 [XPG3 || XPG4] (timer_delete): Likewise.
26377 [XPG3 || XPG4] (timer_gettime): Likewise.
26378 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26379 [XPG3 || XPG4] (timer_settime): Likewise.
26380 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26381 [XPG3 || XPG4] (getlogin_r): Likewise.
26382 [XPG3 || XPG4] (pread): Likewise.
26383 [XPG3 || XPG4] (pthread_atfork): Likewise.
26384 [XPG3 || XPG4] (pwrite): Likewise.
26385
ee663277
JM
26386 [BZ #14835]
26387 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26388 <bits/siginfo.h>.
26389
942caa16
PT
263902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26391
e19af380
PT
26392 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26393 finalizing MALLSTREAM.
26394
942caa16
PT
26395 * sysdeps/mach/hurd/syncfs.c: New file.
26396
cfde9b46
SP
263972012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26398
26399 [BZ #14719]
26400 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26401 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26402 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26403 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26404 (_nss_dns_gethostbyname4_r): Likewise.
26405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26406 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26407
f6da27e5
PH
264082012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26409
26410 [BZ #13763]
26411 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26412
6665d4a2
SM
264132012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26414
1f51ee92
SM
26415 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26416 * elf/cache.c (print_entry): Print ",AArch64" for
26417 FLAG_AARCH64_LIB64
26418
6665d4a2
SM
26419 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26420 * elf/cache.c (print_entry): Print ",hard-float" for
26421 FLAG_ARM_LIBHF.
26422
05b227bd
DM
264232012-11-18 David S. Miller <davem@davemloft.net>
26424
26425 With help from Joseph Myers.
26426 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26427 cutoff to 2**-13.
26428 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26429 cutoff to 2**-25.
26430 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26431 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26432 small.
26433 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26434 * math/libm-test.inc (y0_test): New tests.
26435 (y1_test): New tests.
26436 * sysdeps/i386/fpu/libm-test-ulps: Update.
26437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26439
786b0b67
AS
264402012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26441
26442 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26443 64-bit targets.
26444 * configure: Regenerated.
26445
8e18b86d
DM
264462012-11-17 David S. Miller <davem@davemloft.net>
26447
26448 [BZ #14811]
26449 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26450 nonzero exponents with absolute value below 0x1p-128 to +/-
26451 0x1p-128.
26452
531f1ae0
JM
264532012-11-17 Joseph Myers <joseph@codesourcery.com>
26454
12df29e2
JM
26455 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26456
150dc1a0
JM
26457 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26458
531f1ae0
JM
26459 * posix/getconf-speclist.c: New file.
26460 * posix/posix-envs.def: Likewise.
26461 * posix/confstr.c (START_ENV_GROUP): New macro.
26462 (END_ENV_GROUP): Likewise.
26463 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26464 (KNOWN_PRESENT_ENV_STRING): Likewise.
26465 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26466 (UNKNOWN_ENVIRONMENT): Likewise.
26467 (confstr): Include posix-envs.def instead of handling
26468 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26469 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26470 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26471 (END_ENV_GROUP): Likewise.
26472 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26473 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26474 (UNKNOWN_ENVIRONMENT): Likewise.
26475 (__sysconf): Include posix-envs.def instead of handling associated
26476 cases directly here.
26477 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26478 preprocessing getconf-speclist.c rather than running getconf or
26479 generating empty file.
26480
a93f9cbc
PT
264812012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26482
26483 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26484
d64d9f87
AL
264852012-11-16 Andrej Lajovic <natrij@gmail.com>
26486
26487 [BZ #14672]
26488 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26489
447885eb
DM
264902012-11-16 David S. Miller <davem@davemloft.net>
26491
26492 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26493 smaller than LDBL_EPSILON/2.0L, just return xm1.
26494
bcbf9830
L
264952012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26496
26497 * elf/tst-array1.c (init): Set constructor priority to 1000.
26498 (fini): Set destructor priority to 1000.
26499 * elf/tst-array2dep.c: Likewise.
26500
2b766585
SP
265012012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26502
26503 [BZ #11741]
26504 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26505 (_IO_new_file_xsputn): Also return EOF if none of the input
26506 data was written when overflow failed.
26507 * libio/iopadn.c (_IO_padn): Likewise.
26508 * libio/iowpadn.c (_IO_wpadn): Likewise.
26509 * stdio-common/tst-put-error.c: Add copyright notice.
26510 (do_test): Add case for printing padded string.
26511 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26512 _IO_padn returned error.
26513 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26514 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26515 return EOF.
26516
b1848fde
SP
265172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26518
26519 * libio/libioP.h: Add comment note that the references to C++
26520 bits are now obsolete.
26521
2fd89785
MS
265222012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26523
26524 * math/libm-test.inc (check_complex): Use asprintf.
26525
e3ea5409
JM
265262012-11-14 Joseph Myers <joseph@codesourcery.com>
26527
26528 * debug/pcprofiledump.c (print_version): Update copyright year.
26529 * malloc/memusagestat.c (print_version): Likewise.
26530
2e64d265
L
265312012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26532
26533 [BZ #14831]
26534 * elf/Makefile (tests): Add tst-audit8.
26535 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26536 ($(objpfx)tst-audit8.out): New target.
26537 (tst-audit8-ENV): New variable.
26538 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26539 audit if l_reloc_result is NULL.
26540 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26541 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26542 * elf/tst-audit8.c: New file.
26543
c485e4d2
MS
265442012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26545
26546 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26547 * misc/Makefile (CFLAGS-select.c): Define.
26548 * posix/Makefile (CFLAGS-pause.c): Define.
26549
3a0d900a
DM
265502012-11-13 David S. Miller <davem@davemloft.net>
26551
26552 * crypt/Makefile: Move test targets after toplevel Rules
26553 inclusion. Grab any necessary sysdep routines when linking.
26554 * crypt/md5.c (md5_process_block): Remove define, we will always
26555 name it __md5_process_block.
26556 (md5_finish_ctx): Update md5_process_block call.
26557 (md5_stream): Likewise.
26558 (md5_process_bytes): Likewise.
26559 (md5_process_block): Rename to __md5_process_block and move to ...
26560 * crypt/md5-block.c: ... here.
26561 * crypt/sha256.c (sha256_process_block): Move to ...
26562 * crypt/sha256-block.c: ... here.
26563 * crypt/sha512.c (sha512_process_block): Move to ...
26564 * crypt/sha512-block.c: ... here.
26565 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26566 path.
26567 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26568 * sysdeps/sparc/sparc64/multiarch/Makefile
26569 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26570 crypt subdir.
26571 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26572 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26573 multiarch changes.
26574 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26575 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26576 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26577 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26578 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26579 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26580 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26581 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26582 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26583 file.
26584 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26585 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26586 file.
26587 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26588
8ca89318
JM
265892012-11-13 Joseph Myers <joseph@codesourcery.com>
26590
e27d476a
JM
26591 * timezone/tzselect.ksh: Update from tzcode git revision
26592 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26593 * timezone/zdump.c: Likewise.
26594 * timezone/zic.c: Likewise.
26595 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26596 in TZVERSION setting, not $(PKGVERSION).
26597 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26598 REPORT_BUGS_TO settings.
26599
8ca89318
JM
26600 [BZ #14838]
26601 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26602 macro.
26603
47594329
MS
266042012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26605
26606 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26607 detection to immediately after _FP_ROUND().
26608 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26609 bits are 0.
26610
640ac3f1
DM
266112012-11-11 David S. Miller <davem@davemloft.net>
26612
26613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26614 inttypes.h
26615 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26616 __close rather than their public counterparts.
26617
3d2577bb
JM
266182012-11-10 Joseph Myers <joseph@codesourcery.com>
26619
26620 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26621 file.
26622 [UNIX98] (sem_timedwait): Do not expect.
26623 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26624 [XPG4 || UNIX98] (sockatmark): Do not expect.
26625 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26626 (clock_getcpuclockid): Do not expect.
26627 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26628 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26629 Do not expect.
26630 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26631 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26632 [UNIX98] (vwscanf): Likewise.
26633 [UNIX98] (vswscanf): Likewise.
26634
fb1ae1ee
JM
266352012-11-09 Joseph Myers <joseph@codesourcery.com>
26636
9ec6f8bd
JM
26637 * timezone/version.h: Remove file.
26638 * timezone/README: Do not refer to version.h.
26639 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26640 $(objpfx)version.h.
26641 ($(objpfx)zdump.o): Likewise.
c3f81911 26642 ($(objpfx)version.h): New target.
9ec6f8bd 26643
0aa8f8a1
JM
26644 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26645 2012i.
26646 * timezone/README: Don't mention modification to tzselect.ksh.
26647 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26648 work on unmodified tzselect.ksh. Substitute version numbers in
26649 tzselect.ksh.
26650
4e87147f
JM
26651 * Makefile (format-me): Remove.
26652 (INSTALL): Adjust indentation. Use commands directly instead of
26653 using $(format-me).
26654
8b748aed
JM
26655 * aclocal.m4 (ACX_PKGVERSION): New macro.
26656 (ACX_BUGURL): Likewise.
26657 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26658 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26659 (REPORT_BUGS_TO): Likewise.
26660 * configure: Regenerated.
26661 * config.h.in (PKGVERSION): New macro.
26662 (REPORT_BUGS_TO): Likewise.
26663 * config.make.in (PKGVERSION): New variable.
26664 (PKGVERSION_TEXI): Likewise.
26665 (REPORT_BUGS_TO): Likewise.
26666 (REPORT_BUGS_TEXI): Likewise.
26667 * Makefile (format-me): Use -I$(common-objpfx)manual.
26668 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26669 ($(common-objpfx)manual/%): New target.
26670 (manual/%): Remove target.
26671 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26672 (print_version): Use PKGVERSION.
26673 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26674 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26675 and REPORT_BUGS_TO.
26676 ($(objpfx)xtrace): Likewise.
26677 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26678 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26679 (print_version): Use PKGVERSION.
26680 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26681 (do_version): Use PKGVERSION.
26682 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26683 REPORT_BUGS_TO.
26684 (common-ldd-rewrite): Likewise.
26685 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26686 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26687 (print_version): Use PKGVERSION.
26688 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26689 * elf/pldd.c (argp_program_bug_address): Remove variable.
26690 (more_help): New function.
26691 (argp): Use more_help.
26692 (print_version): Use PKGVERSION.
26693 * elf/sln.c (main): Use PKGVERSION.
26694 (usage): Use REPORT_BUGS_TO.
26695 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26696 (top level): Use PKGVERSION.
26697 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26698 (print_version): Use PKGVERSION.
26699 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26700 (print_version): Use PKGVERSION.
26701 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26702 (print_version): Use PKGVERSION.
26703 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26704 (print_version): Use PKGVERSION.
26705 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26706 (print_version): Use PKGVERSION.
26707 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26708 (print_version): Use PKGVERSION.
26709 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26710 and BUGURL.
26711 ($(objpfx)memusage): Likewise.
26712 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26713 (do_version): Use PKGVERSION.
26714 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26715 (print_version): Use PKGVERSION.
26716 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26717 ($PKGVERSION): New variable.
26718 ($REPORT_BUGS_TO): Likewise.
26719 (usage): Use $REPORT_BUGS_TO.
26720 (top level): Use $PKGVERSION.
26721 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26722 ($(objpfx)pkgvers.texi): New rule.
26723 ($(objpfx)stamp-pkgvers): Likewise.
26724 * manual/install.texi: Include pkgvers.texi.
26725 (--with-pkgversion): Document new configure option.
26726 (--with-bugurl): Likewise.
26727 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26728 than necessarily for this particular distribution. Use
26729 REPORT_BUGS_TO for where to report bugs.
26730 * INSTALL: Regenerated.
26731 * manual/libc.texinfo: Include pkgvers.texi.
26732 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26733 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26734 (print_version): Use PKGVERSION.
26735 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26736 (print_version): Use PKGVERSION.
26737 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26738 (print_version): Use PKGVERSION.
26739 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26740 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26741 macro.
26742 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26743 (print_version): Use PKGVERSION.
26744 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26745 (print_version): Use PKGVERSION.
26746 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26747 and PKGVERSION.
26748
92e4b6a9
JM
26749 * timezone/checktab.awk: Update from tzcode 2012i.
26750 * timezone/ialloc.c: Likewise.
26751 * timezone/private.h: Likewise.
26752 * timezone/scheck.c: Likewise.
26753 * timezone/tzfile.h: Likewise.
26754 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26755 (TZVERSION): Hardcode tzcode version number.
26756 * timezone/zdump.c: Update from tzcode 2012i.
26757 * timezone/zic.c: Likewise.
26758 * timezone/version.h: New file.
26759 * timezone/README: Describe version.h. Update upstream location.
26760
9bde902c
JM
26761 [BZ #14824]
26762 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26763 (mktemp): Enable declaration.
26764 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26765 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26766 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26767 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26768 Likewise.
26769 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26770 Likewise.
26771 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26772 Likewise.
26773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26774 Likewise.
26775 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26776 Likewise.
26777 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26778 Likewise.
26779
fb1ae1ee
JM
26780 [BZ #14821]
26781 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26782 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26783 for copies of such integer values.
26784 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26785 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26786
2c1adbcb
AJ
267872012-11-09 Andreas Jaeger <aj@suse.de>
26788
26789 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26790 definitions and declarations that are provided by
26791 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26792
d0f8457e
AK
267932012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26794
3a235abb 26795 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26796 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26797 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26798 definition.
26799
57241e26
MS
268002012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26801
26802 * elf/elf.h: Update comment before AArch64 relocations.
26803
60e8270d
DM
268042012-11-07 David S. Miller <davem@davemloft.net>
26805
26806 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26807 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26808 (__start_context): Declare.
26809 (__makecontext_ret): Delete.
26810 (__makecontext): Hook up __start_context instead of
26811 __makecontext_ret.
26812 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26813 (sysdep_routines): Add __start_context when in stdlib.
26814
0fbb0fbc
JM
268152012-11-07 Joseph Myers <joseph@codesourcery.com>
26816
26817 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26818 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26819 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26820 hardcoded "nm".
26821 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26822 (READELF): New variable. Use it instead of hardcoded "readelf".
26823
eb48db7e
L
268242012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26825
26826 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26827 * sysdeps/x86/Makefile: Here.
26828 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26829 * sysdeps/x86/tst-xmmymm.sh: This.
26830
05bcf62a
JM
268312012-11-07 Joseph Myers <joseph@codesourcery.com>
26832
c4b6cf53
JM
26833 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26834 expectations.
26835 [UNIX98] (pthread_barrier_t): Do not expect.
26836 [UNIX98] (pthread_barrierattr_t): Likewise.
26837 [UNIX98] (pthread_spinlock_t): Likewise.
26838 [UNIX98] (pthread_barrier_destroy): Likewise.
26839 [UNIX98] (pthread_barrier_init): Likewise.
26840 [UNIX98] (pthread_barrier_wait): Likewise.
26841 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26842 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26843 [UNIX98] (pthread_barrierattr_init): Likewise.
26844 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26845 [UNIX98] (pthread_getcpuclockid): Likewise.
26846 [UNIX98] (pthread_mutex_timedlock): Likewise.
26847 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26848 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26849 [UNIX98] (pthread_sigmask): Likewise.
26850 [UNIX98] (pthread_spin_destroy): Likewise.
26851 [UNIX98] (pthread_spin_init): Likewise.
26852 [UNIX98] (pthread_spin_lock): Likewise.
26853 [UNIX98] (pthread_spin_trylock): Likewise.
26854 [UNIX98] (pthread_spin_unlock): Likewise.
26855 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26856 Do not expect.
26857 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26858 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26859 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26860 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26861 [XPG3 || XPG4] (pthread_key_t): Likewise.
26862 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26863 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26864 [XPG3 || XPG4] (pthread_once_t): Likewise.
26865 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26866 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26867 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26868 [XPG3 || XPG4] (pthread_t): Likewise.
26869
cbe6e120
JM
26870 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26871 not expect.
26872 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26873
1b126443
JM
26874 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26875 Change function return type to int.
26876
b961a573
JM
26877 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26878 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26879 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26880 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26881 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26882 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26883 [!POSIX] (posix_madvise): Likewise.
26884 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26885 && !UNIX98].
26886 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26887 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26888 (mode_t): Likewise.
26889 (posix_mem_offset): Likewise.
26890 (posix_typed_mem_get_info): Likewise.
26891 (posix_typed_mem_open): Likewise.
26892
9e188909
JM
26893 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26894 Change condition to [XOPEN2K8].
26895
05bcf62a
JM
26896 * conform/conformtest.pl: Preprocess allow-header data with -x c
26897 instead of from stdin.
26898 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26899 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26900 [C99-based standards] (cerfc): Likewise.
26901 [C99-based standards] (cexp2): Likewise.
26902 [C99-based standards] (cexpm1): Likewise.
26903 [C99-based standards] (clog10): Likewise.
26904 [C99-based standards] (clog1p): Likewise.
26905 [C99-based standards] (clog2): Likewise.
26906 [C99-based standards] (clgamma): Likewise.
26907 [C99-based standards] (ctgamma): Likewise.
26908 [C99-based standards] (cerff): Likewise.
26909 [C99-based standards] (cerfcf): Likewise.
26910 [C99-based standards] (cexp2f): Likewise.
26911 [C99-based standards] (cexpm1f): Likewise.
26912 [C99-based standards] (clog10f): Likewise.
26913 [C99-based standards] (clog1pf): Likewise.
26914 [C99-based standards] (clog2f): Likewise.
26915 [C99-based standards] (clgammaf): Likewise.
26916 [C99-based standards] (ctgammaf): Likewise.
26917 [C99-based standards] (cerfl): Likewise.
26918 [C99-based standards] (cerfcl): Likewise.
26919 [C99-based standards] (cexp2l): Likewise.
26920 [C99-based standards] (cexpm1l): Likewise.
26921 [C99-based standards] (clog10l): Likewise.
26922 [C99-based standards] (clog1pl): Likewise.
26923 [C99-based standards] (clog2l): Likewise.
26924 [C99-based standards] (clgammal): Likewise.
26925 [C99-based standards] (ctgammal): Likewise.
26926 * conform/data/inttypes.h-data [C99-based standards]: Include
26927 stdint.h-data. Remove all expectations for stdint.h contents.
26928 [C99-based standards] (PRI*): Do not allow.
26929 [C99-based standards] (SCN*): Likewise.
26930 [C99-based standards] (*_t): Likewise.
26931 [C99-based-standards] (PRId8): Expect macro.
26932 [C99-based-standards] (PRIi8): Likewise.
26933 [C99-based-standards] (PRIo8): Likewise.
26934 [C99-based-standards] (PRIu8): Likewise.
26935 [C99-based-standards] (PRIx8): Likewise.
26936 [C99-based-standards] (PRIX8): Likewise.
26937 [C99-based-standards] (SCNd8): Likewise.
26938 [C99-based-standards] (SCNi8): Likewise.
26939 [C99-based-standards] (SCNo8): Likewise.
26940 [C99-based-standards] (SCNu8): Likewise.
26941 [C99-based-standards] (SCNx8): Likewise.
26942 [C99-based-standards] (PRIdLEAST8): Likewise.
26943 [C99-based-standards] (PRIiLEAST8): Likewise.
26944 [C99-based-standards] (PRIoLEAST8): Likewise.
26945 [C99-based-standards] (PRIuLEAST8): Likewise.
26946 [C99-based-standards] (PRIxLEAST8): Likewise.
26947 [C99-based-standards] (PRIXLEAST8): Likewise.
26948 [C99-based-standards] (SCNdLEAST8): Likewise.
26949 [C99-based-standards] (SCNiLEAST8): Likewise.
26950 [C99-based-standards] (SCNoLEAST8): Likewise.
26951 [C99-based-standards] (SCNuLEAST8): Likewise.
26952 [C99-based-standards] (SCNxLEAST8): Likewise.
26953 [C99-based-standards] (PRIdFAST8): Likewise.
26954 [C99-based-standards] (PRIiFAST8): Likewise.
26955 [C99-based-standards] (PRIoFAST8): Likewise.
26956 [C99-based-standards] (PRIuFAST8): Likewise.
26957 [C99-based-standards] (PRIxFAST8): Likewise.
26958 [C99-based-standards] (PRIXFAST8): Likewise.
26959 [C99-based-standards] (SCNdFAST8): Likewise.
26960 [C99-based-standards] (SCNiFAST8): Likewise.
26961 [C99-based-standards] (SCNoFAST8): Likewise.
26962 [C99-based-standards] (SCNuFAST8): Likewise.
26963 [C99-based-standards] (SCNxFAST8): Likewise.
26964 [C99-based-standards] (PRId16): Likewise.
26965 [C99-based-standards] (PRIi16): Likewise.
26966 [C99-based-standards] (PRIo16): Likewise.
26967 [C99-based-standards] (PRIu16): Likewise.
26968 [C99-based-standards] (PRIx16): Likewise.
26969 [C99-based-standards] (PRIX16): Likewise.
26970 [C99-based-standards] (SCNd16): Likewise.
26971 [C99-based-standards] (SCNi16): Likewise.
26972 [C99-based-standards] (SCNo16): Likewise.
26973 [C99-based-standards] (SCNu16): Likewise.
26974 [C99-based-standards] (SCNx16): Likewise.
26975 [C99-based-standards] (PRIdLEAST16): Likewise.
26976 [C99-based-standards] (PRIiLEAST16): Likewise.
26977 [C99-based-standards] (PRIoLEAST16): Likewise.
26978 [C99-based-standards] (PRIuLEAST16): Likewise.
26979 [C99-based-standards] (PRIxLEAST16): Likewise.
26980 [C99-based-standards] (PRIXLEAST16): Likewise.
26981 [C99-based-standards] (SCNdLEAST16): Likewise.
26982 [C99-based-standards] (SCNiLEAST16): Likewise.
26983 [C99-based-standards] (SCNoLEAST16): Likewise.
26984 [C99-based-standards] (SCNuLEAST16): Likewise.
26985 [C99-based-standards] (SCNxLEAST16): Likewise.
26986 [C99-based-standards] (PRIdFAST16): Likewise.
26987 [C99-based-standards] (PRIiFAST16): Likewise.
26988 [C99-based-standards] (PRIoFAST16): Likewise.
26989 [C99-based-standards] (PRIuFAST16): Likewise.
26990 [C99-based-standards] (PRIxFAST16): Likewise.
26991 [C99-based-standards] (PRIXFAST16): Likewise.
26992 [C99-based-standards] (SCNdFAST16): Likewise.
26993 [C99-based-standards] (SCNiFAST16): Likewise.
26994 [C99-based-standards] (SCNoFAST16): Likewise.
26995 [C99-based-standards] (SCNuFAST16): Likewise.
26996 [C99-based-standards] (SCNxFAST16): Likewise.
26997 [C99-based-standards] (PRId32): Likewise.
26998 [C99-based-standards] (PRIi32): Likewise.
26999 [C99-based-standards] (PRIo32): Likewise.
27000 [C99-based-standards] (PRIu32): Likewise.
27001 [C99-based-standards] (PRIx32): Likewise.
27002 [C99-based-standards] (PRIX32): Likewise.
27003 [C99-based-standards] (SCNd32): Likewise.
27004 [C99-based-standards] (SCNi32): Likewise.
27005 [C99-based-standards] (SCNo32): Likewise.
27006 [C99-based-standards] (SCNu32): Likewise.
27007 [C99-based-standards] (SCNx32): Likewise.
27008 [C99-based-standards] (PRIdLEAST32): Likewise.
27009 [C99-based-standards] (PRIiLEAST32): Likewise.
27010 [C99-based-standards] (PRIoLEAST32): Likewise.
27011 [C99-based-standards] (PRIuLEAST32): Likewise.
27012 [C99-based-standards] (PRIxLEAST32): Likewise.
27013 [C99-based-standards] (PRIXLEAST32): Likewise.
27014 [C99-based-standards] (SCNdLEAST32): Likewise.
27015 [C99-based-standards] (SCNiLEAST32): Likewise.
27016 [C99-based-standards] (SCNoLEAST32): Likewise.
27017 [C99-based-standards] (SCNuLEAST32): Likewise.
27018 [C99-based-standards] (SCNxLEAST32): Likewise.
27019 [C99-based-standards] (PRIdFAST32): Likewise.
27020 [C99-based-standards] (PRIiFAST32): Likewise.
27021 [C99-based-standards] (PRIoFAST32): Likewise.
27022 [C99-based-standards] (PRIuFAST32): Likewise.
27023 [C99-based-standards] (PRIxFAST32): Likewise.
27024 [C99-based-standards] (PRIXFAST32): Likewise.
27025 [C99-based-standards] (SCNdFAST32): Likewise.
27026 [C99-based-standards] (SCNiFAST32): Likewise.
27027 [C99-based-standards] (SCNoFAST32): Likewise.
27028 [C99-based-standards] (SCNuFAST32): Likewise.
27029 [C99-based-standards] (SCNxFAST32): Likewise.
27030 [C99-based-standards] (PRId64): Likewise.
27031 [C99-based-standards] (PRIi64): Likewise.
27032 [C99-based-standards] (PRIo64): Likewise.
27033 [C99-based-standards] (PRIu64): Likewise.
27034 [C99-based-standards] (PRIx64): Likewise.
27035 [C99-based-standards] (PRIX64): Likewise.
27036 [C99-based-standards] (SCNd64): Likewise.
27037 [C99-based-standards] (SCNi64): Likewise.
27038 [C99-based-standards] (SCNo64): Likewise.
27039 [C99-based-standards] (SCNu64): Likewise.
27040 [C99-based-standards] (SCNx64): Likewise.
27041 [C99-based-standards] (PRIdLEAST64): Likewise.
27042 [C99-based-standards] (PRIiLEAST64): Likewise.
27043 [C99-based-standards] (PRIoLEAST64): Likewise.
27044 [C99-based-standards] (PRIuLEAST64): Likewise.
27045 [C99-based-standards] (PRIxLEAST64): Likewise.
27046 [C99-based-standards] (PRIXLEAST64): Likewise.
27047 [C99-based-standards] (SCNdLEAST64): Likewise.
27048 [C99-based-standards] (SCNiLEAST64): Likewise.
27049 [C99-based-standards] (SCNoLEAST64): Likewise.
27050 [C99-based-standards] (SCNuLEAST64): Likewise.
27051 [C99-based-standards] (SCNxLEAST64): Likewise.
27052 [C99-based-standards] (PRIdFAST64): Likewise.
27053 [C99-based-standards] (PRIiFAST64): Likewise.
27054 [C99-based-standards] (PRIoFAST64): Likewise.
27055 [C99-based-standards] (PRIuFAST64): Likewise.
27056 [C99-based-standards] (PRIxFAST64): Likewise.
27057 [C99-based-standards] (PRIXFAST64): Likewise.
27058 [C99-based-standards] (SCNdFAST64): Likewise.
27059 [C99-based-standards] (SCNiFAST64): Likewise.
27060 [C99-based-standards] (SCNoFAST64): Likewise.
27061 [C99-based-standards] (SCNuFAST64): Likewise.
27062 [C99-based-standards] (SCNxFAST64): Likewise.
27063 [C99-based-standards] (PRIdMAX): Likewise.
27064 [C99-based-standards] (PRIiMAX): Likewise.
27065 [C99-based-standards] (PRIoMAX): Likewise.
27066 [C99-based-standards] (PRIuMAX): Likewise.
27067 [C99-based-standards] (PRIxMAX): Likewise.
27068 [C99-based-standards] (PRIXMAX): Likewise.
27069 [C99-based-standards] (SCNdMAX): Likewise.
27070 [C99-based-standards] (SCNiMAX): Likewise.
27071 [C99-based-standards] (SCNoMAX): Likewise.
27072 [C99-based-standards] (SCNuMAX): Likewise.
27073 [C99-based-standards] (SCNxMAX): Likewise.
27074 [C99-based-standards] (PRIdPTR): Likewise.
27075 [C99-based-standards] (PRIiPTR): Likewise.
27076 [C99-based-standards] (PRIoPTR): Likewise.
27077 [C99-based-standards] (PRIuPTR): Likewise.
27078 [C99-based-standards] (PRIxPTR): Likewise.
27079 [C99-based-standards] (PRIXPTR): Likewise.
27080 [C99-based-standards] (SCNdPTR): Likewise.
27081 [C99-based-standards] (SCNiPTR): Likewise.
27082 [C99-based-standards] (SCNoPTR): Likewise.
27083 [C99-based-standards] (SCNuPTR): Likewise.
27084 [C99-based-standards] (SCNxPTR): Likewise.
27085 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27086 allow.
27087 * conform/data/stdint.h-data: Update comments to clarify
27088 requirements.
27089 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27090 type.
27091 [C99-based standards] (INT8_MAX): Likewise.
27092 [C99-based standards] (INT16_MIN): Likewise.
27093 [C99-based standards] (INT16_MAX): Likewise.
27094 [C99-based standards] (INT32_MIN): Likewise.
27095 [C99-based standards] (INT32_MAX): Likewise.
27096 [C99-based standards] (INT64_MIN): Likewise.
27097 [C99-based standards] (INT64_MAX): Likewise.
27098 [C99-based standards] (UINT8_MAX): Likewise.
27099 [C99-based standards] (UINT16_MAX): Likewise.
27100 [C99-based standards] (UINT32_MAX): Likewise.
27101 [C99-based standards] (UINT64_MAX): Likewise.
27102 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27103 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27104 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27105 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27106 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27107 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27108 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27109 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27110 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27111 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27112 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27113 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27114 [C99-based standards] (INT_FAST8_MIN): Likewise.
27115 [C99-based standards] (INT_FAST8_MAX): Likewise.
27116 [C99-based standards] (INT_FAST16_MIN): Likewise.
27117 [C99-based standards] (INT_FAST16_MAX): Likewise.
27118 [C99-based standards] (INT_FAST32_MIN): Likewise.
27119 [C99-based standards] (INT_FAST32_MAX): Likewise.
27120 [C99-based standards] (INT_FAST64_MIN): Likewise.
27121 [C99-based standards] (INT_FAST64_MAX): Likewise.
27122 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27123 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27124 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27125 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27126 [C99-based standards] (INTPTR_MIN): Likewise.
27127 [C99-based standards] (INTPTR_MAX): Likewise.
27128 [C99-based standards] (UINTPTR_MAX): Likewise.
27129 [C99-based standards] (INTMAX_MIN): Likewise.
27130 [C99-based standards] (INTMAX_MAX): Likewise.
27131 [C99-based standards] (UINTMAX_MAX): Likewise.
27132 [C99-based standards] (PTRDIFF_MIN): Likewise.
27133 [C99-based standards] (PTRDIFF_MAX): Likewise.
27134 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27135 [C99-based standards] (SIZE_MAX): Likewise.
27136 [C99-based standards] (WCHAR_MAX): Likewise.
27137 [C99-based standards] (WINT_MAX): Likewise.
27138 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27139 constraint on value.
27140 [C99-based standards] (WCHAR_MIN): Likewise.
27141 [C99-based standards] (WINT_MIN): Likewise.
27142 [C99-based standards] (*_t): Allow.
27143 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27144 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27145 Include math.h-data and complex.h-data. Remove all expectations
27146 of math.h and complex.h contents.
27147 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27148 at end of line.
27149 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27150 (struct tm): Expect tag.
27151 [C99-based-standards] (wcstof): Expect function.
27152 [C99-based-standards] (wcstold): Likewise.
27153 [C99-based-standards] (wcstoll): Likewise.
27154 [C99-based-standards] (wcstoull): Likewise.
27155 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27156 macro-int-constant. Specify type.
27157 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27158 constraint on value.
27159 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27160 Specify type.
27161 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27162 Specify value.
27163 [ISO C standards]: Do not allow headers.
27164 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27165 wcs[abcdefghijklmnopqrstuvwxyz]*.
27166 [ISO C standards] (*_t): Do not allow.
27167 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27168 Expect function.
27169 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27170 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27171 Specify type.
27172 [ISO C standards]: Do not allow headers.
27173 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27174 is[abcdefghijklmnopqrstuvwxyz]*.
27175 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27176 to[abcdefghijklmnopqrstuvwxyz]*.
27177 [ISO C standards] (*_t): Do not allow.
27178 * conform/data/stdalign.h-data: New file.
27179 * conform/data/stdbool.h-data: Likewise.
27180 * conform/data/stdnoreturn.h-data: Likewise.
27181
7514feb8
RM
271822012-11-07 Roland McGrath <roland@hack.frob.com>
27183
27184 [BZ #14815]
27185 * manual/filesys.texi (Directory Entries): Typo fix.
27186 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27187
19b2ecfc
MS
271882012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27189
27190 * elf/elf.h (EM_AARCH64): New macro.
27191 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27192 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27193 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27194 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27195 (R_AARCH64_TLSDESC): Likewise.
27196 (NT_ARM_TLS): Likewise.
27197 (NT_ARM_HW_BREAK): Likewise.
27198 (NT_ARM_HW_WATCH): Likewise.
27199
60e235ee
JM
272002012-11-07 Joseph Myers <joseph@codesourcery.com>
27201
27202 [BZ #14811]
27203 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27204 (__ieee754_powl): Saturate nonzero exponents with absolute value
27205 below 0x1p-79 to +/- 0x1p-79.
27206 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27207 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27208 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27209 nonzero exponents with absolute value below 0x1p-32 to +/-
27210 0x1p-32.
27211 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27212 (__ieee754_powl): Saturate nonzero exponents with absolute value
27213 below 0x1p-79 to +/- 0x1p-79.
27214 * math/libm-test.inc (pow_test): Add more tests.
27215
0ab234b7
AK
272162012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27217
27218 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27219 _dl_s390_cap_flags with kernel. Increase string length.
27220 (_dl_s390_platforms): Add z196 and zEC12.
27221
45832f74
JM
272222012-11-07 Joseph Myers <joseph@codesourcery.com>
27223
27224 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27225 Change XOPEN21K to XOPEN2K.
27226
19218757
MK
272272012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27228
27229 * string/memmove.c: Use memcpy when possible.
27230
c5f45721
AJ
272312012-11-06 Andreas Jaeger <aj@suse.de>
27232
27233 * po/eo.po: Update from translation team.
27234
82477c28
JM
272352012-11-06 Joseph Myers <joseph@codesourcery.com>
27236
27237 [BZ #14793]
27238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27239 exponent and small x and y exponents, scale x or y up. Increase
27240 by 2 the exponent used in scaling up.
27241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27242 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27243 * math/libm-test.inc (fma_test): Add more tests.
27244 (fma_test_towardzero): Likewise.
27245 (fma_test_downward): Likewise.
27246 (fma_test_upward): Likewise.
27247
99252c8c
JM
272482012-11-05 Joseph Myers <joseph@codesourcery.com>
27249
acfa885f
JM
27250 [BZ #14805]
27251 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27252 fenv_t *.
27253
99252c8c
JM
27254 [BZ #14801]
27255 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27256 namespace for names of struct fields.
27257 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27258 fenv_t fields.
27259 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27260 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27261
d6d98dea
ST
272622012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27263
27264 [BZ #3665]
27265 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27266
e10bb107
TS
272672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27268
27269 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27270 PTR_DEMANGLE.
27271
27272 [BZ #5246]
27273 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27274 PTR_DEMANGLE.
27275
a0c2940d
JM
272762012-11-04 Joseph Myers <joseph@codesourcery.com>
27277
27278 [BZ #14797]
27279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27280 definitely overflow as x * y not x * y + z.
27281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27283 * math/libm-test.inc (fma_test): Add more tests.
27284 (fma_test_towardzero): Likewise.
27285 (fma_test_downward): Likewise.
27286 (fma_test_upward): Likewise.
27287
b830319d
TS
272882012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27289
27290 [BZ #157]
27291
27292 * include/stub-tag.h: Remove file.
27293 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27294 '#include' of it.
27295 * manual/maint.texi (Porting): Don't reference it.
27296 * Makerules ($(objpfx)stubs): Likewise.
27297 * dirent/closedir.c: Don't include <stub-tag.h>.
27298 * dirent/dirfd.c: Likewise.
27299 * dirent/fdopendir.c: Likewise.
27300 * dirent/getdents.c: Likewise.
27301 * dirent/getdents64.c: Likewise.
27302 * dirent/opendir.c: Likewise.
27303 * dirent/readdir.c: Likewise.
27304 * dirent/readdir64.c: Likewise.
27305 * dirent/readdir64_r.c: Likewise.
27306 * dirent/readdir_r.c: Likewise.
27307 * dirent/rewinddir.c: Likewise.
27308 * dirent/seekdir.c: Likewise.
27309 * dirent/telldir.c: Likewise.
27310 * gmon/profil.c: Likewise.
27311 * grp/setgroups.c: Likewise.
27312 * inet/if_index.c: Likewise.
27313 * io/access.c: Likewise.
27314 * io/chdir.c: Likewise.
27315 * io/chmod.c: Likewise.
27316 * io/chown.c: Likewise.
27317 * io/close.c: Likewise.
27318 * io/dup.c: Likewise.
27319 * io/dup2.c: Likewise.
27320 * io/dup3.c: Likewise.
27321 * io/euidaccess.c: Likewise.
27322 * io/faccessat.c: Likewise.
27323 * io/fchdir.c: Likewise.
27324 * io/fchmod.c: Likewise.
27325 * io/fchmodat.c: Likewise.
27326 * io/fchown.c: Likewise.
27327 * io/fchownat.c: Likewise.
27328 * io/fcntl.c: Likewise.
27329 * io/flock.c: Likewise.
27330 * io/fstatfs.c: Likewise.
27331 * io/fstatfs64.c: Likewise.
27332 * io/fstatvfs.c: Likewise.
27333 * io/fstatvfs64.c: Likewise.
27334 * io/futimens.c: Likewise.
27335 * io/fxstat.c: Likewise.
27336 * io/fxstat64.c: Likewise.
27337 * io/fxstatat.c: Likewise.
27338 * io/fxstatat64.c: Likewise.
27339 * io/getcwd.c: Likewise.
27340 * io/isatty.c: Likewise.
27341 * io/lchmod.c: Likewise.
27342 * io/lchown.c: Likewise.
27343 * io/link.c: Likewise.
27344 * io/linkat.c: Likewise.
27345 * io/lseek.c: Likewise.
27346 * io/lseek64.c: Likewise.
27347 * io/lxstat64.c: Likewise.
27348 * io/mkdir.c: Likewise.
27349 * io/mkdirat.c: Likewise.
27350 * io/mkfifo.c: Likewise.
27351 * io/mkfifoat.c: Likewise.
27352 * io/open.c: Likewise.
27353 * io/open64.c: Likewise.
27354 * io/openat.c: Likewise.
27355 * io/openat64.c: Likewise.
27356 * io/pipe.c: Likewise.
27357 * io/pipe2.c: Likewise.
27358 * io/poll.c: Likewise.
27359 * io/posix_fadvise.c: Likewise.
27360 * io/posix_fadvise64.c: Likewise.
27361 * io/posix_fallocate.c: Likewise.
27362 * io/posix_fallocate64.c: Likewise.
27363 * io/read.c: Likewise.
27364 * io/readlink.c: Likewise.
27365 * io/readlinkat.c: Likewise.
27366 * io/rmdir.c: Likewise.
27367 * io/sendfile.c: Likewise.
27368 * io/sendfile64.c: Likewise.
27369 * io/statfs.c: Likewise.
27370 * io/statfs64.c: Likewise.
27371 * io/statvfs.c: Likewise.
27372 * io/statvfs64.c: Likewise.
27373 * io/symlink.c: Likewise.
27374 * io/symlinkat.c: Likewise.
27375 * io/ttyname.c: Likewise.
27376 * io/ttyname_r.c: Likewise.
27377 * io/umask.c: Likewise.
27378 * io/unlink.c: Likewise.
27379 * io/unlinkat.c: Likewise.
27380 * io/utime.c: Likewise.
27381 * io/utimensat.c: Likewise.
27382 * io/write.c: Likewise.
27383 * io/xmknod.c: Likewise.
27384 * io/xmknodat.c: Likewise.
27385 * io/xstat.c: Likewise.
27386 * io/xstat64.c: Likewise.
27387 * login/getpt.c: Likewise.
27388 * login/grantpt.c: Likewise.
27389 * login/unlockpt.c: Likewise.
27390 * math/e_acoshl.c: Likewise.
27391 * math/e_acosl.c: Likewise.
27392 * math/e_asinl.c: Likewise.
27393 * math/e_atan2l.c: Likewise.
27394 * math/e_atanhl.c: Likewise.
27395 * math/e_coshl.c: Likewise.
27396 * math/e_expl.c: Likewise.
27397 * math/e_fmodl.c: Likewise.
27398 * math/e_gammal_r.c: Likewise.
27399 * math/e_hypotl.c: Likewise.
27400 * math/e_j0l.c: Likewise.
27401 * math/e_j1l.c: Likewise.
27402 * math/e_jnl.c: Likewise.
27403 * math/e_lgammal_r.c: Likewise.
27404 * math/e_log10l.c: Likewise.
27405 * math/e_log2l.c: Likewise.
27406 * math/e_logl.c: Likewise.
27407 * math/e_powl.c: Likewise.
27408 * math/e_rem_pio2l.c: Likewise.
27409 * math/e_sinhl.c: Likewise.
27410 * math/e_sqrtl.c: Likewise.
27411 * math/fclrexcpt.c: Likewise.
27412 * math/fedisblxcpt.c: Likewise.
27413 * math/feenablxcpt.c: Likewise.
27414 * math/fegetenv.c: Likewise.
27415 * math/fegetexcept.c: Likewise.
27416 * math/fegetround.c: Likewise.
27417 * math/feholdexcpt.c: Likewise.
27418 * math/fesetenv.c: Likewise.
27419 * math/fesetround.c: Likewise.
27420 * math/feupdateenv.c: Likewise.
27421 * math/fgetexcptflg.c: Likewise.
27422 * math/fraiseexcpt.c: Likewise.
27423 * math/fsetexcptflg.c: Likewise.
27424 * math/ftestexcept.c: Likewise.
27425 * math/k_cosl.c: Likewise.
27426 * math/k_rem_pio2l.c: Likewise.
27427 * math/k_sinl.c: Likewise.
27428 * math/k_tanl.c: Likewise.
27429 * math/s_asinhl.c: Likewise.
27430 * math/s_atanl.c: Likewise.
27431 * math/s_cbrtl.c: Likewise.
27432 * math/s_erfl.c: Likewise.
27433 * math/s_expm1l.c: Likewise.
27434 * math/s_log1pl.c: Likewise.
27435 * math/s_tanhl.c: Likewise.
27436 * misc/acct.c: Likewise.
27437 * misc/brk.c: Likewise.
27438 * misc/chflags.c: Likewise.
27439 * misc/chroot.c: Likewise.
27440 * misc/fchflags.c: Likewise.
27441 * misc/fgetxattr.c: Likewise.
27442 * misc/flistxattr.c: Likewise.
27443 * misc/fremovexattr.c: Likewise.
27444 * misc/fsetxattr.c: Likewise.
27445 * misc/fsync.c: Likewise.
27446 * misc/ftruncate.c: Likewise.
27447 * misc/futimes.c: Likewise.
27448 * misc/futimesat.c: Likewise.
27449 * misc/getdomain.c: Likewise.
27450 * misc/getdtsz.c: Likewise.
27451 * misc/gethostid.c: Likewise.
27452 * misc/gethostname.c: Likewise.
27453 * misc/getloadavg.c: Likewise.
27454 * misc/getpagesize.c: Likewise.
27455 * misc/getsysstats.c: Likewise.
27456 * misc/getxattr.c: Likewise.
27457 * misc/gtty.c: Likewise.
27458 * misc/ioctl.c: Likewise.
27459 * misc/lgetxattr.c: Likewise.
27460 * misc/listxattr.c: Likewise.
27461 * misc/llistxattr.c: Likewise.
27462 * misc/lremovexattr.c: Likewise.
27463 * misc/lsetxattr.c: Likewise.
27464 * misc/lutimes.c: Likewise.
27465 * misc/madvise.c: Likewise.
27466 * misc/mincore.c: Likewise.
27467 * misc/mlock.c: Likewise.
27468 * misc/mlockall.c: Likewise.
27469 * misc/mmap.c: Likewise.
27470 * misc/mprotect.c: Likewise.
27471 * misc/msync.c: Likewise.
27472 * misc/munlock.c: Likewise.
27473 * misc/munlockall.c: Likewise.
27474 * misc/munmap.c: Likewise.
27475 * misc/preadv.c: Likewise.
27476 * misc/preadv64.c: Likewise.
27477 * misc/ptrace.c: Likewise.
27478 * misc/pwritev.c: Likewise.
27479 * misc/pwritev64.c: Likewise.
27480 * misc/readv.c: Likewise.
27481 * misc/reboot.c: Likewise.
27482 * misc/remap_file_pages.c: Likewise.
27483 * misc/removexattr.c: Likewise.
27484 * misc/revoke.c: Likewise.
27485 * misc/select.c: Likewise.
27486 * misc/setdomain.c: Likewise.
27487 * misc/setegid.c: Likewise.
27488 * misc/seteuid.c: Likewise.
27489 * misc/sethostid.c: Likewise.
27490 * misc/sethostname.c: Likewise.
27491 * misc/setregid.c: Likewise.
27492 * misc/setreuid.c: Likewise.
27493 * misc/setxattr.c: Likewise.
27494 * misc/sstk.c: Likewise.
27495 * misc/stty.c: Likewise.
27496 * misc/swapoff.c: Likewise.
27497 * misc/swapon.c: Likewise.
27498 * misc/sync.c: Likewise.
27499 * misc/syncfs.c: Likewise.
27500 * misc/syscall.c: Likewise.
27501 * misc/truncate.c: Likewise.
27502 * misc/ualarm.c: Likewise.
27503 * misc/usleep.c: Likewise.
27504 * misc/ustat.c: Likewise.
27505 * misc/utimes.c: Likewise.
27506 * misc/vhangup.c: Likewise.
27507 * misc/writev.c: Likewise.
27508 * posix/_exit.c: Likewise.
27509 * posix/alarm.c: Likewise.
27510 * posix/execve.c: Likewise.
27511 * posix/fexecve.c: Likewise.
27512 * posix/fork.c: Likewise.
27513 * posix/fpathconf.c: Likewise.
27514 * posix/getaddrinfo.c: Likewise.
27515 * posix/getegid.c: Likewise.
27516 * posix/geteuid.c: Likewise.
27517 * posix/getgid.c: Likewise.
27518 * posix/getgroups.c: Likewise.
27519 * posix/getlogin.c: Likewise.
27520 * posix/getlogin_r.c: Likewise.
27521 * posix/getpgid.c: Likewise.
27522 * posix/getpid.c: Likewise.
27523 * posix/getppid.c: Likewise.
27524 * posix/getresgid.c: Likewise.
27525 * posix/getresuid.c: Likewise.
27526 * posix/getsid.c: Likewise.
27527 * posix/getuid.c: Likewise.
27528 * posix/glob64.c: Likewise.
27529 * posix/nanosleep.c: Likewise.
27530 * posix/pathconf.c: Likewise.
27531 * posix/pause.c: Likewise.
27532 * posix/posix_madvise.c: Likewise.
27533 * posix/pread.c: Likewise.
27534 * posix/pread64.c: Likewise.
27535 * posix/pwrite.c: Likewise.
27536 * posix/pwrite64.c: Likewise.
27537 * posix/sched_getaffinity.c: Likewise.
27538 * posix/sched_getp.c: Likewise.
27539 * posix/sched_gets.c: Likewise.
27540 * posix/sched_primax.c: Likewise.
27541 * posix/sched_primin.c: Likewise.
27542 * posix/sched_rr_gi.c: Likewise.
27543 * posix/sched_setaffinity.c: Likewise.
27544 * posix/sched_setp.c: Likewise.
27545 * posix/sched_sets.c: Likewise.
27546 * posix/sched_yield.c: Likewise.
27547 * posix/setgid.c: Likewise.
27548 * posix/setlogin.c: Likewise.
27549 * posix/setpgid.c: Likewise.
27550 * posix/setresgid.c: Likewise.
27551 * posix/setresuid.c: Likewise.
27552 * posix/setsid.c: Likewise.
27553 * posix/setuid.c: Likewise.
27554 * posix/sleep.c: Likewise.
27555 * posix/spawni.c: Likewise.
27556 * posix/sysconf.c: Likewise.
27557 * posix/times.c: Likewise.
27558 * posix/wait.c: Likewise.
27559 * posix/wait3.c: Likewise.
27560 * posix/wait4.c: Likewise.
27561 * posix/waitpid.c: Likewise.
27562 * resolv/gai_sigqueue.c: Likewise.
27563 * resource/getpriority.c: Likewise.
27564 * resource/getrlimit.c: Likewise.
27565 * resource/getrusage.c: Likewise.
27566 * resource/nice.c: Likewise.
27567 * resource/setpriority.c: Likewise.
27568 * resource/setrlimit.c: Likewise.
27569 * resource/ulimit.c: Likewise.
27570 * rt/aio_cancel.c: Likewise.
27571 * rt/aio_fsync.c: Likewise.
27572 * rt/aio_read.c: Likewise.
27573 * rt/aio_sigqueue.c: Likewise.
27574 * rt/aio_suspend.c: Likewise.
27575 * rt/aio_write.c: Likewise.
27576 * rt/clock_getres.c: Likewise.
27577 * rt/clock_gettime.c: Likewise.
27578 * rt/clock_nanosleep.c: Likewise.
27579 * rt/clock_settime.c: Likewise.
27580 * rt/lio_listio.c: Likewise.
27581 * rt/mq_close.c: Likewise.
27582 * rt/mq_getattr.c: Likewise.
27583 * rt/mq_notify.c: Likewise.
27584 * rt/mq_open.c: Likewise.
27585 * rt/mq_receive.c: Likewise.
27586 * rt/mq_send.c: Likewise.
27587 * rt/mq_setattr.c: Likewise.
27588 * rt/mq_timedreceive.c: Likewise.
27589 * rt/mq_timedsend.c: Likewise.
27590 * rt/mq_unlink.c: Likewise.
27591 * rt/shm_open.c: Likewise.
27592 * rt/shm_unlink.c: Likewise.
27593 * rt/timer_create.c: Likewise.
27594 * rt/timer_delete.c: Likewise.
27595 * rt/timer_getoverr.c: Likewise.
27596 * rt/timer_gettime.c: Likewise.
27597 * rt/timer_settime.c: Likewise.
27598 * setjmp/__longjmp.c: Likewise.
27599 * setjmp/setjmp.c: Likewise.
27600 * signal/kill.c: Likewise.
27601 * signal/killpg.c: Likewise.
27602 * signal/raise.c: Likewise.
27603 * signal/sigaction.c: Likewise.
27604 * signal/sigaltstack.c: Likewise.
27605 * signal/sigblock.c: Likewise.
27606 * signal/sigignore.c: Likewise.
27607 * signal/sigintr.c: Likewise.
27608 * signal/signal.c: Likewise.
27609 * signal/sigpause.c: Likewise.
27610 * signal/sigpending.c: Likewise.
27611 * signal/sigqueue.c: Likewise.
27612 * signal/sigreturn.c: Likewise.
27613 * signal/sigset.c: Likewise.
27614 * signal/sigsetmask.c: Likewise.
27615 * signal/sigstack.c: Likewise.
27616 * signal/sigsuspend.c: Likewise.
27617 * signal/sigtimedwait.c: Likewise.
27618 * signal/sigvec.c: Likewise.
27619 * signal/sigwait.c: Likewise.
27620 * signal/sigwaitinfo.c: Likewise.
27621 * signal/sysv_signal.c: Likewise.
27622 * socket/accept.c: Likewise.
27623 * socket/accept4.c: Likewise.
27624 * socket/bind.c: Likewise.
27625 * socket/connect.c: Likewise.
27626 * socket/getpeername.c: Likewise.
27627 * socket/getsockname.c: Likewise.
27628 * socket/getsockopt.c: Likewise.
27629 * socket/isfdtype.c: Likewise.
27630 * socket/listen.c: Likewise.
27631 * socket/recv.c: Likewise.
27632 * socket/recvfrom.c: Likewise.
27633 * socket/recvmsg.c: Likewise.
27634 * socket/send.c: Likewise.
27635 * socket/sendmsg.c: Likewise.
27636 * socket/sendto.c: Likewise.
27637 * socket/setsockopt.c: Likewise.
27638 * socket/shutdown.c: Likewise.
27639 * socket/sockatmark.c: Likewise.
27640 * socket/socket.c: Likewise.
27641 * socket/socketpair.c: Likewise.
27642 * stdio-common/ctermid.c: Likewise.
27643 * stdio-common/cuserid.c: Likewise.
27644 * stdio-common/remove.c: Likewise.
27645 * stdio-common/rename.c: Likewise.
27646 * stdio-common/renameat.c: Likewise.
27647 * stdio-common/tempname.c: Likewise.
27648 * stdlib/getcontext.c: Likewise.
27649 * stdlib/makecontext.c: Likewise.
27650 * stdlib/setcontext.c: Likewise.
27651 * stdlib/swapcontext.c: Likewise.
27652 * stdlib/system.c: Likewise.
27653 * streams/fattach.c: Likewise.
27654 * streams/fdetach.c: Likewise.
27655 * streams/getmsg.c: Likewise.
27656 * streams/getpmsg.c: Likewise.
27657 * streams/putmsg.c: Likewise.
27658 * streams/putpmsg.c: Likewise.
27659 * sysdeps/unix/bsd/getpt.c: Likewise.
27660 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27661 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27662 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27664 Likewise.
27665 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27666 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27667 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27668 * sysvipc/msgctl.c: Likewise.
27669 * sysvipc/msgget.c: Likewise.
27670 * sysvipc/msgrcv.c: Likewise.
27671 * sysvipc/msgsnd.c: Likewise.
27672 * sysvipc/semctl.c: Likewise.
27673 * sysvipc/semget.c: Likewise.
27674 * sysvipc/semop.c: Likewise.
27675 * sysvipc/semtimedop.c: Likewise.
27676 * sysvipc/shmat.c: Likewise.
27677 * sysvipc/shmctl.c: Likewise.
27678 * sysvipc/shmdt.c: Likewise.
27679 * sysvipc/shmget.c: Likewise.
27680 * termios/tcdrain.c: Likewise.
27681 * termios/tcflow.c: Likewise.
27682 * termios/tcflush.c: Likewise.
27683 * termios/tcgetattr.c: Likewise.
27684 * termios/tcgetpgrp.c: Likewise.
27685 * termios/tcsendbrk.c: Likewise.
27686 * termios/tcsetattr.c: Likewise.
27687 * termios/tcsetpgrp.c: Likewise.
27688 * time/adjtime.c: Likewise.
27689 * time/clock.c: Likewise.
27690 * time/getitimer.c: Likewise.
27691 * time/gettimeofday.c: Likewise.
27692 * time/setitimer.c: Likewise.
27693 * time/settimeofday.c: Likewise.
27694 * time/stime.c: Likewise.
27695 * time/time.c: Likewise.
27696
276972012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27698
a20492cf
PT
27699 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27700 /usr/old/bin.
27701
72e182e3
PT
27702 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27703 instead of spaces.
27704 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27705
fbeafede
JM
277062012-11-03 Joseph Myers <joseph@codesourcery.com>
27707
5b5b04d6
JM
27708 [BZ #14796]
27709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27710 FE_TONEAREST before applying Dekker multiplication and Knuth
27711 addition. Clear inexact exceptions and check for exact zero
27712 results afterwards.
27713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27714 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27716 * math/libm-test.inc (fma_test): Add more tests.
27717 (fma_test_towardzero): Likewise.
27718 (fma_test_downward): Likewise.
27719 (fma_test_upward): Likewise.
27720 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27721 function.
27722 (libc_fesetround): New macro.
27723 (libc_fesetroundf): Likewise.
27724 (libc_fesetroundl): Likewise.
27725 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27726 function.
27727 (libc_fesetround_387): Likewise.
27728 (libc_fesetroundf): New macro.
27729 (libc_fesetround): Likewise.
27730 (libc_fesetroundl): Likewise.
27731 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27732 function.
27733 (libc_fesetroundf): New macro.
27734 (libc_fesetround): Likewise.
27735 (libc_fesetroundl): Likewise.
27736 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27737 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27738 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27739 libm_hidden_ver.
27740 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27741 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27742 libm_hidden_def.
27743 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27744 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27745 libm_hidden_ver.
27746 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27747 libm_hidden_def.
27748
fbeafede
JM
27749 [BZ #3439]
27750 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27751 integer constant usable in #if and use that to give value to enum
27752 constant.
27753 (FE_DIVBYZERO): Likewise.
27754 (FE_UNDERFLOW): Likewise.
27755 (FE_OVERFLOW): Likewise.
27756 (FE_INVALID): Likewise.
27757 (FE_INVALID_SNAN): Likewise.
27758 (FE_INVALID_ISI): Likewise.
27759 (FE_INVALID_IDI): Likewise.
27760 (FE_INVALID_ZDZ): Likewise.
27761 (FE_INVALID_IMZ): Likewise.
27762 (FE_INVALID_COMPARE): Likewise.
27763 (FE_INVALID_SOFTWARE): Likewise.
27764 (FE_INVALID_SQRT): Likewise.
27765 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27766 (FE_TONEAREST): Likewise.
27767 (FE_TOWARDZERO): Likewise.
27768 (FE_UPWARD): Likewise.
27769 (FE_DOWNWARD): Likewise.
27770 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27771 (FE_DIVBYZERO): Likewise.
27772 (FE_OVERFLOW): Likewise.
27773 (FE_UNDERFLOW): Likewise.
27774 (FE_INEXACT): Likewise.
27775 (FE_TONEAREST): Likewise.
27776 (FE_DOWNWARD): Likewise.
27777 (FE_UPWARD): Likewise.
27778 (FE_TOWARDZERO): Likewise.
27779 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27780 (FE_UNDERFLOW): Likewise.
27781 (FE_OVERFLOW): Likewise.
27782 (FE_DIVBYZERO): Likewise.
27783 (FE_INVALID): Likewise.
27784 (FE_TONEAREST): Likewise.
27785 (FE_TOWARDZERO): Likewise.
27786 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27787 (FE_OVERFLOW): Likewise.
27788 (FE_UNDERFLOW): Likewise.
27789 (FE_DIVBYZERO): Likewise.
27790 (FE_INEXACT): Likewise.
27791 (FE_TONEAREST): Likewise.
27792 (FE_TOWARDZERO): Likewise.
27793 (FE_UPWARD): Likewise.
27794 (FE_DOWNWARD): Likewise.
27795 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27796 (FE_DIVBYZERO): Likewise.
27797 (FE_OVERFLOW): Likewise.
27798 (FE_UNDERFLOW): Likewise.
27799 (FE_INEXACT): Likewise.
27800 (FE_TONEAREST): Likewise.
27801 (FE_DOWNWARD): Likewise.
27802 (FE_UPWARD): Likewise.
27803 (FE_TOWARDZERO): Likewise.
27804
105ca950
CM
278052012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27806
27807 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27808
a542b389
AS
278092012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27810
27811 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27812 commands. Quote $PWD.
27813 (blacklist_exports): Don't use remove_newlines. Replace "declare
27814 -x" by "export".
27815 (remove_newlines): Remove.
27816
f62c8abc
L
278172012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27818
27819 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27820 * stdlib/stdlib.h (atof): Moved to ...
27821 * include/bits/stdlib-float.h: Here. New file.
27822 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27823 * stdlib/bits/stdlib-float.h: New file.
27824 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27825 -mno-sse -mno-mmx.
27826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27827 <xmmintrin.h>.
27828
0155d5b2
JM
278292012-11-02 Joseph Myers <joseph@codesourcery.com>
27830
a68d0680
JM
27831 * conform/conformtest.pl (@headers): Add fenv.h.
27832 * conform/data/fenv.h-data: New file.
27833 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27834 include of <math/fenv.h>.
27835
caf7f573
JM
27836 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27837 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27838 && !UNIX98]. Enables tests for XOPEN2K8.
27839 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27840 POSIX2008]: Likewise.
27841
6c073ad6
JM
27842 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27843 (struct rusage): Do not expect type or its members.
27844
0155d5b2
JM
27845 [BZ #3439]
27846 * math/math.h (FP_NAN): Define macro to integer constant usable in
27847 #if and use that to give value to enum constant.
27848 (FP_INFINITE): Likewise.
27849 (FP_ZERO): Likewise.
27850 (FP_SUBNORMAL): Likewise.
27851 (FP_NORMAL): Likewise.
27852
b5dcacb4
AS
278532012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27854
27855 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27856 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27857 arguments.
27858
f7934be8
RM
278592012-11-02 Roland McGrath <roland@hack.frob.com>
27860
27861 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27862 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27863 autoconf-time if not.
27864 * configure.in: Remove AC_PREREQ.
27865
d7d08bde
TMQMF
278662012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27867
27868 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27869 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27870 of the internal implementation.
27871
dcdae19a
JM
278722012-11-02 Joseph Myers <joseph@codesourcery.com>
27873
27874 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27875 except include of <misc/sys/syslog.h>.
27876
d6cffd3e
AS
278772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27878
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27880 function returns with a NULL context exit with zero.
27881
b3563932
TMQMF
278822012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27883
27884 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27885
b288a93d
L
278862012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27887
27888 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27889 (run_program_cmd): This.
27890 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27891 (tst_langinfo): New variable. Use it.
27892
a2421a68
SAS
278932012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27894
27895 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27896 floating point opcodes.
27897
6f796e1b
TS
278982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27899
7402596b
TS
27900 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27901 variable.
27902
d0d4f868
TS
27903 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27904
6f796e1b
TS
27905 * sysdeps/mach/hurd/powerpc: Remove directory.
27906 * sysdeps/mach/powerpc: Likewise.
27907
4da224a2
AS
279082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27909
27910 * scripts/check-local-headers.sh: Ignore c++ headers.
27911
341dd673
TS
279122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27913
27914 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27915 __libc_cleanup_region_start argument.
27916
473611b2
JM
279172012-11-01 Joseph Myers <joseph@codesourcery.com>
27918
27919 [BZ #14784]
27920 [BZ #14785]
27921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27922 x * y using scaling, not as x * y + z.
27923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27925 * math/libm-test.inc (fma_test): Add more tests.
27926 (fma_test_towardzero): Likewise.
27927 (fma_test_downward): Likewise.
27928 (fma_test_upward): Likewise.
27929
4078da3d
TS
279302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27931
27932 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27933
903252aa
JM
279342012-10-31 Joseph Myers <joseph@codesourcery.com>
27935
27936 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27937 New variable.
27938
cbc818d0
TS
279392012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27940
27941 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27942
5a03cb1e
AS
279432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27944
27945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27946 Fix sort order.
27947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27948 Likewise.
27949
90aff2ff
TMQMF
279502012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27951
27952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27953 Fix the order of the list for glibc 2.17.
27954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27955 Likewise.
27956
1818fcb7
AS
279572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27958
27959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27960
ef82f4da
JM
279612012-10-31 Joseph Myers <joseph@codesourcery.com>
27962
16a0e2ec
JM
27963 [BZ #14610]
27964 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27965 for low part of x being zero before using __atanl (y).
27966 * math/libm-test.inc (atan2_test): Add another test.
27967
0eb69512
JM
27968 * manual/install.texi (Configuring and compiling): Document
27969 general use of test-wrapper and test-wrapper-env.
27970 * INSTALL: Regenerated.
27971
ef82f4da
JM
27972 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27973 (__fma): Do not extract and scale down low bits on after-rounding
27974 systems when result rounded to normal precision would have normal
27975 exponent.
27976 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27977 (__fmal): Do not extract and scale down low bits on after-rounding
27978 systems when result rounded to normal precision would have normal
27979 exponent.
27980 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27981 (__fmal): Do not extract and scale down low bits on after-rounding
27982 systems when result rounded to normal precision would have normal
27983 exponent.
27984 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27985 macro.
27986 (fma_test): Add more tests.
27987 (fma_test_towardzero): Likewise.
27988 (fma_test_downward): Likewise.
27989 (fma_test_upward): Likewise.
27990
954ef0d9
L
279912012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27992
27993 * sysdeps/i386/tininess.h: Renamed to ...
27994 * sysdeps/x86/tininess.h: This.
27995 * sysdeps/x86_64/tininess.h: Removed.
27996
df61ffb2
JM
279972012-10-30 Joseph Myers <joseph@codesourcery.com>
27998
27999 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28000 input. Use $(build-program-cmd).
28001 ($(objpfx)tst-array1-static.out): Likewise.
28002 ($(objpfx)tst-array2.out): Likewise.
28003 ($(objpfx)tst-array3.out): Likewise.
28004 ($(objpfx)tst-array4.out): Likewise.
28005 ($(objpfx)tst-array5.out): Likewise.
28006 ($(objpfx)tst-array5-static.out): Likewise.
28007
01767843
CM
280082012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28009
47cc1490
CM
28010 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28011 if defined.
28012
01767843
CM
28013 * nss/nsswitch.h (nss_interface_function): Provide new
28014 macro for use with NSS functions.
28015 * grp/initgroups.c: Use new macro.
28016 * nss/getXXbyYY.c: Likewise.
28017 * nss/getXXbyYY_r.c: Likewise.
28018 * nss/getXXent.c: Likewise.
28019 * nss/getXXent_r.c: Likewise.
28020 * sysdeps/posix/getaddrinfo.c: Likewise.
28021
8321aa97
AJ
280222012-10-30 Andreas Jaeger <aj@suse.de>
28023
28024 * po/ru.po: Update Russion translation from translation project.
28025
2a27fd6d
JM
280262012-10-30 Joseph Myers <joseph@codesourcery.com>
28027
8627a232
JM
28028 [BZ #14152]
28029 [BZ #14783]
28030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28031 result and shift together with sticky bit instead of replicating
28032 round-to-nearest rounding.
28033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28035 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28036 missing underflow exceptions.
28037 (fma_test_towardzero): Add more tests.
28038 (fma_test_downward): Likewise.
28039 (fma_test_upward): Likewise.
28040
2a27fd6d
JM
28041 [BZ #14047]
28042 * sysdeps/generic/tininess.h: New file.
28043 * sysdeps/i386/tininess.h: Likewise.
28044 * sysdeps/sh/tininess.h: Likewise.
28045 * sysdeps/x86_64/tininess.h: Likewise.
28046 * stdlib/tst-strtod-underflow.c: Likewise.
28047 * stdlib/tst-tininess.c: Likewise.
28048 * stdlib/strtod_l.c: Include <tininess.h>.
28049 (round_and_return): Do not set errno for exact underflow cases.
28050 Force an underflow exception when setting errno for underflow.
28051 Determine underflow based on rounding to normal precision if
28052 TININESS_AFTER_ROUNDING.
28053 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28054 ERANGE for exact underflow cases.
28055 * stdlib/Makefile (tests): Add tst-tininess and
28056 tst-strtod-underflow.
28057 ($(objpfx)tst-tininess): Use $(link-libm).
28058 ($(objpfx)tst-strtod-underflow): Likewise.
28059
e7170363
AJ
280602012-10-30 Andreas Jaeger <aj@suse.de>
28061
e5088dc6
AJ
28062 [BZ#14767]
28063 * elf/Makefile (tests): Remove conditional for have-initfini-array
28064 since this is now always required and the variable does not exist
28065 anymore.
28066 (tests-static): Likewise.
28067 (modules-names): Likewise.
28068
e7170363 28069 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28070
28071 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28072 merged with constructor/destructor.
28073 (init_array): Likewise.
28074 * elf/tst-array2dep.c (fini_array): Likewise.
28075 (init_array): Likewise.
28076
60457d8a
MF
280772012-10-29 Mike Frysinger <vapier@gentoo.org>
28078
28079 * manual/message.texi: Delete @cartouche tags.
28080
8bece752
PT
280812012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28082
94ce799f
PT
28083 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28084 EOPNOTSUPP.
28085 * sysdeps/mach/hurd/fsync.c: Likewise.
28086
8bece752
PT
28087 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28088 [_POSIX_REALTIME_SIGNALS]: Change condition to
28089 [_POSIX_REALTIME_SIGNALS > 0].
28090
86ebe6b1
AJ
280912012-10-27 Andreas Jaeger <aj@suse.de>
28092
28093 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28094 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28095 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28096 [__WORDSIZE != 64]: Likewise.
28097
54399c08
L
280982012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28099
28100 * iconvdata/tst-table.sh: Remove ${SHELL}.
28101 * iconvdata/tst-tables.sh: Likewise.
28102
e2211bed
DM
281032012-10-25 David S. Miller <davem@davemloft.net>
28104
28105 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28106 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28107 of strtoull.
28108
f303f97c
DM
28109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28110 ifunc-impl-list.c
28111 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28112 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28113 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28114 file.
28115
1e9d84cd
RM
281162012-10-25 Roland McGrath <roland@hack.frob.com>
28117
28118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28119 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28120 __getdirentries.
28121
df381762
JM
281222012-10-25 Joseph Myers <joseph@codesourcery.com>
28123 Jim Blandy <jimb@codesourcery.com>
28124
28125 * scripts/cross-test-ssh.sh: New file.
28126 * manual/install.texi (Configuring and compiling): Document use of
28127 cross-test-ssh.sh.
28128 * INSTALL: Regenerated.
28129
bff64913
PT
281302012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28131
28132 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28133 EOPNOTSUPP.
28134
25fe8932
JM
281352012-10-25 Joseph Myers <joseph@codesourcery.com>
28136
28137 * Makeconfig (run-program-prefix): Fix comment.
28138
cc1290d0
JM
281392012-10-24 Joseph Myers <joseph@codesourcery.com>
28140 Jim Blandy <jimb@codesourcery.com>
28141
28142 * Makeconfig (test-wrapper): New variable,
28143 (test-wrapper-env): Likewise.
28144 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28145 (run-built-tests): Define to yes.
28146 (run-program-prefix): Use $(test-wrapper).
28147 (built-program-cmd): Likewise.
28148 * Rules (make-test-out): Use $(test-wrapper-env) and
28149 $(host-built-program-cmd).
28150 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28151 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28152 tst-pathopt.sh.
28153 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28154 $(test-wrapper-env) to tst-rtld-load-self.sh.
28155 ($(objpfx)order2.out): Use $(test-wrapper).
28156 ($(objpfx)tst-initorder.out): Likewise.
28157 ($(objpfx)tst-initorder2.out): Likewise.
28158 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28159 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28160 (test_wrapper_env): New variable. Use it to run ld.so.
28161 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28162 Use it to run ld.so.
28163 (test_wrapper_env): Likewise.
28164 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28165 $(test-wrapper) to run-iconv-test.sh.
28166 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28167 (ICONV): Use $test_wrapper.
28168 * posix/Makefile ($(objpfx)globtest.out): Pass
28169 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28170 globtest.sh, not $(run-program-prefix).
28171 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28172 (test_wrapper): Likewise.
28173 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28174 set together with run_via_rtld_prefix.
28175 (run_program_prefix): Define in terms of test_wrapper and
28176 run_via_rtld_prefix.
28177
6e6249d0
RM
281782012-10-24 Roland McGrath <roland@hack.frob.com>
28179
28180 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28181 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28182 Targets removed.
28183
28184 [BZ #14743]
28185 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28186 Declare __clock_getres, __clock_gettime, __clock_settime,
28187 __clock_nanosleep, and __clock_getcpuclockid.
28188 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28189 Remove librt_hidden_def (clock_gettime).
28190 * sysdeps/unix/clock_gettime.c: Likewise.
28191 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28192 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28193 * rt/clock_getres.c: Define __clock_getres as an alias.
28194 * sysdeps/posix/clock_getres.c: Likewise.
28195 * rt/clock_settime.c: Define __clock_settime as an alias.
28196 * sysdeps/unix/clock_settime.c: Likewise.
28197 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28198 * sysdeps/unix/clock_nanosleep.c: Likewise.
28199 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28200 * rt/clock-compat.c: New file.
28201 * rt/Makefile (librt-routines): Add clock-compat and move
28202 $(clock-routines) to ...
28203 (routines): ... here, new variable.
28204 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28205 Don't add get_clockfreq here.
28206 * rt/Versions (libc: GLIBC_2.17): New version set.
28207 Add clock_* symbols here.
28208 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28209 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28210 (GLIBC_2.17): Add clock_* symbols.
28211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28215 Likewise.
28216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28217 Likewise.
28218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28222 * NEWS: Mention the move.
28223
28224 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28225 Use __open, __read, __close rather than their public counterparts.
28226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28227 (__get_clockfreq_via_cpuinfo): Likewise.
28228 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28229 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28230
28231 * config.h.in (HAVE_IFUNC): New #undef.
28232 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28233 was successful.
28234 * configure: Regenerated.
28235
0cae3f4b
MF
282362012-10-24 Mike Frysinger <vapier@gentoo.org>
28237
28238 * configure.in: Move READELF check to start of file.
28239 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28240 libc_cv_asm_gnu_indirect_function in the process.
28241 * configure: Regenerated.
28242
8175a253
MF
282432012-10-24 Mike Frysinger <vapier@gentoo.org>
28244
28245 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28246 send the output to /dev/null.
28247 (libc_cv_cc_with_libunwind): Likewise.
28248 (libc_cv_as_noexecstack): Likewise.
28249 * configure: Regenerate.
28250
0708a7d1
JM
282512012-10-24 Joseph Myers <joseph@codesourcery.com>
28252
10b40d85
JM
28253 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28254
0708a7d1
JM
28255 * posix/globtest.sh (TMPDIR): Do not set.
28256 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28257 (testout): Likewise.
28258
9fddec1a
AJ
282592012-10-24 Andreas Jaeger <aj@suse.de>
28260
3a8db22f
AJ
28261 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28262 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28263 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28264 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28265 posix_fadvise64, posix_fallocate64.
28266
9fddec1a
AJ
28267 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28268 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28269 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28270 Likewise.
28271 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28272 Likewise.
28273 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28274
28275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28276 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28277 <bits/fcntl-linux.h>.
28278 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28279
28280 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28281 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28282 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28283 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28284 [__WORDSIZE != 64]: Likewise.
28285
ebfd1bbd
JM
282862012-10-23 Joseph Myers <joseph@codesourcery.com>
28287
03ac099f
JM
28288 * Makeconfig (run-built-tests): New variable.
28289 * Rules [$(cross-compiling) = yes]: Change condition to
28290 [$(run-built-tests) = no].
28291 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28292 to [$(run-built-tests) = yes].
28293 * elf/Makefile [$(cross-compiling) = no]: Likewise
28294 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28295 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28296 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28297 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28298 * io/Makefile [$(cross-compiling) = no]: Likewise.
28299 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28300 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28301 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28302 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28303 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28304 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28305 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28306 * string/Makefile [$(cross-compiling) = no]: Likewise.
28307
ebfd1bbd
JM
28308 * posix/Makefile ($(objpfx)globtest.out): Pass
28309 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28310 $(rtld-installed-name).
28311 * posix/globtest.sh (elf_objpfx): Remove variable.
28312 (rtld_installed_name): Likewise.
28313 (library_path): Likewise.
28314 (run_program_prefix): New variable. Use for running globtest
28315 binary.
28316
166bca24
JB
283172012-10-23 Jim Blandy <jimb@codesourcery.com>
28318 Joseph Myers <joseph@codesourcery.com>
28319
28320 * Makeconfig (host-built-program-cmd): New variable.
28321 * elf/Makefile (tst-stackguard1-ARGS): Use
28322 $(host-built-program-cmd).
28323 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28324 (tst-spawn-ARGS): Likewise.
28325 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28326
88866099
JM
283272012-10-23 Joseph Myers <joseph@codesourcery.com>
28328 Jim Blandy <jimb@codesourcery.com>
28329
28330 * Makeconfig (run-via-rtld-prefix): New variable.
28331 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28332 (built-program-cmd): Likewise.
28333
b4b4c296
AJ
283342012-10-22 Andreas Jaeger <aj@suse.de>
28335
28336 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28337 __O_RSYNC if it exists, otherwise to O_SYNC.
28338
6fb54a22
JB
283392012-10-22 Jim Blandy <jimb@codesourcery.com>
28340 Joseph Myers <joseph@codesourcery.com>
28341
28342 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28343 /dev/null.
28344 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28345 from /dev/null
28346 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28347 /dev/null.
28348
481b90b9
AJ
283492012-10-22 Andreas Jaeger <aj@suse.de>
28350
2a0e2669
AJ
28351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28352 Define always.
28353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28354
76e38f9a
AJ
28355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28356 bits/fcntl-linux.h.
28357
7cd37b43
AJ
28358 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28359 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28360
481b90b9
AJ
28361 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28362 to __O_LARGEFILE.
28363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28364 to __O_LARGEFILE.
28365
aba75984
JB
283662012-10-21 Jim Blandy <jimb@codesourcery.com>
28367 Joseph Myers <joseph@codesourcery.com>
28368
28369 * config.make.in (NM): New variable.
28370
88d4247f
AJ
283712012-10-21 Andreas Jaeger <aj@suse.de>
28372
28373 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28374 definitions and declarations that are provided by
28375 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28376
f2eed205
L
283772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28378
28379 [BZ #14683]
28380 * elf/Makefile (tests-static): Add tst-leaks1-static.
28381 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28382 ($(objpfx)tst-leaks1-static): New rule.
28383 ($(objpfx)tst-leaks1-static-mem): Likewise.
28384 (tst-leaks1-static-ENV): New macro.
28385 * elf/dl-open.c (dl_open_worker): Check the main application
28386 only if SHARED is defined.
28387 * elf/tst-leaks1-static.c: New file.
28388
335e6931
AJ
283892012-10-20 Andreas Jaeger <aj@suse.de>
28390
28391 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28392 generic values for Linux.
28393 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28394 and declarations that are provided by <bits/fcntl-linux.h> and
28395 include <bits/fcntl-linux.h>.
28396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28398
ac5c94d3
RM
283992012-10-20 Roland McGrath <roland@hack.frob.com>
28400
28401 * io/fcntl.h: Move include of <bits/types.h> to the top and
28402 include it unconditionally.
28403
de54b33a
L
284042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28405
228cfb01
L
28406 * wcsmbs/Makefile (tests-ifunc): New variable.
28407 (tests): Add $(tests-ifunc).
28408 * wcsmbs/test-wcschr-ifunc.c: New file.
28409 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28410 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28411 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28412 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28413 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28414
69f07e5f
L
28415 * string/Makefile (tests-ifunc): New variable.
28416 (tests): Add $(tests-ifunc).
28417 * string/test-memccpy.c (TEST_NAME): New macro.
28418 * string/test-memchr.c (TEST_NAME): Likewise.
28419 * string/test-memcmp.c (TEST_NAME): Likewise.
28420 * string/test-memcpy.c (TEST_NAME): Likewise.
28421 * string/test-memmem.c (TEST_NAME): Likewise.
28422 * string/test-memmove.c (TEST_NAME): Likewise.
28423 * string/test-memset.c (TEST_NAME): Likewise.
28424 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28425 * string/test-stpcpy.c (TEST_NAME): Likewise.
28426 * string/test-stpncpy.c (TEST_NAME): Likewise.
28427 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28428 * string/test-strcasestr.c (TEST_NAME): Likewise.
28429 * string/test-strcat.c (TEST_NAME): Likewise.
28430 * string/test-strchr.c (TEST_NAME): Likewise.
28431 * string/test-strcmp.c(TEST_NAME): Likewise.
28432 * string/test-strcpy.c (TEST_NAME): Likewise.
28433 * string/test-strcspn.c (TEST_NAME): Likewise.
28434 * string/test-strlen.c (TEST_NAME): Likewise.
28435 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28436 * string/test-strncmp.c (TEST_NAME): Likewise.
28437 * string/test-strncpy.c (TEST_NAME): Likewise.
28438 * string/test-strnlen.c (TEST_NAME): Likewise.
28439 * string/test-strpbrk.c (TEST_NAME): Likewise.
28440 * string/test-strrchr.c (TEST_NAME): Likewise.
28441 * string/test-strspn.c (TEST_NAME): Likewise.
28442 * string/test-strstr.c (TEST_NAME): Likewise.
28443 * string/test-bcopy-ifunc.c: New file.
28444 * string/test-bzero-ifunc.c: Likewise.
28445 * string/test-memccpy-ifunc.c: Likewise.
28446 * string/test-memchr-ifunc.c: Likewise.
28447 * string/test-memcmp-ifunc.c: Likewise.
28448 * string/test-memcpy-ifunc.c: Likewise.
28449 * string/test-memmem-ifunc.c: Likewise.
28450 * string/test-memmove-ifunc.c: Likewise.
28451 * string/test-mempcpy-ifunc.c: Likewise.
28452 * string/test-memset-ifunc.c: Likewise.
28453 * string/test-rawmemchr-ifunc.c: Likewise.
28454 * string/test-stpcpy-ifunc.c: Likewise.
28455 * string/test-stpncpy-ifunc.c: Likewise.
28456 * string/test-strcasecmp-ifunc.c: Likewise.
28457 * string/test-strcasestr-ifunc.c: Likewise.
28458 * string/test-strcat-ifunc.c: Likewise.
28459 * string/test-strchr-ifunc.c: Likewise.
28460 * string/test-strchrnul-ifunc.c: Likewise.
28461 * string/test-strcmp-ifunc.c: Likewise.
28462 * string/test-strcpy-ifunc.c: Likewise.
28463 * string/test-strcspn-ifunc.c: Likewise.
28464 * string/test-strlen-ifunc.c: Likewise.
28465 * string/test-strncasecmp-ifunc.c: Likewise.
28466 * string/test-strncat-ifunc.c: Likewise.
28467 * string/test-strncmp-ifunc.c: Likewise.
28468 * string/test-strncpy-ifunc.c: Likewise.
28469 * string/test-strnlen-ifunc.c: Likewise.
28470 * string/test-strpbrk-ifunc.c: Likewise.
28471 * string/test-strrchr-ifunc.c: Likewise.
28472 * string/test-strspn-ifunc.c: Likewise.
28473 * string/test-strstr-ifunc.c: Likewise.
28474
de54b33a
L
28475 * debug/Makefile (tests-ifunc): New variable.
28476 (tests): Add $(tests-ifunc).
28477 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28478 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28479 * debug/test-stpcpy_chk-ifunc.c: New file.
28480 * debug/test-strcpy_chk-ifunc.c: Likewise.
28481
88481c16
SP
284822012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28483
28484 [BZ #13601]
28485 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28486 header is not read in.
28487
135948bd
JM
284882012-10-19 Joseph Myers <joseph@codesourcery.com>
28489
89f1c388
JM
28490 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28491 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28492 directly. Pass built executable to script as
28493 $(built-program-cmd).
28494 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28495 $testprogram without using LD_LIBRARY_PATH and $ldso.
28496
e40a0d21
JM
28497 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28498 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28499 $(rtld-installed-name).
28500 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28501 (rtld_installed_name): Likewise.
28502 (library_path): Likewise.
28503 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28504 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28505 $(run-program-prefix) to tst-tables.sh.
28506 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28507 it to run tst-table-from and tst-table-to.
28508 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28509 Pass it to tst-table.sh.
28510 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28511 $(run-program-prefix) to tst-gettext.sh.
28512 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28513 tst-translit.sh.
28514 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28515 tst-gettext2.sh.
28516 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28517 to run tst-gettext.
28518 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28519 to run tst-gettext2.
28520 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28521 to run tst-translit.
28522 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28523 $(run-program-prefix) to tst-mtrace.sh.
28524 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28525 to run tst-mtrace.
28526 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28527 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28528 $(rtld-installed-name).
28529 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28530 (rtld_installed_name): Likewise.
28531 (run_program_prefix): New variable. Use it to run wordexp-test.
28532
728e272a
JM
28533 * Makeconfig (ARCH): Remove all definitions.
28534 (machine): Likewise.
28535 [ARCH]: Remove conditional code.
28536 [!objdir]: Give error.
28537 [!objdir] (objpfx): Remove.
28538 [!objdir] (common-objpfx): Likewise.
28539 [!objdir] (common-objdir): Likewise.
28540 * configure.in (config_makefile): Remove. Hardcode Makefile in
28541 AC_CONFIG_FILES call.
28542 * configure: Regenerated.
28543
d528cdcf
JM
28544 [BZ #13888]
28545 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28546 or TMPDIR.
28547 (testout): Likewise.
28548
135948bd
JM
28549 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28550 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28551 $(rtld-installed-name).
28552 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28553 (rtld_installed_name): Likwise.
28554 (runit): Remove function.
28555 (run_getconf): New variable, Use it for running getconf binary.
28556
38c78296
L
285572012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28558
28559 [BZ #14716]
28560 * string/test-memmem.c (check_result): New function.
28561 (do_one_test): Use it.
28562 (check1): New function.
28563 (test_main): Use it.
28564
d077f65f
MT
285652012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28566
28567 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28568
ced52c71
JM
285692012-10-18 Joseph Myers <joseph@codesourcery.com>
28570
28571 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28572 (_G_LSEEK64): Likewise.
28573 (_G_MMAP64): Likewise.
28574 (_G_FSTAT64): Likewise.
28575 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28576 (_G_LSEEK64): Likewise.
28577 (_G_MMAP64): Likewise.
28578 (_G_FSTAT64): Likewise.
28579 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28580 unconditional. Call __mmap64 directly.
28581 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28582 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28583 __lseek64 directly.
28584 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28585 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28586 __mmap64 directly.
28587 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28588 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28589 __lseek64 directly.
28590 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28591 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28592 __lseek64 directly.
28593 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28594 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28595 __lseek64 directly.
28596 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28597 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28598 __fxstat64 directly.
28599 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28600 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28601 unconditional.
28602 (freopen64) [!_G_OPEN64]: Remove conditional code.
28603 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28604 unconditional.
28605 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28606 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28607 unconditional.
28608 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28609 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28610 unconditional.
28611 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28612 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28613 unconditional.
28614 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28615 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28616 unconditional.
28617 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28618 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28619 unconditional.
28620 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28621 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28622 unconditional.
28623 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28624
b741de23
SP
286252012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28626
28627 [BZ #12140]
28628 * manual/memory.texi (Malloc Tunable Parameters): Add note
28629 about free list pointers overwriting some perturb bytes.
28630 Wording suggested by Roland McGrath.
28631
f9b9d9c9
JM
286322012-10-17 Joseph Myers <joseph@codesourcery.com>
28633
28634 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28635 (lgamma_test): Likewise.
28636 (tgamma_test): Likewise.
28637
172a631a
FW
286382012-10-16 Florian Weimer <fweimer@redhat.com>
28639
28640 [BZ #14700]
28641 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28642 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28643
e9f37252
MK
286442012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28645
28646 * NEWS: Mention BZ #14716.
28647 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28648 when removing AVAILABLE1_USES_J macro.
28649
d394eb74
L
286502012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28651
28652 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28653 (__bswap_64): __uint64_t for unsigned 64-bit int.
28654
ca38dc17
AS
286552012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28656
28657 * include/string.h (memmem): Declare libc hidden alias.
28658 * string/memmem.c (memmem): Define libc hidden alias.
28659 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28660 __read, __close instead of open, read, close.
28661
9a387d1f
L
286622012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28663
ac49ecaf
L
28664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28665 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28666 global and hidden.
28667 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28668 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28669 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28670 Likewise.
28671 (__rawmemchr_sse2): Likewise.
28672 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28673 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28674 (__strchr_sse2): Likewise.
28675 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28676 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28677 (__strcasecmp_sse2): Likewise.
28678 (__strncasecmp_sse2): Likewise.
28679 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28680 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28681 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28682 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28683 (__strrchr_sse2): Likewise.
28684 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28685 ifunc-impl-list.c.
28686 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28687 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28688 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28689 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28690 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28691 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28692 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28693 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28694 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28695 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28696 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28697 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28698 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28699 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28700 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28701 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28702 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28703 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28704 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28705 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28706 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28707 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28708 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28709 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28710 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28711 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28712 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28713 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28714 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28715 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28716
b090e8ea
L
28717 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28718 global and hidden.
28719 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28720 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28721 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28722 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28723 Likewise.
28724 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28725 Likewise.
28726 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28727 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28728 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28729 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28730 ifunc-impl-list.c.
28731 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28732 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28733 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28734 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28735 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28736 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28737 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28738 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28739 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28740 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28741 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28742 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28743 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28744 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28745 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28746 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28747 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28748 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28749 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28750 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28751 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28752 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28753 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28754 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28755 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28756 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28757 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28758 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28759 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28760 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28761 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28762 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28763 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28764 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28765 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28766 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28767 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28768 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28769 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28770 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28771 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28772
11dd4af6
L
28773 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28774 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28775 * include/ifunc-impl-list.h: New file.
28776 * misc/ifunc-impl-list.c: Likewise.
28777 * misc/Makefile (routines): Add ifunc-impl-list.
28778 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28779 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28780 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28781 TEST_NAME]: New variables.
11dd4af6
L
28782 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28783 are defined.
28784 (test_init): Call __libc_ifunc_impl_list to initialize
28785 func_list if TEST_IFUNC and TEST_NAME are defined.
28786
9a387d1f
L
28787 * string/Makefile (strop-tests): Add bcopy and bzero.
28788 * string/test-bcopy.c: New file.
28789 * string/test-bzero.c: Likewise.
28790 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28791 defined.
28792 * string/test-memset.c: Support bzero test if TEST_BZERO is
28793 defined.
28794 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28795 __libc_memmove.
28796 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28797 __libc_memset.
28798 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28799 of memset.
28800
472371b9
JM
288012012-10-10 Joseph Myers <joseph@codesourcery.com>
28802
1e4a9536
JM
28803 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28804 * configure: Regenerated.
28805
d173d12e
JM
28806 * Makeconfig (+link-static-before-libc): Don't include
28807 $(link-static-libc).
28808
472371b9
JM
28809 * libio/libio.h (_IO_pos_t): Remove.
28810
89a3ad0b
AO
288112012-10-10 Alexandre Oliva <aoliva@redhat.com>
28812
28813 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28814 McGrath.
28815
e7451425
AO
288162012-10-10 Alexandre Oliva <aoliva@redhat.com>
28817
28818 * crypt/crypt-entry.c: Include fips-private.h.
28819 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28820 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28821 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28822 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28823
4ba74a35
AO
288242012-10-10 Alexandre Oliva <aoliva@redhat.com>
28825
28826 * crypt/crypt-private.h: Include stdbool.h.
28827 (_ufc_setup_salt_r): Return bool.
28828 * crypt/crypt-entry.c: Include errno.h.
28829 (__crypt_r): Return NULL with EINVAL for bad salt.
28830 * crypt/crypt_util.c (bad_for_salt): New.
28831 (_ufc_setup_salt_r): Check that salt is long enough and within
28832 the specified alphabet.
28833 * crypt/badsalttest.c: New file.
28834 * crypt/Makefile (tests): Add it.
28835 ($(objpfx)badsalttest): New.
28836
f96f1242
MK
288372012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28838
28839 * NEWS: Add entry for BZ #14602.
28840
0e8e0c1c
JM
288412012-10-09 Joseph Myers <joseph@codesourcery.com>
28842
28843 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28844 type-generic.
28845 * math/libm-test.inc: Update comment listing what functions and
28846 macros are tested.
28847 (isgreater_test): New function.
28848 (isgreaterequal_test): Likewise.
28849 (isless_test): Likewise.
28850 (islessequal_test): Likewise.
28851 (islessgreater_test): Likewise.
28852 (isunordered_test): Likewise.
28853 (main): Call the new functions.
28854
273edc5e
RM
288552012-10-09 Roland McGrath <roland@hack.frob.com>
28856
b8493de0
RM
28857 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28858 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28859 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28860 * sysdeps/i386/configure: Regenerated.
28861 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28862 * sysdeps/mach/configure: Regenerated.
28863 * sysdeps/mach/hurd/configure: Regenerated.
28864 * sysdeps/powerpc/configure: Regenerated.
28865 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28866 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28867 * sysdeps/s390/s390-32/configure: Regenerated.
28868 * sysdeps/s390/s390-64/configure: Regenerated.
28869 * sysdeps/sh/configure: Regenerated.
28870 * sysdeps/sparc/configure: Regenerated.
28871 * sysdeps/unix/sysv/linux/configure: Regenerated.
28872 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28873 * sysdeps/x86_64/configure: Regenerated.
28874
273edc5e
RM
28875 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28876 defined. Don't check if MAP is NULL.
28877
c8450f70
JM
288782012-10-09 Joseph Myers <joseph@codesourcery.com>
28879
28880 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28881 (_G_stat64): Likewise.
28882 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28883 (_G_stat64): Likewise.
28884 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28885 instead of struct _G_stat64.
28886 * libio/fileops.c (mmap_remap_check): Likewise.
28887 (decide_maybe_mmap): Likewise.
28888 (_IO_new_file_seekoff): Likewise.
28889 (_IO_file_stat): Likewise.
28890 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28891 _G_off64_t.
28892 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28893 instead of struct _G_stat64.
28894 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28895
57e605ba
MK
288962012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28897
28898 [BZ #14602]
28899 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28900 Replace with ...
28901 (CHECK_EOL): New macro.
28902 (two_way_short_needle): Check beginning of haystack for EOL. Use
28903 CHECK_EOL.
28904 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28905 Replace with CHECK_EOL.
28906 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28907 Replace with CHECK_EOL.
28908
ef1bb361
JM
289092012-10-08 Joseph Myers <joseph@codesourcery.com>
28910
28911 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28912 type-generic.
28913 * math/libm-test.inc: Update comment listing what functions and
28914 macros are tested.
28915 (finite_test): New function.
28916 (isinf_test): Likewise.
28917 (isnan_test): Likewise.
28918 (fpclassify_test): Test subnormal input.
28919 (isfinite_test): Likewise.
28920 (isnormal_test): Likewise.
28921 (main): Call the new functions.
28922
55f11534
JN
289232012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28924
28925 [BZ #14660]
28926 * Makerules (%.dynsym): Force C locale when running
28927 $(OBJDUMP) --dynamic-syms.
28928
1ab29350
AS
289292012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28930
28931 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28932 <stdint.h>.
28933
f1ecb7ef
DM
289342012-10-06 David S. Miller <davem@davemloft.net>
28935
28936 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28937 upper 32-bits of the length value in %o2 since we use branch-on-register
28938 tests which consider the entire 64-bit register.
28939
5d41d91a
L
289402012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28941
28942 * string/test-strstr.c (check2): Add a test for page boundary.
28943
3baddb72
DM
289442012-10-05 David S. Miller <davem@davemloft.net>
28945
28946 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28947 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28948 file.
28949 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28950 sysdep_routines.
28951 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28952 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28953 and bzero when HWCAP_SPARC_CRYPTO is present.
28954
9cee5585
L
289552012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28956
d7e0dab9
L
28957 [BZ #14602]
28958 * string/test-strstr.c (check2): New function.
28959 (test_main): Call check2.
28960
03759f47
L
28961 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28962 and bug-strchr1.
28963 * string/bug-strcasestr1.c (do_test): Moved to ...
28964 * string/test-strcasestr.c (check1): Here. New function.
28965 (do_one_test): Break out result checking code into ...
28966 (check_result): This. New function.
28967 (do_one_test): Call check_result.
28968 (test_main): Call check1.
28969 * string/bug-strchr1.c (do_test): Moved to ...
28970 * string/test-strchr.c (check1): Here. New function.
28971 (do_one_test): Break out result checking code into ...
28972 (check_result): This. New function.
28973 (do_one_test): Call check_result.
28974 (test_main): Call check1.
28975 * string/bug-strstr1.c (main): Moved to ...
046f153e 28976 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28977 (do_one_test): Break out result checking code into ...
28978 (check_result): This. New function.
28979 (do_one_test): Call check_result.
28980 (test_main): Call check1.
28981 * string/bug-strcasestr1.c: Removed.
28982 * string/bug-strchr1.c: Likewise.
28983 * string/bug-strstr1.c: Likewise.
28984
53cea63e
L
28985 * elf/Makefile (dl-routines): Add hwcaps.
28986 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28987 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28988 (_dl_important_hwcaps): Moved to ...
28989 * elf/dl-hwcaps.c: Here. New file.
28990 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28991
9cee5585 28992 [BZ #14557]
bb859b06
L
28993 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28994 if IS_IN_rtld isn't defined.
28995
9cee5585
L
28996 * elf/dl-support.c (_dl_sysinfo_map): New.
28997 Include "get-dynamic-info.h" and "setup-vdso.h".
28998 (_dl_non_dynamic_init): Call setup_vdso.
28999 * elf/dynamic-link.h: Don't include <assert.h>.
29000 (elf_get_dynamic_info): Moved to ...
29001 * elf/get-dynamic-info.h: Here. New file.
29002 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29003 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29004 * elf/setup-vdso.h: Here. New file.
29005 * elf/rtld.c: Include "setup-vdso.h".
29006 (dl_main): Call setup_vdso.
29007
23c31b76
JM
290082012-10-05 Joseph Myers <joseph@codesourcery.com>
29009
28234b07
JM
29010 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29011 creal in comment listing functions tested. List finite, isinf,
29012 isnan, isless, islessequal, isgreater, isgreaterequal,
29013 islessgreater, isunordered, lgamma_r and pow10 as functions and
29014 macros not tested. Mention which functions not tested are aliases
29015 for other functions. Fix typo. Note that signs of NaNs are not
29016 tested.
29017
23c31b76
JM
29018 * scripts/config.guess: Update from config.git.
29019 * scripts/config.sub: Likewise.
29020
9043e228
RM
290212012-10-04 Roland McGrath <roland@hack.frob.com>
29022
29023 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29024 * misc/madvise.c (madvise): Renamed to __madvise.
29025 Make madvise a weak alias.
29026 * include/sys/mman.h: Declare __madvise.
29027 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29028 * sysdeps/unix/syscalls.list
29029 (madvise): Make __madvise the strong name, and madvise a weak alias.
29030 * sysdeps/unix/sysv/linux/syscalls.list
29031 (madvise, mmap): Remove redundant entries.
29032 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29033 * malloc/malloc.c (mtrim): Likewise.
29034 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29035
f57f8055
RM
290362012-10-03 Roland McGrath <roland@hack.frob.com>
29037
29038 * sysdeps/mach/hurd/dl-cache.c: File removed.
29039 * config.h.in (USE_LDCONFIG): New #undef.
29040 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29041 * configure: Regenerated.
29042 * elf/Makefile (dl-routines): Add dl-cache only under
29043 [$(use-ldconfig) = yes].
29044 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29045 cache on [USE_LDCONFIG].
29046 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29047 [USE_LDCONFIG].
29048 * elf/rtld.c (dl_main): Likewise.
29049
5bb0c10a
PT
290502012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29051
29052 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29053 _SC_LEVEL4_CACHE_LINESIZE.
29054
010188c6
RM
290552012-10-03 Roland McGrath <roland@hack.frob.com>
29056
29057 * sysdeps/unix/bsd/confstr.h: File removed.
29058
b6c5ec07
AO
290592012-10-02 Alexandre Oliva <aoliva@redhat.com>
29060
29061 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29062 sys/sdt-config.h.
29063
408223d4
RM
290642012-10-02 Roland McGrath <roland@hack.frob.com>
29065
29066 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29067 Make 'mapoff' field ElfW(Off) rather than off_t.
29068
bb9510dc
DL
290692012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29070
fc997c6e
DL
29071 * nscd/Makefile: Remove nscd-cflags and all its users.
29072 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29073 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29074
bb9510dc
DL
29075 [BZ #10631]
29076 * malloc.c (malloc_printerr): Clarify error message.
29077
05699367
L
290782012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29079
29080 [BZ #14648]
29081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29082 Set bit_FMA_Usable if FMA is supported.
29083 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29084 macro.
29085 (bit_FMA4_Usable): Updated.
29086 (index_FMA_Usable): New macro.
29087 (CPUID_FMA): Likewise
29088 (HAS_FMA): Defined with bit_FMA_Usable.
29089
51367701
RM
290902012-10-01 Roland McGrath <roland@hack.frob.com>
29091
29092 * bits/types.h (__swblk_t): Type removed.
29093 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29094 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29095 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29096 (__SWBLK_T_TYPE): Likewise.
29097 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29098 (__SWBLK_T_TYPE): Likewise.
29099 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29100 (__SWBLK_T_TYPE): Likewise.
29101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29102 (__SWBLK_T_TYPE): Likewise.
29103
4d57bf63 291042012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29105 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29106
29107 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29108 (xdr_mapname): Use YPMAXMAP as maxsize.
29109 (xdr_peername): Use YPMAXPEER as maxsize.
29110 (xdr_keydat): Use YPAXRECORD as maxsize.
29111 (xdr_valdat): Use YPMAXRECORD as maxsize.
29112
93c65d43
RM
291132012-10-01 Roland McGrath <roland@hack.frob.com>
29114
497a03d6
RM
29115 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29116
93c65d43
RM
29117 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29118 * csu/init-first.c: ... here.
29119 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29120 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29121 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29122 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29123 * sysdeps/i386/init-first.c: File removed.
29124 * sysdeps/sh/init-first.c: File removed.
29125
bec749fd
JM
291262012-10-01 Joseph Myers <joseph@codesourcery.com>
29127
29128 [BZ #14645]
29129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29130 if x * y might underflow to zero and z is zero.
29131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29133 * math/libm-test.inc (min_subnorm_value): New variable.
29134 (fma_test): Add more tests.
29135 (fma_test_towardzero): Likewise.
29136 (fma_test_downward): Likewise
29137 (fma_test_upward): Likewise.
29138 (initialize): Set min_subnorm_value.
29139
8ec5b013
JM
291402012-09-29 Joseph Myers <joseph@codesourcery.com>
29141
29142 [BZ #14638]
29143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29144 0 + 0.
29145 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29146 mode for addition resulting in exact zero.
29147 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29149 exact 0 + 0.
29150 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29151 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29152 * math/libm-test.inc (fma_test): Add more tests.
29153 (fma_test_towardzero): New function.
29154 (fma_test_downward): Likewise.
29155 (fma_test_upward): Likewise.
29156 (main): Call the new functions.
29157
b1fa802e
DM
291582012-09-28 David S. Miller <davem@davemloft.net>
29159
29160 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29161
d3b9fd9e
RM
291622012-09-28 Roland McGrath <roland@hack.frob.com>
29163
ea4d37b3
RM
29164 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29165 instead of SIGALRM.
29166
ac51c949
RM
29167 * sysdeps/gnu/_G_config.h: Moved to ...
29168 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29169 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29170 * sysdeps/generic/_G_config.h: ... here.
29171
28c195f7
RM
29172 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29173
848917f9
RM
29174 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29175
6bacf05b
RM
29176 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29177 Conditionalize target on [libnss_test1.so-version].
29178
91363dbb
RM
29179 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29180
cc87f7d8
RM
29181 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29182 (elfobjdir): Move out of conditionals.
29183
b1c608fe
RM
29184 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29185 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29186 (__nss_lookup_function): Conditionalize label remove_from_tree on
29187 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29188
1d9a6d96
DM
291892012-09-28 David S. Miller <davem@davemloft.net>
29190
29191 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29192 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29193 file.
29194 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29195 sysdep_routines.
29196 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29198 when HWCAP_SPARC_CRYPTO is present.
29199
72581615
PT
292002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29201
29202 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29203
715a900c
JL
292042012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29205
29206 [BZ #6530]
29207 * stdio-common/vfprintf.c (process_string_arg): Revert
29208 2000-07-22 change.
29209
292102011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29211
29212 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29213 for testcase.
29214 * stdio-common/tst-sprintf.c: Include <locale.h>
29215 (main): Test sprintf's handling of incomplete multibyte
29216 characters.
29217
9bac1d86
L
292182012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29219
29220 * elf/dl-runtime.c (VERSYMIDX): Removed.
29221 * elf/dl-version.c (VERSYMIDX): Likewise.
29222 * elf/do-rel.h (VERSYMIDX): Likewise.
29223 (VALIDX): Likewise.
29224 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29225 * elf/rtld.c (VALIDX): Likewise.
29226 (ADDRIDX): Likewise.
9bac1d86
L
29227 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29228 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29229 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29230 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29231 (VALIDX): Likewise.
29232 (ADDRIDX): Likewise.
9bac1d86 29233
b31606c0
PT
292342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29235
29236 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29237
11541177
JL
292382012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29239
29240 [BZ #11438]
29241 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29242 to global scope.
29243 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29244 addresses are in the same scope as 192.0.2/24.
29245 * posix/gai.conf: Document new scope table defaults.
29246
adb26fae
SP
292472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29248
29249 [BZ #5298]
29250 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29251 for ftell. Compute offsets from write pointers instead.
29252 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29253
4573c6b0
SP
292542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29255
29256 [BZ #14543]
29257 * libio/Makefile (tests): New test case tst-fseek.
29258 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29259 combination works in wide mode.
29260 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29261 state when the external buffer state changes.
29262
aa9bbfe6
DM
292632012-09-27 David S. Miller <davem@davemloft.net>
29264
29265 [BZ #14376]
29266 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29267 pass reloc->r_addend in as the 'high' argument to
29268 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29269
784421e7
DM
29270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29271
c39bc8b8
PT
292722012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29273
29274 * rt/tst-aio2.c: Include <pthread.h>.
29275 * rt/tst-aio3.c: Likewise.
29276
1ccc2399
SE
292772012-09-27 Steve Ellcey <sellcey@mips.com>
29278
29279 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29280
31ed4153
L
292812012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29282
25f5f885
L
29283 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29284 contents on [SHARED].
31ed4153 29285
b7bfe116
MP
292862012-09-26 Marek Polacek <polacek@redhat.com>
29287
29288 [BZ #14530]
29289 [BZ #13741]
29290 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29291 for C++ and GCC <4.3 as well as for non GCC compilers.
29292
43c4edba
MT
292932012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29294
29295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29296
6a1bf82f
RM
292972012-09-25 Roland McGrath <roland@hack.frob.com>
29298
29299 * Makefile.in (all, install): Declare with .PHONY.
29300 Reported by Michael Hope <michael.hope@linaro.org>.
29301
8ad11b9a
TMQMF
293022012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29303
29304 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29305 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29306 system header.
29307 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29308 Likewise.
29309 (sydep_routines): Add the new and the internal functions.
29310 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29311 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29313 (GLIBC_2.17): Add the new function.
29314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29315 (GLIBC_2.17): Likewise.
29316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29317 (GLIBC_2.17): Likewise.
29318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29319 (GLIBC_2.17): Likewise.
29320 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29321
7e2fca8d
AM
293222012-09-25 Alan Modra <amodra@gmail.com>
29323
29324 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29325 Add release barrier before setting once_control to say
29326 initialisation is done. Add hints on lwarx. Use macro in
29327 place of isync.
29328 (clear_once_control): Add release barrier.
29329
b87c4b24
JM
293302012-09-25 Joseph Myers <joseph@codesourcery.com>
29331
d032e0d2
JM
29332 [BZ #13629]
29333 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29334 specially.
29335 * math/s_clog10.c (__clog10): Likewise.
29336 * math/s_clog10f.c (__clog10f): Likewise.
29337 * math/s_clog10l.c (__clog10l): Likewise.
29338 * math/s_clogf.c (__clogf): Likewise.
29339 * math/s_clogl.c (__clogl): Likewise.
29340 * math/Makefile (libm-calls): Add x2y2m1.
29341 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29342 (__x2y2m1): Likewise.
29343 (__x2y2m1l): Likewise.
29344 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29345 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29346 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29347 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29348 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29349 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29350 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29351 * sysdeps/i386/fpu/libm-test-ulps: Update.
29352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29353
b87c4b24
JM
29354 [BZ #14621]
29355 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29356 int as type of variable DEPTH.
29357 (glob): Use size_t instead of int as type of variables NEWCOUNT
29358 and OLD_PATHC.
29359
6d3bf199
LD
293602012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29361
22bf5c17
LD
29362 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29363 Add s_sincosf-sse2.
29364 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29365 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29366 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29367 macros for using routine as __sincosf_ia32.
29368 Use macro for function declaration and weak_alias.
29369 * sysdeps/i386/fpu/libm-test-ulps: Update.
29370
29371 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29373
29374 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
29375 subnormal argument.
29376 * math/s_cexpf.c (__cexpf): Likewise.
29377 * math/s_csinf.c (__csinf): Likewise.
29378 * math/s_csinhf.c (__csinhf): Likewise.
29379 * math/s_ctanf.c (__ctanf): Likewise.
29380 * math/s_ctanhf.c (__ctanhf): Likewise.
29381 * math/s_ccosh.c (__ccoshf): Likewise.
29382 * math/s_cexp.c (__cexpl): Likewise.
29383 * math/s_csin.c (__csin): Likewise.
29384 * math/s_csinh.c (__csinh): Likewise.
29385 * math/s_ctan.c (__ctan): Likewise.
29386 * math/s_ctanh.c (ctanh): Likewise.
29387 * math/s_ccoshl.c (__ccoshl): Likewise.
29388 * math/s_cexpl.c (__cexpl): Likewise.
29389 * math/s_csinl.c (__csinl): Likewise.
29390 * math/s_csinhl.c (__csinhl): Likewise.
29391 * math/s_ctanl.c (__ctanl): Likewise.
29392 * math/s_ctanhl.c (__ctanhl): Likewise.
29393
203e5603
JM
293942012-09-25 Joseph Myers <joseph@codesourcery.com>
29395
29396 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29397 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29398 (_IO_off_t): Define to __off_t, not _G_off_t.
29399 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29400 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29401 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29402 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29403 type of __dummy and __dummy2 fields.
29404 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29405 (_G_ssize_t): Likewise.
29406 (_G_off_t): Likewise.
29407 (_G_pid_t): Likewise.
29408 (_G_uid_t): Likewise.
29409 (_G_wchar_t): Likewise.
29410 (_G_wint_t): Likewise.
29411 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29412 (_G_ssize_t): Likewise.
29413 (_G_off_t): Likewise.
29414 (_G_pid_t): Likewise.
29415 (_G_uid_t): Likewise.
29416 (_G_wchar_t): Likewise.
29417 (_G_wint_t): Likewise.
29418 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29419 (_G_ssize_t): Likewise.
29420 (_G_off_t): Likewise.
29421 (_G_pid_t): Likewise.
29422 (_G_uid_t): Likewise.
29423 (_G_wchar_t): Likewise.
29424 (_G_wint_t): Likewise.
29425
9fab36eb
SP
294262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29427
29428 * malloc/arena.c: Include malloc-sysdep.h.
29429 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29430 is sufficient to shrink the heap or an unmap is needed.
29431 * sysdeps/generic/malloc-sysdep.h: New file. Define
29432 new function check_may_shrink_heap.
29433 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29434 new function check_may_shrink_heap.
29435
2b4f00d1
SP
294362012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29437
29438 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29439 comments.
29440
9a9028b1
DL
294412012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29442
57c69bef
DL
29443 * catgets/test-gencat.sh: Add "set -e".
29444 * elf/tst-pathopt.sh: Likewise.
29445 * grp/tst_fgetgrent.sh: Likewise.
29446 * iconvdata/run-iconv-test.sh: Likewise.
29447 * intl/tst-gettext.sh: Likewise.
29448 * intl/tst-gettext2.sh: Likewise.
29449 * intl/tst-gettext4.sh: Likewise.
29450 * intl/tst-gettext6.sh: Likewise.
29451 * intl/tst-translit.sh: Likewise.
29452 * io/ftwtest-sh: Likewise.
29453 * libio/test-freopen.sh: Likewise.
29454 * malloc/tst-mtrace.sh: Likewise.
29455 * posix/globtest.sh: Likewise.
29456 * posix/tst-getconf.sh: Likewise.
29457 * posix/wordexp-tst.sh: Likewise.
29458 * stdio-common/tst-printf.sh: Likewise.
29459 * stdio-common/tst-unbputc.sh: Likewise.
29460 * stdlib/tst-fmtmsg.sh: Likewise.
29461 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29462 * catgets/Makefile: Do not specify -e option when running
29463 testsuite shell scripts.
29464 * elf/Makefile: Likewise.
29465 * grp/Makefile: Likewise.
29466 * iconvdata/Makefile: Likewise.
29467 * intl/Makefile: Likewise.
29468 * io/Makefile: Likewise.
29469 * libio/Makefile: Likewise.
29470 * malloc/Makefile: Likewise.
29471 * posix/Makefile: Likewise.
29472 * stdio-common/Makefile: Likewise.
29473 * stdlib/Makefile: Likewise.
29474 * sysdeps/x86_64/Makefile: Likewise.
29475
9a9028b1
DL
29476 * io/ftwtest-sh: Add copyright header.
29477 * posix/globtest.sh: Likewise.
29478 * posix/tst-getconf.sh: Likewise.
29479 * posix/wordexp-tst.sh: Likewise.
29480 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29481
ced6f16e
L
294822012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29483
94b32c39
L
29484 [BZ #13679]
29485 * Makeconfig (+link): Defined as $(+link-static) if
29486 $(build-shared) isn't yes.
29487 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29488 isn't yes.
29489 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29490
189e935b
L
29491 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29492
ced6f16e
L
29493 [BZ #14562]
29494 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29495 new chunk size with MALLOC_ALIGN_MASK.
29496
a9f8e53a
JM
294972012-09-24 Joseph Myers <joseph@codesourcery.com>
29498
29499 [BZ #5044]
29500 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29501 <rounding-mode.h>.
29502 (__printf_fphex): Determine rounding using get_rounding_mode and
29503 round_away.
29504 * stdio-common/tst-printf-round.c (struct hex_test): New
29505 structure.
29506 (hex_tests): New variable.
29507 (test_hex_in_one_mode): New function.
29508 (do_test): Also run tests for hex float output.
29509
43153109
JM
295102012-09-21 Joseph Myers <joseph@codesourcery.com>
29511
29512 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29513 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29514 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29515 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29516 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29517 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29518 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29519 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29520
8a26625d
JM
295212012-09-20 Joseph Myers <joseph@codesourcery.com>
29522
29523 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29524 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29525 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29526 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29527
f3fd569c
DL
295282012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29529
29530 [BZ #14579]
29531 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29532 mode only.
29533 * elf/tst-rtld-load-self.sh: New test.
29534 * elf/Makefile: Run it.
29535
63bbedd4
JM
295362012-09-18 Joseph Myers <joseph@codesourcery.com>
29537
29538 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29539 (tst-writev-ENV): Remove.
29540 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29541
626f8b6a
CM
295422012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29543
29544 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29545
b7aaa4d6
JM
295462012-09-17 Joseph Myers <joseph@codesourcery.com>
29547
29548 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29549 unconditional.
29550 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29551 Likewise.
29552 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29553 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29554 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29555 Likewise.
29556
65513990
L
295572012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29558
29559 [BZ #14587]
29560 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29561 * config.make.in (have-cpp-asm-debuginfo): Removed.
29562 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29563 * configure: Regenerated.
29564
784761be
JM
295652012-09-14 Joseph Myers <joseph@codesourcery.com>
29566
29567 [BZ #5044]
29568 * stdio-common/printf_fp.c: Include <stdbool.h> and
29569 <rounding-mode.h>.
29570 (___printf_fp): Determine rounding using get_rounding_mode and
29571 round_away.
29572 * stdio-common/tst-printf-round.c: New file.
29573 * stdio-common/Makefile (tests): Add tst-printf-round.
29574 (link-libm): New variable.
29575 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29576
9503345f
L
295772012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29578
29579 [BZ #14576]
29580 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29581 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29582 Likewise.
29583 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29584 Likewise.
29585
ad35fc00
JM
295862012-09-13 Joseph Myers <joseph@codesourcery.com>
29587
29588 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29589 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29590 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29591 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29592
6c9b0f68
JM
295932012-09-12 Joseph Myers <joseph@codesourcery.com>
29594
29595 [BZ #14518]
29596 * include/rounding-mode.h: New file.
29597 * sysdeps/generic/get-rounding-mode.h: Likewise.
29598 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29599 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29600 (MAX_VALUE): New macro.
29601 (MIN_VALUE): Likewise.
29602 (overflow_value): New function.
29603 (underflow_value): Likewise.
29604 (round_and_return): Use overflow_value and underflow_value to
29605 determine return values in overflow and underflow cases. Use
29606 round_away to determine rounding depending on rounding mode.
29607 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29608 determine return values in overflow and underflow cases.
29609 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29610 (struct test_results): New structure.
29611 (struct test): Use struct test_results to store expected results
29612 for all rounding modes.
29613 (TEST): Include expected results for all rounding modes.
29614 (test_in_one_mode): New function.
29615 (do_test): Use test_in_one_mode to compute and check results.
29616 Check results for all rounding modes.
29617 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29618 $(link-libm).
29619
19fcedd5
AM
296202012-12-09 Allan McRae <allan@archlinux.org>
29621
1e9d84cd 29622 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29623
8bbfd2f1
JM
296242012-09-11 Joseph Myers <joseph@codesourcery.com>
29625
29626 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29627 (_G_int32_t): Likewise.
29628 (_G_uint16_t): Likewise.
29629 (_G_uint32_t): Likewise.
29630 (_G_HAVE_BOOL): Likewise.
29631 (_G_HAVE_ATEXIT): Likewise.
29632 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29633 (_G_HAVE_IO_FILE_OPEN): Likewise.
29634 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29635 (_G_int32_t): Likewise.
29636 (_G_uint16_t): Likewise.
29637 (_G_uint32_t): Likewise.
29638 (_G_HAVE_BOOL): Likewise.
29639 (_G_HAVE_ATEXIT): Likewise.
29640 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29641 (_G_HAVE_IO_FILE_OPEN): Likewise.
29642 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29643 (_G_int32_t): Likewise.
29644 (_G_uint16_t): Likewise.
29645 (_G_uint32_t): Likewise.
29646 (_G_HAVE_BOOL): Likewise.
29647 (_G_HAVE_ATEXIT): Likewise.
29648 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29649 (_G_HAVE_IO_FILE_OPEN): Likewise.
29650
b1dc5912
L
296512012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29652
29653 * csu/libc-tls.c: Update copyright years.
29654
0e886ef9
JM
296552012-09-10 Joseph Myers <joseph@codesourcery.com>
29656
28361c5e
JM
29657 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29658 [!_G_USING_THUNKS]: Remove conditional code.
29659 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29660 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29661
0e886ef9
JM
29662 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29663 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29664 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29665 (_G_VTABLE_LABEL_PREFIX): Likewise.
29666 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29667 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29668 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29669 (_G_VTABLE_LABEL_PREFIX): Likewise.
29670 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29671 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29672 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29673 (_G_VTABLE_LABEL_PREFIX): Likewise.
29674 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29675
bcba7aa2
L
296762012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29677
29678 * libio/Makefile: Include ../Makeconfig before tests.
29679 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29680 only if $(build-shared) is yes.
29681
06585ee8
L
29682 * iconv/gconv_db.c: Update copyright years.
29683
80ccd52c
LD
296842012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29685
29686 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29687 unwind info if defined PIC. Fix special cases description.
29688 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29689
29690 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29691 DP_HI_MASK entry.
29692 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29693
691bc9c1
L
296942012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29695
3d9b46b3
L
29696 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29697
de2139a9
L
29698 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29699 is NULL.
29700
5ca78dd0
L
29701 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29702 (LDLIBS-tst-chk4): This.
29703 (LDFLAGS-tst-chk5): Renamed to ...
29704 (LDLIBS-tst-chk5): This.
29705 (LDFLAGS-tst-chk6): Renamed to ...
29706 (LDLIBS-tst-chk6): This.
29707 (LDFLAGS-tst-lfschk4): Renamed to ...
29708 (LDLIBS-tst-lfschk4): This.
29709 (LDFLAGS-tst-lfschk5): Renamed to ...
29710 (LDLIBS-tst-lfschk5): This.
29711 (LDFLAGS-tst-lfschk6): Renamed to ...
29712 (LDLIBS-tst-lfschk6): This.
29713
691bc9c1
L
29714 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29715 on $(common-objpfx)soversions.mk.
29716
65cafb1c
JM
297172012-09-07 Joseph Myers <joseph@codesourcery.com>
29718
29719 [BZ #10014]
29720 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29721 example host name.
29722
c78ab094
SP
297232012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29724
29725 * malloc/arena.c (arena_get_retry): New function that gets
29726 another arena for the caller to try its request on.
29727 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29728 current arena cannot fulfill the request.
29729 (__libc_memalign): Likewise.
29730 (__libc_memalign): Likewise.
29731 (__libc_pvalloc): Likewise.
29732 (__libc_calloc): Likewise.
29733
01f49f59
JT
297342012-09-05 John Tobey <john.tobey@gmail.com>
29735
29736 [BZ #13542]
29737 * manual/arith.texi (Operations on Complex): Fix description
29738 of carg branch cut.
29739
4c23fed5
JM
297402012-09-06 Joseph Myers <joseph@codesourcery.com>
29741
1d3c8572
JM
29742 [BZ #10014]
29743 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29744 host name.
29745
4c23fed5
JM
29746 [BZ #10038]
29747 * manual/memory.texi (Memory): Make order of menu items match
29748 order of sections.
29749
04570aaa
L
297502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29751
29752 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29753 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29754 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29755
b80af2f4
L
297562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29757
29758 * csu/libc-tls.c (static_dtv): Renamed to ...
29759 (_dl_static_dtv): This. Make it global.
29760 (_dl_initial_dtv): Removed.
29761 (__libc_setup_tls): Updated.
29762 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29763 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29764 DL_INITIAL_DTV.
29765
2abe9f15
PM
297662012-09-06 Petr Machata <pmachata@redhat.com>
29767
29768 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29769 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29770 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29771 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29772
0948c3af
L
297732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29774
29775 [BZ #14545]
29776 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29777 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29778 freeing dtv[-1].
29779
a5055ad1
L
297802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29781
29782 [BZ #14544]
29783 * Makeconfig (link-static-before-libc): Replace $(+prector)
29784 with $(+prectorT).
29785 (link-static-after-libc): Replace $(+postctor) with
29786 $(+postctorT).
29787 (link-bounded): Replace $(+prector)/$(+postctor) with
29788 $(+prectorT)/$(+postctorT).
29789 (+prectorT): New macro.
29790 (+postctorT): Likewise.
29791
ed8c2ecd
JM
297922012-09-06 Joseph Myers <joseph@codesourcery.com>
29793
29794 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29795 (round_str): Handle values above the maximum for IBM long double
29796 as inexact.
29797 * stdlib/tst-strtod-round.c (tests): Regenerated.
29798
14c996c8
AK
297992012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29800
29801 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29802 assembler flag.
29803 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29804 zarch_nohighgprs around the zarch optimized routines.
29805 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29806 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29807 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29808 for zarch.
29809
430d6ce6
DM
298102012-09-05 David S. Miller <davem@davemloft.net>
29811
29812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29813
57f41c40
AS
29814 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29815 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29816 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29817 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29818 entries.
29819
24d4e01b
AO
298202012-09-05 Alexandre Oliva <aoliva@redhat.com>
29821
29822 * malloc/arena.c: Fold copyright years.
29823 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29824
61d58174
AO
298252012-09-05 Alexandre Oliva <aoliva@redhat.com>
29826
29827 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29828
20196a5e
AO
298292012-09-05 Alexandre Oliva <aoliva@redhat.com>
29830
29831 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29832
5c447383
AO
298332012-09-05 Alexandre Oliva <aoliva@redhat.com>
29834
29835 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29836 change internal state upon failure.
29837
fad64255
AO
298382012-09-05 Alexandre Oliva <aoliva@redhat.com>
29839
29840 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29841 * malloc/memusage.c (mmap): Likewise.
29842 (mmap64, mremap): Likewise. Adjust name in comment.
29843
1ffb8c90
SP
298442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29845
29846 * libio/fileops.c: Fix typos in comments.
29847 * libio/oldfileops.c: Likewise.
29848 * libio/wfileops.c: Likewise.
29849
6ef9cc37
SP
298502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29851
29852 [BZ #1349]
29853 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29854 (tst-malloc-usable-ENV): Set environment for test case.
29855 * malloc/hooks.c (malloc_check_get_size): New function to get
29856 requested size.
29857 * malloc/malloc.c (musable): Use malloc_check_get_size.
29858 * malloc/tst-malloc-usable.c: New test case.
29859
4d038ae3
AS
298602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29861
29862 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29863
c4e85184
AM
298642012-09-05 Allan McRae <allan@archlinux.org>
29865
b9dafc56 29866 [BZ #13966]
c4e85184
AM
29867 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29868 determine header location.
29869 * configure: Regenerated.
29870
e1343020
AS
298712012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29872
29873 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29874 float format.
29875 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
29876 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29877 format.
e1343020
AS
29878 (test): Regenerate.
29879
0a9f1987
DM
298802012-09-04 David S. Miller <davem@davemloft.net>
29881
29882 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29883 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29884 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29885
29237804
FW
298862012-09-04 Florian Weimer <fweimer@redhat.com>
29887
29888 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29889 failures.
29890
edb3cb88
FW
29891 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29892
60160d83
JM
298932012-09-04 Joseph Myers <joseph@codesourcery.com>
29894
29895 [BZ #9914]
29896 * libio/iogetdelim.c: Include <limits.h>.
29897 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29898 + len + 1 would overflow.
29899
bcd6c8dc
AJ
299002012-09-03 Andreas Jaeger <aj@suse.de>
29901
29902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29903 * sysdeps/i386/fpu/libm-test-ulps: Update.
29904
4ffffbd2
LD
299052012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29906
29907 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29908 Add s_sinf-sse2, s_conf-sse2.
29909
29910 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29911 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29912 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29913 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29914
29915 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29916 for using routine as __sinf_ia32.
29917 Use macro for function declaration and weak_alias.
29918 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29919 for using routine as __cosf_ia32.
29920 Use macro for function declaration and weak_alias.
29921
29922 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29923 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29924
29925 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29926 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29928
29929 * math/libm-test.inc (cos_test): Add more test cases.
29930 (sin_test): Likewise.
29931 (sincos_test): Likewise.
29932
511fa286
AK
299332012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29934
29935 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29936 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29937 hidden.
29938 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29939
5f30cfec
L
299402012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29941
29942 [BZ #14538]
29943 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29944 first element of the GOT.
29945 (elf_machine_load_address): Return the difference between
29946 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29947
0786794f
AM
299482012-09-01 Allan McRae <allan@archlinux.org>
29949
5f30cfec
L
29950 [BZ #13412]
29951 * configure.in (AWK): Require gawk version 3.0 or later.
29952 * configure: Regenerated.
0786794f 29953
26889eac
JM
299542012-09-01 Joseph Myers <joseph@codesourcery.com>
29955
29956 * sysdeps/unix/sysv/linux/kernel-features.h
29957 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29959 [__NR_clock_getres]: Make code unconditional.
29960 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29961 (clock_getcpuclockid): Remove code left unreachable by removal of
29962 conditionals.
29963 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29964 code unconditional.
29965 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29966 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29967 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29968 Make code unconditional.
29969 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29970 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29971 * sysdeps/unix/sysv/linux/clock_settime.c
29972 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29973 conditional code.
29974 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29975 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29976
d22e28b0
L
299772012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29978
29979 [BZ #14476]
29980 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29981 scripts/test-installation.pl.
29982
29983 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29984 and $ld_so_version if it is set.
29985
050af9c4
SP
299862012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29987
29988 [BZ #14516]
29989 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29990 failure if reading from procfs failed.
29991 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29992
ad845c0b
JM
299932012-08-27 Joseph Myers <joseph@codesourcery.com>
29994
29995 * sysdeps/unix/sysv/linux/kernel-features.h
29996 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29997 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29998 Remove conditional code.
29999 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30000 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30001 Remove conditional code.
30002 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30003 * sysdeps/unix/sysv/linux/i386/fxstat.c
30004 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30005 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30006 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30007 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30008 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30009 * sysdeps/unix/sysv/linux/i386/lxstat.c
30010 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30011 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30012 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30013 Remove conditional code.
30014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30015 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30016 Remove conditional code.
30017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30018 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30019 <kernel-features.h>.
30020 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30021 Remove.
30022 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30023 Remove conditional code.
30024 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30025 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30026 Remove conditional.
30027
5dbf56af
MF
300282012-08-27 Mike Frysinger <vapier@gentoo.org>
30029
30030 [BZ #5400]
30031 * NEWS: Add fixed bug number.
30032
d6e70f43
JM
300332012-08-27 Joseph Myers <joseph@codesourcery.com>
30034
7efb4737
JM
30035 [BZ #14519]
30036 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30037 underflowing exponent in case of negative sign.
30038 * stdlib/tst-strtod-round-data: Add more tests.
30039 * stdlib/tst-strtod-round.c (tests): Regenerated.
30040
af92131a
JM
30041 [BZ #3479]
30042 * stdlib/strtod_l.c (NDIG): Remove.
30043 (HEXNDIG): Likewise.
30044 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30045 smallest representable value.
30046 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30047 lie within an exact representation of 1/2 ulp of the result.
30048 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30049 unconditionally.
30050 (TENS_P9_IDX): Define unconditionally.
30051 (TENS_P9_SIZE): Likewise.
30052 (TENS_P10_IDX): Likewise.
30053 (TENS_P10_SIZE): Likewise.
30054 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30055 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30056 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30057 entries for 10^2^13 and 10^2^14.
30058 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30059 (TENS_P13_IDX): Define.
30060 (TENS_P13_SIZE): Likewise.
30061 (TENS_P14_IDX): Likewise.
30062 (TENS_P14_SIZE): Likewise.
30063 (_fpioconst_pow10): Change array size to
30064 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30065 unconditional.
30066 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30067 1024]: Add entries for 10^2^13 and 10^2^14.
30068 [LAST_POW10 > _LAST_POW10]: Remove #error.
30069 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30070 (_fpioconst_pow10): Change array size to
30071 FPIOCONST_POW10_ARRAY_SIZE.
30072 * stdlib/gen-fpioconst.c: New file.
30073 * stdlib/gen-tst-strtod-round.c: Likewise.
30074 * stdlib/tst-strtod-round-data: Likewise.
30075 * stdlib/tst-strtod-round.c: Likewise.
30076 * stdlib/Makefile (tests): Add tst-strtod-round.
30077
d6e70f43
JM
30078 [BZ #14459]
30079 * stdlib/strtod_l.c: Include <stdint.h>.
30080 (NDEBUG): Do not define.
30081 (round_and_return): Change EXPONENT parameter to type intmax_t.
30082 Rearrange calculations to avoid internal overflow possibilities.
30083 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30084 Rearrange calculations to avoid internal overflow possibilities.
30085 Assert that number fits inside MPNSIZE limbs.
30086 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30087 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30088 calculations and add assertions to avoid internal overflow
30089 possibilities. Add casts to avoid signed/unsigned operations.
30090 * stdlib/tst-strtod-overflow.c: New file.
30091 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30092
1f529f7d
MP
300932012-08-25 Marek Polacek <polacek@redhat.com>
30094
30095 * time/time.h: Fix some typos in comments.
30096
59a629f1
RM
300972012-08-23 Roland McGrath <roland@hack.frob.com>
30098
30099 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30100 * posix/tst-rfc3484-2.c: Likewise.
30101 * posix/tst-rfc3484-3.c: Likewise.
30102
d3bafbc9
SM
301032012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30104
30105 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30106 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30107
4efcc022
JM
301082012-08-23 Joseph Myers <joseph@codesourcery.com>
30109
30110 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30111 #include of fxstatat64.c.
30112
3cc3ef96
RM
301132012-08-22 Roland McGrath <roland@hack.frob.com>
30114
f04e2132
RM
30115 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30116 * shadow/getspent_r.c: Likewise.
30117 * shadow/getspnam.c: Likewise.
30118 * shadow/getspnam_r.c: Likewise.
30119 * gshadow/getsgent.c: Likewise.
30120 * gshadow/getsgent_r.c: Likewise.
30121 * gshadow/getsgnam.c: Likewise.
30122 * gshadow/getsgnam_r.c: Likewise.
30123 * inet/getnetbyad.c: Likewise.
30124 * inet/getnetbyad_r.c: Likewise.
30125 * inet/getnetbynm.c: Likewise.
30126 * inet/getnetbynm_r.c: Likewise.
30127 * inet/getnetent.c: Likewise.
30128 * inet/getnetent_r.c: Likewise.
30129 * inet/getproto.c: Likewise.
30130 * inet/getproto_r.c: Likewise.
30131 * inet/getprtent.c: Likewise.
30132 * inet/getprtent_r.c: Likewise.
30133 * inet/getprtname.c: Likewise.
30134 * inet/getprtname_r.c: Likewise.
30135 * inet/getrpcbyname.c: Likewise.
30136 * inet/getrpcbyname_r.c: Likewise.
30137 * inet/getrpcbynumber.c: Likewise.
30138 * inet/getrpcbynumber_r.c: Likewise.
30139 * inet/getrpcent.c: Likewise.
30140 * inet/getrpcent_r.c: Likewise.
30141 * inet/getaliasent.c: Likewise.
30142 * inet/getaliasent_r.c: Likewise.
30143 * inet/getaliasname.c: Likewise.
30144 * inet/getaliasname_r.c: Likewise.
30145 * nscd/getgrgid_r.c: Likewise.
30146 * nscd/getgrnam_r.c: Likewise.
30147 * nscd/gethstbyad_r.c: Likewise.
30148 * nscd/gethstbynm3_r.c: Likewise.
30149 * nscd/getpwnam_r.c: Likewise.
30150 * nscd/getpwuid_r.c: Likewise.
30151 * nscd/getsrvbynm_r.c: Likewise.
30152 * nscd/getsrvbypt_r.c: Likewise.
30153 * nscd/gai.c: Likewise.
30154
c53d909c
RM
30155 * configure.in (build_nscd): New substituted variable, set
30156 by --disable-build-nscd and defaults to $use_nscd.
30157 * configure: Regenerated.
30158 * config.make.in (build-nscd): New substituted variable.
30159 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30160 Change conditional to require [$(build-nscd) = yes] as well.
30161 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30162
3cc3ef96
RM
30163 [BZ# 13696]
30164 * configure.in (use_nscd): New substituted variable, set by
30165 --disable-nscd. If enabled, define USE_NSCD.
30166 * configure: Regenerated.
30167 * config.h.in: Add USE_NSCD.
30168 * config.make.in (use-nscd): New substituted variable.
30169 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30170 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30171 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30172 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30173 (CFLAGS-getgrnam_r.c): Likewise.
30174 (CFLAGS-initgroups.c): Likewise.
30175 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30176 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30177 Variables removed.
30178 * inet/getnetgrent_r.c
30179 (nscd_setnetgrent): New function, broken out of ...
30180 (setnetgrent): ... here. Call it.
30181 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30182 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30183 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30184 * nscd/Makefile (routines, aux): Move definitions after include of
30185 Makeconfig. Conditionalize on [$(use-nscd) != no].
30186 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30187 Conditionalize on [USE_NSCD].
30188 (is_nscd, nscd_init_cb): Likewise.
30189 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30190 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30191 * nss/nss_db/db-init.c: Likewise.
30192 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30193 [USE_NSCD].
30194 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30195 (make_request): Use it.
30196 (cache_valid_p): New function.
30197 (__check_pf): Use it.
30198 * NEWS: Add item for --disable-nscd.
30199
07e51550
DL
302002012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30201
30202 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30203 to support sed >= 4.2.1-20-ga9bf076.
30204 * configure: Regenerated.
30205
35a5b08b
RM
302062012-08-22 Roland McGrath <roland@hack.frob.com>
30207
30208 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30209 Conditionalize whole body on [IREL].
30210
8479f23a
JL
302112012-08-22 Jeff Law <law@redhat.com>
30212
30213 [BZ #14505]
30214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30215 if the family is PF_UNSPEC.
30216
48da0b21
MF
302172012-08-22 Mike Frysinger <vapier@gentoo.org>
30218
30219 * Makerules (lib-version): Rename from V.
30220 (install-lib-nosubdir): Change V to lib-version.
30221
15d0da8c
WS
302222012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30223
30224 [BZ #14252]
30225 * powerpc32/power6/wcschr.c: New file.
30226 * powerpc32/power6/wcscpy.c: New file.
30227 * powerpc32/power6/wcsrchr.c: New file.
30228 * powerpc64/power6/wcschr.c: New file.
30229 * powerpc64/power6/wcscpy.c: New file.
30230 * powerpc64/power6/wcsrchr.c: New file.
30231
bcca0895
MK
302322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30233
30234 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30235 (two_way_short_needle): Use it.
5a4aaa33
RM
30236 * string/strstr.c (AVAILABLE1_USES_J): Define.
30237 * string/strcasestr.c: Likewise.
99677e57
MK
30238
30239 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30240 array references.
30241 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30242
400726de
MK
30243 [BZ #11607]
30244 * NEWS: Add an entry.
30245 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30246 define their defaults.
30247 (two_way_short_needle): Detect end-of-string on-the-fly.
30248 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30249 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30250 * string/bug-strcasestr1.c: New test.
30251 * string/Makefile: Run it.
30252
20a71f2c
MK
302532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30254
30255 [BZ #11607]
30256 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30257 the first character.
30258
21ad0558
RM
302592012-08-21 Roland McGrath <roland@hack.frob.com>
30260
30261 * csu/elf-init.c (__libc_csu_irel): Function removed.
30262 * csu/libc-start.c (apply_irel): New function.
30263 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30264
0e1d9911
JM
302652012-08-21 Joseph Myers <joseph@codesourcery.com>
30266
30267 * sysdeps/unix/sysv/linux/kernel-features.h
30268 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30269 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30270 <kernel-features.h>.
30271 [__NR_fadvise64_64]: Make code unconditional.
30272 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30273 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30274 !__NR_fadvise64_64)]: Likewise.
30275 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30276 !__NR_fadvise64_64))]: Likewise.
30277 [__NR_fadvise64]: Make code unconditional.
30278 [!__NR_fadvise64]: Remove conditional code.
30279 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30280 <kernel-features.h>.
30281 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30282 unconditional.
30283 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30284 conditional code.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30286 not include <kernel-features.h>.
30287 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30288 unconditional.
30289 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30290 conditional code.
30291 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30292 include <kernel-features.h>.
30293 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30294 unconditional.
30295 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30296 conditional code.
30297
14a50c9d
WS
302982012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30299
30300 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30301 slight instruction rearrangements per scrollpipe analysis.
30302 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30303
c0f4faf0
RM
303042012-08-20 Roland McGrath <roland@hack.frob.com>
30305
696da859
RM
30306 * manual/syslog.texi (syslog; vsyslog, closelog):
30307 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30308 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30309
c0f4faf0
RM
30310 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30311 DSOCAPS to match condition on defining it.
30312
348363b2
JM
303132012-08-20 Joseph Myers <joseph@codesourcery.com>
30314
a35cbf28
JM
30315 * sysdeps/unix/sysv/linux/kernel-features.h
30316 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30318 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30319 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30321 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30322 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30324 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30325 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30326
445f7ecd
JM
30327 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30328 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30329
348363b2
JM
30330 * sysdeps/unix/sysv/linux/kernel-features.h
30331 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30332 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30333 unconditional.
30334 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30335 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30336 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30337 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30338 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30339 Make code unconditional.
30340 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30341 (__mmap64) [!__NR_mmap2]: Likewise.
30342 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30343 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30344 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30345 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30346 [__NR_mmap2]: Make code unconditional.
30347 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30348 (__mmap64) [!__NR_mmap2]: Likewise.
30349
bc5bc0e5
AK
303502012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30351
30352 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30353
88d506de
AJ
303542012-08-18 Andreas Jaeger <aj@suse.de>
30355
30356 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30357
493387d2
MF
303582012-08-18 Mike Frysinger <vapier@gentoo.org>
30359
30360 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30361 * include/unistd.h (__have_sock_cloexec): Likewise.
30362 (__have_pipe2): Likewise.
30363 (__have_dup3): Likewise.
30364
a277af22
MF
303652012-08-18 Mike Frysinger <vapier@gentoo.org>
30366
30367 [BZ #9685]
30368 * include/unistd.h (__have_pipe2): Change define into an extern int.
30369 (__have_dup3): Likewise.
30370 * socket/have_sock_cloexec.c: Include fcntl.h.
30371 (__have_pipe2): New variable.
30372 (__have_dup3): Likewise.
30373
fdab8fd3
MF
303742012-08-17 Mike Frysinger <vapier@gentoo.org>
30375
30376 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30377
31035e80
MP
303782012-08-17 Marek Polacek <polacek@redhat.com>
30379
30380 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30381 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30382
3bd9e993
RM
303832012-08-17 Roland McGrath <roland@hack.frob.com>
30384
c91c505f
RM
30385 * configure.in: Add AC_SUBST for sysheaders.
30386 * configure: Regenerated.
30387 * config.make.in (sysheaders): New substituted variable.
30388
7c6f9d53
RM
30389 * sysdeps/unix/mkfifo.c: Moved ...
30390 * sysdeps/posix/mkfifo.c: ... here.
30391 * sysdeps/unix/mkfifoat.c: Moved ...
30392 * sysdeps/posix/mkfifoat.c: ... here.
30393
30394 * sysdeps/unix/utime.c: Moved ...
30395 * sysdeps/posix/utime.c: ... here.
30396
30397 * sysdeps/unix/time.c: Moved ...
30398 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
30399 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30400 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
30401
30402 * sysdeps/unix/nice.c: Moved ...
30403 * sysdeps/posix/nice.c: ... here.
30404
30405 * sysdeps/unix/alarm.c: Moved ...
30406 * sysdeps/posix/alarm.c: ... here.
30407
3bd9e993
RM
30408 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30409
d1f09384
JL
304102012-08-17 Jeff Law <law@redhat.com>
30411
30412 * intl/Makefile (codeset_mo): New variable.
30413 ($(codeset_mo)): New target.
30414 (tst-codeset.out): Depend on that. Remove explicit rule.
30415 (tst-gettext3.out, tst-gettext5.out): Likewise.
30416 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30417 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30418 * intl/tst-codeset.sh: Remove.
30419 * intl/tst-gettext3.sh: Likewise.
30420 * intl/tst-gettext5.sh: Likewise.
30421
2ae1ae5c
RM
304222012-08-17 Roland McGrath <roland@hack.frob.com>
30423
c31fdb83
RM
30424 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30425 * sysdeps/unix/syscalls.list: ... here.
30426
a0844057
RM
30427 * sysdeps/posix/getaddrinfo.c
30428 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30429 (gaiconf_init, gaiconf_reload): Use them.
30430 [!_STATBUF_ST_NSEC]
30431 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30432 Define using time_t rather than struct timespec.
30433
750c1f2a
RM
30434 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30435 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30436 Macros removed.
30437 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30438 [!NO_THREADS].
30439 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30440 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30441 Likewise.
30442
2ae1ae5c
RM
30443 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30444 __libc_cleanup_push argument.
30445
e66a42f5
RM
30446 * bits/param.h: New file.
30447 * misc/sys/param.h: New file.
30448 * include/sys/param.h: New file.
30449 * misc/Makefile (headers): Add bits/param.h.
30450 * sysdeps/generic/sys/param.h: File removed.
30451 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30452 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30453 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30454 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30455
b7c08a66
RM
30456 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30457 last change.
30458
b2e1c562
RM
30459 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30460 [_IO_MTSAFE_IO].
30461 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30462 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30463 New macros.
30464
c75ccd4c
RM
30465 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30466 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30467 rather than -D_IO_MTSAFE_IO conditionally.
30468 * stdio-common/Makefile (CPPFLAGS): Likewise.
30469 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30470 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30471 Use $(libio-mtsafe).
30472 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30473 of -D_IO_MTSAFE_IO.
30474 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30475 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30476 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30477 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30478 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30479 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30480 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30481 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30482 (CFLAGS-fread_u_chk.c): Likewise.
30483 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30484 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30485 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30486 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30487 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30488 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30489 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30490 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30491 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30492
30493 * libio/Makefile: Test [$(libc-reentrant) = yes]
30494 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30495
30496 * Makeconfig
30497 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30498 * sysdeps/pthread/configure: File removed.
30499 * sysdeps/pthread/Makeconfig: New file.
30500 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30501 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30502
d9195db8
GB
305032012-08-16 Gary Benson <gbenson@redhat.com>
30504
30505 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30506 unmapping the first object in a namespace.
30507
86466cd9
RM
305082012-08-16 Roland McGrath <roland@hack.frob.com>
30509
30510 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30511 (__internal_setnetgrent): ... this. Add internal_function to
30512 definition. Add libc_hidden_def.
30513 (setnetgrent): Update caller.
30514 (internal_endnetgrent): Renamed to ...
30515 (__internal_endnetgrent): ... this. Add internal_function to
30516 definition. Add libc_hidden_def.
30517 (endnetgrent): Update caller.
30518 (internal_getnetgrent_r): Renamed to ...
30519 (__internal_getnetgrent_r): ... this. Add internal_function to
30520 definition. Add libc_hidden_def.
30521 (__getnetgrent_r): Update caller.
30522 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30523
c3c8283c
JM
305242012-08-16 Joseph Myers <joseph@codesourcery.com>
30525
30526 * stdlib/longlong.h: Update from GCC.
30527
db1ee0a8
RM
305282012-08-16 Roland McGrath <roland@hack.frob.com>
30529
30530 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30531 on _QL, which is set by umul_ppmm but never used.
30532 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30533 variables, which are set by GMP macros but never used.
30534 * stdio-common/_itowa.c (_itowa): Likewise.
30535 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30536 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30537
30f69637
CD
305382012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30539
30540 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30541 struct La_sh_regs is not constant.
30542 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30543 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30544 and struct La_sparc64_regs are not constant.
30545
93a78ac4
JM
305462012-08-16 Joseph Myers <joseph@codesourcery.com>
30547
30548 * sysdeps/unix/sysv/linux/kernel-features.h
30549 (__ASSUME_POSIX_TIMERS): Remove.
30550 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30551 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30552 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30553 Make code unconditional.
30554 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30555 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30556 Make code unconditional.
30557 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30558 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30559 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30560 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30561 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30562 Make code unconditional.
30563 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30564 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30565 (__libc_missing_posix_timers): Remove.
30566
dd924cd7
RM
305672012-08-15 Roland McGrath <roland@hack.frob.com>
30568
4b4f2771
RM
30569 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30570 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30571
601c888b
RM
30572 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30573
176790a7
RM
30574 * elf/dl-sym.c: Include <stdlib.h>.
30575
329bc018
RM
30576 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30577 constants, which avoids warnings in 32-bit builds.
30578
e04e272d
RM
30579 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30580 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30581
952bf94a
RM
30582 * misc/lseek.c: File moved to ...
30583 * io/lseek.c: ... here.
30584
7c99b50a
RM
30585 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30586
dd924cd7
RM
30587 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30588 shifting LEN more than 31 bits at once.
30589
b3f479a8
LD
305902012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30591
30592 [BZ #14195]
8c4ae0d4
RM
30593 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30594 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30595 * string/test-strncasecmp.c (check1): Renamed to...
30596 (bz12205): ...this.
30597 (bz14195): Add new testcase for two empty input strings and N > 0.
30598 (test_main): Call new testcase, adapt for renamed function.
30599
9c55864e
AJ
306002012-08-15 Andreas Jaeger <aj@suse.de>
30601
30602 [BZ #14090]
30603 * crypt/md5test2.c: New test, based on test supplied by Serge
30604 Belyshev <belyshev@depni.sinp.msu.ru>.
30605 * crypt/Makefile (xtests): Add md5test-giant..
30606 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30607
02dcb6c5
PE
306082012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30609
30610 [BZ #14090]
30611 * crypt/md5.c (md5_process_block): Don't assume the buffer
30612 length is less than 2**32.
30613 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30614 length is less than 2**64.
30615
a3f95dcc
RM
306162012-08-15 Roland McGrath <roland@hack.frob.com>
30617
be75d758
RM
30618 * string/str-two-way.h: Include <sys/param.h>.
30619 (MAX): Macro removed.
30620
7312ca90
RM
30621 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30622 Move #define and #undef of memmove to just before and after
30623 including <string.h>.
30624
9a0a5486
RM
30625 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30626 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30627 and after including <string.h>. Move declarations of
30628 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30629 to before #include "string/memmove.c".
30630
67cc348d
RM
30631 * include/dirent.h: Declare __getdirentries.
30632
a3f95dcc
RM
30633 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30634 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30635
ca98e171
MF
306362012-08-14 Mike Frysinger <vapier@gentoo.org>
30637
30638 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30639 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30640 * sysdeps/i386/configure: Regenerated.
30641 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30642 STABS_CURRENT_FILE, and STABS_FUN.
30643 (END): Remove call to STABS_FUN_END.
30644 (STABS_CURRENT_FILE1): Delete.
30645 (STABS_CURRENT_FILE): Likewise.
30646 (STABS_FUN): Likewise.
30647 (STABS_FUN_END): Likewise.
30648 (STABS_FUN2): Likewise.
30649 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30650 * sysdeps/x86_64/configure: Regenerated.
30651
5908bf46
RM
306522012-08-14 Roland McGrath <roland@hack.frob.com>
30653
30654 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30655 * elf/dl-lookup.c: Likewise.
5908bf46 30656
f2c05b9e
JM
306572012-08-14 Joseph Myers <joseph@codesourcery.com>
30658
30659 * sysdeps/unix/sysv/linux/kernel-features.h
30660 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30661 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30662 unconditionally.
30663 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30664 unconditionally.
30665 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30666 condition on __ASSUME_CLONE_THREAD_FLAGS.
30667
e11f5155
AJ
306682012-08-14 Andreas Jaeger <aj@suse.de>
30669
30670 * sysdeps/i386/fpu/libm-test-ulps: Update.
30671
51a9ba86
MK
306722012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30673
2fdd4f78
AJ
30674 * include/atomic.h (atomic_exchange_and_add): Split into ...
30675 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30676 New atomic macros.
51a9ba86 30677
ba6cba9e
MT
306782012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30679
30680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30681
42443a47
JL
306822012-08-13 Jeff Law <law@redhat.com>
30683
30684 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30685 null byte in the output string.
30686
121dce05
JM
306872012-08-10 Joseph Myers <joseph@codesourcery.com>
30688
30689 * sysdeps/unix/sysv/linux/kernel-features.h
30690 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30691 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30692 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30693 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30694 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30695 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30696 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30697
bf51f568
JL
306982012-08-09 Jeff Law <law@redhat.com>
30699
30700 [BZ #13939]
30701 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30702 When avoid_arena is set, don't retry in the that arena. Pick the
30703 next one, whatever it might be.
30704 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30705 (arena_lock): Pass in new parameter to arena_get2.
30706 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30707 arena_get2.
30708 (__libc_malloc): Unify retrying after main arena failure with
30709 __libc_memalign version.
30710 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30711
f85fa270
L
307122012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30713
30714 [BZ #14166]
30715 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30716 to __redirect_strstr.
30717 (__strstr_sse42): Use typeof __redirect_strstr.
30718 (__strstr_ia32): Likewise.
30719 (__libc_strstr): New prototype.
30720 (strstr): Renamed to ...
30721 (__libc_strstr): This.
30722 (strstr): New strong alias of __libc_strstr.
30723 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30724 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30725 __redirect_time.
30726 Include <time.h>.
30727 (__libc_time): New prototype.
30728 (time_ifunc): Replace time with __libc_time.
30729 (time): New strong alias and hidden definition of __libc_time.
30730 (__GI_time): Remove strong alias.
30731 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30732 Include <stddef.h>.
30733 (memmove): Redefined to __redirect_memmove.
30734 (__memmove_sse2): Use typeof __redirect_memmove.
30735 (__memmove_ssse3): Likewise.
30736 (__memmove_ssse3_back): Likewise.
30737 (__libc_memmove): New prototype.
30738 (memmove): Renamed to ...
30739 (__libc_memmove): This.
30740 (memmove): New strong alias of __libc_memmove.
30741
33b4a91e
MS
307422012-08-08 Mark Salter <msalter@redhat.com>
30743
30744 * elf/elf.h
30745 (R_MN10300_TLS_GD): Define.
30746 (R_MN10300_TLS_LD): Likewise.
30747 (R_MN10300_TLS_LDO): Likewise.
30748 (R_MN10300_TLS_GOTIE): Likewise.
30749 (R_MN10300_TLS_IE): Likewise.
30750 (R_MN10300_TLS_LE): Likewise.
30751 (R_MN10300_TLS_DTPMOD): Likewise.
30752 (R_MN10300_TLS_DTPOFF): Likewise.
30753 (R_MN10300_TLS_TPOFF): Likewise.
30754 (R_MN10300_SYM_DIFF): Likewise.
30755 (R_MN10300_ALIGN): Likewise.
30756 (R_MN10300_NUM): Update.
30757
b36137f1
JM
307582012-08-08 Joseph Myers <joseph@codesourcery.com>
30759
30760 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30761 Remove.
30762
cdd915fd
RM
307632012-08-08 Roland McGrath <roland@hack.frob.com>
30764
a2433aac
RM
30765 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30766
cdd915fd
RM
30767 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30768 sysdeps/unix -> sysdeps/posix move.
30769 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30770
bf9b740a
AM
307712012-08-07 Allan McRae <allan@archlinux.org>
30772
30773 [BZ #14303]
30774 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30775 (SUNOS_CPP): Likewise.
30776 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30777 not found.
30778 (open_input): Call CPP using execvp.
30779
93df14ee
JM
307802012-08-07 Joseph Myers <joseph@codesourcery.com>
30781
30782 * sysdeps/unix/sysv/linux/kernel-features.h
30783 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30784 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30785 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30786 (__ASSUME_WAITID_SYSCALL): Likewise.
30787 * sysdeps/unix/sysv/linux/dl-execstack.c
30788 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30789 code unconditional.
30790 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30791 conditional code.
30792 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30793 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30794 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30795 code.
30796 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30797 unconditional.
30798 [__ASSUME_WAITID_SYSCALL]: Likewise.
30799 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30800
d34689de
RM
308012012-08-07 Roland McGrath <roland@hack.frob.com>
30802
a281decc
RM
30803 * sysdeps/unix/closedir.c: Renamed to ...
30804 * sysdeps/posix/closedir.c: ... here.
30805 * sysdeps/unix/dirfd.c: Renamed to ...
30806 * sysdeps/posix/dirfd.c: ... here.
30807 * sysdeps/unix/dirstream.h: Renamed to ...
30808 * sysdeps/posix/dirstream.h: ... here.
30809 * sysdeps/unix/fdopendir.c: Renamed to ...
30810 * sysdeps/posix/fdopendir.c: ... here.
30811 * sysdeps/unix/opendir.c: Renamed to ...
30812 * sysdeps/posix/opendir.c: ... here.
30813 * sysdeps/unix/readdir.c: Renamed to ...
30814 * sysdeps/posix/readdir.c: ... here.
30815 * sysdeps/unix/readdir_r.c: Renamed to ...
30816 * sysdeps/posix/readdir_r.c: ... here.
30817 * sysdeps/unix/rewinddir.c: Renamed to ...
30818 * sysdeps/posix/rewinddir.c: ... here.
30819 * sysdeps/unix/seekdir.c: Renamed to ...
30820 * sysdeps/posix/seekdir.c: ... here.
30821 * sysdeps/unix/telldir.c: Renamed to ...
30822 * sysdeps/posix/telldir.c: ... here.
30823 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30824 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30825 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30826 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30827
22895b47
RM
30828 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30829 * bits/fcntl.h: ... here.
30830
707a53b6
RM
30831 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30832 not 0.
30833 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30834 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30835 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30836 (struct flock): Move l_start, l_len to the beginning.
30837 Use __pid_t for l_pid.
30838 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30839 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30840 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30841 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30842 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30843 [__USE_LARGEFILE64] (struct flock64): New type.
30844 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30845
f0bd3e25
RM
30846 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30847 * bits/dirent.h: ... here.
30848
d34689de
RM
30849 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30850 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30851
6dad2c06
JM
308522012-08-07 Joseph Myers <joseph@codesourcery.com>
30853
30854 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30855 Change from 2.6.0 to 2.6.16.
30856 * sysdeps/unix/sysv/linux/configure: Regenerated.
30857 * sysdeps/unix/sysv/linux/kernel-features.h
30858 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30859 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30860 version.
30861 (__ASSUME_UTIMES): Likewise.
30862 (__ASSUME_CLONE_STOPPED): Remove.
30863 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30864 architectures, not kernel version.
30865 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30866 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30867 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30868 (__ASSUME_WAITID_SYSCALL): Likewise.
30869 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30870 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30871 * README: State 2.6.16 as minimum Linux kernel version. Do not
30872 refer to older versions.
30873
03af9520
RM
308742012-08-06 Roland McGrath <roland@hack.frob.com>
30875
8e49df1d
RM
30876 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30877 Define alphasort64 as an alias.
30878 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30879 Define versionsort64 as an alias.
30880 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30881 Define scandir64 as an alias.
30882 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30883 Define scandirat64 as an alias.
30884 * dirent/alphasort64.c (alphasort64):
30885 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30886 * dirent/versionsort64.c: Likewise.
30887 * dirent/scandir64.c: Likewise.
30888 * dirent/scandirat64.c: Likewise.
30889 * sysdeps/wordsize-64/alphasort.c: File removed.
30890 * sysdeps/wordsize-64/alphasort64.c: File removed.
30891 * sysdeps/wordsize-64/scandir.c: File removed.
30892 * sysdeps/wordsize-64/scandir64.c: File removed.
30893 * sysdeps/wordsize-64/scandirat.c: File removed.
30894 * sysdeps/wordsize-64/scandirat64.c: File removed.
30895 * sysdeps/wordsize-64/versionsort.c: File removed.
30896 * sysdeps/wordsize-64/versionsort64.c: File removed.
30897 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30898 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30899 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30900 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30901 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30902 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30903 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30904 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30905
30906 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30908 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30910 [defined __arch64__ || defined __sparcv9]
30911 (__INO_T_MATCHES_INO64_T): New macro.
30912 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30913 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30914 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30915 * sysdeps/unix/sysv/linux/bits/dirent.h
30916 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30917 (_DIRENT_MATCHES_DIRENT64): New macro.
30918
03af9520
RM
30919 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30920 Define lockf64 as an alias.
30921 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30922 Define fseeko64 as an alias.
30923 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30924 Define ftello64 as an alias.
30925 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30926 Define _IO_fgetpos64 and fgetpos64 as aliases.
30927 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30928 Define _IO_fsetpos64 and fsetpos64 as aliases.
30929 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30930 Conditionalize body on this.
30931 * libio/fseeko64.c: Likewise.
30932 * libio/ftello64.c: Likewise.
30933 * libio/iofgetpos64.c: Likewise.
30934 * libio/iofsetpos64.c: Likewise.
30935 * sysdeps/wordsize-64/lockf.c: File removed.
30936 * sysdeps/wordsize-64/lockf64.c: File removed.
30937 * sysdeps/wordsize-64/fseeko.c: File removed.
30938 * sysdeps/wordsize-64/fseeko64.c: File removed.
30939 * sysdeps/wordsize-64/ftello.c: File removed.
30940 * sysdeps/wordsize-64/ftello64.c: File removed.
30941 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30942 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30943 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30944 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30945 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30946 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30947 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30948 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30949 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30950 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30951 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30952 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30953 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30954 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30955
30956 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30957 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30958 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30960 [defined __arch64__ || defined __sparcv9]
30961 (__OFF_T_MATCHES_OFF64_T): New macro.
30962 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30963 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30964 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30965 (__OFF_T_MATCHES_OFF64_T): New macro.
30966
c5757acd
L
309672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30968
30969 * stdlib/secure-getenv.c (__secure_getenv): Replace
30970 GLIBC_2_16 with GLIBC_2_17.
30971
3a31811e
L
309722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30973
30974 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30975 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30976
faa2bccb
DM
309772012-08-03 David S. Miller <davem@davemloft.net>
30978
30979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30980
85fe1997
JM
309812012-08-03 Joseph Myers <joseph@codesourcery.com>
30982
30983 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30984 Remove.
30985 (__ASSUME_CORRECT_SI_PID): Likewise.
30986 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30987 (__ASSUME_TMPFS_NAME): Likewise.
30988 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30989 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30990 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30991 (HAVE_AUX_SECURE): Make definition unconditional.
30992 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30993 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30994
4f75b7a0
RM
309952012-08-03 Roland McGrath <roland@hack.frob.com>
30996
30997 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30998 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30999 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31000 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31001 __eloop_threshold instead of SYMLOOP_MAX.
31002
31003 * sysdeps/generic/eloop-threshold.h: New file.
31004 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31005 of MAXSYMLINKS.
31006 * elf/chroot_canon.c (chroot_canon): Likewise.
31007
7aab07e4
JM
310082012-08-03 Joseph Myers <joseph@codesourcery.com>
31009
31010 [BZ #13717]
31011 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31012 Change to 2.6.0 everywhere.
31013 * sysdeps/unix/sysv/linux/configure: Regenerated.
31014 * sysdeps/unix/sysv/linux/kernel-features.h
31015 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31016 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31017 kernel versions.
31018 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31019 (__ASSUME_FUTEX_REQUEUE): Remove.
31020 (__ASSUME_STATFS64): Define unconditionally.
31021 (__ASSUME_AT_SECURE): Likewise.
31022 (__ASSUME_CORRECT_SI_PID): Likewise.
31023 (__ASSUME_TGKILL): Define without depending on kernel version for
31024 i386.
31025 (__ASSUME_UTIMES): Likewise.
31026 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31027 kernel version.
31028 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31029 (__ASSUME_TMPFS_NAME): Likewise.
31030 * README: Update reference to Linux kernel versions.
31031
b67e9372
MP
310322012-08-02 Marek Polacek <polacek@redhat.com>
31033
1f529f7d 31034 [BZ# 14150]
b67e9372
MP
31035 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31036 libc_cv_asm_type_prefix with %.
31037 * configure: Regenerated.
d2441631
RM
31038 * include/libc-symbols.h: Remove comment about
31039 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31040 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31041 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31042 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31043 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31044 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31045 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31046 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31047 * elf/tst-unique2mod1.c: Likewise.
31048 * elf/tst-unique1mod2.c: Likewise.
31049 * elf/tst-unique1mod1.c: Likewise.
31050 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31051 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31052 Replace ASM_TYPE_DIRECTIVE with .type.
31053 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31054 * sysdeps/i386/sysdep.h: Likewise.
31055 * sysdeps/x86_64/sysdep.h: Likewise.
31056 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31058 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31059 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31060 * sysdeps/powerpc/powerpc32/sysdep.h:
31061 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31062 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31063 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31064 * sysdeps/i386/fpu/e_powf.S: Likewise.
31065 * sysdeps/i386/fpu/e_expl.S: Likewise.
31066 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31067 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31068 * sysdeps/i386/fpu/e_pow.S: Likewise.
31069 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31070 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31071 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31072 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31073 * sysdeps/i386/fpu/e_log2.S: Likewise.
31074 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31075 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31076 * sysdeps/i386/fpu/e_powl.S: Likewise.
31077 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31078 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31079 * sysdeps/i386/fpu/e_logl.S: Likewise.
31080 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31081 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31082 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31083 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31084 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31085 * sysdeps/i386/fpu/e_log.S: Likewise.
31086 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31087 * sysdeps/i386/fpu/e_logf.S: Likewise.
31088 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31089 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31090 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31091 * sysdeps/i386/fpu/e_log10.S: Likewise.
31092 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31093 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31094 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31095 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31096 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31097 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31098 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31099 * sysdeps/i386/i686/strtok.S: Likewise.
31100 * sysdeps/i386/i386-mcount.S: Likewise.
31101 * sysdeps/i386/strtok.S: Likewise.
31102 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31103 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31104 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31105 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31106 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31107 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31108 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31109 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31110 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31111 * sysdeps/x86_64/_mcount.S: Likewise.
31112 * sysdeps/x86_64/strtok.S: Likewise.
31113 * sysdeps/sh/_mcount.S: Likewise.
31114
2747bf9a
RM
311152012-08-01 Roland McGrath <roland@hack.frob.com>
31116
31117 * libio/iofopen.c: Include <fcntl.h>.
31118 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31119 (_IO_fopen64, fopen64): Define as aliases.
31120 * libio/iofopen64.c: Include <fcntl.h>.
31121 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31122 Conditionalize body on this.
31123 * sysdeps/wordsize-64/iofopen.c: File removed.
31124 * sysdeps/wordsize-64/iofopen64.c: File removed.
31125
3fb791b8
MP
311262012-08-01 Marek Polacek <polacek@redhat.com>
31127
31128 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31129 Use dlfcn directly instead of a variable.
31130 (binfmt-subdir): Do not define.
31131 (dlfcn): Likewise.
31132
a9f1039f
JM
311332012-08-01 Joseph Myers <joseph@codesourcery.com>
31134
23bddc06
JM
31135 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31136 Remove all definitions.
31137 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31138 <kernel-features.h>.
31139 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31140 (miss_F_GETOWN_EX): Remove all definitions.
31141 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31142 macro definition.
31143 [!__ASSUME_FCNTL64]: Remove conditional code.
31144 [__ASSUME_FCNTL64]: Make code unconditional.
31145 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31146 <kernel-features.h>.
31147 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31148 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31149 (lockf64) [__NR_fcntl64]: Make code unconditional.
31150 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31151
a9f1039f
JM
31152 * sysdeps/unix/sysv/linux/kernel-features.h
31153 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31154 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31155 Make code unconditional.
31156 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31157 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31159 [__NR_vfork]: Make code unconditional.
31160 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31161 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31163 [__NR_vfork]: Make code unconditional.
31164 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31165 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31166
09c0ee5f
RM
311672012-08-01 Roland McGrath <roland@hack.frob.com>
31168
48aec5b9
RM
31169 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31170 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31171
cd97c966
RM
31172 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31173 Define mkstemp64 as an alias.
3f55550c
RM
31174 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31175 Define mkstemps64 as an alias.
cd97c966
RM
31176 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31177 Define mkostemp64 as an alias.
b8625cfc
RM
31178 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31179 Define mkostemps64 as an alias.
cd97c966
RM
31180 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31181 Conditionalize body on this.
31182 * misc/mkostemp64.c: Likewise.
b8625cfc 31183 * misc/mkostemps64.c: Likewise.
3f55550c 31184 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31185 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31186 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31187 * sysdeps/wordsize-64/mkostemp.c: File removed.
31188 * sysdeps/wordsize-64/mkstemp.c: File removed.
31189 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31190 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31191 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31192 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31193
09c0ee5f
RM
31194 [BZ #14138]
31195 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31196 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31197 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31198 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31199
31200 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31201 compat_symbol macros from <shlib-compat.h> rather than the underlying
31202 default_symbol_version and symbol_version macros, so that DEFAULT
31203 lines in shlib-versions are respected.
31204 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31205
7e66ee51
FW
312062012-08-01 Florian Weimer <fweimer@redhat.com>
31207
31208 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31209 Declare with warn_unused_result.
31210 (setgid, setregid, setegid, setresgid): Likewise.
31211 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31212 Likewise.
31213 * WUR-REPORT: Remove set*id functions.
31214
d2a54255
PT
312152012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31216
31217 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31218
7ecdb005
RM
312192012-07-31 Roland McGrath <roland@hack.frob.com>
31220
b4180a5e 31221 [BZ #10191]
789bd351
RM
31222 * include/sys/socket.h (__libc_accept, __libc_accept4):
31223 Add attribute_hidden.
31224 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31225
40ce302d
RM
31226 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31227 use of PTR_MANGLE.
31228 * inet/getnetgrent_r.c (setup): Likewise.
31229
7ecdb005
RM
31230 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31231
e2eabb2c
DM
312322012-07-31 David S. Miller <davem@davemloft.net>
31233
31234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31235
d0419dbf
JM
312362012-07-31 Joseph Myers <joseph@codesourcery.com>
31237
31238 [BZ #13629]
31239 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31240 value between 1.0 and 2.0 and smaller part has absolute value less
31241 than 1.0.
31242 * math/s_clog10.c (__clog10): Likewise.
31243 * math/s_clog10f.c (__clog10f): Likewise.
31244 * math/s_clog10l.c (__clog10l): Likewise.
31245 * math/s_clogf.c (__clogf): Likewise.
31246 * math/s_clogl.c (__clogl): Likewise.
31247 * math/libm-test.inc (clog_test): Add more tests.
31248 (clog10_test): Likewise.
31249 * sysdeps/i386/fpu/libm-test-ulps: Update.
31250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31251
2bc13872
FW
312522012-07-31 Florian Weimer <fweimer@redhat.com>
31253
31254 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31255 Exit with zero in case no suitable GID is found, and write a
31256 message to standard error.
31257
bea9b193
RM
312582012-07-30 Roland McGrath <roland@hack.frob.com>
31259
31260 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31261 rather than to 1.
31262 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31263 (MAXPATHLEN): Removed.
31264 (NOGROUP, NODEV): New macros.
31265 (setbit, clrbit, isset, isclr): New macros.
31266 (howmany, roundup, powerof2): New macros.
31267 (DEV_BSIZE): New macro.
31268
31269 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31270 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31271
31272 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31273 definition on [!__NO_LONG_DOUBLE_MATH].
31274
31275 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31276 PTR_MANGLE and PTR_DEMANGLE.
31277
31278 * socket/accept4.c (accept4): Rename to __libc_accept4.
31279 Define accept4 as a weak alias.
31280
31281 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31282 on [_DIRENT_HAVE_D_TYPE].
31283 * io/ftw.c (ftw_dir): Likewise.
31284
31285 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31286
31287 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31288
31289 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31290 Use the BSD numbers rather than the arbitrary ones we had.
31291 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31292 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31293 (SIGXCPU, SIGXFSZ): New macros.
31294 (_NSIG): Now 32.
31295
31296 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31297 initializer on [_LIBC_REENTRANT].
31298
31299 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31300 definitions inside [_POSIX_MAPPED_FILES].
31301
31302 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31303
31304 * dirent/opendir.c: Include <fcntl.h>.
31305
31306 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31307 (__libc_getspecific): Likewise.
31308 (__libc_key_create): Likewise.
31309
31310 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31311 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31312 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31313 (tmpfile64): Define as alias.
31314 * sysdeps/wordsize-64/tmpfile.c: File removed.
31315 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31316 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31317 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31318
31319 * stdio-common/vfscanf.c: Include <stdbool.h>.
31320 * nss/makedb.c: Likewise.
31321 * stdio-common/_i18n_number.h: Likewise.
31322 * argp/argp-help.c: Likewise.
31323 * posix/wordexp.c: Likewise.
31324 * sysdeps/posix/spawni.c: Likewise.
31325 * nss/nss_files/files-initgroups.c: Likewise.
31326 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31327 * nss/nss_files/files-initgroups.c: Likewise.
31328 * nss/nss_db/db-netgrp.c: Likewise.
31329 * nss/nss_db/db-initgroups.c: Likewise.
31330 * io/fchmodat.c: Include <sys/stat.h>.
31331
31332 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31333 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31334
31335 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31336 [HAVE_MMAP].
31337
31338 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31339 Add multiple inclusion protection.
31340
e5abc686
DM
313412012-07-27 David S. Miller <davem@davemloft.net>
31342
31343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31344
815e6fa3
GB
313452012-07-27 Gary Benson <gbenson@redhat.com>
31346
31347 [BZ #14298]
31348 * elf/rtld.c: Include <stap-probe.h>.
31349 (dl_main): Added static probes "init_start" and "init_complete".
31350 * elf/dl-load.c: Include <stap-probe.h>.
31351 (lose): Take new parameter "nsid".
31352 Added static probe "map_failed".
31353 (_dl_map_object_from_fd): Pass namespace id to lose.
31354 Added static probe "map_start".
31355 (open_verify): Pass namespace id to lose.
31356 * elf/dl-open.c: Include <stap-probe.h>.
31357 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31358 and "reloc_complete".
31359 * elf/dl-close.c: Include <stap-probe.h>.
31360 (_dl_close_worker): Added static probes "unmap_start" and
31361 "unmap_complete".
31362 * elf/rtld-debugger-interface.txt: New file documenting the above.
31363
9f98c16c
RM
313642012-07-26 Roland McGrath <roland@hack.frob.com>
31365
31366 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31367 rather than a string variable.
31368 * sunrpc/rpc_main.c (h_output): Likewise.
31369 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31370
f3c22df3
PT
313712012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31372
31373 * inet/check_native.c: New file.
31374
3129cfc6
JM
313752012-07-26 Joseph Myers <joseph@codesourcery.com>
31376
da865e95
JM
31377 [BZ #13629]
31378 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31379 if larger part has absolute value 1.0.
31380 * math/s_clog10.c (__clog10): Likewise.
31381 * math/s_clog10f.c (__clog10f): Likewise.
31382 * math/s_clog10l.c (__clog10l): Likewise.
31383 * math/s_clogf.c (__clogf): Likewise.
31384 * math/s_clogl.c (__clogl): Likewise.
31385 * math/libm-test.inc (clog_test): Add more tests.
31386 (clog10_test): Likewise.
31387 * sysdeps/i386/fpu/libm-test-ulps: Update.
31388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31389
3129cfc6
JM
31390 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31391 (pltexit): Likewise.
31392 (La_regs): Likewise.
31393 (La_retval): Likewise.
31394 (int_retval): Likewise.
31395 Update #error for removed macros to refer only to definitions in
31396 tst-audit.h.
31397 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31398 macro.
31399 (pltexit): Likewise.
31400 (La_regs): Likewise.
31401 (La_retval): Likewise.
31402 (int_retval): Likewise.
31403 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31404 macro.
31405 (pltexit): Likewise.
31406 (La_regs): Likewise.
31407 (La_retval): Likewise.
31408 (int_retval): Likewise.
31409 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31410 macro.
31411 (pltexit): Likewise.
31412 (La_regs): Likewise.
31413 (La_retval): Likewise.
31414 (int_retval): Likewise.
31415 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31416 macro.
31417 (pltexit): Likewise.
31418 (La_regs): Likewise.
31419 (La_retval): Likewise.
31420 (int_retval): Likewise.
31421 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31422 macro.
31423 (pltexit): Likewise.
31424 (La_regs): Likewise.
31425 (La_retval): Likewise.
31426 (int_retval): Likewise.
31427 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31428 macro.
31429 (pltexit): Likewise.
31430 (La_regs): Likewise.
31431 (La_retval): Likewise.
31432 (int_retval): Likewise.
31433 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31434 macro definitions in tst-audit.h.
31435 * sysdeps/i386/tst-audit.h: New file.
31436 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31437 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31438 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31439 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31440 * sysdeps/sh/tst-audit.h: Likewise.
31441 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31442 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31443 * sysdeps/x86_64/tst-audit.h: Likewise.
31444
bfc07087
AJ
314452012-07-26 Andreas Jaeger <aj@suse.de>
31446
b1b2aaf8
AJ
31447 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31448 ptrace.
31449
31450 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31451 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31452 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31453 PTRACE_O_MASK.
31454 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31455 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31456 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31457
bfc07087
AJ
31458 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31459 value.
31460
31461 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31462 _sigsys.
31463 (si_call_addr, si_syscall, si_arch): Define new macro.
31464 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31465 _sigsys.
31466 (si_call_addr, si_syscall, si_arch): Define new marcro.
31467 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31468 _sigsys.
31469 (si_call_addr, si_syscall, si_arch): Define new macro.
31470 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31471 _sigsys.
31472 (si_call_addr, si_syscall, si_arch): Define new macro.
31473
89b4b02f
JM
314742012-07-25 Joseph Myers <joseph@codesourcery.com>
31475
31476 [BZ #13717]
31477 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31478 Change to 2.4.21 where previously 2.4.1.
31479 * sysdeps/unix/sysv/linux/configure: Regenerated.
31480 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31481 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31482 Linux kernel version.
31483 (__ASSUME_STD_AUXV): Remove.
31484 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31485 kernel version.
31486 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31487 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31488 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31489 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31490 (__ASSUME_NETLINK_SUPPORT): Likewise.
31491 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31492 (__no_netlink_support): Remove conditional definition.
31493 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31494 Remove.
31495 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31496 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31497 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31498 (if_nameindex_ioctl): Remove.
31499 (if_nameindex_netlink): Do not handle __no_netlink_support.
31500 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31501 code.
31502 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31503 Remove conditional code.
31504 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31505 code.
31506 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31507 unconditional.
31508 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31509 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31510 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31511 Remove.
31512 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31513 [!__ASSUME_STD_AUXV]: Remove conditional code.
31514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31515 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31516 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31518 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31519 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31520 code.
31521 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31523 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31524 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31525 conditional code.
31526 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31528 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31529 code.
31530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31531 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31532 conditional code.
31533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31534 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31535 code unconditional.
31536 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31537 conditional code.
31538 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31539 unconditional.
31540 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31541 conditional code.
31542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31543 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31544 unconditional.
31545 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31546 conditional code.
31547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31548 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31549 code unconditional.
31550 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31551 conditional code.
31552 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31553 unconditional.
31554 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31555 conditional code.
31556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31557 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31558 code unconditional.
31559 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31560 conditional code.
31561 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31562 unconditional.
31563 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31564 conditional code.
31565
842a39cd
AS
315662012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31567
31568 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31569 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31570 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31571 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31572 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31573 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31574 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31575 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31576 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31577 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31578 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31579 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31580 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31581 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31582 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31583 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31584 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31586 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31588 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31589 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31590 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31591
84b3fd84
FW
315922012-07-25 Florian Weimer <fweimer@redhat.com>
31593
31594 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31595 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31596 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31597 Introduce __libc_secure_getenv.
0c7936d5
FW
31598 * stdlib/Versions (2.17): Add secure_getenv
31599 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31600 * stdlib/secure-getenv.c: Rename __secure_getenv to
31601 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31602 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31603 * stdlib/tst-secure-getenv.c: New.
31604 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31605 * manual/startup.texi (Environment Access): Document
31606 secure_getenv.
84b3fd84
FW
31607 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31608 __libc_secure_getenv.
31609 * inet/ruserpass.c (ruserpass): Likewise.
31610 * malloc/mtrace.c (mtrace): Likewise.
31611 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31612 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31613 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31614 * sysdeps/posix/tempname.c: Likewise. Evaluate
31615 HAVE_SECURE_GETENV.
31616 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31617 __secure_getenv to __libc_secure_getenv.
84b3fd84 31618 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31620 Likewise.
31621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31622 Likewise.
31623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31630
56e49b71
JM
316312012-07-25 Joseph Myers <joseph@codesourcery.com>
31632
31633 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31634 (struct La_i86_retval): Likewise.
31635 (struct La_x86_64_regs): Likewise.
31636 (struct La_x86_64_retval): Likewise.
31637 (struct La_x32_regs): Likewise.
31638 (struct La_x32_retval): Likewise.
31639 (struct La_ppc32_regs): Likewise.
31640 (struct La_ppc32_retval): Likewise.
31641 (struct La_ppc64_regs): Likewise.
31642 (struct La_ppc64_retval): Likewise.
31643 (struct La_sh_regs): Likewise.
31644 (struct La_sh_retval): Likewise.
31645 (struct La_s390_32_regs): Likewise.
31646 (struct La_s390_32_retval): Likewise.
31647 (struct La_s390_64_regs): Likewise.
31648 (struct La_s390_64_retval): Likewise.
31649 (struct La_sparc32_regs): Likewise.
31650 (struct La_sparc32_retval): Likewise.
31651 (struct La_sparc64_regs): Likewise.
31652 (struct La_sparc64_retval): Likewise.
31653 (struct audit_ifaces): Remove architecture-specific pltenter and
31654 pltexit members.
31655 * sysdeps/i386/ldsodefs.h: New file.
31656 * sysdeps/powerpc/ldsodefs.h: Likewise.
31657 * sysdeps/s390/ldsodefs.h: Likewise.
31658 * sysdeps/sh/ldsodefs.h: Likewise.
31659 * sysdeps/sparc/ldsodefs.h: Likewise.
31660 * sysdeps/x86_64/ldsodefs.h: Likewise.
31661
354691b7
MP
316622012-07-25 Marek Polacek <polacek@redhat.com>
31663
31664 [BZ #6808]
31665 * math/libm-test.inc (yn_test): Add another test.
31666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31667 to ERANGE when the result is +-Inf.
31668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31669 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31670 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31671 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31672
bf9e2071
JM
316732012-07-24 Joseph Myers <joseph@codesourcery.com>
31674
31675 * conform/data/time.h-data (NULL): Use macro-constant. Require
31676 equal to 0.
31677 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31678 clock_t.
31679 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31680
57633811
TS
316812012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31682
31683 * configure.in <sysdeps resolving>: Correct printing
31684 Implies_before.
31685 * configure: Regenerate.
31686
c23c33b0
TS
316872012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31688
31689 * math/w_ilogb.c: Include <limits.h>.
31690 * math/w_ilogbl.c: Likewise.
31691
b5982523
JM
316922012-07-20 Joseph Myers <joseph@codesourcery.com>
31693
31694 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31695 va_copy. Document allowing for unavailable va_copy only as
31696 pre-C99 compatibility.
31697 * manual/string.texi (Copying and Concatenation): Use va_copy
31698 instead of __va_copy in concat example.
31699
ac4ea442
PT
317002012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31701
31702 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31703 (__sendto): Use create_address_port. Initialize APORT and deallocate
31704 it if not null.
31705
f98eafbd
PT
31706 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31707 with O_NOLINK passed to __file_name_lookup.
31708
898c7aab
PT
31709 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31710 with O_NOLINK passed to __file_name_lookup.
31711
0ced335a
PT
31712 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31713 negative N or less than NGIDS.
31714
b3404dbd
PT
31715 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31716 type to string_t. Set ERANGE as errno and return it if NAME is not big
31717 enough. Use memcpy instead of strncpy.
31718
0f48659e
JM
317192012-07-20 Joseph Myers <joseph@codesourcery.com>
31720
31721 * elf/Makefile (check-data): Remove.
31722 (localplt.data): New vpath directive.
31723 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31724 instead of $(check-data).
31725 * scripts/data/localplt-generic.data: Move to ...
31726 * sysdeps/generic/localplt.data: ... here.
31727 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31728 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31729 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31731 ... here.
31732 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31734 ... here.
31735 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31737 ... here.
31738 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31740 ... here.
31741 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31743 ... here.
31744 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31746 ... here.
31747
d37cbdaa
AZ
317482012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31749
31750 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31751 PPC32 and PPC64 files.
31752 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31753 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31754
46f85fc2
AK
317552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31756
31757 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31758 __makecontext_ret to ...
31759 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31760 ... here and call exit if uc_link is NULL. New file.
31761 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31762 __makecontext_ret.S.
31763 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31764 __makecontext_ret to ...
31765 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31766 ... here and call exit if uc_link is NULL. New file.
31767 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31768 __makecontext_ret.S.
31769
08f43f9b
AK
317702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31771
31772 * elf/elf.h (R_390_IRELATIVE): New definition.
31773 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31774 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31775 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31777 (elf_machine_lazy_rel): Likewise.
31778 * sysdeps/s390/dl-irel.h: New file.
31779 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31780 * sysdeps/s390/s390-64/memset.S: New asm code.
31781 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31782 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31783 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31784 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31785 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31786 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31787 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31788 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31789 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31790 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31791 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31792 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31793 * sysdeps/s390/s390-32/memset.S: New asm code.
31794 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31795
3b05db33
MP
317962012-07-17 Marek Polacek <polacek@redhat.com>
31797
31798 [BZ #14349]
31799 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31800 * sysdeps/s390/s390-64/configure.in: Likewise.
31801 * sysdeps/sparc/configure.in: Likewise.
31802 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31803 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31804 * sysdeps/i386/configure.in: Likewise.
31805 * sysdeps/x86_64/configure.in: Likewise.
31806 * sysdeps/sh/configure.in: Likewise.
31807 * sysdeps/s390/s390-32/configure: Regenerated.
31808 * sysdeps/s390/s390-64/configure: Likewise.
31809 * sysdeps/x86_64/configure: Likewise.
31810 * sysdeps/sh/configure: Likewise.
31811 * sysdeps/powerpc/powerpc64/configure: Likewise.
31812 * sysdeps/powerpc/powerpc32/configure: Likewise.
31813 * sysdeps/sparc/configure: Likwise.
31814 * sysdeps/i386/configure: Likewise.
31815
a66877c6
MP
31816 * elf/dl-open.c: Comment fixes.
31817
cfc82fd8
JM
318182012-07-17 Joseph Myers <joseph@codesourcery.com>
31819
bd29910a
JM
31820 * Makefile [CXX] (check-data): Remove.
31821 [CXX] (c++-types.data): New vpath directive.
31822 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31823 vpath. Do not allow for C++ type data being missing.
31824 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31825 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31826 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31827 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31828 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31829 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31830 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31832 ... here.
31833 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31835 ... here.
31836 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31838 ... here.
31839 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31841 ... here.
31842 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31844 ... here.
31845 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31847 ... here.
31848 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31850 ... here.
31851 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31853
cfc82fd8
JM
31854 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31855 definitions to architecture-specific files.
31856 (TLS_IE): Likewise.
31857 (TLS_LD): Likewise.
31858 (TLS_GD): Likewise.
31859 * sysdeps/i386/tls-macros.h: New file.
31860 * sysdeps/powerpc/tls-macros.h: Likewise.
31861 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31862 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31863 * sysdeps/sh/tls-macros.h: Likewise.
31864 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31865 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31866 * sysdeps/x86_64/tls-macros.h: Likewise.
31867
f7db3170
TS
318682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31869
07cbfc23
TS
31870 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31871 zero value for regular exit case.
31872
f7db3170
TS
31873 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31874 (__start_context): Preserve zero value for regular exit case.
31875
dc97c227
TS
318762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31877 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31878
31879 * manual/setjmp.texi (setcontext): Clarify normal process
31880 termination when uc_link is the null pointer.
31881 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31882 exit call.
31883
d0cd7d02
AS
318842012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31885
31886 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31887 preprocessor. Test for each exception mask separately.
31888
dd318934
AJ
318892012-07-16 Andreas Jaeger <aj@suse.de>
31890
31891 * po/ru.po: Update from translation team.
31892
8048311a
JM
318932012-07-15 Joseph Myers <joseph@codesourcery.com>
31894
31895 * conform/data/string.h-data (NULL): Use macro-constant. Require
31896 equal to 0.
31897 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31898 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31899 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31900 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31902
b637d46e
AJ
319032012-07-13 Andreas Jaeger <aj@suse.de>
31904
31905 * po/fr.po: Update from translation team.
31906
541428fe
MP
319072012-07-12 Marek Polacek <polacek@redhat.com>
31908
31909 [BZ #14173]
31910 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31911 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31912 loop condition.
31913
ec332e94
JM
319142012-07-12 Joseph Myers <joseph@codesourcery.com>
31915
31916 [BZ #13717]
31917 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31918 Change to 2.4.1 where previously 2.4.0.
31919 * sysdeps/unix/sysv/linux/configure: Regenerated.
31920 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31921 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31922 version.
31923 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31924 (__ASSUME_AT_CLKTCK): Remove.
31925 (__ASSUME_AT_PAGESIZE): Likewise.
31926 (__ASSUME_AT_XID): Likewise.
31927 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31928 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31929 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31930 unconditionally.
31931 (HAVE_AUX_PAGESIZE): Likewise.
31932 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31933 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31934 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31935
7b6e99be
JB
319362012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31937
31938 [BZ #14307]
31939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31940 the temporary buffer used to invoke __gethostbyname2_r,
31941 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31942 host_data / struct gaih_addrtuple.
31943 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31944 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31945 header file nss/nsswitch.h.
31946 * nss/nsswitch.h (global scope): Add definition of implementation
31947 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31948 resolv/nss_dns/dns-host.c).
31949
608404eb
AJ
319502012-07-11 Andreas Jaeger <aj@suse.de>
31951
31952 * po/fr.po: Update from translation team.
31953
71220aca
AJ
31954 * po/sv.po: Update from translation team
31955 * po/fr.po: Another update from translation team.
31956
28cfe843
AZ
319572012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31958
31959 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31960 for subnormals or multiply small sinh result by itself.
31961 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31963
6b90f981
DM
319642012-07-11 David S. Miller <davem@davemloft.net>
31965
31966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31967
c6825772
AS
319682012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31969
31970 [BZ #14347]
31971 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31972 (INTERNAL_MARK): Shift it here.
31973
7b8e0d49
MP
319742012-07-10 Marek Polacek <polacek@redhat.com>
31975
31976 [BZ #14151]
31977 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31978 libc_cv_asm_global_directive with .globl.
31979 * configure: Regenerated.
31980 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31981 with .globl.
31982 * sysdeps/i386/configure: Regenerated.
31983 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31984 with .globl.
31985 * sysdeps/x86_64/configure: Regenerated.
31986 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31987 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31988 * elf/tst-unique2mod2.c: Likewise.
31989 * elf/tst-unique2mod1.c: Likewise.
31990 * elf/tst-unique1mod2.c: Likewise.
31991 * elf/tst-unique1mod1.c: Likewise.
31992 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31993 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31994 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31995 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31996 * sysdeps/mach/sysdep.h: Likewise.
31997 * sysdeps/i386/sysdep.h: Likewise.
31998 * sysdeps/i386/i386-mcount.S: Likewise.
31999 * sysdeps/x86_64/_mcount.S: Likewise.
32000 * sysdeps/x86_64/sysdep.h: Likewise.
32001 * sysdeps/sh/_mcount.S: Likewise.
32002 * sysdeps/sh/sysdep.h: Likewise.
32003 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32004 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32005 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32006 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32007 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32008 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32009 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32010 * locale/localeinfo.h: Likewise.
32011 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32012 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32013
6c55cda3
RM
320142012-07-09 Roland McGrath <roland@hack.frob.com>
32015
32016 [BZ #14336]
32017 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32018 system".
32019 * manual/message.texi (The Uniforum approach): Likewise.
32020 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32021 (glibc iconv Implementation): Likewise.
32022
638a572e
JM
320232012-07-09 Joseph Myers <joseph@codesourcery.com>
32024
32025 [BZ #14337]
32026 * math/s_clog.c (__clog): Avoid scaling a value down where that
32027 could result in underflow.
32028 * math/s_clog10.c (__clog10): Likewise.
32029 * math/s_clog10f.c (__clog10f): Likewise.
32030 * math/s_clog10l.c (__clog10l): Likewise.
32031 * math/s_clogf.c (__clogf): Likewise.
32032 * math/s_clogl.c (__clogl): Likewise.
32033 * math/libm-test.inc (clog_test): Add more tests.
32034 (clog10_test): Likewise.
32035 * sysdeps/i386/fpu/libm-test-ulps: Update.
32036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32037
261f4859
AS
320382012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32039
0abaf3e4
AS
32040 [BZ #14283]
32041 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32042 by 7 not 8 to examine high bit of fractional part.
32043
261f4859
AS
32044 [BZ #14042]
32045 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32046 for call to __mcount_internal.
32047 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32048 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32049 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32050
f17ac40d
JM
320512012-07-06 Joseph Myers <joseph@codesourcery.com>
32052
9ad63c23
JM
32053 [BZ #14154]
32054 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32055 approximation for values within 0x1p-13f of an odd multiple of
32056 pi/4.
32057 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32058 exception. Add more tests.
32059 * sysdeps/i386/fpu/libm-test-ulps: Update.
32060
f17ac40d
JM
32061 [BZ #6778]
32062 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32063 inputs and return -1 for them. Do not check for +Inf in case not
32064 reachable for +Inf.
32065 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32066 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32067 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32068 and return -1 for them. Do not check for +Inf in case not
32069 reachable for +Inf.
32070 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32071 define.
32072 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32073 and return -1 for them. Do not check for +Inf in case not
32074 reachable for +Inf.
32075 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32076 spurious underflow.
32077 * sysdeps/i386/fpu/libm-test-ulps: Update.
32078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32079
fb21f89b
MF
320802012-07-06 Mike Frysinger <vapier@gentoo.org>
32081
32082 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32083
cdfe2c5e
JM
320842012-07-05 Joseph Myers <joseph@codesourcery.com>
32085
32086 [BZ #14157]
32087 [BZ #14331]
32088 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32089 could result in spurious underflow. Scale down values above
32090 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32091 * math/s_csqrtf.c (__csqrtf): Likewise.
32092 * math/s_csqrtl.c (__csqrtl): Likewise.
32093 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32094 spurious underflow.
32095 * sysdeps/i386/fpu/libm-test-ulps: Update.
32096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32097
70d35b67
AS
320982012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32099
704bc459
AS
32100 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32101 xopen-msg.sed.
32102 * catgets/xopen-msg.awk: New file.
32103 * catgets/xopen-msg.sed: Removed.
32104
70d35b67
AS
32105 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32106 po2text.sed.
32107 * intl/po2test.awk: New file.
32108 * intl/po2test.sed: Removed.
32109
ca61cf32
JM
321102012-07-04 Joseph Myers <joseph@codesourcery.com>
32111
32112 [BZ #14328]
32113 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32114 or multiply small sinh result by itself.
32115 * math/s_ctanf.c (__ctanf): Likewise.
32116 * math/s_ctanh.c (__ctanh): Likewise.
32117 * math/s_ctanhf.c (__ctanhf): Likewise.
32118 * math/s_ctanhl.c (__ctanhl): Likewise.
32119 * math/s_ctanl.c (__ctanl): Likewise.
32120 * math/libm-test.inc (ctan_test_tonearest): New function.
32121 (ctan_test_towardzero): Likewise.
32122 (ctan_test_downward): Likewise.
32123 (ctan_test_upward): Likewise.
32124 (ctanh_test_tonearest): Likewise.
32125 (ctanh_test_towardzero): Likewise.
32126 (ctanh_test_downward): Likewise.
32127 (ctanh_test_upward): Likewise.
32128 (main): Call these new functions.
32129 * sysdeps/i386/fpu/libm-test-ulps: Update.
32130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32131
ca48a46a
MF
321322012-07-03 Mike Frysinger <vapier@gentoo.org>
32133
32134 * .gitignore: Delete /ports entry.
32135
9d63d37d
AJ
321362012-07-03 Andreas Jaeger <aj@suse.de>
32137
32138 * po/bg.po: Update from translation team.
32139 * po/cs.po: Likewise.
32140 * po/de.po: Likewise.
32141 * po/hr.po: Likewise.
32142 * po/nl.pl: Likewise.
32143 * po/pl.po: Likewise.
32144 * po/vi.po: Likewise.
32145
370ca3d2
JM
321462012-07-03 Joseph Myers <joseph@codesourcery.com>
32147
95f5a9a8
JM
32148 * Makeconfig [!+link] (+link-before-libc): New variable.
32149 [!+link] (+link-after-libc): Likewise.
32150 [!+link] (+link-tests): Likewise.
32151 [!+link] (+link): Define in terms of $(+link-before-libc) and
32152 $(+link-after-libc).
32153 [!+link-static] (+link-static-before-libc): New variable.
32154 [!+link-static] (+link-static-after-libc): Likewise.
32155 [!+link-static] (+link-static-tests): Likewise.
32156 [!+link-static] (+link-static): Define in terms of
32157 $(+link-static-before-libc) and $(+link-static-after-libc).
32158 [build-shared] (link-libc-before-gnulib): New variable.
32159 [build-shared] (link-libc-tests): Likewise.
32160 [build-shared] (link-libc): Define in terms of
32161 $(link-libc-before-gnulib).
32162 [!build-shared] (link-libc-tests): New variable.
32163 (link-libc-static-tests): New variable.
32164 [!gnulib] (gnulib-arch): New variable.
32165 [!gnulib] (gnulib-tests): Likewise.
32166 [!gnulib] (static-gnulib-arch): Likewise.
32167 [!gnulib] (static-gnulib-tests): Likewise.
32168 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32169 Define with "=" instead of ":=".
32170 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32171 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32172 * Rules (binaries-all-notests): New variable.
32173 (binaries-all-tests): Likewise.
32174 (binaries-static-notests): Likewise.
32175 (binaries-static-tests): Likewise.
32176 (binaries-all): Define using $(binaries-all-notests) and
32177 $(binaries-all-tests).
32178 (binaries-static): Define using $(binaries-static-notests) and
32179 $(binaries-static-tests).
32180 (binaries-shared-tests): New variable.
32181 (binaries-shared-notests): Likewise.
32182 (binaries-shared): Remove variable.
32183 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32184 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32185 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32186 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32187 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32188 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32189 * elf/Makefile (sln-modules): New variable.
32190 (extra-objs): Add $(sln-modules:=.o).
32191 (ldconfig-modules): Add static-stubs.
32192 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32193 * elf/static-stubs.c: New file.
32194
7a845b2c
JM
32195 [BZ #14283]
32196 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32197 by 7 not 8 to examine high bit of fractional part. Use volatile
32198 variables when splitting into final array of floats if
32199 __FLT_EVAL_METHOD__ != 0.
32200 * math/libm-test.inc (cos_test): Add another test.
32201 (sin_test): Likewise.
32202 * sysdeps/i386/fpu/libm-test-ulps: Update.
32203
e2283f38
JM
32204 [BZ #14273]
32205 * math/libm-test.inc (cosh_test): Add more tests.
32206
370ca3d2
JM
32207 * version.h (RELEASE): Set to "development".
32208 (VERSION): Set to "2.16.90".
32209
ee9247c3
CD
322102012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32211
32212 * NEWS: Update copyright. Remove last-updated date.
32213 Mention math library bug fixes and timezone data changes.
32214 * README: Mention GNU/Hurd, x32, and HPPA support status.
32215
4648c381
TS
322162012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32217
32218 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32219
aac78a43
AJ
322202012-06-27 Andreas Jaeger <aj@suse.de>
32221
32222 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32223
ed3dbfad
AJ
322242012-06-25 Andreas Jaeger <aj@suse.de>
32225
32226 * sysdeps/s390/fpu/libm-test-ulps: Update.
32227
4d0ee855
AS
322282012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32229 Thomas Schwinge <thomas@codesourcery.com>
32230
32231 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32232 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32234 fanotify_mark.
32235
af1bce34
TS
322362012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32237
a9fa33ba
TS
32238 * sysdeps/mach/start.c: Remove file.
32239 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32240 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32241 * sysdeps/sh/init-first.c: Likewise.
32242
58f902b8
TS
32243 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32244 registers for frame unwinding purposes, add CFI directives.
32245 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32246 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32247 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32248 Likewise.
32249
1518f58b
TS
32250 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32251 __fortify_fail returning.
32252 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32253
db9b5059
TS
32254 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32255 sysdeps/sh/____longjmp_chk.S.
32256 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32257 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32258 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32259 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32260
967705fe
TS
32261 * sysdeps/sh/abort-instr.h: New file.
32262 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32263 process in case exit returns.
32264
a9def8c4
TS
32265 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32266 initialize the GOT register before use.
32267
2a649725
TS
32268 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32269 calculation of ARGC > 4.
32270
af1bce34
TS
32271 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32272 meaningful names to some local labels.
32273
d230f50a
KK
322742012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32275 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32276
32277 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32278 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32279 (__arch_compare_and_exchange_val_16_acq): Likewise.
32280 (__arch_compare_and_exchange_val_32_acq): Likewise.
32281 (atomic_exchange_and_add): Fix gUSA sequence.
32282 (atomic_add): Likewise.
32283 (atomic_add_negative): Likewise.
32284 (atomic_add_zero): Likewise.
32285 (atomic_bit_test_set): Likewise.
32286
0479b305
AS
322872012-06-22 Andreas Schwab <schwab@redhat.com>
32288
32289 [BZ #13579]
32290 * include/link.h (struct link_map): Add l_free_initfini.
32291 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32292 l_initfini.
32293 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32294 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32295 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32296 set.
32297
0e3933b9
CD
322982012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32299
32300 * configure.in: Use AC_LANG_SOURCE.
32301 * configure: Regenerate.
32302
4248b1b1
RM
323032012-06-22 Roland McGrath <roland@hack.frob.com>
32304
32305 * configure.in (libc_cv_localstatedir): New substituted variable.
32306 * configure: Regenerated.
32307 * config.make.in (localstatedir): New variable, substituted from
32308 libc_cv_localstatedir.
32309 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32310 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32311 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32312 * sysdeps/gnu/configure: Regenerated.
32313
006dd861
JL
323142012-06-21 Jeff Law <law@redhat.com>
32315
32316 [BZ #14277]
32317 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32318 free. Simplify list management for _LIBC case.
32319
79662d42
JM
323202012-06-21 Joseph Myers <joseph@codesourcery.com>
32321
b7abb4bf
JM
32322 [BZ #14273]
32323 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32324 Clear sign bit of 64-bit integer value before comparing against
32325 overflow value.
32326
79662d42
JM
32327 * sysdeps/mach/configure: Regenerated.
32328
1f150908
L
323292012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32330
32331 [BZ #14278]
32332 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32333
28363bbf
JL
323342012-06-21 Jeff Law <law@redhat.com>
32335
32336 [BZ #13882]
32337 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32338 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 32339 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
32340 * elf/dl-open.c (dl_open_worker): Likewise.
32341
09615db4
CD
323422012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32343
32344 * scripts/list-sources.sh: Scan PORTS for translations.
32345 * po/libc.pot: Regenerated.
32346
2174c6dd
AJ
323472012-06-21 Andreas Jaeger <aj@suse.de>
32348
32349 [BZ #12194]
32350 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32351 warning.
32352 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32353 * bits/byteswap-16.h (__bswap_16): Likewise.
32354 * bits/byteswap.h (__bswap_constant_16): Likewise.
32355
3ee947b1
L
323562012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32357
32358 [BZ #14117]
a2f34833
L
32359 * sysdeps/i386/fpu_control.h: Removed.
32360 * sysdeps/x86_64/fpu_control.h: Moved to ...
32361 * sysdeps/x86/fpu_control.h: Here.
32362
3ee947b1
L
32363 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32364 (_FPU_SETCW): Likewise.
32365
ed1825f8
L
323662012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32367
25f1282a
L
32368 [BZ #14117]
32369 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32370 * sysdeps/x86/fpu/bits/mathinline.h: This.
32371 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32372
ed1825f8
L
32373 [BZ #14050]
32374 [BZ #14117]
32375 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32376 functions if __x86_64__ is defined.
32377
36d54b74
CLT
323782012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32379
32380 * string/endian.h: Add !__ASSEMBLER__ condition for including
32381 conversion interfaces.
32382
10285c21
JM
323832012-06-15 Joseph Myers <joseph@codesourcery.com>
32384
32385 [BZ #14241]
32386 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32387 of ABS(x) in calculating zero to negative powers other than odd
32388 integers.
32389 * math/libm-test.inc (pow_test): Add more tests.
32390
06c5abbd
AJ
323912012-06-15 Andreas Jaeger <aj@suse.de>
32392
32393 * manual/contrib.texi (Contributors): Update entry of Liubov
32394 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32395 Machado Filho.
32396
a3aeac40
CH
323972012-06-15 Cyril Hrubis <metan@ucw.cz>
32398
32399 * string/string.h: Add __wur to GNU version of strerror_r.
32400
49bdf4c1
L
324012012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32402
32403 [BZ #14229]
32404 * string/Makefile (tests): Add tst-strtok_r.
32405 * string/tst-strtok_r.c: New file.
32406 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32407 RAX_LP/RDX_LP on SAVE_PTR.
32408
834f9b8d
RM
324092012-06-14 Roland McGrath <roland@hack.frob.com>
32410
32411 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32412
75fa1921
JM
324132012-06-14 Joseph Myers <joseph@codesourcery.com>
32414
32415 * libm_test.inc (csqrt_test): Allow more spurious underflow
32416 exceptions.
32417 (j0_test): Likewise.
32418 (j1_test): Likewise.
32419 (y0_test): Likewise.
32420 (y1_test): Likewise.
32421
771766df
CD
324222012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32423
32424 * po/Makefile (libc.pot): Use UTF-8 charset.
32425
ceb9e56b
PP
324262012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32427
32428 [BZ #14210]
32429 Suppress sign-conversion warning from FD_SET.
32430 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32431 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32432 not unsigned long int.
32433 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32434
ddb28975
L
324352012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32436
32437 [BZ #14050]
32438 [BZ #14117]
32439 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32440 __extern_always_inline instead of __extern_inline.
32441 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32442 (__signbit): Likewise.
32443 (__signbitl): Support C++ namespace.
32444 (lrintf): New inline function.
32445 (lrint): Likewise.
32446 (llrintf): Likewise.
32447 (llrint): Likewise.
32448 (fmaxf): Likewise.
32449 (fmax): Likewise.
32450 (fminf): Likewise.
32451 (fmin): Likewise.
32452 (rint): Likewise.
32453 (rintf): Likewise.
32454 (ceil): Likewise.
32455 (ceilf): Likewise.
32456 (floor): Likewise.
32457 (floorf): Likewise.
32458 (nearbyint): Likewise.
32459 (nearbyintf): Likewise.
32460
d7b4fb26
TS
324612012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32462
32463 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32464 non-default versions.
32465
eb55f5c2
RM
324662012-06-11 Roland McGrath <roland@hack.frob.com>
32467
32468 [BZ #14218]
32469 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32470
366af02c
TS
324712012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32472
99ff6e5c
TS
32473 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32474 (FE_UPWARD, FE_DOWNWARD): Don't define.
32475 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32476 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32477
366af02c
TS
32478 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32479 reading it.
32480 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32481 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32482
793ea851
KK
324832012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32484
32485 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32487 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32488 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32489
a728a38f
L
324902012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32491
32492 [BZ #14117]
c08010c7
L
32493 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32494 * sysdeps/i386/fpu/Implies: New file.
32495 * sysdeps/x86_64/fpu/Implies: Likewise.
32496 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32497 * sysdeps/x86/fpu/bits/fenv.h: This.
32498
a728a38f
L
32499 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32500 __SSE_MATH__.
32501
6e230d11
SP
325022012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32503
32504 [BZ #14134]
32505 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32506 character 0xffff that matches the last element of the
32507 conversion table.
32508
1b671feb
AZ
325092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32510
32511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32512 fmodl commit.
32513
6043738b
AZ
325142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32515
32516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32517 values higher than 25.6283.
32518
34ae0b32
AZ
325192012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32520
32521 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32522 subnormal exponent extraction and add some __builtin_expect.
32523 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32524 Fix for subnormal mantissa calculation.
32525
1214ec8f
MF
325262012-06-04 Mike Frysinger <vapier@gentoo.org>
32527
32528 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32529 cpu2 is -1 and errno is not ENOSYS.
32530
f3d1f93c
L
325312012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32532
32533 [BZ #14117]
0e4a3cd7
L
32534 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32535 * sysdeps/x86/bits/string.h: This.
32536 * sysdeps/x86_64/bits/string.h: Removed.
32537
6704c645
L
32538 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32539 if not compiling for x86-64, but compiling for >= i486.
32540
48495318
L
32541 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32542 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32543
14adcbfc
L
32544 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32545 New macro from Linux kernel 3.4.0.
32546 (FP_XSTATE_MAGIC2): Likewise.
32547 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32548 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32549 (struct _fpx_sw_bytes): New struct.
32550 (struct _xsave_hdr): Likewise.
32551 (struct _ymmh_state): Likewise.
32552 (struct _xstate): Likewise.
32553
68e408ab
L
32554 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32555 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32556 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32557 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32558 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32559 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32560
f3d1f93c
L
32561 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32562 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32563 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32564 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32565 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32566 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32567
d9dc34cd
TMQMF
325682012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32569
32570 [BZ #13743]
32571 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32572 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32573 (sysdep_headers): Include sys/platform/ppc.h.
32574 * sysdeps/powerpc/test-gettimebase.c: Test for
32575 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32576 * manual/Makefile (appendices): Include platform.texi.
32577 * manual/contrib.texi (Contributors): Update @node pointers.
32578 * manual/maint.texi (Maintenance): Likewise.
32579 (Platform): New node.
32580 * manual/platform.texi: New file. Document the new features.
32581
4af3879c
SP
325822012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32583 Jakub Jelinek <jakub@redhat.com>
32584
32585 [BZ #14188]
32586 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32587 where __builtin_expect is unavailable.
32588
2fd6ff13
DM
325892012-06-03 David S. Miller <davem@davemloft.net>
32590
32591 * stdlib/longlong.h: Updated from GCC.
32592
173f7220
AS
325932012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32594
32595 [BZ #14042]
32596 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32597 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32598 __mcount_internal.
32599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32600 (GLIBC_2.16): Likewise.
32601
f34a1c6f
L
326022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32603
32604 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32605
88a4576f
JM
326062012-06-01 Joseph Myers <joseph@codesourcery.com>
32607
ea32bcdd
JM
32608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32609 (default-abi): New variable.
32610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32611 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32612 variable.
32613 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32614 Likewise.
32615 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32616 Likewise.
32617 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32618 Likewise.
32619
88a4576f
JM
32620 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32621 definition. Document in comment.
32622
402fe938
DM
326232012-06-01 David S. Miller <davem@davemloft.net>
32624
32625 * stdlib/longlong.h: Updated from GCC.
32626
3553723f
L
326272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32628
32629 [BZ #14117]
3bd872c4
L
32630 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32631 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32632 sys/debugreg.h sys/io.h here.
32633 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32634 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32635 sys/io.h.
32636 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32637 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32638 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32639 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32640 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32641 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32642
3553723f
L
32643 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32644 Define only if __x86_64__ is defined.
32645
4842e4fe
JM
326462012-06-01 Joseph Myers <joseph@codesourcery.com>
32647
c5bfe3d5
JM
32648 [BZ #14048]
32649 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32650 Use int64_t for variable i.
32651 * math/libm-test.inc (fmod_test): Add more tests.
32652
4842e4fe
JM
32653 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32654 z computation is not scheduled after fetestexcept.
32655 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32656 Use math_force_eval instead of asm to ensure calculation scheduled
32657 before exception test.
32658 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32659 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32660
efb73488
AJ
326612012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32662
32663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32664 computation is not scheduled after fetestexcept.
32665
29bcce7c
L
326662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32667
32668 [BZ #14117]
32669 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32670 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32671
73a68f94
AZ
326722012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32673
32674 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32675 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32676
67b6df78
L
326772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32678
edf2933a 32679 [BZ #14117]
ebc64a18
L
32680 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32681 <bits/wordsize.h>.
32682 (__WCHAR_MIN): Support __WORDSIZE == 64.
32683 (__WCHAR_MAX): Likewise.
32684
edf2933a
L
32685 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32686 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32687
57c6cf40
L
32688 [BZ #14183]
32689 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32690 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32691
67b6df78 32692 [BZ #14117]
8eb6281e
L
32693 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32694 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32695
aac639f4
L
32696 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32697 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32698
67b6df78
L
32699 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32700 Defined to 1 if __x86_64__ isn't defined.
32701 (_STAT_VER_LINUX_OLD): New.
32702 (st_atime): Remove duplicate.
32703 (st_mtime): Likewise.
32704 (st_ctime): Likewise.
32705
1c2cfe81
DM
327062012-05-31 David S. Miller <davem@davemloft.net>
32707
32708 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32709 entries.
32710
5be8418c
AS
327112012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32712
e7725326
AS
32713 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32714 gen-libm-test.pl.
32715
5be8418c
AS
32716 [BZ #14132]
32717 * elf/dl-reloc.c: Include <_itoa.h>.
32718 (_dl_reloc_bad_type): Remove use of INTUSE.
32719 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32720 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32721 * stdio-common/psiginfo.c (psiginfo): Likewise.
32722 * stdio-common/psignal.c (psignal): Likewise.
32723 * string/strsignal.c (strsignal): Likewise.
32724 * include/signal.h (_sys_siglist): Declare hidden proto.
32725 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32726 INTVARDEF with libc_hidden_data_def.
32727 * stdio-common/itoa-udigits.c: Likewise.
32728 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32729 (_itoa_lower_digits_internal): Remove declaration.
32730 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32731 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32732 (_sys_sigabbrev_internal): Remove aliases.
32733 (_sys_siglist): Define hidden alias.
32734
507352f1
MT
327352012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32736
32737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32738 bits/sysctl.h.
32739
42bbb1c3
L
327402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32741
32742 [BZ #14117]
6bd784b6
L
32743 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32744 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32745
8bca20f0
L
32746 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32747 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32748 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32749 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32750 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32751 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32752
f9e890a9
L
32753 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32755 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32756
471101a1
L
32757 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32758 with __addr.
32759 (insw): Likewise.
32760 (insl): Likewise.
32761 (outsb): Likewise.
32762 (outsw): Likewise.
32763 (outsl): Likewise.
32764
6451c862
L
32765 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32766 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32767 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32768
a254b8c9
L
32769 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32770 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32771 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32772 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32773 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32774 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32775
b8dfdd92
L
32776 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32777 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32778
578cd270
L
32779 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32780 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32781
de662f5f
L
32782 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32783 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32784 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32785
25653439
L
32786 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32787 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32788 to ...
32789 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32790
6bad24a0
L
32791 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32792 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32793 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32794
42bbb1c3
L
32795 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32796 for x86-64.
32797 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32798
2d10d547
JM
327992012-05-31 Joseph Myers <joseph@codesourcery.com>
32800
32801 * math/math.h (M_El): Use two more decimal places.
32802 (M_LOG2El): Likewise.
32803 (M_LOG10El): Likewise.
32804 (M_LN2l): Likewise.
32805 (M_LN10l): Likewise.
32806 (M_PIl): Likewise.
32807 (M_PI_2l): Likewise.
32808 (M_PI_4l): Likewise.
32809 (M_1_PIl): Likewise.
32810 (M_2_PIl): Likewise.
32811 (M_2_SQRTPIl): Likewise.
32812 (M_SQRT2l): Likewise.
32813 (M_SQRT1_2l): Likewise.
32814
f230c29b
DM
328152012-05-31 David S. Miller <davem@davemloft.net>
32816
32817 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32818 values between float registers.
32819 * sysdeps/sparc/sparc64/memset.S: Likewise.
32820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32821
fed806c3
MF
328222012-05-31 Mike Frysinger <vapier@gentoo.org>
32823
32824 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32825 -D_FORTIFY_SOURCE=1.
32826 (CPPFLAGS-tst-longjmp_chk.c): Define.
32827 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32828 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32829 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32830 CFLAGS-tst-wchar-h.c.
32831
30917259
MP
328322012-05-31 Marek Polacek <polacek@redhat.com>
32833
32834 [BZ #14132]
32835 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32836 __endmntent_internal): Remove declaration.
32837 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32838 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32839 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32840
1c58d5dc
DM
328412012-05-30 David S. Miller <davem@davemloft.net>
32842
32843 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32844 (___Q_simulate_exceptions): Use real FP ops rather than writing
32845 into the %fsr.
32846 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32847 Likewise.
32848
7dc00e0d
L
328492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32850
32851 [BZ #14117]
0bd53985
L
32852 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32853 * sysdeps/x86/bits/xtitypes.h: This.
32854
3a257e66
L
32855 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32856 * sysdeps/x86/bits/wordsize.h: This.
32857
62f62904
L
32858 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32859 * sysdeps/x86/bits/huge_vall.h: This.
32860
404fe9d9
L
32861 * sysdeps/i386/bits/select.h: Removed.
32862 * sysdeps/x86_64/bits/select.h: Renamed to ...
32863 * sysdeps/x86/bits/select.h: This.
32864
d48d0446
L
32865 * sysdeps/i386/bits/setjmp.h: Removed.
32866 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32867 * sysdeps/x86/bits/setjmp.h: This.
32868
7dc00e0d
L
32869 * sysdeps/i386/bits/mathdef.h: Removed.
32870 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32871 * sysdeps/x86/bits/mathdef.h: This.
32872
03277f8f
AS
328732012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32874
32875 [BZ #14132]
32876 * include/sys/socket.h (__connect_internal)
32877 (__libc_sa_len_internal): Remove declaration.
32878 (__connect, __libc_sa_len): Declare hidden_proto.
32879 (SA_LEN): Remove use of INTUSE.
32880 * socket/connect.c: Add libc_hidden_def.
32881 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32882 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32883 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32884 alias.
32885 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32886 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32887 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32888 of adding _internal alias.
32889
13764867
L
328902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32891
32892 [BZ #14117]
6bd97696
L
32893 * sysdeps/i386/bits/link.h: Removed.
32894 * sysdeps/i386/bits/linkmap.h: Likewise.
32895 * sysdeps/x86_64/bits/link.h: Renamed to ...
32896 * sysdeps/x86/bits/link.h: This.
32897 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32898 * sysdeps/x86/bits/linkmap.h: This.
32899
f726f0bb
L
32900 * sysdeps/i386/bits/endian.h: Removed.
32901 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32902 * sysdeps/x86/bits/endian.h: This.
32903
13764867
L
32904 * sysdeps/i386/bits/byteswap.h: Removed.
32905 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32906 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32907 * sysdeps/x86/bits/byteswap.h: This.
32908 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32909 * sysdeps/x86/bits/byteswap-16.h: This.
32910 * sysdeps/i386/Implies: Add x86.
32911 * sysdeps/x86_64/Implies: Likewise.
32912
ae251b0b
DM
329132012-05-30 David S. Miller <davem@davemloft.net>
32914
32915 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32916 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32917 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32918 (FP_TRAPPING_EXCEPTIONS): Define.
32919 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32920 (FP_TRAPPING_EXCEPTIONS): Define.
32921 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32922 subnormals only when inexact has been signalled or underflow
32923 exceptions are enabled.
32924 (_FP_PACK_CANONICAL): Likewise.
32925
d5c90867
L
329262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32927
32928 [BZ #14183]
32929 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32930 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32931
63f1549e
RH
329322012-05-30 Richard Henderson <rth@twiddle.net>
32933
8d8f2279
RH
32934 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32935 with #ifndef NOT_IN_libc.
32936
63f1549e
RH
32937 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32938 marked to avoid plt entry.
32939
0ab0291b
L
329402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32941
32942 [BZ #14112]
32943 * Makeconfig (default-abi): New macro.
32944 (abi-includes): Likewise.
32945 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32946 $(abi-$(default-abi)-lib-soname) for soname if defined.
32947 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32948 abi-variants.
32949 * Makefile (installed-stubs): Likewise.
32950 * include/stubs-biarch.h: Removed.
32951 * scripts/lib-names.awk: Only handle one library at a time.
32952 * scripts/soversions.awk: Remove WORDSIZE support.
32953 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32954 entries.
32955 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32956 Removed.
32957 (syscall-list-default-condition): Likewise.
32958 (syscall-list-default-condition): Likewise.
32959 (syscall-list-includes): Likewise.
32960 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32961 syscall-list-* with abi-*. Handle undefined abi-variants.
32962 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32963 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32964 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32965 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32966 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32967 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32968 Removed.
32969 (syscall-list-32-options): Likewise.
32970 (syscall-list-32-condition): Likewise.
32971 (syscall-list-64-options): Likewise.
32972 (syscall-list-64-condition): Likewise.
32973 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32974 macro.
32975 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32976 Renamed to ...
32977 (abi-*): This.
32978 (abi-64-ld-soname): New macro.
32979 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32980 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32981 Renamed to ...
32982 (abi-*): This.
32983 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32984 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32985
4da0431d
JM
329862012-05-30 Joseph Myers <joseph@codesourcery.com>
32987
3a85279c
JM
32988 * sysdeps/unix/sysv/linux/kernel-features.h
32989 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32990 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32991 include <kernel-features.h>.
32992 [!__NR_ftruncate64]: Remove conditional code.
32993 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32994 [__NR_ftruncate64]: Make code unconditional.
32995 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32996 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32997 include <kernel-features.h>.
32998 [!__NR_ftruncate64]: Remove conditional code.
32999 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33000 [__NR_ftruncate64]: Make code unconditional.
33001 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33003 include <kernel-features.h>.
33004 [!__NR_ftruncate64]: Remove conditional code.
33005 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33006 [__NR_ftruncate64]: Make code unconditional.
33007 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33009 include <kernel-features.h>.
33010 [!__NR_ftruncate64]: Remove conditional code.
33011 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33012 [__NR_ftruncate64]: Make code unconditional.
33013 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33014
4da0431d
JM
33015 * configure.in (libc_cv_fpie): Weaken to a compile test using
33016 LIBC_TRY_CC_OPTION.
33017 * configure: Regenerated.
33018
11ef492c
AK
330192012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33020
33021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33025 Refreshed.
33026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33032 Refreshed.
33033
d66ef399
DM
330342012-05-27 David S. Miller <davem@davemloft.net>
33035
33036 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33037 (___Q_zero): New.
33038 (__Q_simulate_exceptions): Return void. Change to simulate
33039 exceptions by writing into the %fsr.
33040 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33041 (__Qp_handle_exceptions): Likewise.
33042 (numbers): Delete.
33043 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33044 __Qp_handle_exceptions.
33045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33046 __Qp_handle_exceptions.
33047 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33048 as unused and give dummy FP_RND_NEAREST initializer.
33049 (FP_INHIBIT_RESULTS): Define.
33050 (___Q_simulate_exceptions): Update declaration.
33051 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33052 formatting.
33053 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33054 as unused and give dummy FP_RND_NEAREST initializer.
33055 (__Qp_handle_exceptions): Update declaration.
33056 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33057 formatting.
33058
04fb54b5
TS
330592012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33060
33061 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33062 the temporary FPU control word.
33063 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33064 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33065 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33066 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33067 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33068 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33069 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33070 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33071 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33072 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33073 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33074
3f99608f
KK
330752012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33076
33077 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33078 fields.
33079
65a4de4e
CLT
330802012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33081
33082 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33083 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33084 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33085 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33086 Likewise.
33087 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33088 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33089 Likewise.
33090
15749d40
UD
330912012-05-27 Ulrich Drepper <drepper@gmail.com>
33092
33093 * po/h.po: Update from translation team.
33094
25dbcb27
AS
330952012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33096
3d3f8e55
AS
33097 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33098
25dbcb27
AS
33099 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33100 handling of denormals.
33101 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33102 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33103 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33104 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33105 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33107 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33108 Likewise.
33109
7ad47a80 331102012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33111
33112 [BZ #14152]
33113 * math/libm-test.inc (fma_test): Don't always expect underflow
33114 exception.
33115
9c6ea9fa
SP
331162012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33117
33118 [BZ #12416]
33119 * elf/tst-execstack.c: Include stackinfo.h.
33120 (do_test): Adjust test case to ensure that pthread_getattr_np
33121 behaviour remains the same after marking stack executable.
33122
a8239222
JM
331232012-05-25 Joseph Myers <joseph@codesourcery.com>
33124
33125 * sysdeps/unix/sysv/linux/kernel-features.h
33126 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33127 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33128 kernel-features.h.
33129 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33130 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33131 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33132 kernel-features.h.
33133 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33134 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33135
918b5606
L
331362012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33137
33138 * configure.in: Define the default includes to being none.
33139 * configure: Regenerated.
33140
3a097cc7
RM
331412012-05-25 Roland McGrath <roland@hack.frob.com>
33142
8422c9a5
RM
33143 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33144 * sysdeps/x86_64/setjmp.S: Likewise.
33145 * sysdeps/i386/bsd-setjmp.S: Likewise.
33146 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33147 * sysdeps/i386/setjmp.S: Likewise.
33148 * sysdeps/i386/__longjmp.S: Likewise.
33149 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33150 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33151
3a097cc7
RM
33152 * include/stap-probe.h: New file.
33153 * configure.in: Handle --enable-systemtap.
33154 * configure: Regenerated.
33155 * config.h.in (USE_STAP_PROBE): New #undef.
33156 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33157 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33158 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33159
21708942
JM
331602012-05-25 Joseph Myers <joseph@codesourcery.com>
33161
33162 [BZ #13717]
33163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33164 to 2.4.0 where earlier.
33165 * sysdeps/unix/sysv/linux/configure: Regenerated.
33166 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33167 <kernel-features.h>.
33168 [__ASSUME_32BITUIDS]: Make code unconditional.
33169 [!__ASSUME_32BITUIDS]: Remove conditional code.
33170 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33171 <kernel-features.h>.
33172 [__ASSUME_32BITUIDS]: Make code unconditional.
33173 [!__ASSUME_32BITUIDS]: Remove conditional code.
33174 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33175 [__ASSUME_32BITUIDS]: Make code unconditional.
33176 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33177 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33178 <kernel-features.h>.
33179 [__ASSUME_32BITUIDS]: Make code unconditional.
33180 [!__ASSUME_32BITUIDS]: Remove conditional code.
33181 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33182 <kernel-features.h>.
33183 [__ASSUME_32BITUIDS]: Make code unconditional.
33184 [!__ASSUME_32BITUIDS]: Remove conditional code.
33185 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33186 <kernel-features.h>.
33187 [__ASSUME_32BITUIDS]: Make code unconditional.
33188 [!__ASSUME_32BITUIDS]: Remove conditional code.
33189 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33190 <kernel-features.h>.
33191 [__ASSUME_32BITUIDS]: Make code unconditional.
33192 [!__ASSUME_32BITUIDS]: Remove conditional code.
33193 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33194 <kernel-features.h>.
33195 [__ASSUME_32BITUIDS]: Make code unconditional.
33196 [!__ASSUME_32BITUIDS]: Remove conditional code.
33197 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33198 <kernel-features.h>.
33199 [__ASSUME_32BITUIDS]: Make code unconditional.
33200 [!__ASSUME_32BITUIDS]: Remove conditional code.
33201 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33202 <kernel-features.h>.
33203 [__ASSUME_32BITUIDS]: Make code unconditional.
33204 [!__ASSUME_32BITUIDS]: Remove conditional code.
33205 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33206 <kernel-features.h>.
33207 [__ASSUME_32BITUIDS]: Make code unconditional.
33208 [!__ASSUME_32BITUIDS]: Remove conditional code.
33209 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33210 <kernel-features.h>.
33211 [__ASSUME_32BITUIDS]: Make code unconditional.
33212 [!__ASSUME_32BITUIDS]: Remove conditional code.
33213 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33214 <kernel-features.h>.
33215 [__ASSUME_32BITUIDS]: Make code unconditional.
33216 [!__ASSUME_32BITUIDS]: Remove conditional code.
33217 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33218 <kernel-features.h>.
33219 [__NR_setresgid] (__setresgid): Do not declare.
33220 [__ASSUME_32BITUIDS]: Make code unconditional.
33221 [!__ASSUME_32BITUIDS]: Remove conditional code.
33222 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33223 <kernel-features.h>.
33224 [__NR_setresuid] (__setresuid): Do not declare.
33225 [__ASSUME_32BITUIDS]: Make code unconditional.
33226 [!__ASSUME_32BITUIDS]: Remove conditional code.
33227 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.c: Do not include
33264 <kernel-features.h>.
33265 [__ASSUME_32BITUIDS]: Make code unconditional.
33266 [!__ASSUME_32BITUIDS]: Remove conditional code.
33267 * sysdeps/unix/sysv/linux/kernel-features.h
33268 (__ASSUME_SETRESUID_SYSCALL): Remove.
33269 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33270 (__ASSUME_32BITUIDS): Likewise.
33271 (__ASSUME_LDT_WORKS): Likewise.
33272 (__ASSUME_O_DIRECTORY): Likewise.
33273 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33274 architecture but not kernel version.
33275 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33276 (__ASSUME_MMAP2_SYSCALL): Likewise.
33277 (__ASSUME_STAT64_SYSCALL): Likewise.
33278 (__ASSUME_IPC64): Likewise.
33279 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33280 <kernel-features.h>.
33281 [__ASSUME_32BITUIDS]: Make code unconditional.
33282 [!__ASSUME_32BITUIDS]: Remove conditional code.
33283 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33284 <kernel-features.h>.
33285 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33286 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33287 132096]: Remove conditional code.
33288 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33289 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
33298 <kernel-features.h>.
33299 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33300 unconditional.
33301 (__setresgid): Do not declare.
33302 [__ASSUME_32BITUIDS]: Make code unconditional.
33303 [!__ASSUME_32BITUIDS]: Remove conditional code.
33304 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33305 <kernel-features.h>.
33306 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33307 unconditional.
33308 (__setresuid): Do not declare.
33309 [__ASSUME_32BITUIDS]: Make code unconditional.
33310 [!__ASSUME_32BITUIDS]: Remove conditional code.
33311 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33312 <kernel-features.h>.
33313 [__ASSUME_32BITUIDS]: Make code unconditional.
33314 [!__ASSUME_32BITUIDS]: Remove conditional code.
33315 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33316 <kernel-features.h>.
33317 [__ASSUME_32BITUIDS]: Make code unconditional.
33318 [!__ASSUME_32BITUIDS]: Remove conditional code.
33319
a386f1cc
RH
333202012-05-25 Richard Henderson <rth@twiddle.net>
33321
33322 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33323 dl_hwcap to ifunc resolver.
33324 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33325 elf_ifunc_invoke.
33326 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33327 dl_hwcap to ifunc resolver.
33328 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33329
b6550497
JM
333302012-05-24 Joseph Myers <joseph@codesourcery.com>
33331
33332 [BZ #14153]
33333 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33334 for |x| <= 2**-26, not 2**-57.
33335 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33336 exception.
33337
b0bc23a1
JL
333382012-05-24 Jeff Law <law@redhat.com>
33339
33340 * stdio-common/Makefile (tests): Add bug25.
33341 * stdio-common/bug25.c: New test.
33342
347c92e9
L
333432012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33344
33345 [BZ #13576]
33346 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33347 multiple of MALLOC_ALIGNMENT in size.
33348 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33349
6bcc8b3f
JM
333502012-05-24 Joseph Myers <joseph@codesourcery.com>
33351
33352 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33353 Require >= 256.
33354 (FILENAME_MAX): Use macro-int-constant.
33355 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33356 (_IOFBF): Use macro-int-constant.
33357 (_IOLBF): Likewise.
33358 (_IONBF): Likewise.
33359 (SEEK_CUR): Likewise.
33360 (SEEK_END): Likewise.
33361 (SEEK_SET): Likewise.
33362 (TMP_MAX): Likewise.
33363 (EOF): Use macro-int-constant. Require < 0.
33364 (NULL): Use macro-constant. Require == 0.
33365 (stdin): Require type to be FILE *.
33366 (stdout): Likewise.
33367 (stderr): Likewise.
33368 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33369 macro-int-constant.
33370 (EXIT_SUCCESS): Likewise.
33371 (NULL): Use macro-constant. Require == 0.
33372 (RAND_MAX): Use macro-int-constant.
33373 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33374 [C99-based standards] (strtof): Require function.
33375 [C99-based standards] (strtold): Likewise.
33376 [C99-based standards] (strtoll): Likewise.
33377 [C99-based standards] (strtoull): Likewise.
33378 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33379 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33380 [ISO || ISO99 || ISO11] (math.h): Likewise.
33381 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33382 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33383 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33384
d18ea0c5
AS
333852012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33386
33387 [BZ #14132]
56d25bb8
AS
33388 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33389 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33390 * intl/dgettext.c (DCGETTEXT): Likewise.
33391 * intl/gettext.c (DCGETTEXT): Likewise.
33392 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33393 * posix/regex_internal.h (gettext): Likewise.
33394 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33395 Remove declaration.
33396 * include/argz.h (__argz_count_internal)
33397 (__argz_stringify_internal): Remove declaration.
33398 (__argz_count, __argz_stringify): Declare hidden proto.
33399 * intl/dcgettext.c: Remove use of INTDEF.
33400 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33401 * string/argz-stringify.c: Likewise.
33402 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33403 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33404 Declare hidden proto.
d18ea0c5
AS
33405 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33406 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33407 Declare hidden proto.
33408 * include/stdio.h (__asprintf_internal): Don't declare.
33409 (__asprintf): Don't define as macro. Declare hidden proto.
33410 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33411 (__fsetlocking): Declare hidden proto.
33412 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33413 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33414 hidden proto.
33415 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33416 (_IO_setlinebuf): Remove use of INTUSE.
33417 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33418 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33419 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33420 Remove declaration.
33421 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33422 (_IO_do_flush): Remove use of INTUSE.
33423 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33424 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33425 (_IO_adjust_column, _IO_least_wmarker)
33426 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33427 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33428 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33429 (_IO_default_doallocate, _IO_wdefault_doallocate)
33430 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33431 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33432 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33433 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33434 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33435 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33436 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33437 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33438 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33439 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33440 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33441 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33442 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33443 proto.
33444 (_IO_flush_all_internal, _IO_adjust_column_internal)
33445 (_IO_default_uflow_internal, _IO_default_finish_internal)
33446 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33447 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33448 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33449 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33450 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33451 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33452 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33453 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33454 (_IO_file_close_internal, _IO_file_close_it_internal)
33455 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33456 (_IO_file_init_internal, _IO_file_attach_internal)
33457 (_IO_file_fopen_internal, _IO_file_read_internal)
33458 (_IO_file_sync_internal, _IO_file_seek_internal)
33459 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33460 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33461 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33462 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33463 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33464 (_IO_list_all_internal, _IO_link_in_internal)
33465 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33466 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33467 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33468 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33469 (_IO_do_write_internal, _IO_padn_internal)
33470 (_IO_getline_info_internal, _IO_getline_internal)
33471 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33472 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33473 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33474 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33475 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33476 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33477 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33478 with libc_hidden_ver, remove use of INTUSE.
33479 * libio/genops.c: Likewise.
33480 * libio/freopen.c: Likewise.
33481 * libio/freopen64.c: Likewise.
33482 * libio/iofclose.c: Likewise.
33483 * libio/iofdopen.c: Likewise.
33484 * libio/iofflush.c: Likewise.
33485 * libio/iofflush_u.c: Likewise.
33486 * libio/iofgets.c: Likewise.
33487 * libio/iofgets_u.c: Likewise.
33488 * libio/iofopen.c: Likewise.
33489 * libio/iofopncook.c: Likewise.
33490 * libio/iofread.c: Likewise.
33491 * libio/iofread_u.c: Likewise.
33492 * libio/ioftell.c: Likewise.
33493 * libio/iofwrite.c: Likewise.
33494 * libio/iogetline.c: Likewise.
33495 * libio/iogets.c: Likewise.
33496 * libio/iogetwline.c: Likewise.
33497 * libio/iopadn.c: Likewise.
33498 * libio/iopopen.c: Likewise.
33499 * libio/ioseekoff.c: Likewise.
33500 * libio/ioseekpos.c: Likewise.
33501 * libio/iosetbuffer.c: Likewise.
33502 * libio/iosetvbuf.c: Likewise.
33503 * libio/ioungetc.c: Likewise.
33504 * libio/ioungetwc.c: Likewise.
33505 * libio/iovdprintf.c: Likewise.
33506 * libio/iovsprintf.c: Likewise.
33507 * libio/iovsscanf.c: Likewise.
33508 * libio/memstream.c: Likewise.
33509 * libio/obprintf.c: Likewise.
33510 * libio/oldfileops.c: Likewise.
33511 * libio/oldiofclose.c: Likewise.
33512 * libio/oldiofdopen.c: Likewise.
33513 * libio/oldiofopen.c: Likewise.
33514 * libio/oldiopopen.c: Likewise.
33515 * libio/oldstdfiles.c: Likewise.
33516 * libio/putc.c: Likewise.
33517 * libio/setbuf.c: Likewise.
33518 * libio/setlinebuf.c: Likewise.
33519 * libio/stdfiles.c: Likewise.
33520 * libio/strops.c: Likewise.
33521 * libio/vasprintf.c: Likewise.
33522 * libio/vscanf.c: Likewise.
33523 * libio/vsnprintf.c: Likewise.
33524 * libio/vswprintf.c: Likewise.
33525 * libio/wfiledoalloc.c: Likewise.
33526 * libio/wfileops.c: Likewise.
33527 * libio/wgenops.c: Likewise.
33528 * libio/wmemstream.c: Likewise.
33529 * libio/wstrops.c: Likewise.
33530 * libio/__fpurge.c: Likewise.
33531 * libio/__fsetlocking.c: Likewise.
33532 * assert/assert.c: Likewise.
33533 * debug/fgets_chk.c: Likewise.
33534 * debug/fgets_u_chk.c: Likewise.
33535 * debug/fread_chk.c: Likewise.
33536 * debug/fread_u_chk.c: Likewise.
33537 * debug/gets_chk.c: Likewise.
33538 * debug/obprintf_chk.c: Likewise.
33539 * debug/vasprintf_chk.c: Likewise.
33540 * debug/vdprintf_chk.c: Likewise.
33541 * debug/vsnprintf_chk.c: Likewise.
33542 * debug/vsprintf_chk.c: Likewise.
33543 * malloc/mtrace.c: Likewise.
33544 * misc/error.c: Likewise.
33545 * misc/syslog.c: Likewise.
33546 * stdio-common/asprintf.c: Likewise.
33547 * stdio-common/fxprintf.c: Likewise.
33548 * stdio-common/getw.c: Likewise.
33549 * stdio-common/isoc99_fscanf.c: Likewise.
33550 * stdio-common/isoc99_scanf.c: Likewise.
33551 * stdio-common/isoc99_vfscanf.c: Likewise.
33552 * stdio-common/isoc99_vscanf.c: Likewise.
33553 * stdio-common/isoc99_vsscanf.c: Likewise.
33554 * stdio-common/printf-prs.c: Likewise.
33555 * stdio-common/printf_fp.c: Likewise.
33556 * stdio-common/printf_fphex.c: Likewise.
33557 * stdio-common/printf_size.c: Likewise.
33558 * stdio-common/putw.c: Likewise.
33559 * stdio-common/scanf.c: Likewise.
33560 * stdio-common/sprintf.c: Likewise.
33561 * stdio-common/tmpfile.c: Likewise.
33562 * stdio-common/vfprintf.c: Likewise.
33563 * stdio-common/vfscanf.c: Likewise.
33564 * stdlib/strfmon_l.c: Likewise.
33565 * sunrpc/openchild.c: Likewise.
33566 * sunrpc/xdr_stdio.c: Likewise.
33567 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33568 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33569
d6c33fda
RM
335702012-05-24 Roland McGrath <roland@hack.frob.com>
33571
c1487492
RM
33572 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33573
33574 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33575 in the third column, to generate for the shared library an IFUNC
33576 that uses _dl_vdso_vsym.
33577 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33578 * Makeconfig (object-suffixes-noshared): New variable.
33579
33580 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33581 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33582 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33583 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33584
d6c33fda
RM
33585 [BZ #14132]
33586 * include/sys/time.h (__gettimeofday): Remove macro.
33587 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33588 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33589 Remove INTDEF.
33590 (__gettimeofday): Add libc_hidden_def.
33591 (gettimeofday): Add libc_hidden_weak.
33592 * sysdeps/mach/gettimeofday.c: Likewise.
33593 * sysdeps/posix/gettimeofday.c: Likewise.
33594 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33595 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33596 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33597 (__gettimeofday_internal): Remove strong_alias.
33598 (__gettimeofday): Add libc_hidden_def.
33599 (gettimeofday): Add libc_hidden_weak.
33600 * sysdeps/unix/syscalls.list (gettimeofday):
33601 Remove __gettimeofday_internal alias.
33602
b5a2bbe6
L
336032012-05-24 Daniel Jacobowitz <drow@false.org>
33604 H.J. Lu <hongjiu.lu@intel.com>
33605
33606 [BZ #12495]
33607 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33608 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33609 (largebin_index_32_big): New.
33610 (largebin_index): Use it for 16-byte alignment.
33611 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33612 correction with front_misalign.
33613
cfba4fda
L
336142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33615
7f907421
L
33616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33618 Likewise.
33619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33620 Likewise.
33621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33622 Likewise.
33623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33624 Likewise.
33625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33626 Likewise.
33627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33628 Likewise.
33629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33630 Likewise.
33631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33632 Likewise.
33633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33634 Likewise.
33635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33636 Likewise.
33637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33638 Likewise.
33639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33640 Likewise.
33641
cfba4fda
L
33642 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33643 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33644
80bad0cc
JM
336452012-05-24 Joseph Myers <joseph@codesourcery.com>
33646
7a25eb06
JM
33647 [BZ #10846]
33648 [BZ #14036]
33649 * math/libm-test.inc (exp_test): Add test from bug 14036.
33650 (pow_test): Add test from bug 10846.
33651
795405f9
JM
33652 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33653 and other flags.
33654 (special_function): Do not include flags in test name.
33655 (parse_args): Likewise.
33656 * sysdeps/i386/fpu/libm-test-ulps: Update.
33657 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33658 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33659 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33661
80bad0cc
JM
33662 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33663 exceptions.
33664 * math/libm-test.inc ("Philosophy"): Update comment about
33665 exception testing.
33666 (UNDERFLOW_EXCEPTION): New macro.
33667 (UNDERFLOW_EXCEPTION_OK): Likewise.
33668 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33669 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33670 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33671 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33672 (INVALID_EXCEPTION_OK): Update value.
33673 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33674 (OVERFLOW_EXCEPTION_OK): Likewise.
33675 (IGNORE_ZERO_INF_SIGN): Likewise.
33676 (test_exceptions): Handle underflow exceptions.
33677 (acos_test): Update for underflow exception expectations.
33678 (cexp_test): Likewise.
33679 (clog_test): Likewise.
33680 (clog10_test): Likewise.
33681 (csqrt_test): Likewise.
33682 (ctan_test): Likewise.
33683 (ctanh_test): Likewise.
33684 (exp_test): Likewise.
33685 (exp10_test): Likewise.
33686 (exp2_test): Likewise.
33687 (expm1_test): Likewise.
33688 (fma_test): Likewise.
33689 (j0_test): Likewise.
33690 (jn_test): Likewise.
33691 (nexttoward_test): Likewise.
33692 (pow_test): Likewise.
33693 (scalbn_test): Likewise.
33694 (scalbln_test): Likewise.
33695 (tan_test): Likewise.
33696 (y1_test): Likewise.
33697 * sysdeps/i386/fpu/libm-test-ulps: Update.
33698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33699
9e0e3d0b
DM
337002012-05-23 David S. Miller <davem@davemloft.net>
33701
33702 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33703 (__libc_sigaction): Remove unused local variables.
33704
ccd0a08f
L
337052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33706
33707 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33708
62bdf9a6
PE
337092012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33710
f8591f80
PE
33711 mktime: avoid signed integer overflow
33712 * time/mktime.c (__mktime_internal): Do not mishandle the case
33713 where diff == INT_MIN.
33714
94c7d826
PE
33715 mktime: simplify computation of average
33716 * time/mktime.c (ranged_convert): Use new time_t_avg function
33717 instead of rolling our own (probably-slower) code.
33718
ce73d683
PE
33719 mktime: do not assume signed right shift propagates sign bit
33720 * time/mktime.c (isdst_differ): New static function.
33721 (__mktime_internal): No need to normalize tm_isdst now.
33722 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33723 tm_isdst values.
33724
72a22e59
PE
33725 mktime: merge another wrapv change from gnulib
33726 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33727 from some compilers.
33728
68605433
PE
33729 mktime: remove incorrect attempt at unusual arithmetics
33730 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33731 The code didn't really work on such machines anyway.
33732 (TYPE_MINIMUM): Assume two's complement.
33733 (twos_complement_arithmetic): Verify that long_int and time_t
33734 are two's complement (or unsigned, in the latter case).
33735
03cf7fe3
PE
33736 mktime: check signed shifts on long_int and time_t, too
33737 * time/mktime.c (SHR): Check that shifts work as desired
33738 on the types long_int and time_t too, as SHR is used on
33739 such types.
33740
f04dfbc2
PE
33741 mktime: do not assume 'long' is wide enough
33742 * time/mktime.c (verify): Move decl up.
33743 (long_int): New type.
33744 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33745 to remove assumption in the code that 'long' is wide enough to
33746 store year values. This assumption is not true on x32 and on
33747 some non-glibc platforms.
33748
62bdf9a6
PE
33749 mktime: merge wrapv change from gnulib
33750 * time/mktime.c (WRAPV): New macro.
33751 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33752 (guess_time_tm, __mktime_internal): Do not assume that signed
33753 integer overflow wraps around; modern compilers generate code
33754 where this assumption is no longer valid.
33755
5e292e4f
L
337562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33757
33758 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33759 Replace "jmp L(pseudo_end)" with "ret".
33760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33761 Likewise.
33762
8caf8c87
AJ
337632012-05-23 Andreas Jaeger <aj@suse.de>
33764
33765 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33766 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33767
1a09dc56
AJ
337682012-05-23 Andreas Jaeger <aj@suse.de>
33769 Maximilian Attems <max@stro.at>
33770
33771 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33772 New macros.
33773
1c87aba0
L
337742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33775
33776 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33777 code so that pseudo_end is just ret and the stack pointer is
33778 correct also for static library in error case.
33779
40e45bd5
JM
337802012-05-23 Joseph Myers <joseph@codesourcery.com>
33781
c2670533
JM
33782 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33783 move to syscalls.list.
33784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33788
40e45bd5
JM
33789 * manual/install.texi (Running make install): Do not mention Linux
33790 kernel version for which pt_chown is not needed.
33791 (Linux): Do not mention problems with nscd with 2.0 kernels.
33792 * INSTALL: Regenerated.
33793
be08eda5
AJ
337942012-05-23 Andreas Jaeger <aj@suse.de>
33795
33796 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33797 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33798 macro.
33799 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33800 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33801 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33802 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33803 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33804 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33806 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33807 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33808 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33809 * sysdeps/unix/sysv/linux/bits/in.h
33810 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33811
a6a056bb
RM
338122012-05-22 Roland McGrath <roland@hack.frob.com>
33813
33814 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33815 (PREPARE_VERSION): Just use assert instead, it will be elided
33816 under [NDEBUG] anyway.
33817
c9009328
L
338182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33819
33820 * sysdeps/unix/sysv/linux/Makefile: Include
33821 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33822 (sysdep_routines): Remove sysctl.
c9009328
L
33823 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33824 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33825 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33826 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33827 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33828
73338355
AJ
338292012-05-22 Andreas Jaeger <aj@suse.de>
33830
33831 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33832 that pseudo_end is just ret and the stack pointer is correct also
33833 for static library in error case.
33834
d44638b0
PP
338352012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33836
33837 [BZ #14122]
33838 * nss/nsswitch.c (defconfig_entries): New variable.
33839 (__nss_database_lookup): Don't leak defconfig entries.
33840 (nss_parse_service_list): Don't leak on error paths.
33841 (free_database_entries): New function.
33842 (free_defconfig): New function.
33843 (free_mem): Move common code to free_database_entries.
33844
31a39bd8
L
338452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33846
da0331a8
L
33847 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33848 Add arch_prctl.
33849 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33850
31a39bd8
L
33851 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33852 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33854 New macro.
33855 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33856 (INTERNAL_SYSCALL_TYPES): Likewise.
33857 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33858 (LOAD_REGS_TYPES_[1-6]): Likewise.
33859 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33860 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33861
45470df3
AZ
338622012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33863
33864 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33865 copysignl for GLIBC_2_0.
33866 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33867 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33868 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33869 logbl for GLIBC_2_0.
33870 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33871 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33872
98a61bcb
L
338732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33874
a4f6e481
L
33875 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33876 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33877
f63d5db6
L
33878 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33879 Use "neg %eax".
33880
98a61bcb
L
33881 * time/mktime.c: Update copyright years.
33882
95770f14
PE
338832012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33884
6226efbd
PE
33885 mktime: merge comment-quoting-style change from gnulib
33886 * time/mktime.c: Quote 'like this' in comments.
33887 The GNU coding standards suggest that we no longer quote `like this',
33888 as "`" and "'" are typically rendered asymmetrically nowadays.
33889 The typical gnulib style is to quote 'like this' when quoting
33890 code, and "like this" when quoting English.
33891
b99e4f78
PE
33892 * time/mktime.c (compile-command): Add "-I.".
33893
643e01e6
PE
33894 mktime: merge mktime-internal.h change from gnulib
33895 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33896
2554247d
PE
33897 mktime: merge time_r change from gnulib
33898 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33899
826dd0ab
PE
33900 mktime: merge DEBUG change from gnulib
33901 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33902 case system <time.h> has a #define.
33903
bd83aabe
PE
33904 mktime: merge <sys/types.h> change from gnulib
33905 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33906 since <time.t> is now guaranteed to define time_t.
33907
95770f14
PE
33908 mktime: merge HAVE_CONFIG_H change from gnulib
33909 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33910
5e1a27a9
L
339112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33912
0e44a77e
L
33913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33914 Use "neg %eax".
33915
5e1a27a9
L
33916 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33917 __rlim_t cast.
33918 (struct rusage): Use anonymous union to pad each field to
33919 __syscall_slong_t.
33920
46259bec
DM
339212012-05-21 David S. Miller <davem@davemloft.net>
33922
33923 * Makefules (o-iterator): Remove .s cases.
33924 (compile-command.s): Delete.
33925 (COMPILE.s): Delete.
33926 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33927
59f0c22e
JM
339282012-05-21 Joseph Myers <joseph@codesourcery.com>
33929
33930 * configure.in (libc_cv_predef_stack_protector): Only consider
33931 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33932 * configure: Regenerated.
33933
20c07380
L
339342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33935
bbb3154b
L
33936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33937 New macro. Use R*LP on int and pointer.
33938 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33939 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33940 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33941 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33942
20c07380
L
33943 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33944 [__WORDSIZE_TIME64_COMPAT32] instead of
33945 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33946 (struct utmp): Likewise.
33947 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33948 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33949 Renamed to ...
33950 (__WORDSIZE_TIME64_COMPAT32): This.
33951 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33952 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33953 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33954 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33955 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33956 (__WORDSIZE_TIME64_COMPAT32): New macro.
33957
d8d1017e
AJ
339582012-05-21 Andreas Jaeger <aj@suse.de>
33959
33960 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33961 only if [SHARED]. Add prototype for __wcschr_ia32.
33962
6c7fb145
RM
339632012-05-21 Roland McGrath <roland@hack.frob.com>
33964
33965 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33966 of %rbp unmolested in the jmp_buf while mangling the low bits.
33967 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33968 unmolested high bits of %rbp while demangling the low bits.
33969 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33970
66274218
AJ
339712012-05-21 Andreas Jaeger <aj@suse.de>
33972
07c58f8f
AJ
33973 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33974 * sunrpc/svc_simple.c: Use it for registerrpc.
33975 * sunrpc/xcrypt.c: Use it for passwd2des.
33976
66274218
AJ
33977 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33978
61f65140
L
339792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33980
33981 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33982 Don't define if [__SYSCALL_WORDSIZE != 32].
33983 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33984 New macro.
33985
5fefb436
AJ
339862012-05-21 Bruno Haible <bruno@clisp.org>
33987 Andreas Jaeger <aj@suse.de>
33988
33989 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33990 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33991 inptr and inend for must_buffer_ch.
33992 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33993 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33994 * stdio-common/Makefile (tests): Remove bug15.
33995 (bug15-ENV): Remove macro.
33996 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33997 anymore.
33998
d8e272ab
AJ
339992012-05-19 Andreas Jaeger <aj@suse.de>
34000 Roland McGrath <roland@hack.frob.com>
34001
34002 * manual/contrib.texi: Completely rewritten. It contains now an
34003 alphabetical list of contributors and their contributions.
34004
4a56a162
RH
340052012-05-21 Richard Henderson <rth@twiddle.net>
34006
34007 * misc/getauxval.c (__getauxval): Use unsigned long int.
34008 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34009 (getauxval): Use unsigned long int.
34010
d024d23c
L
340112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34012
34013 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34014
cbc00a03
RM
340152012-05-21 Roland McGrath <roland@hack.frob.com>
34016
34017 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34018 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34019 __alignof__ (long double).
34020
478143fa
AZ
340212012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34022
34023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34024
c7683a6d
RH
340252012-05-20 Richard Henderson <rth@twiddle.net>
34026
34027 * misc/getauxval.c: New file.
34028 * misc/sys/auxv.h: New file.
34029 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34030 (routines): Add getauxval.
34031 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34032 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34033 * elf/dl-sysdep.c (_dl_auxv): Remove.
34034 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34035 * elf/dl-support.c (_dl_auxv): New variable.
34036 (_dl_aux_init): Initialize it.
34037 * manual/startup.texi (Auxiliary Vector): New node.
34038 * sysdeps/generic/bits/hwcap.h: New file.
34039 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34040 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34041 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34042 * sysdeps/sparc/sysdep.h: ... here. Include it.
34043 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34044 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34046 Update.
c7683a6d
RH
34047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34050 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34055
a6f1845d
AZ
340562012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34057
34058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34059
cbcbe830
DM
340602012-05-19 David S. Miller <davem@davemloft.net>
34061
34062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34063
e0b16cc2
JM
340642012-05-19 Joseph Myers <joseph@codesourcery.com>
34065
34066 [BZ #14123]
34067 * math/s_ccosh.c: Include <float.h>
34068 (__ccosh): Avoid internal overflow calculating sinh and cosh
34069 values before multiplying by sin and cos values.
34070 * math/s_ccoshf.c: Likewise.
34071 * math/s_ccoshl.c: Likewise.
34072 * math/s_csin.c: Likewise.
34073 * math/s_csinf.c: Likewise.
34074 * math/s_csinl.c: Likewise.
34075 * math/s_csinh.c: Likewise.
34076 * math/s_csinhf.c: Likewise.
34077 * math/s_csinhl.c: Likewise.
34078 * math/libm-test.inc (ccos_test): Add more tests.
34079 (ccosh_test): Likewise.
34080 (csin_test): Likewise.
34081 (csinh_test): Likewise.
34082 * sysdeps/i386/fpu/libm-test-ulps: Update.
34083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34084
6ad13e08
L
340852012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34086
f66f0ce8
L
34087 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34088 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34089
6ad13e08
L
34090 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34091
b1d072a7
JM
340922012-05-19 Joseph Myers <joseph@codesourcery.com>
34093
34094 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34095 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34096 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34097 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34098 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34099 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34100 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34101 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34102 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34103 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34104 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34105 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34106 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34107 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34108 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34109 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34110 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34111 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34112 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34113 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34114 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34115 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34116 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34117 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34118 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34119 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34120 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34121 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34122 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34123 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34124 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34125
9eae47cb
AJ
341262012-05-18 Andreas Jaeger <aj@suse.de>
34127
34128 * csu/.gitignore: Delete.
34129
bb07f69f
L
341302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34131
34132 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34133 (timex): Use __syscall_slong_t.
34134
e6bdb741
AJ
341352012-05-18 Andreas Jaeger <aj@suse.de>
34136 Carlos O'Donell <carlos_odonell@mentor.com>
34137
34138 * manual/install.texi (Configuring and compiling): Update
34139 description about files modified in the source directory.
d6c33fda 34140 * INSTALL: Regenerated.
e6bdb741 34141
1b74487e
L
341422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34143
34144 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34145 value. Use "or" to set return value to -1.
34146 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34147 negate return value.
34148
a88b64b9
TMQMF
341492012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34150
57f41c40
AS
34151 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34152 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34153 failure if the compiler has Graphite support disabled.
34154 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34155 Likewise.
57f41c40
AS
34156 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34157 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34158 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34159 Likewise.
34160
3707636e
L
341612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34162
610b8622
L
34163 * sysdeps/x86_64/x32/_itoa.h: New file.
34164
7cd195df
L
34165 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34166 getdents system call only if kernel and user dirents have the
34167 same d_ino and d_off.
34168
94b07d20
L
34169 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34170 LLONG_MAX != LONG_MAX.
34171 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34172 (_fitoa_word): Likewise.
34173
18298070
L
34174 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34175 years.
34176 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34177 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34178 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34179
553c7ea4
L
34180 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34181 include <bits/wordsize.h>. Check __x86_64__ instead of
34182 __WORDSIZE.
34183 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34184 if __x86_64__ is defined. Use anonymous union on fpstate.
34185
3707636e
L
34186 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34187 anonymous union.
34188
b53ef01a
AS
341892012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34190
37fb1dc0
AS
34191 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34192 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34193 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34194 Refer to _rtld_local_ro instead of _rtld_global_ro.
34195 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34196 Likewise.
34197 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34198 Likewise.
34199 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34200 Likewise.
34201 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34202 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34203 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34204
b53ef01a
AS
34205 * sysdeps/powerpc/powerpc32/dl-machine.c
34206 (__elf_machine_runtime_setup) [PROF]: Don't reference
34207 _dl_prof_resolve.
34208
7a185db2
AJ
342092012-05-18 Andreas Jaeger <aj@suse.de>
34210
34211 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34212 function only available for GCCs before 3.4 since GCC 3.4
34213 introduced a builtin.
34214 (lrint): Likewise.
34215 (llrintf): Likewise.
34216 (llrint): Likewise.
34217 (fmaxf): Likewise.
34218 (fmax): Likewise.
34219 (fminf): Likewise.
34220 (fmin): Likewise.
34221 (rint): Likewise.
34222 (rintf): Likewise.
34223 (nearbyint): Likewise.
34224 (nearbyintf): Likewise.
34225 (ceil): Likewise.
34226 (ceilf): Likewise.
34227 (floor): Likewise.
34228 (floorf): Likewise.
34229
3e5aef87
L
342302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34231
428bd707
L
34232 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34233 on both fields and cast pointer to __syscall_ulong_t.
34234
3e5aef87
L
34235 * bits/types.h (__fsword_t): New type.
34236 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34237 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34239 (__FSWORD_T_TYPE): Likewise.
34240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34241 (__FSWORD_T_TYPE): Likewise.
34242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34243 (__FSWORD_T_TYPE): Likewise.
34244 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34245 (__FSWORD_T_TYPE): Likewise.
34246 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34247 __SWORD_TYPE with __fsword_t.
34248 (statfs64): Likewise.
34249
1ba7c3dc
DM
342502012-05-17 David S. Miller <davem@davemloft.net>
34251
34252 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34253
59910343
AJ
342542012-05-17 Andreas Jaeger <aj@suse.de>
34255
34256 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34257 warning.
34258
2e4c1e9e
L
342592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34260
34261 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34262
de7f5ce7
AJ
342632012-05-17 Andreas Jaeger <aj@suse.de>
34264
34265 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34266 when it is used.
34267
286abc3d
CM
342682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34269
34270 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34271
477cc68e
L
342722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34273
34274 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34275 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34276
1a0994f5
CD
342772012-05-17 Andreas Jaeger <aj@suse.de>
34278 Carlos O'Donell <carlos_odonell@mentor.com>
34279
34280 [BZ #14059]
34281 * sysdeps/x86_64/multiarch/init-arch.h
34282 (bit_YMM_Usable): Rename to...
34283 (bit_AVX_Usable): ... this.
34284 (bit_FMA4_Usable): New macro.
34285 (bit_XMM_state): New macro.
34286 (bit_YMM_state): New macro.
34287 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34288 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34289 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34290 (CPUID_OSXSAVE): New macro.
34291 (CPUID_AVX): New macro.
34292 (CPUID_FMA4): New macro.
34293 (index_YMM_Usable): Rename to...
34294 (index_AVX_Usable): ... this.
34295 (HAS_AVX): Use HAS_ARCH_FEATURE.
34296 (HAS_FMA4): Likewise.
34297 (HAS_YMM_USABLE): Remove.
34298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34299 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34300 are present.
34301 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34302 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34303 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34304 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34305 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34306
0af797de
CM
343072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34308
34309 * math/libm-test.c: Support platforms without multiple rounding modes.
34310 * math/bug-nextafter.c: Support platforms without FP exceptions.
34311 * math/bug-nexttoward.c: Likewise.
34312 * math/test-fenv.c: Likewise.
34313 * math/test-misc.c: Likewise.
34314 * stdlib/bug-getcontext.c: Likewise.
34315
e39745ff
AJ
343162012-05-17 Andreas Jaeger <aj@suse.de>
34317
34318 * manual/examples/search.c (critter_cmp): Change signature to
34319 avoid warnings.
34320 * manual/string.texi (Collation Functions): Likewise.
34321
48970aba
L
343222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34323
34324 * bits/types.h: Fold copyright years.
34325 * bits/typesizes.h: Likewise.
34326 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34327 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34330 * time/time.h: Likewise.
34331
bedee953
PP
343322012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34333
34334 [BZ #208]
34335 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34336 in instead of returning them. Return void.
34337 (__libc_mallinfo): Accumulate over all arenas.
34338 (__malloc_stats): Adjust for change in int_mallinfo interface.
34339
61653dfb
RM
343402012-05-16 Roland McGrath <roland@hack.frob.com>
34341
30b99d79
RM
34342 [BZ #10375]
34343 * configure.in (NM): Add AC_CHECK_TOOL for it.
34344 (libc_extra_cflags): New substituted variable.
34345 Check for -fstack-protector being used implicitly.
34346 * configure: Regenerated.
34347 * config.make.in (config-extra-cflags): New variable,
34348 gets @libc_extra_cflags@.
34349 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34350
61653dfb
RM
34351 [BZ #10375]
34352 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34353 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34354 * configure: Regenerated.
34355 * config.make.in (CPPUNDEFS): New substituted variable.
34356 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34357 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34358 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34359
661768bb
L
343602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34361
34362 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34363 (mq_attr): Use __syscall_slong_t.
34364
d4261567
L
343652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34366
34367 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34368 Check __x86_64__ instead of __WORDSIZE.
34369 (_STAT_VER_LINUX): Likewise.
34370 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34371 __syscall_ulong_t and __syscall_slong_t.
34372 (stat64): Likewise.
34373
cf3ff365
L
343742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34375
34376 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34377
76cf3e4d
L
343782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34379
34380 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34381
a637753a
L
343822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34383
34384 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34385 __syscall_ulong_t.
34386
d5e05119
L
34387 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34388 include <bits/wordsize.h>. Check __x86_64__ instead of
34389 __WORDSIZE.
34390 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34391 defined.
34392 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34393
f62ee380
L
34394 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34395 include <bits/wordsize.h>. Check __x86_64__ instead of
34396 __WORDSIZE.
34397 (user_regs_struct): Use "__extension__ unsigned long long"
34398 instead of "unsigned long" if __x86_64__ is defined.
34399 (user): Likewise. Pad after pointer field if __ILP32__ is
34400 defined.
34401
4e124ced
JM
344022012-05-16 Joseph Myers <joseph@codesourcery.com>
34403
6a3951a0
JM
34404 * configure.in (makeinfo): Require version 4.5 or later. Allow
34405 versions 5 to 9.
34406 * configure: Regenerated.
34407 * manual/install.texi (texinfo): Increase version requirement to
34408 4.5 or later.
34409 * INSTALL: Regenerated.
34410
4e124ced
JM
34411 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34412
953ca31a
L
344132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34414
34415 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34416
617aca05
L
34417 * sysdeps/x86_64/x32/ffs.c: New file.
34418
5762f7ae
L
34419 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34420 __syscall_ulong_t.
34421 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34422 defined. Use __syscall_ulong_t.
34423 (shminfo): Use __syscall_ulong_t.
34424 (shm_info): Likewise.
34425
a26b6856
L
34426 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34427 __syscall_ulong_t.
34428
cb2b9ef7
L
34429 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34430 <bits/wordsize.h>.
34431 (msgqnum_t): Use __syscall_ulong_t.
34432 (msglen_t): Likewise.
34433 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34434 __syscall_ulong_t.
34435
34683bb0
L
34436 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34437 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34438
84a68786
L
34439 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34440
48baa5f1
L
34441 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34442 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34443
180be88b
L
34444 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34445 __syscall_slong_t.
34446
5e90c8ad
L
34447 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34448 include <bits/wordsize.h>. Check __x86_64__ instead of
34449 __WORDSIZE.
34450
23dfb58b
L
34451 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34452 "unsigned long long int" if __x86_64__ is defined.
34453 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34454
ce5d54b0
L
34455 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34456 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34457 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34458
13dc9eac
L
34459 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34460 <stdint.h>.
34461 (GET_PC): Cast to uintptr_t first.
34462 (GET_FRAME): Likewise.
34463 (GET_STACK): Likewise.
34464
a7895d15
L
34465 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34466 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34467 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34468 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34469 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34470 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34471 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34472 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34473 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34474 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34475 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34476 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34477 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34478 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34479 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34480 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34481 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34482 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34483 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34484 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34485 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34486 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34487 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34488 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34489 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34490 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34491 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34492 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34493 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34494
656416c9
AS
344952012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34496
5bd66283
AS
34497 * Makerules (+depfiles): Also collect depfiles from .oS in
34498 $(extra-objs).
34499 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34500 .oS, $(libnldbl-routines)).
34501
656416c9
AS
34502 * Makerules (native-compile-mkdep-flags): Define.
34503 * sunrpc/Makefile (extra-objs): Add $(addprefix
34504 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34505 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34506 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34507 calling $(make-target-directory).
34508
a46f2169
L
345092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34510
34511 * bits/types.h (__snseconds_t): Removed.
34512 * time/time.h (struct timespec): Replace __snseconds_t with
34513 __syscall_slong_t.
34514 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34515 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34516 Likewise.
34517 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34518 (__SNSECONDS_T_TYPE): Likewise.
34519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34520 (__SNSECONDS_T_TYPE): Likewise.
34521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34522 (__SNSECONDS_T_TYPE): Likewise.
34523
6af6528b
L
345242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34525
34526 * sysdeps/mach/hurd/bits/typesizes.h
34527 (__SYSCALL_SLONG_TYPE): New macro.
34528 (__SYSCALL_ULONG_TYPE): Likewise.
34529
de986b56
L
345302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34531
34532 * bits/types.h (__syscall_slong_t): New type.
34533 (__syscall_ulong_t): Likewise.
34534
34535 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34536 (__SYSCALL_ULONG_TYPE): Likewise.
34537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34538 (__SYSCALL_SLONG_TYPE): Likewise.
34539 (__SYSCALL_ULONG_TYPE): Likewise.
34540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34541 (__SYSCALL_SLONG_TYPE): Likewise.
34542 (__SYSCALL_ULONG_TYPE): Likewise.
34543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34544 (__SYSCALL_SLONG_TYPE): Likewise.
34545 (__SYSCALL_ULONG_TYPE): Likewise.
34546
85736dc7
L
345472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34548
34549 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34550 Add sigaltstack-offsets.sym.
34551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34552 <sigaltstack-offsets.h>.
34553 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34554 longjmp_msg pointer.
34555 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34556 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34557 signal stack.
34558 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34559
cc03b296
JM
345602012-05-15 Joseph Myers <joseph@codesourcery.com>
34561
a9538892
JM
34562 * elf/stackguard-macros.h: Remove file.
34563 * sysdeps/generic/stackguard-macros.h: New file.
34564 * sysdeps/i386/stackguard-macros.h: Likewise.
34565 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34566 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34567 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34568 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34569 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34570 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34571 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34572 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34573 <elf/stackguard-macros.h>.
34574
cc03b296
JM
34575 [BZ #14109]
34576 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34577 __aligned__ in attribute.
34578 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34579 (gregset_t): Likewise.
34580
93171016
L
345812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34582
34583 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34584 * sysdeps/x86_64/64/Implies-after: Here. New file.
34585 * sysdeps/x86_64/x32/Implies-after: New file.
34586
d86813a0
L
345872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34588
34589 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34590 and access return value for _dl_profile_fixup. Use R10_LP to
34591 load frame size.
34592
2953ec75
L
345932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34594
34595 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34596
3b550e9e
L
345972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34598
34599 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34600 * sysdeps/x86_64/x32/sysdep.h: New file.
34601
eda41706
L
346022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34603
34604 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34605 * sysdeps/x86_64/setjmp.S: Likewise.
34606
9ea01d93
AZ
346072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34608
34609 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34610 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34611 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34612 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34613 remove unused global constant.
34614
02a91938
CM
346152012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34616
34617 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34618 include of <not-cancel.h>.
34619
6540185f
RM
346202012-05-15 Roland McGrath <roland@hack.frob.com>
34621
34622 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34623
509072a0
AJ
346242012-05-15 Jeff Law <law@redhat.com>
34625 Andreas Jaeger <aj@suse.de>
34626
34627 [BZ #13594]
34628 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34629 out from...
34630 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34631 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34632 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34633 code changing __hst_map_handle.map.
34634
ba75122d
RM
346352012-05-15 Roland McGrath <roland@hack.frob.com>
34636
34637 * configure.in (sysnames): Look for Implies-before and Implies-after
34638 files.
34639 * configure: Regenerated.
34640
890d8bd8
L
346412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34642
34643 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34644 8-byte data alignment with LP_SIZE alignment.
34645
f6ee6623
L
346462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34647
34648 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34649 into R10_LP.
34650
ea2626f6
L
346512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34652
34653 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34654
085f715e
L
346552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34656
34657 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34658 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34659 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34660 Likewise.
34661 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34662
be8498fc
L
346632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34664
34665 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34666 (stackinfo_sub_sp): Likewise.
34667
70bc83b9
L
346682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34669
34670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34671 RAX_LP.
34672
9bc0b730
L
346732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34674
34675 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34676 into R*_LP.
34677
6d2850e7
L
346782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34679
34680 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34681 sizes into R*_LP.
34682
3cb84561
L
346832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34684
34685 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34686
54e2ed81
L
346872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34688
34689 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34690 into R11_LP and load __x86_64_shared_cache_size_half into
34691 R8_LP.
34692
8a17f349
L
346932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34694
34695 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34696 R8_LP.
34697
777b1eea
AZ
346982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34699
34700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34701 logb for POWER7.
34702 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34703 logbf for POWER7.
34704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34705 logbl for POWER7.
34706 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34707 powerpc32/power7/fpu/s_logb.c via #include.
34708 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34709 powerpc32/power7/fpu/s_logbf.c via #include.
34710 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34711 powerpc32/power7/fpu/s_logbl.c via #include.
34712
d20d4ac2
JM
347132012-05-15 Joseph Myers <joseph@codesourcery.com>
34714
34715 * README.libm: Remove file.
34716
6cdef1ab
L
347172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34718
34719 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34720 count for x32. Use R*_LP and omit operand-size suffix.
34721
0b254d8f
L
347222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34723
34724 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34725 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34726 * sysdeps/x86_64/x32/shlib-versions: New file.
34727
ceb809dc
RM
347282012-05-14 Roland McGrath <roland@hack.frob.com>
34729
34730 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34731 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34732 Use _dl_fatal_printf instead.
34733
37f1abd4
JM
347342012-05-14 Joseph Myers <joseph@codesourcery.com>
34735
34736 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34737 set if not set by the user. Do not allow for being unset.
34738 * sysdeps/unix/sysv/linux/configure: Regenerated.
34739
11de3a33
L
347402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34741
34742 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34743 the `q' suffix from lea and replace .quad with ASM_ADDR.
34744
e02f153a
L
347452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34746
34747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34748 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34749 instead of $17.
34750 (PTR_DEMANGLE): Likewise.
34751
520ae0fd
L
347522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34753
34754 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34755 (LP_OP): Likewise.
34756 (ASM_ADDR): Likewise.
34757 (RAX_LP): Likewise.
34758 (RBP_LP): Likewise.
34759 (RBX_LP): Likewise.
34760 (RCX_LP): Likewise.
34761 (RDI_LP): Likewise.
34762 (RSI_LP): Likewise.
34763 (RSP_LP): Likewise.
34764 (R8_LP): Likewise.
34765 (R9_LP): Likewise.
34766 (R10_LP): Likewise.
34767 (R10_LP): Likewise.
34768 (R11_LP): Likewise.
34769 (R12_LP): Likewise.
34770 (R13_LP): Likewise.
34771 (R14_LP): Likewise.
34772 (R15_LP): Likewise.
34773
b985be81
L
347742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34775
34776 * sysdeps/x86_64/x32/dl-machine.h: New file.
34777
6a4888ff
AJ
347782012-05-14 Andreas Jaeger <aj@suse.de>
34779
34780 * manual/Makefile (subdir): Remove export of subdir.
34781 (all): Remove target.
34782 (.PHONY): Remove all from list.
34783 (mkinstalldirs): Remove.
34784 (.PHONY): Remove installdirs from list.
34785 ($(inst_infodir)/libc.info): Use make-target-directory.
34786 (installdirs): Remove.
34787 (subdir_%): Remove.
34788 (glibc-targets): Remove.
34789 (lib): Remove.
34790 (stubs): Remove.
34791 ($(objpfx)stubs ../po/manual.pot): Remove.
34792 ($(objpfx)stamp%): Remove.
34793 (make-target-directory): Remove.
34794 (subdir_install): Remove.
34795 (routines): Remove.
34796 (aux): Remove.
34797 (sources): Remove.
34798 (objects): Remove.
34799 (headers): Remove.
34800
34801 [BZ #13750]
34802 * manual/.gitignore: Remove, it's not needed anymore.
34803 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34804 all files in it.
34805 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34806 directory.
34807 (texis): Renamed to $(objpfx)texis.
34808 (texis-path): New, contains path to generated files.
34809 (chapters.%): Use texis-path for complete path, add extra argument
34810 libc-texinfo.sh.
34811 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34812 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34813 (summary,texi, stamp-summary): Use complete path of
34814 files. Generate files in build dir.
34815 (dir-add.texi): Build in build dir.
34816 (libm-err.texi,stamp-libm-err): Likewise.
34817 (version.texi, stamp-version): Likewise.
34818 (.%c.texi): Likewise.
34819 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34820 (mostlyclean): Remove target.
34821 (realclean): Remove target.
34822 (generated): Add new variable with contents from mostlyclean and
34823 realclean, remove entries duplicated in common-mostlyclean, add
34824 stamp-libm-err and stamp-version.
34825 (generated-dirs): Add libc directory.
34826 ($(inst_infodir)/libc.info): Install files from build dir.
34827
34828 * manual/install.texi (Configuring and compiling): Adjust since
34829 the info files are not part of the tar ball anymore.
34830
7ac77294
AJ
348312012-05-14 Andreas Jaeger <aj@suse.de>
34832
34833 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34834 variable.
34835
ffb7875d
JM
348362012-05-14 Joseph Myers <joseph@codesourcery.com>
34837
34838 [BZ #13717]
34839 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34840 to 2.2.0 where earlier.
34841 * sysdeps/unix/sysv/linux/configure: Regenerated.
34842 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34843 Remove conditional code.
34844 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34845 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34846 Remove conditional code.
34847 [!__NR_lchown]: Likewise.
34848 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34849 [__NR_lchown]: Likewise.
34850 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34851 comment referencing __ASSUME_LCHOWN_SYSCALL.
34852 * sysdeps/unix/sysv/linux/i386/sigaction.c
34853 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34854 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34855 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34856 Remove conditional code.
34857 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34858 (__protocol_available): Remove #if 0 code.
34859 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34860 conditional code.
34861 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34862 * sysdeps/unix/sysv/linux/kernel-features.h
34863 (__ASSUME_GETCWD_SYSCALL): Don't define.
34864 (__ASSUME_REALTIME_SIGNALS): Likewise.
34865 (__ASSUME_PREAD_SYSCALL): Likewise.
34866 (__ASSUME_PWRITE_SYSCALL): Likewise.
34867 (__ASSUME_POLL_SYSCALL): Likewise.
34868 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34869 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34870 non-SPARC.
34871 (__ASSUME_SIOCGIFNAME): Don't define.
34872 (__ASSUME_MSG_NOSIGNAL): Likewise.
34873 (__ASSUME_SENDFILE): Define unconditionally.
34874 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34875 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34876 conditional code.
34877 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34878 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34879 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34880 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34881 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34882 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34883 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34885 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34886 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34888 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34889 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34891 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34892 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34894 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34895 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34897 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34898 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34900 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34901 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34903 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34904 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34906 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34908 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34909 Remove conditional code.
34910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34911 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34912 Remove conditional code.
34913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34914 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34915 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34916 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34917 Remove conditional code.
34918 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34919 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34920 Remove conditional code.
34921 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34922 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34923 Remove conditional code.
34924 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34925 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34926 Remove conditional code.
34927 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34928 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34929 Remove conditional code.
34930 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34931 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34932 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34933 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34934 * sysdeps/unix/sysv/linux/sigaction.c
34935 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34936 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34937 * sysdeps/unix/sysv/linux/sigpending.c
34938 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34939 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34940 * sysdeps/unix/sysv/linux/sigprocmask.c
34941 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34942 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34943 * sysdeps/unix/sysv/linux/sigsuspend.c
34944 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34945 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34946 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34947 (__libc_missing_rt_sigs): Remove.
34948 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34949 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34950 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34951 Remove conditional code.
34952 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34953 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34954 return 1.
34955 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34956 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34957 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34958 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34959
1bfb7291
AJ
349602012-05-14 Andreas Jaeger <aj@suse.de>
34961
caae5a81
AJ
34962 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34963 it's not used in glibc.
34964 (__coshm1): Likewise.
34965 (__acosh1p): Likewise.
34966 (__sgn): Likewise.
34967
1bfb7291
AJ
34968 * manual/string.texi (Copying and Concatenation): Add missing
34969 variable in concat example.
34970 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34971
c044d724
L
349722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34973
144c5467 34974 [BZ #14103]
c044d724
L
34975 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34976 __builtin_clzl with __builtin_clzll.
34977
2523c62b
L
349782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34979
34980 [BZ #14104]
34981 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34982 libc_freeres_ptr.
34983
d7bb4c42
LD
349842012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34985
34986 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34987 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34988 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34989 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34990
9dc4e1fb
MF
349912012-05-14 Mike Frysinger <vapier@gentoo.org>
34992
34993 * NEWS: Update ia64 info.
34994
c7df0112
AS
349952012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34996
34997 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34998 used as bcopy.
34999
dc70356c
TS
350002012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35001
35002 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35003 * sysdeps/unix/syscalls.list (dup3): Likewise.
35004 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35005 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35006
9fb1a21f
L
350072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35008
35009 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35010 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35011
4822a2a5
L
350122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35013
35014 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35015 thread pointer.
35016 (TLS_IE): Use mov/add instead of movq/addq to load thread
35017 pointer.
35018 (TLS_GD_PREFIX): New.
35019 (TLS_GD): Use it.
35020
842b81d6
DM
350212012-05-11 David S. Miller <davem@davemloft.net>
35022
35023 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35024 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35025 (_FPU_SETCW): Likewise.
35026
1cf463cd
L
350272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35028
35029 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35030 is 32-byte aligned.
35031
60cc4a18
AS
350322012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35033
35034 [BZ #11837]
35035 * iconvdata/gb18030.c: Update tables.
35036 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35037 characters specially.
35038 (BODY for TO_LOOP): Add encoding of missing ranges.
35039
febb44a4
TS
350402012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35041
35042 [BZ #13673]
35043 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35044 * sysdeps/mach/hurd/dup3.c: Likewise.
35045 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35046 * sysdeps/powerpc/memmove.c:: Likewise.
35047
0a10fb9e
L
350482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35049
35050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35051 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35052
df8a552f
L
350532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35054
35055 * elf/elf.h (R_X86_64_RELATIVE64): New.
35056 (R_X86_64_NUM): Updated.
35057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35058 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35059 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35060 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35061 tst-quad1pie tst-quad2pie
35062 (modules-names): Add tst-quadmod1 tst-quadmod2.
35063 ($(objpfx)tst-quad1): New dependency.
35064 ($(objpfx)tst-quad2): Likewise.
35065 ($(objpfx)tst-quad1pie): Likewise.
35066 ($(objpfx)tst-quad2pie): Likewise.
35067 * sysdeps/x86_64/tst-quad1.c: New file.
35068 * sysdeps/x86_64/tst-quad1pie.c: New file.
35069 * sysdeps/x86_64/tst-quad2.c: Likewise.
35070 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35071 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35072 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35073 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35074 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35075
f34d6f84
ST
350762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35077
f42d41d1
ST
35078 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35079 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35080 * streams/stropts.h (t_scalar_t): Define type.
35081
3c3571fc
ST
35082 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35083 (_PATH_PRESERVE): Set to "/var/lib".
35084 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35085
61f06bd3
ST
35086 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35087 instead of int.
35088
918d4d71
ST
35089 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35090 if __dir_mkfile succeeded.
35091
f34d6f84
ST
35092 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35093 checking for _hurd_dtablesize. Unlock it right after having
35094 finished _hurd_dtable allocation.
35095
10589b4a
TS
350962012-05-10 Thomas Schwinge <thomas@schwinge.name>
35097
674cdbc7
TS
35098 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35099 * sysdeps/mach/hurd/configure: Regenerated.
35100 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35101 special-casing to...
35102 * sysdeps/gnu/configure.in: ... this new file.
35103 * sysdeps/unix/sysv/linux/configure: Regenerated.
35104 * sysdeps/gnu/configure: New generated file.
35105
8e41b99f
TS
35106 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35107 for Linux: use nsec instead of usec, as well as:
35108 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35109 members of type struct timespec.
35110 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35111 New macros.
35112 (struct stat64): Likewise.
35113 (_STATBUF_ST_NSEC): New macro.
35114 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35115
10589b4a
TS
35116 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35117 __strtoul_internal rather than strtoul.
35118
63643c85
PT
351192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35120
35121 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35122 and reject them.
35123
3faebe6a
ST
351242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35125
35126 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35127 which preserves existing values.
35128 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35129
c6474b07
PT
351302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35131
35132 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35133 TIMEOUT values. Return EINVAL for NFDS values either negative or
35134 greater than FD_SETSIZE.
35135
1043890b
ST
351362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35137
35138 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35139 allocated, call __vm_protect to finish enabling the existing space, and
35140 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35141 allocate the remainder.
35142
37ed8b9b
PT
351432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35144
35145 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35146 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35147
db653660
ST
351482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35149
37ed8b9b
PT
35150 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35151 sysdeps/mach/hurd/readlink.c.
b29d4053 35152
db653660
ST
35153 * posix/tst-sysconf.c (posix_options): Only use
35154 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35155 _POSIX_SYNCHRONIZED_IO when they are defined
35156 * sysdeps/mach/hurd/bits/posix_opt.h:
35157 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35158 (_XOPEN_REALTIME): Undefine macro.
35159 (_XOPEN_REALTIME_THREADS): Undefine macro.
35160 (_XOPEN_SHM): Undefine macro.
35161 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35162 macro to -1.
35163 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35164 macro to -1.
35165 (_POSIX_ASYNC_IO): Undefine macro.
35166 (_POSIX_PRIORITIZED_IO): Undefine macro.
35167 (_POSIX_SPIN_LOCKS): Define macro to -1.
35168
ee16e894
ST
35169 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35170 SA_NODEFER, SA_RESETHAND.
35171 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35172 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35173 F_DUPFD_CLOEXEC.
35174
6103ae3b
TS
351752012-05-10 Thomas Schwinge <thomas@schwinge.name>
35176
35177 * elf/Makefile (pldd-modules): Define unconditionally.
35178
80b4e5f3
TS
351792012-05-10 Thomas Schwinge <thomas@schwinge.name>
35180
35181 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35182
edadcbd6
ST
351832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35184
35185 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35186 Return ENOENT when name is empty.
35187 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35188
80694780
TS
351892012-05-10 Thomas Schwinge <thomas@schwinge.name>
35190
1792c087
TS
35191 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35192
80694780
TS
35193 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35194
6b645f0d
ST
351952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35196
80694780
TS
35197 Fix mlock in all cases except non-readable pages.
35198 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35199 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35200
6b645f0d
ST
35201 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35202 (__mkdir): When path is `/', just fail with EEXIST.
35203 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35204
e468f8a3
TS
352052012-05-10 Thomas Schwinge <thomas@schwinge.name>
35206
35207 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35208 <sys/uio.h> (for writev).
35209 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35210 and <sys/param.h> (for MIN).
35211
a4186cff
PT
352122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35213
35214 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35215 REQUESTED_TIME. Properly set the remaining time and return EINTR
35216 if interrupted.
35217
510bbf14
TS
352182012-05-10 Thomas Schwinge <thomas@schwinge.name>
35219
35220 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35221 Depend on against $(link-rpcuserlibs).
35222
5d5722e8
ST
352232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35224
a4186cff
PT
35225 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35226 (__libc_stack_end): Do not use attribute_relro.
35227 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35228 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35229 to libthread-provided value.
a4186cff
PT
35230 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35231 attribute_relro.
5d5722e8 35232
37233df9
TS
352332012-05-10 Thomas Schwinge <thomas@schwinge.name>
35234
be971a2b
TS
35235 [BZ #3748]
35236 * bits/libc-lock.h (__libc_once_get): New macro.
35237 * sysdeps/mach/bits/libc-lock.h: Likewise.
35238 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35240 instead of using implementation details.
35241
37233df9
TS
35242 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35243 * libio/freopen.c: Likewise.
35244 * libio/freopen64.c: Likewise.
35245 * misc/syslog.c: Likewise.
35246 * nscd/connections.c: Likewise.
35247 * nscd/netgroupcache.c: Likewise.
35248 * sysdeps/posix/getcwd.c: Likewise.
35249
38de94a5
RM
352502012-05-10 Roland McGrath <roland@hack.frob.com>
35251
35252 * math/w_ilogbf.c: Add #include <limits.h>.
35253
67530489
ST
352542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35255
a4186cff 35256 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
35257 path instead of returning without unlocking.
35258
67530489
ST
35259 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35260 immediate-write ioctls.
35261 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35262
5aa3a74a
TS
352632012-05-10 Thomas Schwinge <thomas@schwinge.name>
35264
18bad2ae
TS
35265 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35266 __builtin_frame_address instead of making assumptions about the
35267 location of the return address relative to DATA. Force early load of
35268 the return address.
35269 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35270 __builtin_frame_address.
35271
5aa3a74a
TS
35272 dup3 for GNU Hurd.
35273 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35274 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35275 implement dup3 and do some further code clean-ups.
35276 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35277 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35278
ecd0de9a
ST
352792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35280
cd9fa985
ST
35281 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35282
a4186cff
PT
35283 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35284 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35285 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35286 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35287 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35288 d->port.lock.
802ca5a5 35289
a4186cff
PT
35290 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35291 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35292 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 35293
bcf55240
TS
352942012-05-10 Thomas Schwinge <thomas@schwinge.name>
35295
6960eb42
TS
35296 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35297 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35298 definitions.
35299
eb43375f
TS
35300 accept4 for GNU Hurd.
35301 * include/sys/socket.h (__libc_accept4): New prototype.
35302 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35303 to implement __libc_accept4.
35304 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35305 __libc_accept4.
35306 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35307
bcf55240
TS
35308 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35309 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35310 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35311 signal-defines.sym.
35312
6178c55b
ST
353132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35314
a4186cff 35315 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 35316
6f080c2f
TS
353172012-05-10 Thomas Schwinge <thomas@schwinge.name>
35318
35319 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35320 assertion on O_CLOEXEC flag.
35321 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35322 * hurd/intern-fd.c: Likewise.
35323 * hurd/port2fd.c: Likewise.
35324
bcfe3a54
ST
353252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35326
35327 [BZ #3906]
35328 * bits/in.h (IPV6_PKTINFO): Define new macro.
35329 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35330
89c9aa49
AZ
353312012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35332
35333 [BZ #13954]
35334 [BZ #13955]
35335 [BZ #13956]
35336 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35337 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35338 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35339 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35340 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35341 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35342 * math/libm-test.inc (logb_test) : Additional logb tests.
35343
021db4be
AJ
353442012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35345 Andreas Jaeger <aj@suse.de>
35346
35347 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35348 * configure: Regenerated.
35349 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35350 * config.make.in (link-obsolete-rpc): New substituted variable.
35351 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35352 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35353 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35354 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35355 so that libc.a contains the symbols.
35356 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35357 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35358 * sunrpc/auth_none.c: Likewise.
35359 * sunrpc/auth_unix.c: Likewise.
35360 * sunrpc/authdes_prot.c: Likewise.
35361 * sunrpc/authuxprot.c: Likewise.
35362 * sunrpc/clnt_gen.c: Likewise.
35363 * sunrpc/clnt_perr.c: Likewise.
35364 * sunrpc/clnt_raw.c: Likewise.
35365 * sunrpc/clnt_simp.c: Likewise.
35366 * sunrpc/clnt_tcp.c: Likewise.
35367 * sunrpc/clnt_udp.c: Likewise.
35368 * sunrpc/clnt_unix.c: Likewise.
35369 * sunrpc/des_crypt.c: Likewise.
35370 * sunrpc/des_soft.c: Likewise.
35371 * sunrpc/get_myaddr.c: Likewise.
35372 * sunrpc/key_call.c: Likewise.
35373 * sunrpc/key_prot.c: Likewise.
35374 * sunrpc/netname.c: Likewise.
35375 * sunrpc/pm_getmaps.c: Likewise.
35376 * sunrpc/pm_getport.c: Likewise.
35377 * sunrpc/pmap_clnt.c: Likewise.
35378 * sunrpc/pmap_prot.c: Likewise.
35379 * sunrpc/pmap_prot2.c: Likewise.
35380 * sunrpc/pmap_rmt.c: Likewise.
35381 * sunrpc/publickey.c: Likewise.
35382 * sunrpc/rpc_cmsg.c: Likewise.
35383 * sunrpc/rpc_common.c: Likewise.
35384 * sunrpc/rpc_dtable.c: Likewise.
35385 * sunrpc/rpc_prot.c: Likewise.
35386 * sunrpc/rpc_thread.c: Likewise.
35387 * sunrpc/rtime.c: Likewise.
35388 * sunrpc/svc.c: Likewise.
35389 * sunrpc/svc_auth.c: Likewise.
35390 * sunrpc/svc_raw.c: Likewise.
35391 * sunrpc/svc_run.c: Likewise.
35392 * sunrpc/svc_tcp.c: Likewise.
35393 * sunrpc/svc_udp.c: Likewise.
35394 * sunrpc/svc_unix.c: Likewise.
35395 * sunrpc/svcauth_des.c: Likewise.
35396 * sunrpc/xcrypt.c: Likewise.
35397 * sunrpc/xdr.c: Likewise.
35398 * sunrpc/xdr_array.c: Likewise.
35399 * sunrpc/xdr_float.c: Likewise.
35400 * sunrpc/xdr_intXX_t.c: Likewise.
35401 * sunrpc/xdr_mem.c: Likewise.
35402 * sunrpc/xdr_rec.c: Likewise.
35403 * sunrpc/xdr_ref.c: Likewise.
35404 * sunrpc/xdr_sizeof.c: Likewise.
35405 * sunrpc/xdr_stdio.c: Likewise.
35406
b5c086a2
RM
354072012-05-10 Roland McGrath <roland@hack.frob.com>
35408
35409 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35410 change. Update copyright years.
35411
6d74dd09
JM
354122012-05-10 Joseph Myers <joseph@codesourcery.com>
35413
35414 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35415
28e72501
MK
354162012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35417 Joseph Myers <joseph@codesourcery.com>
35418 Paul Pluzhnikov <ppluzhnikov@google.com>
35419
35420 [BZ #14012]
35421 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35422 requiring rpcgen.
35423 [cross-compiling] (extra-libs): Likewise.
35424 [cross-compiling] (extra-libs-others): Likewise.
35425 [cross-compiling] (librpcsvc-routines): Likewise.
35426 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35427 [cross-compiling] (omit-deps): Likewise.
35428 (sunrpc-CPPFLAGS): New variable.
35429 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35430 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35431 (cross-rpcgen-objs): New variable.
35432 (extra-objs): Append $(cross-rpcgen-objs).
35433 ($(cross-rpcgen-objs)): New rule.
35434 ($(objpfx)cross-rpcgen): Likewise.
35435 (rpcgen-cmd): Define to use $(built-program-file). Expand
35436 comment.
35437 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35438 ($(objpfx)x%.stmp): Likewise.
35439 * sunrpc/proto.h [IS_IN_build] (_): Define.
35440 [IS_IN_build] (_libc_intl_domainname): Likewise.
35441
c8c59454
L
354422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35443
35444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35445 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35446 and R_X86_64_TPOFF64.
35447
6f27cd16
JM
354482012-05-10 Joseph Myers <joseph@codesourcery.com>
35449
35450 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35451 sysdeps/unix/sysv/syscalls.list.
35452 (stime): Likewise.
35453 (utime): Likewise.
35454 * sysdeps/unix/sysv/syscalls.list: Remove file.
35455
02467e1c
PE
354562012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35457
35458 [BZ #3440]
35459 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35460 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35461 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35462 (__LC_IDENTIFICATION): Make these macros useful in #if
35463 expressions, as required by C99.
35464
da392631
AS
354652012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35466
35467 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35468 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35469 after this.
35470
8115f29b
L
354712012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35472
35473 * stdlib/longlong.h: Updated from GCC.
35474
bdd74070
AJ
354752012-05-09 Andreas Jaeger <aj@suse.de>
35476
edfe0dbe
AJ
35477 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35478 default is first entry.
35479 (run_mode): Set type.
35480 (main): Remove informal message about syslog.
35481 (options): Fix typo.
35482
bcfe3a54
ST
35483 [BZ #14053]
35484 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35485 to asm.
bcfe3a54
ST
35486 (lrint): Likewise.
35487 (llrintf): Likewise.
35488 (llrint): Likewise.
35489 (rint): Likewise.
35490 (rintf): Likewise.
35491 (nearbyint): Likewise.
35492 (nearbyintf): Likewise.
bdd74070 35493
91d8d69e
AJ
354942012-05-09 Andreas Jaeger <aj@suse.de>
35495 Pedro Alves <palves@redhat.com>
35496
35497 * nscd/nscd.c (run_mode): Use enum.
35498 (main): Cleanup coding style issue.
35499
bb90b80b
AJ
355002012-05-09 Alexandre Oliva <aoliva@redhat.com>
35501 Andreas Jaeger <aj@suse.de>
35502
bcfe3a54
ST
35503 * nscd/nscd.c (go_background): Replaced with...
35504 (run_mode): ... this.
bb90b80b 35505 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35506 (options): Add -F --foreground.
35507 (main): Implement it.
35508 (parse_opt): Parse it.
bb90b80b 35509
1a4b75a1
AJ
355102012-05-09 Andreas Jaeger <aj@suse.de>
35511
35512 [BZ #14083]
35513 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35514 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35515 -Wconversion warning.
35516 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35517 Likewise.
35518
b1cc2472
JM
355192012-05-09 Joseph Myers <joseph@codesourcery.com>
35520
35521 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35522 == 0.
35523 (LC_ALL): Use macro-int-constant.
35524 (LC_COLLATE): Likewise.
35525 (LC_CTYPE): Likewise.
35526 (LC_MESSAGES): Likewise.
35527 (LC_MONETARY): Likewise.
35528 (LC_NUMERIC): Likewise.
35529 (LC_TIME): Likewise.
35530 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35531 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35532 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35533 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35534 Specify type.
35535 [C99-based standards] (float_t): Expect type.
35536 [C99-based standards] (double_t): Expect type.
35537 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35538 type.
35539 [C99-based standards] (HUGE_VALL): Likewise.
35540 [C99-based standards] (INFINITY): Likewise.
35541 [C99-based standards] (NAN): Likewise.
35542 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35543 [C99-based standards] (FP_NAN): Likewise.
35544 [C99-based standards] (FP_NORMAL): Likewise.
35545 [C99-based standards] (FP_SUBNORMAL): Likewise.
35546 [C99-based standards] (FP_ZERO): Likewise.
35547 [C99-based standards] (FP_FAST_FMA): Use
35548 optional-macro-int-constant. Specify type. Require == 1.
35549 [C99-based standards] (FP_FAST_FMAF): Likewise.
35550 [C99-based standards] (FP_FAST_FMAL): Likewise.
35551 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35552 [C99-based standards] (FP_ILOGBNAN): Likewise.
35553 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35554 Specify type.
35555 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35556 [C99-based standards] (math_errhandling): Specify type.
35557 [ISO99 || ISO11] (signgam): Do not allow.
35558 [non-C99-based standards] (copysignf): Do not allow.
35559 [non-C99-based standards] (exp2f): Likewise.
35560 [non-C99-based standards] (log2f): Likewise.
35561 [non-C99-based standards] (modff): Allow.
35562 [non-C99-based standards] (erff): Do not allow.
35563 [non-C99-based standards] (erfcf): Likewise.
35564 [non-C99-based standards] (gammaf): Likewise.
35565 [non-C99-based standards] (hypotf): Likewise.
35566 [non-C99-based standards] (j0f): Likewise.
35567 [non-C99-based standards] (j1f): Likewise.
35568 [non-C99-based standards] (jnf): Likewise.
35569 [non-C99-based standards] (lgammaf): Likewise.
35570 [non-C99-based standards] (tgammaf): Likewise.
35571 [non-C99-based standards] (y0f): Likewise.
35572 [non-C99-based standards] (y1f): Likewise.
35573 [non-C99-based standards] (ynf): Likewise.
35574 [non-C99-based standards] (isnanf): Likewise.
35575 [non-C99-based standards] (acoshf): Likewise.
35576 [non-C99-based standards] (asinhf): Likewise.
35577 [non-C99-based standards] (atanhf): Likewise.
35578 [non-C99-based standards] (cbrtf): Likewise.
35579 [non-C99-based standards] (expm1f): Likewise.
35580 [non-C99-based standards] (ilogbf): Likewise.
35581 [non-C99-based standards] (log1pf): Likewise.
35582 [non-C99-based standards] (logbf): Likewise.
35583 [non-C99-based standards] (nextafterf): Likewise.
35584 [non-C99-based standards] (remainderf): Likewise.
35585 [non-C99-based standards] (rintf): Likewise.
35586 [non-C99-based standards] (scalbf): Likewise.
35587 [non-C99-based standards] (copysignl): Likewise.
35588 [non-C99-based standards] (exp2l): Likewise.
35589 [non-C99-based standards] (log2l): Likewise.
35590 [non-C99-based standards] (modfl): Allow.
35591 [non-C99-based standards] (erfl): Do not allow.
35592 [non-C99-based standards] (erfcl): Likewise.
35593 [non-C99-based standards] (gammal): Likewise.
35594 [non-C99-based standards] (hypotl): Likewise.
35595 [non-C99-based standards] (j0l): Likewise.
35596 [non-C99-based standards] (j1l): Likewise.
35597 [non-C99-based standards] (jnl): Likewise.
35598 [non-C99-based standards] (lgammal): Likewise.
35599 [non-C99-based standards] (tgammal): Likewise.
35600 [non-C99-based standards] (y0l): Likewise.
35601 [non-C99-based standards] (y1l): Likewise.
35602 [non-C99-based standards] (ynl): Likewise.
35603 [non-C99-based standards] (isnanl): Likewise.
35604 [non-C99-based standards] (acoshl): Likewise.
35605 [non-C99-based standards] (asinhl): Likewise.
35606 [non-C99-based standards] (atanhl): Likewise.
35607 [non-C99-based standards] (cbrtl): Likewise.
35608 [non-C99-based standards] (expm1l): Likewise.
35609 [non-C99-based standards] (ilogbl): Likewise.
35610 [non-C99-based standards] (log1pl): Likewise.
35611 [non-C99-based standards] (logbl): Likewise.
35612 [non-C99-based standards] (nextafterl): Likewise.
35613 [non-C99-based standards] (remainderl): Likewise.
35614 [non-C99-based standards] (rintl): Likewise.
35615 [non-C99-based standards] (scalbl): Likewise.
35616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35617 [non-C99-based standards] (FP_*): Do not allow.
35618 [C99-based standards] (FP_*): Change to
35619 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35620 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35621 allow.
35622 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35623 (SIG_ERR): Likewise.
35624 [X/Open-based standards] (SIG_HOLD): Likewise.
35625 (SIG_IGN): Likewise.
35626 (SIGABRT): Use macro-int-constant. Specify type. Require
35627 positive value.
35628 (SIGFPE): Likewise.
35629 (SIGILL): Likewise.
35630 (SIGINT): Likewise.
35631 (SIGSEGV): Likewise.
35632 (SIGTER): Likewise.
35633 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35634 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35635 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35636 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35637 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35638 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35639 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35640 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35641 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35642 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35643 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35644 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35645 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35646 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35647 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35648 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35649 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35650 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35651 [X/Open-based standards] (SIGTRAP): Likewise.
35652 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35653 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35654 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35655 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35656 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35657 allow.
35658
b9f1922d
IW
356592012-05-08 Ian Wienand <ianw@vmware.com>
35660
35661 [BZ #14080]
35662 * time/tzset.c (__tzset_parse_tz): Update default rules for
35663 daylight time changes in the Energy Policy Act of 2005.
35664
1db86e88
AJ
356652012-05-09 Andreas Jaeger <aj@suse.de>
35666
35667 [BZ #13983]
35668 * elf/ldconfig.c (parse_conf): Change string to make clear that
35669 ldconfig only issued a warning if ld.so.conf does not exist.
35670
dee4a4e3
DM
356712012-05-08 David S. Miller <davem@davemloft.net>
35672
ee0db190
DM
35673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35674 movxtod instead of popping the value on the stack.
35675
dee4a4e3
DM
35676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35677
6a43ec98
CD
356782012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35679
35680 * config.h.in: Add HAVE_ARM_PCS_VFP.
35681
05c2c961
RMG
356822012-05-08 Roland Mc Grath <roland@hack.frob.com>
35683
bcfe3a54
ST
35684 [BZ #13979]
35685 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35686 checking but the checks are disabled for any reason.
05c2c961 35687
4b30f61a
L
356882012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35689
35690 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35691 and ELF64_R_TYPE with ELFW(R_TYPE).
35692
eee2bc67
JM
356932012-05-08 Joseph Myers <joseph@codesourcery.com>
35694
7ea5391a
JM
35695 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35696 (ulimit): Likewise.
35697
eee2bc67
JM
35698 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35699 (settimeofday): Likewise.
35700
abb66a67
MF
357012012-05-08 Mike Frysinger <vapier@gentoo.org>
35702
35703 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35704 a struct th_u2 inside the union, and move tu_block/tu_code into
35705 a new th_u3 union of tu_block/tu_code inside of that. Move
35706 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35707 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35708 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35709 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35710 (th_stuff): Change to th_u1.tu_stuff.
35711 (th_data): Define.
35712 (th_msg): Change to th_u1.th_u2.tu_data.
35713
7f18b530
DM
357142012-05-07 David S. Miller <davem@davemloft.net>
35715
05760585
DM
35716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35717
7f18b530
DM
35718 [BZ #14074]
35719 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35720 (SETUP_PIC_REG): Use it.
35721 (SETUP_PIC_REG_LEAF): Use it.
35722
495fd99f
JM
357232012-05-07 Joseph Myers <joseph@codesourcery.com>
35724
35725 [BZ #13885]
35726 [BZ #13923]
35727 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35728 USE_AS_EXPM1L.
35729 (EXPL_FINITE): Likewise.
35730 (FLDLOG): Likewise.
35731 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35732 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35733 e_expl.S.
35734 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35735 USE_AS_EXPM1L.
35736 (EXPL_FINITE): Likewise.
35737 (FLDLOG): Likewise.
35738 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35739 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35740 e_expl.S.
35741 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35742 test of -max_value argument for long double.
35743 * sysdeps/i386/fpu/libm-test-ulps: Update.
35744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35745
6693d694
DM
357462012-05-06 David S. Miller <davem@davemloft.net>
35747
35748 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35749 quad soft-float symbols whose references which are compiler
35750 generated.
35751 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35752
6c23e11c
JM
357532012-05-06 Joseph Myers <joseph@codesourcery.com>
35754
d8b82cad
JM
35755 [BZ #13884]
35756 [BZ #13914]
35757 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35758 USE_AS_EXP10L.
35759 (EXPL_FINITE): Likewise.
35760 (FLDLOG): Likewise.
35761 (c0): Likewise.
35762 (c1): Likewise.
35763 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35764 Adjust comments for base varying.
35765 (__expl_finite): Change alias to EXPL_FINITE.
35766 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35767 e_expl.S.
35768 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35769 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35771 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35772 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35773 USE_AS_EXP10L.
35774 (EXPL_FINITE): Likewise.
35775 (FLDLOG): Likewise.
35776 (c0): Likewise.
35777 (c1): Likewise.
35778 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35779 Adjust comments for base varying.
35780 (__expl_finite): Change alias to EXPL_FINITE.
35781 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35782 tests for bugs.
35783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35784
6c23e11c
JM
35785 [BZ #14064]
35786 * math/libm-test.inc (check_float_internal): Correct ulp
35787 calculation for subnormal expected results.
35788
29ba805c
AJ
357892012-05-06 Andreas Jaeger <aj@suse.de>
35790
35791 * Makeconfig (+math-flags): New, set to -frounding-math.
35792 (+cflags): Add +math-flags so that all of glibc gets compiled with
35793 it.
35794
35795 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35796
7b17aeda
JM
357972012-05-05 Joseph Myers <joseph@codesourcery.com>
35798
5779f134
JM
35799 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35800 Disable one test.
35801
41498f4d
JM
35802 [BZ #13787]
35803 [BZ #13922]
35804 [BZ #14036]
35805 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35806 (__ieee754_expl): Allow for and saturate large arguments.
35807 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35808 (u_threshold): Likewise.
35809 (__exp): Call __ieee754_exp before checking for overflow and
35810 underflow.
35811 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35812 (u_threshold): Likewise.
35813 (__expf): Call __ieee754_expf before checking for overflow and
35814 underflow.
35815 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35816 (u_threshold): Likewise.
35817 (__expl): Call __ieee754_expl before checking for overflow and
35818 underflow.
35819 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35820 (__ieee754_expl): Allow for and saturate large arguments.
35821 * math/libm-test.inc (exp_test): Add another test. Do not allow
35822 missing overflow exception on overflow.
35823 (expm1_test): Do not allow missing overflow exception on overflow.
35824
6698b8bf
JM
35825 * sysdeps/i386/fpu/e_expl.c: Move to ...
35826 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35827 rather than using inline asm.
35828 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35829 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35830 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35831
7b17aeda
JM
35832 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35833 (nice): Likewise.
35834 (poll): Likewise.
35835 (signal): Likewise.
35836 (time): Likewise.
35837 (times): Likewise.
35838
f7c85819
JM
358392012-05-04 Joseph Myers <joseph@codesourcery.com>
35840
35841 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35842 sysdeps/unix/common/syscalls.list.
35843 (fchmod): Likewise.
35844 (fchown): Likewise.
35845 (ftruncate): Likewise.
35846 (getrusage): Likewise.
35847 (gettimeofday): Likewise.
35848 (setpgid): Likewise.
35849 (setregid): Likewise.
35850 (setreuid): Likewise.
35851 (sigaction): Likewise.
35852 (truncate): Likewise.
35853 (vhangup): Likewise.
35854 * sysdeps/unix/common/syscalls.list: Remove file.
35855 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35856 * sysdeps/unix/sysv/linux/Implies: Likewise.
35857
336270d0
L
358582012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35859
35860 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35862 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35863 Moved to ...
35864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35865 Here.
35866 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35867 to ...
35868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35869 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35870 to ...
35871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35872 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35873 to ...
35874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35875 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35876 to ...
35877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35878 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35879 to ...
35880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35881 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35882 to ...
35883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35884 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35885 to ...
35886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35887 Here.
35888 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35889 to ...
35890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35891 Here.
35892 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35893 to ...
35894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35895 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35896 Moved to ...
35897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35898 Here.
35899 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35900 to ...
35901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35902
d128e450
JM
359032012-05-04 Joseph Myers <joseph@codesourcery.com>
35904
fa8ee516
JM
35905 * sysdeps/unix/common/bits/dirent.h: Remove file.
35906 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35907
d128e450
JM
35908 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35909 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35910 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35911 * sysdeps/unix/bsd/isatty.c: Likewise.
35912 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35913 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35914 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35915
ff8faaf0 359162012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35917
62881be4 35918 [BZ #13563]
31dc8730
AZ
35919 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35920 long double comparison inaccuracies.
35921 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35923
6fef930c
AS
359242012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35925
35926 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35927 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35928
8f203e6c
JM
359292012-05-04 Joseph Myers <joseph@codesourcery.com>
35930
35931 [BZ #14049]
35932 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35933 nonzero digits before rounding a hex value.
35934 * stdlib/tst-strtod.c (tests): Add another test.
35935
5197d9c2
AK
359362012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35937
35938 * sysdeps/s390/fpu/libm-test-ulps: Update.
35939
f0c1dedf
AJ
359402012-05-03 Andreas Jaeger <aj@suse.de>
35941
35942 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35943 does not get optimized out.
35944 (malloc_opt_barrier): New.
35945
a65ef2ae 359462012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35947 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35948
2b942cb7 35949 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35950 intermediate file deletion.
2b942cb7 35951 (generated): Add .symlist files.
a65ef2ae 35952
54b71e02
JM
359532012-05-03 Joseph Myers <joseph@codesourcery.com>
35954
35955 [BZ #13775]
35956 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35957 Redirect under this condition.
35958 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35959 [__USE_GNU] (__dprintf_chk): Not under this condition.
35960 [__USE_GNU] (__vdprintf_chk): Likewise.
35961 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35962 under this condition.
35963 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35964 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35965 [__USE_XOPEN2K8] (vdprintf): Likewise.
35966 [__USE_GNU] (__dprintf_chk): Not under this condition.
35967 [__USE_GNU] (__vdprintf_chk): Likewise.
35968 [__USE_GNU] (dprintf): Likewise.
35969 [__USE_GNU] (vdprintf): Likewise.
35970
d3dfcc41
RM
359712012-05-03 Roland McGrath <roland@hack.frob.com>
35972
35973 * elf/Makefile (common-generated): Set this instead of generated for
35974 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35975 $(all-built-dso)-derived lists.
35976
7ac30cc5
AJ
359772012-05-03 Andreas Jaeger <aj@suse.de>
35978
0c51e550
AJ
35979 * sysdeps/i386/fpu/libm-test-ulps: Update.
35980
7ac30cc5
AJ
35981 * FAQ: Removed.
35982 * FAQ.in: Likewise.
35983 * scripts/gen-FAQ.pl: Likewise.
35984 * manual/install.texi (Installation): Point to online location of
35985 FAQ.
35986 * Makefile (files-for-dist): Remove FAQ.
35987 (FAQ): Remove.
35988
d4c2917f
AM
359892012-05-02 Allan McRae <allan@archlinux.org>
35990
35991 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35992 (LDFLAGS-reldepmod5.so): Likewise.
35993 (LDFLAGS-reldep6mod1.so): Likewise.
35994 (LDFLAGS-reldep6mod4.so): Likewise.
35995 (LDFLAGS-reldep8mod3.so): Likewise.
35996 (LDFLAGS-unload4mod1.so): Likewise.
35997 (LDFLAGS-unload4mod2.so): Likewise.
35998 (LDFLAGS-tst-initorder): Likewise.
35999 (LDFLAGS-tst-initordera2.so): Likewise.
36000 (LDFLAGS-tst-initordera3.so): Likewise.
36001 (LDFLAGS-tst-initordera4.so): Likewise.
36002 (LDFLAGS-tst-initorderb2.so): Likewise.
36003 (LDFLAGS-noload): Likewise.
36004 (LDFLAGS-next): Likewise.
36005 (LDFLAGS-order2mod1.so): Likewise.
36006 (LDFLAGS-order2mod2.so): Likewise.
36007 (LDFLAGS-tst-initorder2): Likewise.
36008 (LDFLAGS-tst-initorder2a.so): Likewise.
36009 (LDFLAGS-tst-initorder2b.so): Likewise.
36010 (LDFLAGS-tst-initorder2c.so): Likewise.
36011 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36012
d77f993f
DM
360132012-05-02 David S. Miller <davem@davemloft.net>
36014
36015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36016
171a70b4
PP
360172012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36018
36019 [BZ #14055]
36020 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36021
0be196ad
AJ
360222012-05-02 Andreas Jaeger <aj@suse.de>
36023
36024 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36025 since we manipulate rounding mode.
36026 (CPPFLAGS-test-idouble.c): Likewise.
36027 (CPPFLAGS-test-ifloat.c): Likewise.
36028 (CFLAGS-test-ldouble.c): Likewise.
36029 (CFLAGS-test-double.c): Likewise.
36030 (CFLAGS-test-float.c): Likewise.
36031 (CFLAGS-test-misc.c): Likewise.
36032 (CFLAGS-test-test-fenv.c): Likewise.
36033
4f9d04aa
AZ
360342012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36035
2b942cb7
RM
36036 [BZ #2550]
36037 [BZ #2570]
36038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36039 comparisons to determine direction to adjust input.
4f9d04aa 36040
82a79e7d
RM
360412012-05-01 Roland McGrath <roland@hack.frob.com>
36042
f5a01ca9
RM
36043 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36044 output to the target.
36045
90fe4186
RM
36046 * scripts/localplt.awk: New file.
36047 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36048 (check-localplt-CFLAGS): Variable removed.
36049 ($(all-built-dso:=.jmprel)): New static pattern rule.
36050 (generated): Add those targets.
36051 (localplt-built-dso): New variable.
36052 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36053
36054 * elf/check-localplt.c: File removed.
36055
82397ed6
RM
36056 * scripts/check-execstack.awk: New file.
36057 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36058 (check-execstack-CFLAGS): Variable removed.
36059 ($(objpfx)check-execstack.h): Target removed.
36060 ($(objpfx)execstack-default): New target.
36061 (generated): Add that instead of check-execstack.h.
36062 ($(all-built-dso:=.phdr)): New static pattern rule.
36063 (generated): Add those targets.
36064 * elf/check-execstack.c: File removed.
36065
82a79e7d
RM
36066 * scripts/check-textrel.awk: New file.
36067 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36068 (check-textrel-CFLAGS): Variable removed.
36069 (all-built-dso): Use := to define.o
36070 ($(all-built-dso:=.dyn)): New static pattern rule.
36071 (generated): Add those targets.
36072 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36073 * config.make.in (READELF): New substituted variable.
36074 * elf/check-textrel.c: File removed.
36075
62fde54f 360762012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36077
615605c9
JM
36078 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36079 allow.
36080 * conform/data/ctype.h-data [C99-based standards] (isblank):
36081 Expect function.
36082 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36083 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36085 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36086 Specify type. Require positive value.
36087 (EILSEQ): Likewise.
36088 (ERANGE): Likewise.
36089 [ISO || POSIX] (EILSEQ): Do not expect.
36090 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36091 Specify type. Require positive value.
36092 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36093 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36094 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36095 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36096 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36097 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36098 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36099 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36100 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36101 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36102 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36103 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36104 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36105 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36106 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36107 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36108 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36109 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36110 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36111 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36112 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36113 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36114 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36115 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36116 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36117 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36118 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36119 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36120 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36121 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36122 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36123 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36124 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36125 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36126 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36127 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36128 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36129 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36130 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36131 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36132 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36133 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36134 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36135 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36136 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36137 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36138 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36139 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36140 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36141 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36142 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36143 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36144 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36145 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36146 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36147 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36148 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36149 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36150 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36151 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36152 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36153 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36154 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36155 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36156 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36157 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36158 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36159 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36160 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36161 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36162 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36163 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36164 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36165 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36166 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36167 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36168 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36169 Require >= 2.
36170 (FLT_ROUNDS): Expect as macro, not constant.
36171 (FLT_MANT_DIG): Use macro-int-constant.
36172 (DBL_MANT_DIG): Likewise.
36173 (LDBL_MANT_DIG): Likewise.
36174 (FLT_DIG): Likewise.
36175 (DBL_DIG): Likewise.
36176 (LDBL_DIG): Likewise.
36177 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36178 (DBL_MIN_EXP): Likewise.
36179 (LDBL_MIN_EXP): Likewise.
36180 (FLT_MAX_EXP): Use macro-int-constant.
36181 (DBL_MAX_EXP): Likewise.
36182 (LDBL_MAX_EXP): Likewise.
36183 (FLT_MAX_10_EXP): Likewise.
36184 (DBL_MAX_10_EXP): Likewise.
36185 (LDBL_MAX_10_EXP): Likewise.
36186 (FLT_MAX): Use macro-constant.
36187 (DBL_MAX): Likewise.
36188 (LDBL_MAX): Likewise.
36189 (FLT_EPSILON): Use macro-constant. Give upper bound.
36190 (DBL_EPSILON): Likewise.
36191 (LDBL_EPSILON): Likewise.
36192 (FLT_MIN): Likewise.
36193 (DBL_MIN): Likewise.
36194 (LDBL_MIN): Likewise.
36195 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36196 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36197 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36198 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36199 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36200 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36201 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36202 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36203 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36204 [ISO11] (FLT_TRUE_MIN): Likewise.
36205 [ISO11] (LDBL_TRUE_MIN): Likewise.
36206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36207 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36208 (SCHAR_MIN): Use macro-int-constant. Specify type.
36209 (SCHAR_MAX): Likewise.
36210 (UCHAR_MAX): Likewise.
36211 (CHAR_MIN): Likewise.
36212 (CHAR_MAX): Likewise.
36213 (MB_LEN_MAX): Use macro-int-constant.
36214 (SHRT_MIN): Use macro-int-constant. Specify type.
36215 (SHRT_MAX): Likewise.
36216 (USHRT_MAX): Likewise.
36217 (INT_MAX): Likewise.
36218 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36219 bound negative.
36220 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36221 bound with "U".
36222 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36223 bound with "L".
36224 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36225 bound negative. Suffix upper bound with "L".
36226 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36227 bound with "UL".
36228 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36229 Specify type.
36230 [C99-based standards] (LLONG_MAX): Likewise.
36231 [C99-based standards] (ULLONG_MAX): Likewise.
36232 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36233 == 0.
36234 [ISO11] (max_align_t): Require type.
36235 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36236
c9140a62
JM
36237 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36238 from $CFLAGS, without defining away __attribute__ calls.
36239 (checknamespace): Use $CFLAGS_namespace.
36240
9af0bf29
JM
36241 * conform/conformtest.pl (@keywords): Only include C99 keywords
36242 for standards based on C99 or C11.
36243
343222a2
JM
36244 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36245 Disable tests.
36246 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36247 UNIX98]: Likewise.
36248
661f8cf0
JM
36249 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36250 usability of symbols in #if.
36251
ee74b9cb
JM
36252 * conform/conformtest.pl: If macro or constant types start
36253 "promoted:", expect the symbol to be of the following type
36254 promoted by the integer promotions.
62fde54f 36255
aafc49b3
JM
36256 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36257 in one place. Also handle "macro-constant".
36258
fefdf574
JM
36259 * conform/conformtest.pl: Only accept expected macro values with
36260 "==". Parse all "macro" lines in one place.
36261 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36262
f2d922fe
JM
36263 * conform/conformtest.pl: Handle braced types on "constant" lines
36264 instead of handling "typed-constant".
36265 * conform/data/signal.h-data: Use "constant" instead of
36266 "typed-constant".
36267
d22956c9
JM
36268 * conform/conformtest.pl: Handle "optional-" at start of lines in
36269 one place rather than duplicating several cases. Handle each
36270 format of "macro" line with initial "optional-".
36271
028e2e38
JM
36272 * conform/conformtest.pl: Only accept expected constant or
36273 optional-constant values with "==". Parse all "constant" lines in
36274 one place. Parse all "optional-constant" lines in one place.
36275 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36276 * conform/data/fmtmsg.h-data: Likewise.
36277 * conform/data/netinet/in.h-data: Likewise.
36278 * conform/data/tar.h-data: Likewise.
36279 * conform/data/limits.h-data: Use "==" form on "constant" and
36280 "optional-constant" lines.
36281
1b8f2850
JM
36282 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36283 Use -std=c99 for XOPEN2K.
36284 (@knownproblems): Remove.
36285 (newtoken): Don't check %isknown.
36286
a05a144b
JM
36287 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36288 Do not expect macro.
36289 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36290 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36291 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36292 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36293 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36294 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36295 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36296 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36297 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36298 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36299 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36300 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36301 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36302 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36303 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36304 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36305 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36306 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36307 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36308 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36309 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36310 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36311 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36312 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36313 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36314 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36315 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36316 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36317 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36318 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36319 [XPG3] (acosh): Likewise.
36320 [XPG3] (asinh): Likewise.
36321 [XPG3] (atanh): Likewise.
36322 [XPG3] (cbrt): Likewise.
36323 [XPG3] (expm1): Likewise.
36324 [XPG3] (ilogb): Likewise.
36325 [XPG3] (log1p): Likewise.
36326 [XPG3] (logb): Likewise.
36327 [XPG3] (nextafter): Likewise.
36328 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36329 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36330 [XPG3] (remainder): Likewise.
36331 [XPG3] (rint): Likewise.
36332 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36333 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36334 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36335 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36336 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36337 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36338 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36339 [UNIX98 || XOPEN2K] (scalb): Expect.
36340 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36341 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36342 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36343 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36344 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36345 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36346 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36347 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36348 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36349 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36350 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36351 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36352 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36353 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36354 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36355 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36356 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36357 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36358 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36359 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36360 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36361 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36362 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36363 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36364 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36365 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36366 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36367 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36368 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36369 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36370 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36371 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36372 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36373 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36374 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36375 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36376 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36377 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36378 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36379 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36380 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36381 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36382 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36383 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36384 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36385 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36386 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36387 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36388 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36389 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36390 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36391 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36392 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36393 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36394 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36395 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36396 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36397 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36398 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36399 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36400 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36401 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36402 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36403 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36404 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36405 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36406 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36407 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36408 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36409 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36410 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36411 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36412 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36413 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36414 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36415 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36416 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36417 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36418 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36419 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36420 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36421 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36422 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36423 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36424 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36425 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36426 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36427 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36428 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36429 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36430 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36431 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36432 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36433 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36434 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36435 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36436 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36437 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36438 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36439 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36440 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36441 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36442 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36443 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36444 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36445 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36446 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36447 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36448 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36449 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36450 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36451 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36452 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36453 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36454 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36455 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36456 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36457 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36458 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36459 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36460 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36461 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36462 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36463 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36464 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36465 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36466 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36467 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36468 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36469 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36470 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36471 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36472 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36473 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36474 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36475 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36476 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36477
73c5ebe3
JM
36478 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36479 _XOPEN_SOURCE_EXTENDED for XPG4.
36480
39c33b6c
JM
36481 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36482
62fde54f
JM
36483 * Makeconfig (localtime): Remove variable.
36484 (inst_localtime-file): Likewise.
36485
0741d64c
AS
364862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36487
36488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36489 Update.
36490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36491 Update.
36492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36493 Update.
36494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36495 Update.
36496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36497 Update.
36498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36499 Update.
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36501 Update.
36502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36503 Update.
36504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36505 Update.
36506
7cb029ee
JM
365072012-05-01 Joseph Myers <joseph@codesourcery.com>
36508
36509 [BZ #2550]
36510 [BZ #2570]
36511 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36512 comparisons to determine direction to adjust input.
36513 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36514 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36515 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36516 Likewise.
36517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36518 Likewise.
36519 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36520 Likewise.
36521 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36522 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36523 Likewise.
36524 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36525 Likewise.
36526 * math/libm-test.inc (nexttoward_test): Add more tests.
36527
412bd966
AS
365282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36529
36530 [BZ #14040]
36531 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36532 in version GLIBC_2.1, not GLIBC_2.0.
36533 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36534 Likewise.
36535
9568c0c2
JM
365362012-04-30 Joseph Myers <joseph@codesourcery.com>
36537
adfbc8ac
JM
36538 [BZ #13942]
36539 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36540 (1 - x) * (1 + x).
36541 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36542 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36543 * math/libm-test.inc (acos_test): Add more tests.
36544 (asin_test): Likewise.
36545 * sysdeps/i386/fpu/libm-test-ulps: Update.
36546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36547
5ba3cc69
JM
36548 [BZ #14034]
36549 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36550 of square root.
36551 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36552 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36553 * math/libm-test.inc (acos_test_tonearest): New function.
36554 (acos_test_towardzero): Likewise.
36555 (acos_test_downward): Likewise.
36556 (acos_test_upward): Likewise.
36557 (asin_test_tonearest): Likewise.
36558 (asin_test_towardzero): Likewise.
36559 (asin_test_downward): Likewise.
36560 (asin_test_upward): Likewise.
36561 (main): Call the new functions.
36562 * sysdeps/i386/fpu/libm-test-ulps: Update.
36563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36564
9568c0c2
JM
36565 [BZ #13884]
36566 [BZ #13924]
36567 * math/e_exp10.c: Include <float.h>.
36568 (__ieee754_exp10): Handle underflow here rather than multiplying
36569 large negative argument by M_LN10.
36570 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36571 of __ieee754_expf.
36572 * math/e_exp10l.c: Include <float.h>.
36573 (__ieee754_exp10l): Handle underflow here rather than multiplying
36574 large negative argument by M_LN10l.
36575 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36576 spurious overflow exception on underflow.
36577
5ac3ea17
MP
365782012-04-29 Marek Polacek <polacek@redhat.com>
36579
36580 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36581 (__fortify_function): New macro.
36582 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36583 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36584 __extern_always_inline.
36585 * libio/bits/stdio2.h: Likewise.
36586 * libio/bits/stdio.h: Likewise.
36587 * string/string.h: Likewise.
36588 * string/bits/string3.h: Likewise.
36589 * include/stdio.h: Likewise.
36590 * stdlib/bits/stdlib.h: Likewise.
36591 * stdlib/stdlib.h: Likewise.
36592 * rt/bits/mqueue2.h: Likewise.
36593 * rt/mqueue.h: Likewise.
36594 * posix/bits/unistd.h: Likewise.
36595 * posix/unistd.h: Likewise.
36596 * io/bits/poll2.h: Likewise.
36597 * io/bits/fcntl2.h: Likewise.
36598 * io/fcntl.h: Likewise.
36599 * io/sys/poll.h: Likewise.
36600 * misc/bits/syslog.h: Likewise.
36601 * misc/bits/syslog-ldbl.h: Likewise.
36602 * misc/sys/syslog.h: Likewise.
36603 * socket/bits/socket2.h: Likewise.
36604 * socket/sys/socket.h: Likewise.
36605 * debug/tst-chk1.c: Likewise.
36606 * wcsmbs/bits/wchar2.h: Likewise.
36607 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36608 * wcsmbs/wchar.h: Likewise.
36609
ecf0ebfb
AJ
366102012-04-29 Andreas Jaeger <aj@suse.de>
36611
36612 * Makerules (tests): Remove enable-check-abi protection.
36613 (check-abi-warn): Remove.
36614 (check-abi-%): Remove check-abi-warn usage.
36615
36616 * configure.in: Remove check-abi configure option.
36617 * configure: Regenerated.
36618 * config.make.in (enable-check-abi): Remove.
36619
6d5c57fa
AS
366202012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36621
24c5d07e 36622 [BZ #14033]
ded5180a
AS
36623 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36624 double functions to double *_finite functions.
36625
7e0d315d
AS
36626 [BZ #13941]
36627 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36628 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36629 LDBL_MIN_EXP.
36630 * stdio-common/Makefile (tests): Add tst-sprintf3.
36631 * stdio-common/tst-sprintf3.c: New file.
36632
6d5c57fa
AS
36633 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36634 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36635
0749ff8b
JM
366362012-04-28 Joseph Myers <joseph@codesourcery.com>
36637
36638 * conform/conformtest.pl: Remove duplicate typed-constant
36639 handling.
36640
8dbd5d7b
DM
366412012-04-28 David S. Miller <davem@davemloft.net>
36642
36643 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36644 (check-abi-%): Remove AWK script prerequisite and explicit
36645 abilist directory.
36646 (check-abi): Rewrite to just diff the symlist with the abilist.
36647 (config-tls, config-abi-config): Delete, no longer used.
36648 (update-abi-%): Remove AWK script and explicit abilist directory.
36649 (update-abi): Rewrite to simply compare and conditionally copy the
36650 symlist and the sysdep abilist file. Remove update-abi-config
36651 checks.
36652 * abilist/ld.abilist: Remove.
36653 * abilist/libBrokenLocale.abilist: Remove.
36654 * abilist/libanl.abilist: Remove.
36655 * abilist/libcrypt.abilist: Remove.
36656 * abilist/libdl.abilist: Remove.
36657 * abilist/librt.abilist: Remove.
36658 * abilist/libthread_db.abilist: Remove.
36659 * abilist/libutil.abilist: Remove.
36660 * scripts/extract-abilist.awk: Remove.
36661 * scripts/merge-abilist.awk: Remove.
36662 * sysdeps/generic/libcidn.abilist: New file.
36663 * sysdeps/generic/libnss_compat.abilist: New file.
36664 * sysdeps/generic/libnss_db.abilist: New file.
36665 * sysdeps/generic/libnss_dns.abilist: New file.
36666 * sysdeps/generic/libnss_files.abilist: New file.
36667 * sysdeps/generic/libnss_hesiod.abilist: New file.
36668 * sysdeps/generic/libnss_nis.abilist: New file.
36669 * sysdeps/generic/libnss_nisplus.abilist: New file.
36670 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36671 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36672 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36673 file.
36674 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36675 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36676 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36677 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36678 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36679 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36680 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36681 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36682 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36683 file.
36684 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36685 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36686 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36687 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36688 file.
36689 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36690 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36691 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36692 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36693 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36694 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36695 file.
36696 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36697 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36698 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36699 file.
36700 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36702 New file.
36703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36704 New file.
36705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36706 New file.
36707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36708 New file.
36709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36710 New file.
36711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36712 New file.
36713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36714 New file.
36715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36716 New file.
36717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36718 New file.
36719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36720 New file.
36721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36722 New file.
36723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36724 New file.
36725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36726 New file.
36727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36728 file.
36729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36730 New file.
36731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36732 New file.
36733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36734 file.
36735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36736 New file.
36737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36738 New file.
36739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36740 file.
36741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36742 New file.
36743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36744 New file.
36745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36746 New file.
36747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36748 New file.
36749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36750 New file.
36751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36752 New file.
36753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36755 file.
36756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36757 New file.
36758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36759 file.
36760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36761 file.
36762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36763 file.
36764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36765 file.
36766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36767 file.
36768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36769 New file.
36770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36771 file.
36772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36773 file.
36774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36775 New file.
36776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36777 file.
36778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36780 file.
36781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36782 New file.
36783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36784 file.
36785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36786 file.
36787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36788 file.
36789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36790 file.
36791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36792 file.
36793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36794 New file.
36795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36796 file.
36797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36798 file.
36799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36800 New file.
36801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36802 file.
36803 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36804 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36805 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36806 file.
36807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36808 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36809 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36810 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36811 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36812 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36813 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36814 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36815 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36816 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36819 file.
36820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36821 New file.
36822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36823 file.
36824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36825 file.
36826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36827 file.
36828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36829 file.
36830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36831 file.
36832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36833 New file.
36834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36835 New file.
36836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36837 file.
36838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36839 New file.
36840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36841 file.
36842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36844 file.
36845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36846 New file.
36847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36848 file.
36849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36850 file.
36851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36852 file.
36853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36854 file.
36855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36856 file.
36857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36858 New file.
36859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36860 New file.
36861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36862 file.
36863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36864 New file.
36865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36866 file.
36867
41d73a1b
JM
368682012-04-28 Joseph Myers <joseph@codesourcery.com>
36869
36870 * conform/conformtest.pl: Fix typo in handling typed-constant from
36871 allow-header.
36872
28aeeda4
JM
368732012-04-27 Joseph Myers <joseph@codesourcery.com>
36874
adae8f5e
JM
36875 * README: Cut down references to pre-2.6 Linux kernels and
36876 Linuxthreads. Update lists of configurations in libc and ports
36877 and sort alphabetically. Say "or newer" with Linux kernel version
36878 requirements.
36879
28aeeda4
JM
36880 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36881
a462cb63
RA
368822012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36883
36884 [BZ #887]
36885 * math/libm-test.inc (logb_test_downward): New test to expose
36886 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36887 rounding mode.
36888
6ad3493e
JM
368892012-04-27 Joseph Myers <joseph@codesourcery.com>
36890
36891 [BZ #14027]
36892 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36893 to be done.
36894 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36895 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36896
2ce4f015
JM
368972012-04-26 Joseph Myers <joseph@codesourcery.com>
36898
5aeb141a
JM
36899 * sysdeps/unix/i386/brk.S: Remove file.
36900 * sysdeps/unix/i386/dl-brk.S: Likewise.
36901 * sysdeps/unix/i386/pipe.S: Likewise.
36902 * sysdeps/unix/i386/sigreturn.S: Likewise.
36903 * sysdeps/unix/i386/syscall.S: Likewise.
36904 * sysdeps/unix/i386/vfork.S: Likewise.
36905 * sysdeps/unix/i386/wait.S: Likewise.
36906
7143acae
JM
36907 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36908 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36909
2ce4f015
JM
36910 * configure.in (arm*-none*): Do not allow without
36911 --enable-hacker-mode.
36912 (netbsd*): Remove case setting base_os.
36913 (386bsd*): Likewise.
36914 (freebsd*): Likewise.
36915 (bsdi*): Likewise.
36916 (osf*): Likewise.
36917 (sunos*): Likewise.
36918 (ultrix*): Likewise.
36919 (newsos*): Likewise.
36920 (dynix*): Likewise.
36921 (*bsd*): Likewise.
36922 (sysv*): Likewise.
36923 (isc*): Likewise.
36924 (esix*): Likewise.
36925 (sco*): Likewise.
36926 (minix*): Likewise.
36927 (irix4*): Likewise.
36928 (irix6*): Likewise.
36929 (solaris[2-9]*): Likewise.
36930 (none): Likewise.
36931 * configure: Regenerated.
36932
0ac229c8
AZ
369332012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36934
36935 [BZ #11521]
36936 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36937 overflow or cancellation in calculating denominator.
36938 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36939 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36940 down expression to avoid unexpected rounding in newer GCCs.
36941 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36942
33f244f4
DM
369432012-04-26 David S. Miller <davem@davemloft.net>
36944
36945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36946 long-double compat symbols.
36947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36960
cfa1f3e8
DM
369612012-04-25 David S. Miller <davem@davemloft.net>
36962
36963 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36964 HWCAP_* values only after the memory barriers have been defined.
36965 (atomic_full_barrier): Define.
36966 (atomic_read_barrier): Define.
36967 (atomic_write_barrier): Define.
36968
6e236b92
SP
369692012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36970
36971 * shlib-versions: Add libgcc_s version information.
36972 * sysdeps/generic/libgcc_s.h: Remove.
36973 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36974 libgcc_s.h.
36975 * sysdeps/gnu/unwind-resume.c: Likewise.
36976 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36977
aab39a09
DM
369782012-04-25 David S. Miller <davem@davemloft.net>
36979
36980 * sysdeps/unix/sparc/brk.S: Delete.
36981 * sysdeps/unix/sparc/dl-brk.S: Delete.
36982 * sysdeps/unix/sparc/pipe.S: Delete.
36983 * sysdeps/unix/sparc/sysdep.S: Delete.
36984 * sysdeps/unix/sparc/sysdep.h: Delete.
36985 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36986 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36987 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36988 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36989 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36990 (JUMPTARGET): Remove.
36991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36992 sysdeps/unix/sparc/sysdep.h
36993 (ENTRY, END): Remove.
36994 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36995
a3cc4f48
JM
369962012-04-25 Joseph Myers <joseph@codesourcery.com>
36997
2ed8cda2
JM
36998 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36999 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37000 -DIS_IN_build.
37001
35d76d59
JM
37002 * timezone/README: Update upstream location and email address for
37003 tzcode and tzdata.
37004 * timezone/zdump.c: Update from tzcode 2012b.
37005 * timezone/zic.c: Likewise.
37006
a3cc4f48
JM
37007 * configure.in (libc_cv_as_needed): Remove test.
37008 * configure: Regenerated.
37009 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37010 conditional definition.
37011 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37012 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37013 * config.make.in (have-as-needed): Remove variable.
37014
ceab42c3
SP
370152012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37016 Paul Pluzhnikov <ppluzhnikov@google.com>
37017
37018 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37019 strings correctly.
37020
3ce2865f
CLT
370212012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37022
37023 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37024 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37025 * sysdeps/sh/strlen.S: Likewise.
37026
f37e0d68
JM
370272012-04-24 Joseph Myers <joseph@codesourcery.com>
37028
ae186e9a
JM
37029 * sysdeps/unix/fork.S: Remove file.
37030 * sysdeps/unix/i386/fork.S: Likewise.
37031 * sysdeps/unix/sparc/fork.S: Likewise.
37032
b96914af
JM
37033 * sysdeps/unix/system.c: Remove file.
37034 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37035
f37e0d68
JM
37036 * sysdeps/unix/getegid.S: Remove file.
37037 * sysdeps/unix/geteuid.S: Likewise.
37038
87ef29ca
RM
370392012-04-24 Roland McGrath <roland@hack.frob.com>
37040
83bcd236
RM
37041 * scripts/check-localplt.awk: New file.
37042 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37043 of diff.
37044 * scripts/data/localplt-generic.data: Add a comment.
37045
87ef29ca
RM
37046 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37047 NODE when __dir_mkfile failed.
37048 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37049 Reported by Ludovic Courtès <ludo@gnu.org>.
37050
e5a6e567
AJ
370512012-04-24 Andreas Jaeger <aj@suse.de>
37052
37053 * Makerules (common-clean): Also remove gen-as-const-headers
37054 files.
37055
c1820385
JM
370562012-04-24 Joseph Myers <joseph@codesourcery.com>
37057
37058 * Makerules (native-compile): Do not change working directory for
37059 build. Use $(OUTPUT_OPTION) in command.
37060 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37061
94e02fc4
AZ
370622012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37063
37064 [BZ #13886]
37065 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37066 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37067 * math/libm-test.inc (floor_test): Add more tests.
37068 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37069
3a533ca3
JM
370702012-04-24 Joseph Myers <joseph@codesourcery.com>
37071
940ab4b3
JM
37072 * sysdeps/unix/getdents.c: Remove file.
37073 * sysdeps/unix/sysv/getdents.c: Likewise.
37074 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37075
90e037bd
JM
37076 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37077 sysdeps/unix/mman/syscalls.list.
37078 (mmap): Likewise.
37079 (mprotect): Likewise.
37080 (msync): Likewise.
37081 (munmap): Likewise.
37082 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37083 * sysdeps/unix/mman/syscalls.list: Remove.
37084 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37085
3a533ca3
JM
37086 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37087 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37088 * configure: Regenerated.
37089 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37090 $(libgcc_s_suffix).
37091 * config.make.in (libgcc_s_suffix): Remove variable.
37092
1ad743de
JM
370932012-04-23 Joseph Myers <joseph@codesourcery.com>
37094
4ad451e2
JM
37095 * sysdeps/unix/sysv/gethostname.c: Move to ...
37096 * sysdeps/posix/gethostname.c: ... here.
37097
5e37ce39
JM
37098 * sysdeps/unix/execve.S: Remove file.
37099
1ad743de
JM
37100 * sysdeps/unix/_exit.S: Remove file.
37101
4e681b5b
AJ
371022012-04-23 Andreas Jaeger <aj@suse.de>
37103
37104 [BZ #13739]
37105 * manual/Makefile: Remove make dist support, there's no
37106 need for a stand-alone documentation tar ball.
37107 (TEXI2DVI): Define always, it's not in Makeconfig.
37108 (dist): Removed.
37109 (tar-it): Removed.
37110 (edition): Removed.
37111 (glibc-doc-$(edition).tar): Removed
37112 (%.Z): Removed.
37113 (%.gz): Removed.
37114 (%.uu): Removed.
37115 (ETAGS): Remove, it's in Makeconfig.
37116 (move-if-change): Remove, it's in Makeconfig.
37117
38686a03 371182012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37119
37120 [BZ #13970]
37121 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37122 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37123 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37124 (strtod_l, strtof_l, strtold_l): Remove __wur.
37125 It is not necessarily an error to ignore strtol's return value.
37126 One can reliably look at the stored endptr to decide whether
37127 the number had valid syntax.
37128
7c0616fa
AJ
371292012-04-21 Andreas Jaeger <aj@suse.de>
37130
803cb6b7 37131 [BZ #13739]
7c0616fa
AJ
37132 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37133
b0fe253f
JM
371342012-04-21 Joseph Myers <joseph@codesourcery.com>
37135
37136 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37137 * sysdeps/unix/sysv/Versions: Remove file.
37138
8280f22d
MT
371392012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37140
37141 [BZ #13927]
37142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37143
75ce411f 371442012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37145
37146 [BZ #7064]
37147 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37148 version from __vm86.
37149
097d59fa
JM
371502012-04-20 Joseph Myers <joseph@codesourcery.com>
37151
a90f3bcb
JM
37152 * sysdeps/unix/common/lxstat.c: Remove file.
37153 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37154
edc7ea78
JM
37155 * sysdeps/unix/sysv/Makefile: Remove file.
37156
cb78c221
JM
37157 * sysdeps/unix/sysv/direct.h: Remove file.
37158
efa6a45f
JM
37159 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37160 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37161 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37162 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37163 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37164 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37165 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37166
9c9f2d0c
JM
37167 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37168
4541c83b
JM
37169 * sysdeps/unix/xmknod.c: Remove file.
37170 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37171
f5d153a0
JM
37172 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37173
aa746595
JM
37174 * sysdeps/unix/sysv/i386/time.S: Remove file.
37175
cce5905e
JM
37176 * sysdeps/unix/fxstat.c: Remove file.
37177 * sysdeps/unix/xstat.c: Likewise.
37178 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37179
37fa3841
JM
37180 * sysdeps/unix/sysv/sigaction.c: Remove file.
37181
ff1962a3
JM
37182 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37183 (sysdep_headers): Remove variable.
37184 [termio.h not in sysdep_headers] (generated): Likewise.
37185 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37186 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37187 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37188 * sysdeps/unix/sysv/tcflow.c: Likewise.
37189 * sysdeps/unix/sysv/tcflush.c: Likewise.
37190 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37191 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37192 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37193 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37194 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37195
e7740d31
JM
37196 * sysdeps/unix/siglist.c: Remove file.
37197
ee06f18b
JM
37198 * sysdeps/unix/getppid.S: Remove file.
37199
097d59fa
JM
37200 * sysdeps/unix/mkdir.c: Remove file.
37201 * sysdeps/unix/rmdir.c: Likewise.
37202
ff3d51ec
AS
372032012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37204
37205 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37206 ERR_MAX value.
37207 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37208 errlist-compat value.
37209
50f81fd7
DM
372102012-04-18 David S. Miller <davem@davemloft.net>
37211
37212 * sysdeps/generic/memcopy.h (reg_char): Delete.
37213 * debug/strcat_chk.c: Use char, not reg_char.
37214 * debug/strcpy_chk.c: Likewise.
37215 * debug/strncat_chk.c: Likewise.
37216 * debug/strncpy_chk.c: Likewise.
37217 * string/memchr.c: Likewise.
37218 * string/memrchr.c: Likewise.
37219 * string/rawmemchr.c: Likewise.
37220 * string/strcat.c: Likewise.
37221 * string/strchr.c: Likewise.
37222 * string/strchrnul.c: Likewise.
37223 * string/strcmp.c: Likewise.
37224 * string/strcpy.c: Likewise.
37225 * string/strncat.c: Likewise.
37226 * string/strncmp.c: Likewise.
37227 * string/strncpy.c: Likewise.
37228
8ff41c46
WS
372292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37230
37231 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37232 __builtin_memcopy is called when src and dest ranges are known to not
37233 overlap.
37234
6b652f46
WS
372352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37236
37237 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37238 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37239 fwd_align_merge macro call.
37240 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37241 bwd_align_merge macro call.
37242 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37243
b282631e
WS
372442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37245
37246 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37247 bwd_align_merge macros.
37248 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37249 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37250 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37251
95aa737c
DM
372522012-04-18 David S. Miller <davem@davemloft.net>
37253
37254 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37255
7a99a614
AJ
372562012-04-18 Andreas Jaeger <aj@suse.de>
37257
37258 [BZ# 6794]
37259 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37260 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37261 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37262
37263 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37264 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37265 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37266
37267 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37268 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37269 Adjust for changed ldbl-128 files.
37270
37271 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37272 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37273 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37274
e5270c23
DM
372752012-04-17 David S. Miller <davem@davemloft.net>
37276
37277 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37278
fb5e92c9
AS
372792012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37280
37281 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37282 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37283 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37284 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37285 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37286 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37287
76da7265
AZ
372882012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37289
37290 [BZ #6794]
37291 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37292 * math/libm-test.inc: Add ilogb errno and exception tests.
37293 * math/w_ilogb.c: New file: ilogb wrapper.
37294 * math/w_ilogbf.c: New file: ilogbf wrapper.
37295 * math/w_ilogbl.c: New file: ilogbl wrapper.
37296 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37297 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37298 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37299 exception being thrown with 0.0 as argument.
37300 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37301 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37302 exception being thrown with 0.0 as argument.
37303 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37304 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37305 exception being thrown with 0.0 as argument.
37306 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37307 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37308 exception being thrown with 0.0 as argument.
37309 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37310 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 37311 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
37312 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37313 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37314 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37315 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37316 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37317 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37318
0396e69d
PB
373192012-04-17 Petr Baudis <pasky@ucw.cz>
37320
37321 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37322 with altivec.
37323
750b5926
MP
373242012-04-16 Marek Polacek <polacek@redhat.com>
37325
37326 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37327
751728a1
MP
373282012-04-16 Marek Polacek <polacek@redhat.com>
37329
37330 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37331 operands of fdivp instruction.
37332
34a27407
L
373332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37334
37335 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37336 * elf/tst-auditmod3b.c: Likewise.
37337 * elf/tst-auditmod4b.c: Likewise.
37338 * elf/tst-auditmod5b.c: Likewise.
37339 * elf/tst-auditmod6b.c: Likewise.
37340 * elf/tst-auditmod6c.c: Likewise.
37341 * elf/tst-auditmod7b.c: Likewise.
37342 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37343 * sysdeps/x86_64/preconfigure.in: Likewise.
37344 * sysdeps/x86_64/preconfigure: Regenerated.
37345
7e73e17d
L
373462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37347
37348 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37349 __ILP32__.
37350
c7a6ab72
AB
373512012-04-13 Antoine Balestrat <merkil33@gmail.com>
37352
37353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37354 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37355
a9e8e0e0
CL
373562012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37357
37358 [BZ #13973]
37359 * locale/iso-639.def: Fix gl language name. Spotted by
37360 Yaron Shahrabani.
37361
ec98af7d
RM
373622012-04-12 Roland McGrath <roland@hack.frob.com>
37363
37364 [BZ #2074]
37365 * libio/libio.h (__io_write_fn): Update comment.
37366
247c3ede
PB
373672012-04-12 Petr Baudis <pasky@ucw.cz>
37368
37369 [BZ #2074]
37370 * stdio.texi (Hook Functions): The user provided writer function
37371 is not allowed to return -1.
37372
55939d6d
DM
373732012-04-11 David S. Miller <davem@davemloft.net>
37374
37375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37376
90020f5a
MF
373772012-04-11 Mike Frysinger <vapier@gentoo.org>
37378
37379 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37380 Add a leading slash to rtkaio.
37381
288f9098
JM
373822012-04-11 Jim Meyering <meyering@redhat.com>
37383
90020f5a
MF
37384 [BZ #11959]
37385 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37386 It is not necessarily an error to ignore fwrite's return
37387 value. One can reliably use ferror to test for errors after
37388 the fact.
288f9098 37389
4be2b570
L
373902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37391
37392 * bits/types.h (__snseconds_t): New type.
37393 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37394
37395 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37397 (__SNSECONDS_T_TYPE): Likewise.
37398 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37399 (__SNSECONDS_T_TYPE): Likewise.
37400 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37401 (__SNSECONDS_T_TYPE): Likewise.
37402
288f9098 374032012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
37404
37405 [BZ #2636]
37406 * manual/time.texi (Processor Time): Return type of times is
37407 elapsed real time since an arbitrary point in the past.
37408 (CPU Time): Move CLK_TCK from here...
37409 (Processor Time): ...to here. Correct description.
37410 * manual/conf.texi (Constants for Sysconf): Correct description of
37411 _SC_CLK_TCK.
37412
d7dd4413
DM
374132012-04-10 David S. Miller <davem@davemloft.net>
37414
37415 [BZ #13967]
37416 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37417 where the is a gap between DT_REL(A) and DT_JMPREL.
37418
b46068fc
L
374192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37420
37421 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37422 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37423 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37424
73d65cc3
SP
374252012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37426
37427 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37428 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37429 (dl_main): Handle --inhibit-cache.
37430 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37431 _dl_inhibit_cache.
37432 * elf/dl-load.c (_dl_map_object): Use it.
37433 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37434
bcc8d661
JM
374352012-04-09 Joseph Myers <joseph@codesourcery.com>
37436
8f9a2fae
JM
37437 [BZ #13872]
37438 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37439 (__ieee754_powl): Saturate large exponents rather than testing for
37440 overflow of y*log2(x).
37441 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37442 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37443 exceptions.
37444
bcc8d661
JM
37445 [BZ #11521]
37446 * math/s_ctan.c: Include <float.h>.
37447 (__ctan): Avoid internal overflow or cancellation in calculating
37448 denominator.
37449 * math/s_ctanf.c: Likewise.
37450 * math/s_ctanl.c: Likewise.
37451 * math/s_ctanh.c: Likewise.
37452 * math/s_ctanhf.c: Likewise.
37453 * math/s_ctanhl.c: Likewise.
37454 * math/libm-test.inc (ctan_test): Add more tests.
37455 (ctanh_test): Likewise.
37456 * sysdeps/i386/fpu/libm-test-ulps: Update.
37457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37458
823fbbb4
AJ
374592012-04-09 Andreas Jaeger <aj@suse.de>
37460
03879793
AJ
37461 [BZ #6894]
37462 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37463 is an optional BSD extension.
37464
823fbbb4
AJ
37465 [BZ #10254]
37466 * manual/stdio.texi (Opening Streams): Document additional fopen
37467 parameters.
37468
8de131cb
RM
374692012-04-09 Roland McGrath <roland@hack.frob.com>
37470
37471 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37472 %eax without telling the compiler.
37473
c0ed9d7d
CD
374742012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37475
37476 [BZ # 13963]
37477 * manual/install.texi: Use sourceware.org.
37478
c483f6b4
JM
374792012-04-09 Joseph Myers <joseph@codesourcery.com>
37480
d7dd9453
JM
37481 [BZ #13873]
37482 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37483 (__ieee754_pow): Generate overflow and underflow using huge*huge
37484 and tiny*tiny rather than just returning constant infinity or zero
37485 for large exponents.
37486 * math/libm-test.inc (pow_test): Require overflow exceptions for
37487 applicable cases of large exponents.
37488
c483f6b4
JM
37489 [BZ #706]
37490 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37491 (__ieee754_pow): Use iterative multiplication algorithm only for
37492 integer exponents with absolute value below 1024. Check for odd
37493 integer exponents when using algorithm for real exponents.
37494 * math/libm-test.inc (pow_test): Add more tests.
37495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37496
d2de7579
JM
374972012-04-08 Joseph Myers <joseph@codesourcery.com>
37498
37499 [BZ #13705]
37500 * math/libm-test.inc (exp_test): Do not allow overflow exception
37501 on underflow test.
37502
f77f1232
AJ
375032012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37504
37505 [BZ #13705]
37506 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37507 instead of __kernel_standard_f.
37508
3884932b
MF
375092012-04-08 Mike Frysinger <vapier@gentoo.org>
37510
37511 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37512 * sysdeps/x86_64/memset_chk.S: Likewise.
37513
54472e9c
AJ
375142012-04-08 Andreas Jaeger <aj@suse.de>
37515
6ab0fbfc
AJ
37516 [BZ #10153]
37517 * manual/startup.texi (Environment Access): Describe return value
37518 for putenv and setenv.
37519
61efba8c
AJ
37520 [BZ #6895]
37521 * manual/filesys.texi (Directory Entries): Add description for
37522 DT_LNK.
37523
95c3f29a
AJ
37524 [BZ #6890]
37525 * manual/filesys.texi (Directory Entries): Clarify that it's file
37526 system not operating system in the description of DT_UNKNOWN.
37527
54472e9c
AJ
37528 [BZ #6578]
37529 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37530
624254b1
SC
375312012-04-08 Stephen Compall <s11@member.fsf.org>
37532
37533 [BZ #6649]
37534 * manual/llio.texi (Opening and Closing Files): Add cross
37535 reference to explain mode argument.
37536
1e4920e0
MF
375372012-04-07 Mike Frysinger <vapier@gentoo.org>
37538
37539 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37540 * sysdeps/x86_64/memset_chk.S: Likewise.
37541
5ed848f3
DM
375422012-04-07 David S. Miller <davem@davemloft.net>
37543
37544 * elf/elf.h (R_SPARC_WDISP10): Define.
37545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37546 R_SPARC_SIZE32.
37547 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37548 R_SPARC_SIZE64 and R_SPARC_H34.
37549
96154cd8
CD
375502012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37551
37552 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37553 conditions and remove no longer applicable assertion.
37554
9904dc47
L
375552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37556
37557 * bits/byteswap.h: Include <features.h>.
37558 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37559 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37560
f8887d0a
L
375612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37562
37563 * bits/byteswap.h (__bswap_16): Removed.
37564 Include <bits/byteswap-16.h> to get __bswap_16.
37565 * sysdeps/i386/bits/byteswap.h: Likewise.
37566 * sysdeps/s390/bits/byteswap.h: Likewise.
37567 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37568 * bits/byteswap-16.h: New file.
37569 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37570 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37571 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37572 * string/Makefile (headers): Add bits/byteswap-16.h.
37573
62470f60
PP
375742012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37575
37576 [BZ #13895]
37577 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37578 extra indirection.
37579 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37580 * nss/tst-nss-static.c: New.
37581
4dad7bab
RM
375822012-04-06 Robert Millan <rmh@gnu.org>
37583
37584 [BZ #6486]
37585 * manual/llio.texi (File Position Primitive): lseek
37586 refers to WHENCE when it really means OFFSET.
37587
e9142a17
AJ
375882012-04-06 Andreas Jaeger <aj@suse.de>
37589
2c040eff
AJ
37590 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37591 strncmp declarations.
37592
e9142a17
AJ
37593 * abilist/libc.abilist: Add __poll and __ppoll.
37594
ff9f1c5f
DM
375952012-04-05 David S. Miller <davem@davemloft.net>
37596
dcd2ae90
DM
37597 * scripts/check-local-headers.sh: Accept a host triplet in the
37598 path matched by the exclude regexp.
37599
993eb054
DM
37600 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37601 definition.
37602 * sysdeps/powerpc/powerpc32/dl-machine.h
37603 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37604 * sysdeps/s390/s390-32/dl-machine.h
37605 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37606 * sysdeps/sparc/sparc32/dl-machine.h
37607 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37608 * sysdeps/sparc/sparc64/dl-machine.h
37609 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37610
ff9f1c5f
DM
37611 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37612 lazy binding.
48e2e132 37613 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37614 undefined symbol errors.
37615
48e2e132 37616 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37617 DT_NEEDED entries.
37618
e80d6f94
MM
376192012-04-05 Michael Matz <matz@suse.de>
37620
37621 [BZ #13592]
37622 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37623
349fa79f
AJ
376242012-04-05 Andreas Jaeger <aj@suse.de>
37625
37626 [BZ #13908]
37627 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37628 comment.
37629
f402708f
KK
376302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37631
37632 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37633 which ROUND is no valid rounding mode.
37634
2ecccfc9
KK
376352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37636
37637 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37638 read again.
37639 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37640
8a53f50f
KK
376412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37642
37643 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37644 an exception using FPU order intentionally.
37645
376462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37647
37648 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37649 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37650 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37651 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37652
d653abb7
SJ
376532012-04-05 Simon Josefsson <simon@josefsson.org>
37654
37655 [BZ #12340]
37656 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37657 EINVAL when BUFLEN is too smal.
37658
c3b1bf7d
TS
376592012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37660
37661 [BZ #13553]
37662 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37663 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37664
b1aa60f3
AJ
376652012-04-03 Andreas Jaeger <aj@suse.de>
37666
c3b1bf7d 37667 [BZ #13938]
67f60a26
AJ
37668 * manual/setjmp.texi (System V contexts): Fix sentence.
37669
b1aa60f3
AJ
37670 [BZ #13926]
37671 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37672 New macro for this case.
37673 [!__GNUC__] (__bswap_64): New inline function for this case.
37674 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37675 * bits/byteswap.h: Likewise.
37676 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37677 ull, guard with __GLIBC_HAVE_LONG_LONG.
37678
37679 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37680 __GLIBC_HAVE_LONG_LONG.
37681
37682 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37683 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37684
39c59c35
TMQMF
376852012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37686
37687 [BZ #13691]
37688 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37689 inptr and inend, rather than using last_ch.
37690
135ffda8
DM
376912012-04-02 David S. Miller <davem@davemloft.net>
37692
37693 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37694 * stdio-common/printf-parse.h (read_int): Change return type to
37695 'int', return -1 on INT_MAX overflow.
37696 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37697 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37698 overflows INT_MAX. Check for overflow of in-format-string precision
37699 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37700 SIZE_MAX not INT_MAX for integer overflow test.
37701 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37702 skip the construct in the format string but do not record anything.
37703 * stdio-common/bug22.c: Adjust to test both width/prevision
37704 INT_MAX overflow as well as total length INT_MAX overflow. Check
37705 explicitly for proper errno values.
37706
228c019e
TS
377072012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37708
302cadd3
TS
37709 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37710 CHAR_MAX.
37711 * string/test-strcmp.c [! WIDE]: Likewise.
37712 * time/tst-mktime2.c: Likewise for INT_MAX.
37713 * string/test-string.h: #include <sys/param.h> for MIN.
37714
228c019e
TS
37715 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37716 * sysdeps/i386/init-first.c (init): Likewise.
37717 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37718 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37719 * sysdeps/sh/init-first.c (init): Likewise.
37720
cfa633f5
UD
377212012-04-01 Ulrich Drepper <drepper@gmail.com>
37722
37723 * po/ru.po: Update from translation team.
d1635ef8 37724 * po/vi.po: Likewise.
cfa633f5 37725
6cd0a5ea
SP
377262012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37727
37728 * resolv/nss_dns/dns-host.c: Merge copyright years.
37729
4b43400f
LD
377302012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37731
37732 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37733 Optimize memcpy with prefetch if
37734 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37735 src, dst pointers have unequal 16 byte alignments.
37736
48c41d04
SP
377372012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37738
37739 [BZ #13928]
37740 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37741 from a CNAME entry and return the minimum ttl for the query.
37742 (gaih_getanswer_slice): Likewise.
37743
b8dc394d
JL
377442012-03-30 Jeff Law <law@redhat.com>
37745
37746 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37747 due to long keys.
37748 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37749 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37750
2f5a5ed0
JL
37751 * resolv/nss_dns/dns-host.c: Update copyright year.
37752
1d39e359
UD
377532012-03-30 Ulrich Drepper <drepper@gmail.com>
37754
c030f70c 37755 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37756 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37757
1d39e359
UD
37758 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37759 comments for sendmmsg.
37760
377612012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37762
37763 [BZ #13691]
37764 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37765 with only 1 character between 0x0041 and 0x01b0.
37766 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37767 * wcsmbs/tst-mbsnrtowcs.c: New file.
37768
20fde227
DM
377692012-03-29 David S. Miller <davem@davemloft.net>
37770
37771 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37772 small copies by hand.
37773
984a4237
JL
377742012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37775
37776 [BZ #13761]
57f41c40
AS
37777 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37778 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37779 group memberships.
984a4237 37780
18c9d62b
DM
377812012-03-28 David S. Miller <davem@davemloft.net>
37782
88d85d4f
DM
37783 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37784 that branches into memcpy.
37785 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37786 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37787 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37788 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37790 bits.
37791 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37792 implementation too.
37793 * sysdeps/sparc/mempcpy.S: New file.
37794
e5aa83e1
DM
37795 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37796 the IFUNC routine in the libc case.
37797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37798
88570753
DM
37799 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37800 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37801 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37802 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37803 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37804 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37805 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37806 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37807
249d7567
DM
37808 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37809 loop to 256 bytes instead of 64 bytes and fix test signedness.
37810
18c9d62b
DM
37811 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37812 * sysdeps/sparc/sparc32/Makefile: rather than here...
37813 * sysdeps/sparc/sparc64/Makefile: and here.
37814
05f3d1f6
UD
378152012-03-28 Ulrich Drepper <drepper@gmail.com>
37816
37817 * malloc/mallocbug.c: Avoid warnings about unused variables.
37818
86ae07a8
JL
378192012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37820
37821 [BZ #13760]
37822 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37823 in the right place. Discard and retry query if response is
37824 larger than input buffer size.
37825
41bf21a1
JM
378262012-03-28 Joseph Myers <joseph@codesourcery.com>
37827
d6270972
JM
37828 [BZ #369]
37829 [BZ #2678]
37830 [BZ #3866]
37831 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37832 x for large integer exponent.
37833 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37834 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37835 sign of result as needed afterwards.
37836 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37837 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37838 result for underflowing pow the same as for overflow.
37839 (__kernel_standard_l): Handle powl overflow and underflow here
37840 rather than calling __kernel_standard.
37841 * math/libm-test.inc (pow_test): Add more tests.
37842
414fca03 37843 [BZ #3868]
41bf21a1
JM
37844 [BZ #13879]
37845 [BZ #13910]
37846 [BZ #13911]
37847 [BZ #13912]
37848 [BZ #13913]
37849 [BZ #13915]
37850 [BZ #13916]
37851 [BZ #13917]
37852 [BZ #13918]
37853 [BZ #13919]
37854 [BZ #13920]
37855 [BZ #13921]
37856 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37857 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37858 (__kernel_standard_l): New function.
37859 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37860 __kernel_standard.
37861 * math/w_acosl.c (__acosl): Likewise.
37862 * math/w_asinl.c (__asinl): Likewise.
37863 * math/w_atan2l.c (__atan2l): Likewise.
37864 * math/w_atanhl.c (__atanhl): Likewise.
37865 * math/w_coshl.c (__coshl): Likewise.
37866 * math/w_exp10l.c (__exp10l): Likewise.
37867 * math/w_exp2l.c (__exp2l): Likewise.
37868 * math/w_fmodl.c (__fmodl): Likewise.
37869 * math/w_hypotl.c (__hypotl): Likewise.
37870 * math/w_j0l.c (__j0l, __y0l): Likewise.
37871 * math/w_j1l.c (__j1l, __y1l): Likewise.
37872 * math/w_jnl.c (__jnl, __ynl): Likewise.
37873 * math/w_lgammal.c (__lgammal): Likewise.
37874 * math/w_log10l.c (__log10l): Likewise.
37875 * math/w_log2l.c (__log2l): Likewise.
37876 * math/w_logl.c (__logl): Likewise.
37877 * math/w_powl.c (__powl): Likewise.
37878 * math/w_remainderl.c (__remainderl): Likewise.
37879 * math/w_scalbl.c (sysv_scalbl): Likewise.
37880 * math/w_sinhl.c (__sinhl): Likewise.
37881 * math/w_sqrtl.c (__sqrtl): Likewise.
37882 * math/w_tgammal.c (__tgammal): Likewise.
37883 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37884 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37885 * math/libm-test.inc (acos_test): Add more tests.
37886 (acosh_test): Likewise.
37887 (asin_test): Likewise.
37888 (atanh_test): Likewise.
37889 (exp_test): Likewise.
37890 (exp10_test): Likewise.
37891 (exp2_test): Likewise.
37892 (expm1_test): Likewise.
37893 (lgamma_test): Likewise.
37894 (log_test): Likewise.
37895 (log10_test): Likewise.
37896 (log1p_test): Likewise.
37897 (log2_test): Likewise.
37898 (pow_test): Do not allow some spurious overflow exceptions.
37899 (sqrt_test): Add more tests.
37900 (tgamma_test): Likewise.
37901 (y0_test): Likewise.
37902 (y1_test): Likewise.
37903 (yn_test): Likewise.
37904
dd62fda6
AB
379052012-03-27 Anton Blanchard <anton@samba.org>
37906
37907 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37908 MAP_HUGETLB.
37909 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37910 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37911 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37912
1e3cdfda
AJ
379132012-03-27 David S. Miller <davem@davemloft.net>
37914
b855ab85
DM
37915 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37916
1e3cdfda
AJ
37917 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37918 have-as-vis3 check.
37919
379202012-03-27 Andreas Jaeger <aj@suse.de>
37921
37922 * sysdeps/x86_64/elf/configure.in: Moved to ...
37923 * sysdeps/x86_64/configure.in: ... here.
37924 * sysdeps/x86_64/elf/start.S: Moved to ...
37925 * sysdeps/x86_64/start.S: ... here.
37926 * sysdeps/x86_64/elf/configure: Delete.
37927
37928 * sysdeps/x86_64/configure.in: Merge contents from
37929 sysdeps/i386/configure.in (without i686 check).
37930
37931 * sysdeps/i386/elf/Versions: Merge into ...
37932 * sysdeps/i386/Versions: ... this.
37933 * sysdeps/i386/elf/Versions: Delete file.
37934 * sysdeps/i386/elf/start.S: Moved to ...
37935 * sysdeps/i386/start.S: ...here.
37936 * sysdeps/i386/elf/configure.in: Merge into...
37937 * sysdeps/i386/configure.in: ...here.
37938 * sysdeps/i386/elf/configure.in: Delete file.
37939 * sysdeps/i386/elf/configure: Delete file.
37940
37941 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37942 * debug/backtracesyms.c: ... here.
37943 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37944 * debug/backtracesymsfd.c: ... here.
37945 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37946 * sysdeps/generic/ifunc-sel.h: ... here.
37947
37948 * sysdeps/unix/i386/start.c: Delete file.
37949 * sysdeps/unix/sparc/start.c: Delete file.
37950 * sysdeps/unix/start.c: Delete file.
37951
37952 * sysdeps/sh/elf/configure.in: Moved to ...
37953 * sysdeps/sh/configure.in: ... here.
37954 * sysdeps/sh/elf/start.S: Moved to ...
37955 * sysdeps/sh/start.S: ... here.
37956 * sysdeps/sh/elf/configure: Delete file.
37957
37958 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37959 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37960 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37961 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37962 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37963 * sysdeps/powerpc/powerpc64/start.S: here.
37964 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37965 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37966 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37967 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37968 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37969
37970 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37971 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37972 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37973 * sysdeps/powerpc/powerpc32/start.S: ... here.
37974 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37975 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37976 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37977
37978 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37979 * sysdeps/powerpc/ifunc-sel.h: ... here.
37980 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37981 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37982
37983 * sysdeps/sparc/elf/configure.in: Moved to ...
37984 * sysdeps/sparc/configure.in: ... here.
37985 * sysdeps/sparc/elf/configure: Delete file.
37986 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37987 * sysdeps/sparc/sparc32/start.S: ... here.
37988 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37989 * sysdeps/sparc/sparc64/start.S: ... here.
37990 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37991 * sysdeps/sparc/sparc32/Makefile: ... this.
37992 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37993 * sysdeps/sparc/sparc64/Makefile: ... this.
37994
37995 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37996 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37997 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37998 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37999 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38000 * sysdeps/s390/s390-32/setjmp.S: ... here.
38001 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38002 * sysdeps/s390/s390-32/configure.in: ... here.
38003 * sysdeps/s390/s390-32/elf/configure: Delete file.
38004 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38005 * sysdeps/s390/s390-32/start.S: ... here.
38006
38007 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38008 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38009 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38010 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38011 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38012 * sysdeps/s390/s390-64/setjmp.S: ... here.
38013 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38014 * sysdeps/s390/s390-64/configure.in: ... here
38015 * sysdeps/s390/s390-64/elf/configure: Delete file.
38016 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38017 * sysdeps/s390/s390-64/start.S: ... here.
38018 * sysdeps/s390/s390-64/elf/configure: Delete.
38019
38020 * configure.in: Remove support for elf directories in sysdeps.
38021
38022 * configure: Regenerated.
38023 * sysdeps/i386/configure: Regenerated.
38024 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38025 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38026 * sysdeps/s390/s390-32/configure: Regenerated.
38027 * sysdeps/s390/s390-64/configure: Regenerated.
38028 * sysdeps/sh/configure: Regenerated.
38029 * sysdeps/sparc/configure: Regenerated.
38030 * sysdeps/x86_64/configure: Regenerated.
38031
a3f61311
AS
380322012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38033
c876e002
AS
38034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38035
a3f61311
AS
38036 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38037 denormal result into account.
38038
ac4c54f0
RM
380392012-03-25 Roland McGrath <roland@hack.frob.com>
38040
38041 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38042 Reported by Allan McRae <allan@archlinux.org>.
38043
6a9b9c02
JL
380442012-03-23 Jeff Law <law@redhat.com>
38045
38046 * nss/getnssent.c (__nss_getent): Fix typo.
38047
4c42a0c1
DM
380482012-03-23 David S. Miller <davem@davemloft.net>
38049
38050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38051
1532c7ac
L
380522012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38053
38054 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38055 to pad to uint64_t for each field.
38056 (dl_tls_index): Replace unsigned long with uint64_t.
38057
3ff42526
PP
380582012-03-23 Daniel Jacobowitz <dmj@google.com>
38059 Paul Pluzhnikov <ppluzhnikov@google.com>
38060
38061 [BZ #6528]
38062 * grp/Makefile (otherlibs): Don't set it.
38063 * inet/Makefile (otherlibs): Likewise.
38064 * login/Makefile (otherlibs): Likewise.
38065 * nscd/Makefile (otherlibs): Likewise.
38066 * posix/Makefile (otherlibs): Likewise.
38067 * pwd/Makefile (otherlibs): Likewise.
38068 * rt/Makefile (otherlibs): Likewise.
38069 * sunrpc/Makefile (otherlibs): Likewise.
38070 * nss/Makefile (otherlibs): Likewise.
38071 Add libnss_files to routines and static-only-routines.
38072 ($(objpfx)getent): Remove rule.
38073 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38074 static-only-routines.
38075
7c69cd14
JM
380762012-03-22 Joseph Myers <joseph@codesourcery.com>
38077
38078 [BZ #13892]
38079 * math/s_cexp.c: Include <float.h>.
38080 (__cexp): Handle exp result overflowing not necessarily
38081 overflowing both real and imaginary parts of result.
38082 * math/s_cexpf.c: Likewise.
38083 * math/s_cexpl.c: Likewise.
38084 * math/libm-test.inc (cexp_test): Add more tests.
38085 * sysdeps/i386/fpu/libm-test-ulps: Update.
38086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38087
81b035fe
L
380882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38089
38090 * include/link.h (ELFW): New macro.
38091 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38092 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38093
1da7940c
L
380942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38095
38096 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38097 with uint64_t.
38098
b749dbb9
L
380992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38100
38101 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38102 declaration.
38103 (struct La_x32_retval): Likewise.
38104
2ff87f3f
L
381052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38106
38107 * sysdeps/x86_64/preconfigure.in: New file.
38108 * sysdeps/x86_64/preconfigure: New generated file.
38109
c0df8e69
JM
381102012-03-22 Joseph Myers <joseph@codesourcery.com>
38111
48e44791
JM
38112 [BZ #13824]
38113 * math/e_exp2l.c: Include <float.h>.
38114 (__ieee754_exp2l): Handle overflow and underflow cases
38115 separately. Only pass fractional part of argument to
38116 __ieee754_expl.
38117 * math/libm-test.inc (exp2_test): Add more tests.
38118
c0df8e69
JM
38119 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38120 negating x to take absolute value.
38121 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38122 Likewise.
38123 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38124 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38125 Likewise.
38126 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38127 computing low part if x was negated.
38128 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38129
c8e43ba7
L
381302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38131
38132 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38133 la_x32_gnu_pltexit.
38134 (pltexit): Cast int_retval to ptrdiff_t.
38135 * elf/tst-auditmod3b.c: Likewise.
38136 * elf/tst-auditmod4b.c: Likewise.
38137 * elf/tst-auditmod5b.c: Likewise.
38138 * elf/tst-auditmod6b.c: Likewise.
38139 * elf/tst-auditmod6c.c: Likewise.
38140 * elf/tst-auditmod7b.c: Likewise.
38141
38142 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38143 and x32_gnu_pltexit.
38144
38145 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38146 __ELF_NATIVE_CLASS.
38147 (La_x32_regs): New macro.
38148 (La_x32_retval): Likewise.
38149 (la_x32_gnu_pltenter): New function prototype.
38150 (la_x32_gnu_pltexit): Likewise.
38151
7998fa78
AS
381522012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38153
dcb33988
AS
38154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38155 exponent.
38156
233fc563
AS
38157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38158
7998fa78
AS
38159 * configure.in (libc_cv_cc_nofma): Check for option to disable
38160 generation of FMA instructions.
38161 * configure: Regenerate.
38162 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38163 * sysdeps/ieee754/dbl-64/Makefile: New file.
38164 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38165 Remove brandred-fma4.
38166 (CFLAGS-brandred-fma4.c): Remove.
38167 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38168 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38169 define.
38170 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38171 define.
38172
8e95c99a
L
381732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38174
38175 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38176 LLONG_MAX != LONG_MAX.
38177 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38178 (_fitoa_word): Likewise.
38179 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38180 LLONG_MAX != LONG_MAX.
38181 * stdio-common/_itowa.h: Include <_itoa.h>.
38182 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38183 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38184 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38185 only if not defined.
38186 (_ITOA_WORD_TYPE): Likewise.
38187 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38188 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38189
6f4db457
DM
381902012-03-21 David S. Miller <davem@davemloft.net>
38191
38192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38193
7785fe5a
L
381942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38195
38196 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38197 of x86_64 when setting libc_cv_slibdir, libdir and
38198 libc_cv_localedir.
38199 * sysdeps/unix/sysv/linux/configure: Regenerated.
38200
4535cd55
JM
382012012-03-21 Joseph Myers <joseph@codesourcery.com>
38202
38203 * manual/lang.texi (Old Varargs): Remove section.
38204 (How Variadic): Update menu.
38205 (va_start): Do not mention varargs.h.
38206
17228132
TS
382072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38208 Joseph Myers <joseph@codesourcery.com>
38209
38210 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38211 link test.
38212 * configure: Regenerated.
38213
8149f976
TS
382142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38215
05f3d1f6
UD
38216 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38217 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38218 conformtest.pl
8149f976 38219
1a4ac776
JM
382202012-03-21 Joseph Myers <joseph@codesourcery.com>
38221
be22ce65
JM
38222 * NOTES: Remove.
38223 * Makefile (files-for-dist): Remove NOTES.
38224 (NOTES): Remove rule.
38225 * README: Don't refer to NOTES.
38226 * manual/creature.texi: Don't include macros.texi.
38227 * manual/intro.texi (creature.texi): Remove comment referring to
38228 NOTES.
38229
40b601fb
JM
38230 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38231 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38232 * configure: Regenerated.
38233 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38234 LIBC_TRY_CC_OPTION.
38235 (libc_cv_as_i686): Likewise.
38236 (libc_cv_cc_avx): Likewise.
38237 (libc_cv_cc_sse2avx): Likewise.
38238 (libc_cv_cc_fma4): Likewise.
38239 (libc_cv_cc_novzeroupper): Likewise.
38240 * sysdeps/i386/configure: Regenerated.
38241
1a4ac776
JM
38242 [BZ #13883]
38243 * sysdeps/i386/fpu/s_cexp.S: Remove.
38244 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38245 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38246 * math/libm-test.inc (cexp_test): Add more tests.
38247 * sysdeps/i386/fpu/libm-test-ulps: Update.
38248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38249
a458e7fe
AM
382502012-03-21 Allan McRae <allan@archlinux.org>
38251
38252 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38253
0cb7efc5
JM
382542012-03-21 Joseph Myers <joseph@codesourcery.com>
38255
38256 [BZ #13871]
38257 * math/w_exp2.c: Do not include <float.h>.
38258 (o_threshold, u_threshold): Remove.
38259 (__exp2): Calculate result before checking finiteness and calling
38260 __kernel_standard.
38261 * math/w_exp2f.c: Likewise.
38262 * math/w_exp2l.c: Likewise.
38263 * math/libm-test.inc (exp2_test): Require overflow exception for
38264 1e6 input.
2460d3aa
JM
38265
38266 [BZ #3866]
38267 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38268 range of signed 64-bit integers before using fistpll. Remove
38269 checks for whether integers fit in mantissa bits.
38270 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38271 the range of signed 32-bit integers before using fistpl. Remove
38272 checks for whether integers fit in mantissa bits.
38273 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38274 (__ieee754_powl): Test for y outside the range of signed 64-bit
38275 integers before using fistpll. Reduce 64-bit values to 63-bit
38276 ones as needed.
38277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38278 divide-by-zero is raised for zero to large negative powers.
38279 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38280 (__ieee754_powl): Test for y outside the range of signed 64-bit
38281 integers before using fistpll. Reduce 64-bit values to 63-bit
38282 ones as needed.
38283 * math/libm-test.inc (pow_test): Add more tests.
38284
eb96ffb0
L
382852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38286
38287 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38288 <stdio-common/_itoa.h>.
38289 * debug/segfault.c: Likewise.
38290 * elf/dl-cache.c: Likewise.
38291 * elf/dl-minimal.c: Likewise.
38292 * elf/dl-misc.c: Likewise.
38293 * elf/dl-sysdep.c: Likewise.
38294 * elf/dl-version.c: Likewise.
38295 * elf/rtld.c: Likewise.
38296 * hurd/hurdsock.c: Likewise.
38297 * hurd/lookup-retry.c: Likewise.
38298 * malloc/malloc.c: Likewise.
38299 * malloc/mtrace.c: Likewise.
38300 * nscd/nscd_getgr_r.c: Likewise.
38301 * nscd/nscd_getpw_r.c: Likewise.
38302 * nscd/nscd_getserv_r.c: Likewise.
38303 * posix/getopt_init.c: Likewise.
38304 * posix/wordexp.c: Likewise.
38305 * stdio-common/_itoa.c: Likewise.
38306 * stdio-common/printf_fphex.c: Likewise.
38307 * stdio-common/vfprintf.c: Likewise.
38308 * string/_strerror.c: Likewise.
38309 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38310 * sysdeps/i386/i686/hp-timing.h: Likewise.
38311 * sysdeps/mach/_strerror.c: Likewise.
38312 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38313 * sysdeps/mach/hurd/sethostid.c: Likewise.
38314 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38315 * sysdeps/mach/xpg-strerror.c: Likewise.
38316 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38317 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38318 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38319 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38320 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38321 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38322 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38323 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38324 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38325 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38326 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38327 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38328 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38329 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38330 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38331 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38332 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38333 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38334 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38335 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38336 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38337
38338 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38339
38340 * stdio-common/_itoa.h: Moved to ...
38341 * sysdeps/generic/_itoa.h: Here.
38342
38343 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38344
38345 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38346 instead of "_itoa.h" and "_itowa.h".
38347 * stdio-common/vfprintf.: Likewise.
38348
d1af992d
L
383492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38350
38351 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38352 <bits/wordsize.h>.
38353 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38354 (__signbit): Likwise.
38355 (llrintf): Likwise.
38356 (llrint): Likwise.
38357
114883e0
L
383582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38359
38360 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38361 __WORDSIZE != 64.
38362
c135cc1b
JM
383632012-03-20 Joseph Myers <joseph@codesourcery.com>
38364
38365 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38366 OVERFLOW_EXCEPTION_OK.
38367 * math/libm-test.inc ("Philosophy"): Update comment about
38368 exception testing.
38369 (OVERFLOW_EXCEPTION): Define.
38370 (OVERFLOW_EXCEPTION_OK): Likewise.
38371 (INVALID_EXCEPTION_OK): Renumber.
38372 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38373 (IGNORE_ZERO_INF_SIGN): Likewise.
38374 (test_exceptions): Handle FE_OVERFLOW.
38375 (exp10_test): Expect overflow exceptions.
38376 (exp2_test): Likewise.
38377 (expm1_test): Likewise.
38378 (nextafter_test): Likewise.
38379 (pow_test): Likewise.
38380 (scalbn_test): Likewise.
38381 (scalbln_test): Likewise.
38382
95443d88
L
383832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38384
38385 * sysdeps/x86_64/bits/atomic.h
38386 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38387 64bit integer.
38388 (atomic_exchange_acq): Likewise.
38389 (__arch_exchange_and_add_body): Likewise.
38390 (__arch_add_body): Likewise.
38391 (atomic_add_negative): Likewise.
38392 (atomic_add_zero): Likewise.
38393
490df6c4
L
383942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38395
c2722551 38396 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
38397 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38398
5e52b189
L
383992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38400
38401 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38402 Check __x86_64__ instead of __WORDSIZE.
38403
a9879d4c
L
384042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38405
38406 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38407
5df98260
DM
384082012-03-19 David S. Miller <davem@davemloft.net>
38409
e1497744
DM
38410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38411
5df98260
DM
38412 * sysdeps/sparc/fpu/fenv_private.h: New file.
38413 * sysdeps/sparc/fpu/math_private.h: Use it.
38414 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38415 Remove.
57f41c40 38416 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38417 (libc_feholdexcept_setroundl): Remove.
38418 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38419 Remove.
38420 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38421 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38422
b4c35121
L
384232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38424
38425 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38426 int64_t instead of long int.
38427 (INSERT_WORDS64): Likwise.
38428
56965fd7
L
384292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38430
38431 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38432 _Unwind_GetCFA return to _Unwind_Ptr first.
38433
83d1aec8
JM
384342012-03-19 Joseph Myers <joseph@codesourcery.com>
38435
1897ad44
JM
38436 [BZ #13629]
38437 * math/s_clog.c: Include <float.h>.
38438 (__clog): Scale large or subnormal inputs.
38439 * math/s_clogf.c: Likewise.
38440 * math/s_clogl.c: Likewise.
38441 * math/s_clog10.c: Include <float.h>.
38442 (M_LOG10_2): Define.
38443 (__clog10): Scale large or subnormal inputs.
38444 * math/s_clog10f.c: Likewise.
38445 * math/s_clog10l.c: Likewise.
38446 * math/libm-test.inc (clog_test): Add more tests.
38447 (clog10_test): Likewise.
38448 * sysdeps/i386/fpu/libm-test-ulps: Update.
38449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38450
7726d6a9
JM
38451 [BZ #11451]
38452 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38453 x and y.
38454 * math/libm-test.inc (atan2_test): Add another test.
38455
83d1aec8
JM
38456 * Makerules (common-objdir-compile): Remove.
38457 * sysdeps/unix/Makefile (config-generated): Do not add
38458 $(unix-generated) to variable.
38459 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38460 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38461 Remove rule.
38462 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38463 Likewise.
38464 [generic bits/local_lim.h] (before-compile): Do not append to
38465 variable.
38466 [generic bits/local_lim.h] (common-generated): Likewise.
38467 [generic sys/param.h] (before-compile): Do not append to variable.
38468 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38469 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38470 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38471 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38472 include.
38473 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38474 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38475 [generic sys/param.h] ($(addprefix
38476 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38477 [generic sys/param.h] (common-generated): Do not append to
38478 variable.
38479 [generic sys/param.h] (sysdep_headers): Likewise.
38480 [generic bits/errno.h] (before-compile): Do not append to
38481 variable.
38482 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38483 rule.
38484 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38485 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38486 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38487 [generic bits/errno.h] (common-generated): Do not append to
38488 variable.
38489 [generic bits/ioctls.h] (before-compile): Do not append to
38490 variable.
38491 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38492 rule.
38493 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38494 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38495 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38496 rule.
38497 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38498 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38499 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38500 [generic bits/ioctls.h] (common-generated): Do not append to
38501 variable.
38502 [generic sys/syscall.h] (syscall.h): Remove variable.
38503 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38504 rule.
38505 [generic sys/syscall.h] (before-compile): Do not append to
38506 variable.
38507 [generic sys/syscall.h] (common-generated): Likewise.
38508 * sysdeps/unix/errnos-tmpl.c: Remove file.
38509 * sysdeps/unix/errnos.awk: Likewise.
38510 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38511 * sysdeps/unix/ioctls.awk: Likewise.
38512 * sysdeps/unix/mk-local_lim.c: Likewise.
38513 * sysdeps/unix/snarf-ioctls: Likewise.
38514
4851a949
RH
385152012-03-19 Richard Henderson <rth@twiddle.net>
38516
bd37f2ee
RH
38517 * sysdeps/i386/fpu/fenv_private.h: New file.
38518 * sysdeps/i386/fpu/math_private.h: Use it.
38519 (math_opt_barrier, math_force_eval): Remove.
38520 (libc_feholdexcept_setround_53bit): Remove.
38521 (libc_feupdateenv_53bit): Remove.
38522 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38523 (math_opt_barrier, math_force_eval): Remove.
38524 (libc_feholdexcept): Remove.
38525 (libc_feholdexcept_setround): Remove.
38526 (libc_fetestexcept, libc_fesetenv): Remove.
38527 (libc_feupdateenv_test): Remove.
38528 (libc_feupdateenv, libc_feholdsetround): Remove.
38529 (libc_feresetround): Remove.
38530
d0adc922
RH
38531 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38532 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38533
0fe0f1f8
RH
38534 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38535 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38536 (libc_feupdateenv_testl): New.
38537 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38538 (libc_feupdateenv_testf): New.
38539 (libc_feupdateenv): Use libc_feupdateenv_test.
38540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38542
eb92c487
RH
38543 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38544 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38545 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38546 (libc_feresetround_noex): New.
38547 (libc_feresetround_noexf): New.
38548 (libc_feresetround_noexl): New.
38549 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38550 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38551 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38552 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38553 SET_RESTORE_ROUND.
38554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38555 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38556 (__cos): Likewise.
38557 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38558 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38559 SET_RESTORE_ROUND_NOEX.
38560 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38561 SET_RESTORE_ROUND_NOEXF.
38562 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38563 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38564 (libc_feholdsetroundf): New.
38565 (libc_feresetround, libc_feresetroundf): New.
38566
7d2e8012
RH
38567 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38568 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38569 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38570
b4dabbb4
RH
38571 * sysdeps/generic/math_private.h: Include <fenv.h>.
38572 (default_libc_feholdexcept): New.
38573 (default_libc_feholdexcept_setround): New.
38574 (default_libc_fesetenv, default_libc_feupdateenv): New.
38575 (libc_feholdexcept): Only define if undefined.
38576 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38577 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38578 (libc_feholdexcept_setroundl): Likewise.
38579 (libc_feholdexcept_setround_53bit): Likewise.
38580 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38581 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38582 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38583 (libc_feupdateenv_53bit): Likewise.
38584 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38585 (libc_feholdexcept): Convert from macro to inline function.
38586 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38587 (libc_fesetenv, libc_feupdateenv): Likewise.
38588
4851a949
RH
38589 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38590 not previously defined.
38591 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38592 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38593 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38594 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38595 * sysdeps/ieee754/flt-32/math_private.h: New file.
38596 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38597 math_private.h below SET_FLOAT_WORD.
38598 (__isnan, __isinf_ns, __finite): Remove.
38599 (__isnanf, __isinf_nsf, __finitef): Remove.
38600
e79d442e
AS
386012012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38602
38603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38604
90b80344
DM
386052012-03-17 David S. Miller <davem@davemloft.net>
38606
38607 [BZ #6471]
38608 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38609 for 2.16.
38610
edc21804
DM
386112012-03-16 David S. Miller <davem@davemloft.net>
38612
77e927af
DM
38613 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38614 warnings.
38615
374976dd
DM
38616 [BZ #6471]
38617 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38618 properly.
38619 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38620 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38621 sysdep_routines when subdir is sysvipc.
38622 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38623 __getshmlba helper.
38624
edc21804
DM
38625 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38626
473c3ef3
L
386272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38628
38629 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38630 [__LP64__].
38631
eb0f39b6
L
386322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38633
38634 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38635 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38636 (__lround): Renamed to ...
38637 (__llround): This. Replace long int with long long int.
38638 Define lround functions as aliases of llround functions.
38639 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38640
6b6cd74b
L
386412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38642
38643 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38644 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38645 adresses to uintptr_t. Replace "long int" and "unsigned long
38646 int" with "greg_t" on va_arg.
38647
f1a77b01
L
386482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38649
38650 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38651 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38652
38653 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38654 Move e_machine check before EI_CLASS check. Handle x32
38655 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38656 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38657 SKIP_EM_IA_64 and include
38658 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38659
38660 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38661 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38662 (add_system_dir): New macro.
38663
38664 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38665 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38666
11b90b9f
JM
386672012-03-16 Joseph Myers <joseph@codesourcery.com>
38668
c36e1d23
JM
38669 [BZ #2551]
38670 [BZ #2552]
38671 [BZ #2553]
38672 [BZ #2554]
38673 [BZ #2562]
38674 [BZ #2563]
38675 [BZ #2565]
38676 [BZ #2566]
38677 [BZ #2576]
38678 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38679 (y0): Likewise.
38680 * math/w_j0f.c (j0f): Likewise.
38681 (y0f): Likewise.
38682 * math/w_j0l.c (__j0l): Likewise.
38683 (__y0l): Likewise.
38684 * math/w_j1.c (j1): Likewise.
38685 (y1): Likewise.
38686 * math/w_j1f.c (j1f): Likewise.
38687 (y1f): Likewise.
38688 * math/w_j1l.c (__j1l): Likewise.
38689 (__y1l): Likewise.
38690 * math/w_jn.c (jn): Likewise.
38691 (yn): Likewise.
38692 * math/w_jnf.c (jnf): Likewise.
38693 (ynf): Likewise.
38694 * math/w_jnl.c (__jnl): Likewise.
38695 (__ynl): Likewise.
38696 * math/libm-test.inc (j0_test): Add more tests.
38697 (j1_test): Likewise.
38698 (jn_test): Likewise. Add trailing semicolon to existing test.
38699 (y0_test): Likewise.
38700 (y1_test): Likewise.
38701 * sysdeps/i386/fpu/libm-test-ulps: Update.
38702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38703
11b90b9f
JM
38704 [BZ #13851]
38705 [BZ #13854]
38706 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38707 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38708 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38709 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38710 (__tanl): Set errno for infinite argument.
38711 * sysdeps/i386/fpu/mptan.c: Remove.
38712 * sysdeps/i386/fpu/s_tan.S: Likewise.
38713 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38714 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38715 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38716 * math/libm-test.inc (tan_test): Add more tests and enable more
38717 tests for double and long double.
38718 * sysdeps/i386/fpu/libm-test-ulps: Update.
38719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38720
6a1bd2a1
JK
387212012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38722
38723 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38724 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38725
10a803e0
RM
387262012-03-16 Roland McGrath <roland@hack.frob.com>
38727
38728 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38729 * configure.in: Use it for both main tree and add-ons.
38730 * configure: Regenerated.
38731
f196c7f7
L
387322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38733
38734 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38735
8848d99d
JM
387362012-03-16 Joseph Myers <joseph@codesourcery.com>
38737
96cbe7f4
JM
38738 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38739 in comment.
38740
8848d99d
JM
38741 [BZ #13851]
38742 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38743 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38744 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38745 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38746 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38747 infinite argument.
38748 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38749 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38750 != 0 for prec == 2.
38751 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38752 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38753 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38754 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38755 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38756 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38757 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38758 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38759 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38760 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38761 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38762 * math/libm-test.inc (cos_test): Add more tests and enable more
38763 tests for long double.
38764 (sin_test): Likewise.
38765 (sincos_test): Likewise.
38766 * sysdeps/i386/fpu/libm-test-ulps: Update.
38767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38768
dd7f4703
DM
387692012-03-16 David S. Miller <davem@davemloft.net>
38770
38771 * sysdeps/sparc/fpu/math_private.h: New file.
38772
006f1daa
DM
387732012-03-15 David S. Miller <davem@davemloft.net>
38774
c0c83bc8
DM
38775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38776 file.
e6a62e18 38777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38779 file.
e6a62e18
DM
38780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38785 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38786 sysdep routines.
38787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38788
88cb87d9
DM
38789 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38790 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38791
006f1daa 38792 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38794 sparc-ifunc.h
006f1daa 38795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38797 Likewise.
38798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38799 Likewise.
006f1daa
DM
38800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38804 Likewise.
006f1daa
DM
38805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38810 Likewise.
38811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38812 Likewise.
006f1daa
DM
38813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38819 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38832 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38833 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38837
11e0098e
AS
388382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38839
38840 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38841 scaling.
38842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38843
e85b09d0
AJ
388442012-03-15 Andreas Jaeger <aj@suse.de>
38845
38846 [BZ #13852]
38847 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38848 ieee754/flt-32 implementation for sin, cos and sincos.
38849 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38850 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38851 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38852 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38853 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38854 ieee754/flt-32 implementation for tan.
38855
38856 * math/libm-test.inc (cos_test): Enable some large input tests for
38857 float as well
38858 (sin_test): Likewise.
38859 (sincos_test): Likewise.
38860 (tan_test): Add tests for large input.
38861
38862 * sysdeps/i386/fpu/libm-test-ulps: Update.
38863
81c64153
AJ
388642012-03-15 Andreas Jaeger <aj@suse.de>
38865
38866 [BZ #13658]
38867 * math/libm-test.inc (cos_test): Add more test cases.
38868 (sin_test): Likewise.
38869 (sincos_test): Likewise.
38870
7bbfa5c6
AJ
388712012-03-15 Andreas Jaeger <aj@suse.de>
38872
38873 [BZ #13837]
38874 * math/libm-test.inc (cos_test): Add a test case for large input
38875 value.
38876 (sin_test): Likewise.
38877 (sincos_test): Likewise.
38878
57f41c40
AS
388792012-03-15 Andreas Jaeger <aj@suse.de>
38880 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38881
38882 [BZ #13658]
0671f479 38883 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38884 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38885 * sysdeps/i386/fpu/branred.c: Likewise.
38886 * sysdeps/i386/fpu/dosincos.c: Likewise.
38887 * sysdeps/i386/fpu/mpa.c: Likewise.
38888 * sysdeps/i386/fpu/s_cos.S: Likewise.
38889 * sysdeps/i386/fpu/s_sin.S: Likewise.
38890 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38891 * sysdeps/i386/fpu/sincos32.c: Likewise.
38892
38893 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38894 Define.
38895 (libc_feupdateenv_53bit): Define.
38896 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38897 Define.
38898 (libc_feupdateenv_53bit): Define.
38899
38900 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38901 53 bit (without extend i386 double precision).
38902
38903 * math/libm-test.inc (sincos_test): Add tests for large input.
38904 (sin): Likewise.
38905 (cos): Likewise.
38906
38907 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38908
9cad04ea
AS
389092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38910
38911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38912
f7062b9a
DM
389132012-03-15 David S. Miller <davem@davemloft.net>
38914
38915 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38916 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38917 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38918 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38931 file.
f7062b9a 38932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38934 file.
f7062b9a 38935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38937 file.
f7062b9a 38938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38940 file.
f7062b9a
DM
38941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38943 fmin/fmax sysdep routines.
38944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38945
7bd951ff
DM
389462012-03-14 David S. Miller <davem@davemloft.net>
38947
559398ab
DM
38948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38952 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38968 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38969 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38970 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38972 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38977 routines.
38978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38979 file.
559398ab 38980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38982 file.
559398ab 38983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38985 file.
559398ab 38986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38988 file.
559398ab 38989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38991 file.
559398ab 38992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38994 file.
38995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38996 file.
38997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38998 file.
38999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39000 file.
39001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39002 New file.
39003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39004 file.
39005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39006 file.
559398ab 39007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39009 file.
559398ab 39010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39012 file.
559398ab 39013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39015 file.
559398ab 39016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39018 VIS3 routines.
559398ab
DM
39019
39020 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39021 New file.
39022
5a1c1e32
DM
39023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39024
eae47a36
DM
39025 * sysdeps/sparc/configure.in: New file.
39026 * sysdeps/sparc/configure: Generate.
39027 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39028 * configure: Regenerate.
39029 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39030 * config.make.in (have-as-vis3): New.
39031 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39032 available use -Av9d instead of -Av9a.
39033 * sysdeps/sparc/sparc64/Makefile: Likewise.
39034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39036 New file.
39037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39038 file.
39039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39040 New file.
39041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39042 file.
eae47a36
DM
39043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39045 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39046 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39047 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39048
c0c83bc8
DM
39049 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39050 fzeros/fnegs to load 0x80000000 into a float register instead of
39051 using the stack.
7bd951ff
DM
39052 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39053
bd951ccb
JM
390542012-03-14 Joseph Myers <joseph@codesourcery.com>
39055
39056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39057 bits/syscall.h.
39058 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39059 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39060 ($(inst_includedir)/bits/syscall.h): Remove rule.
39061 ($(objpfx)bits/syscall.d): Include instead of
39062 $(objpfx)syscall-list.d.
39063 (generated): Change syscall-list.h and syscall-list.d to
39064 bits/syscall.h and bits/syscall.d.
39065
bb4e6db2
RM
390662012-03-14 Roland McGrath <roland@hack.frob.com>
39067
39068 [BZ #13846]
39069 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39070
aa4a2ae1
JM
390712012-03-14 Joseph Myers <joseph@codesourcery.com>
39072
e456826d
JM
39073 [BZ #13841]
39074 * math/s_csqrt.c: Include <float.h>.
39075 (__csqrt): Scale large or subnormal inputs.
39076 * math/s_csqrtf.c: Likewise.
39077 * math/s_csqrtl.c: Likewise.
39078 * math/libm-test.inc (csqrt_test): Add more tests.
39079 * sysdeps/i386/fpu/libm-test-ulps: Update.
39080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39081
aa4a2ae1
JM
39082 [BZ #13840]
39083 * math/libm-test.inc (hypot_test): Add more tests.
39084
7c10fd35
DM
390852012-03-13 David S. Miller <davem@davemloft.net>
39086
39087 [BZ #13840]
39088 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39089 double-precision for the calculation instead of scaling.
39090
f453b98b
JM
390912012-03-13 Joseph Myers <joseph@codesourcery.com>
39092
39093 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39094 manipulate bits before adding and subtracting TWO52[sx].
39095 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39096 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39097 Likewise.
39098 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39099
09a3453f
DM
391002012-03-13 David S. Miller <davem@davemloft.net>
39101
8e59da90
DM
39102 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39103 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39105 rtld-global-offsets.h
39106 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39107
2a8ab7f2
DM
39108 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39109 large parameters.
39110
10f62770
DM
39111 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39112
5f0bdb18
DM
39113 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39114 'err' in the ifdef scope in which it is actually used.
39115
09a3453f
DM
39116 * nss/nss_db/db-init.c: Include string.h
39117
b4b2eb5e
DM
391182012-03-12 David S. Miller <davem@davemloft.net>
39119
98bb2f1c
DM
39120 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39121 masking out of the most significant byte of random value used.
39122 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39123 Fix coding style in previous change.
39124
b4b2eb5e
DM
39125 * sysdeps/unix/sysv/linux/kernel-features.h
39126 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39127 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39128 expression.
39129 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39130 later.
39131
6e226b09
DM
391322012-03-11 David S. Miller <davem@davemloft.net>
39133
a1bcbd40
DM
39134 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39135 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39136 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39137 for 'resultvar' otherwise things get truncated on 64-bit.
39138
cb9d6174
DM
39139 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39140 Fix masking out of the most significant byte of random value used.
39141
6e226b09
DM
39142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39143
058c132d
AS
391442012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39145
39146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39147
2d2cd515
DM
391482012-03-09 David S. Miller <davem@davemloft.net>
39149
39150 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39151 variables with appropriate CPP guards.
57f41c40
AS
39152 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39153 from the frame pointer, not the stack pointer. Correct layout
39154 comments. Fix test on resulting framesize and the management of
39155 the outregs buffer for pltexit. Preserve floating point return
39156 values across _dl_call_pltexit call.
2d2cd515
DM
39157 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39158 framesize and the management of the outregs buffer for pltexit.
39159 Preserve floating point return values across _dl_call_pltexit
39160 call.
57f41c40
AS
39161 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39162 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39163 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39164 (print_exit): Fix format string for return register value.
39165
9a07f9d0
JM
391662012-03-10 Joseph Myers <joseph@codesourcery.com>
39167
39168 * sunrpc/Makefile (others): Add rpcgen.
39169 ($(objpfx)rpcgen): Remove special build rule and dependency on
39170 libc.
39171 * sunrpc/rpcgen.c: New file.
39172
547b5e30
PE
391732012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39174
c524201a
PE
39175 [BZ #13673]
39176 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39177 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39178 * sysdeps/i386/crti.S: Likewise.
39179 * sysdeps/i386/crtn.S: Likewise.
39180 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39181 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39182 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39183 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39184 * sysdeps/sh/crti.S: Likewise.
39185 * sysdeps/sh/crtn.S: Likewise.
39186 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39187
7b6235f2
PE
39188 [BZ #13673]
39189 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39190 with URL.
39191 * locale/programs/locfile-kw.gperf: Likewise.
39192 * locale/programs/charmap-kw.h: Regenerated.
39193 * locale/programs/locfile-kw.h: Likewise.
39194
547b5e30
PE
39195 [BZ #13673]
39196 * intl/plural.y: Replace FSF snail mail address with URL.
39197 * intl/plural.c: Regenerated.
39198
5f0a5dae
RH
391992012-03-09 Richard Henderson <rth@twiddle.net>
39200
39201 * include/math_private.h: Remove file.
39202 * math/math_private.h: Move file ...
39203 * sysdeps/generic/math_private.h: ... here.
39204
b8c03620
RH
39205 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39206 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39207 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39208
4e234f5d 39209 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39210 and <math_private.h>.
39211 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39212 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39213 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39214 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39215 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39216 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39217 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39218 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39219 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39220 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39222 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39223 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39224 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39225 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39226 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39227 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39228 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39229 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39230 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39237 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39241 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39242 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39243 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39244 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39245 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39246 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39247 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39248 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39249 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39250 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39251 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39252 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39253 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39254 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39255 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39256 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39257 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39258 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39259 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39260 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39261 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39262 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39263 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39264 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39272 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39274 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39275 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39276 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39277 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39278 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39279 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39280 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39281 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39282 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39283 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39285 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39286 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39289 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39290 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39291 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39292 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39293 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39294 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39295 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39298 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39299 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39300 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39301 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39302 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39303 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39304 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39305 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39306 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39307 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39308 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39309 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39310 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39311 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39312 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39313 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39314 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39315 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39316 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39317 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39318 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39319 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39320 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39321 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39322 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39323 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39324 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39325 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39326 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39327 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39328 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39329 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39330 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39331 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39332 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39333 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39334 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39335 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39336 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39337 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39338 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39339 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39340 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39341 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39342 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39343 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39344 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39345 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39346 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39347 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39348 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39349 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39350 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39351 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39352 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39353 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39354 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39355 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39356 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39357 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39358 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39359 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39360 * sysdeps/ieee754/k_standard.c: Likewise.
39361 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39362 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39364 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39365 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39367 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39368 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39369 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39370 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39371 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39372 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39373 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39374 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39375 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39376 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39377 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39378 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39379 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39380 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39381 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39382 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39383 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39384 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39385 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39386 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39387 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39388 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39389 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39390 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39391 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39392 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39393 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39394 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39395 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39396 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39397 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39398 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39399 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39400 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39401 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39402 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39403 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39404 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39405 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39406 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39407 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39408 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39409 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39410 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39411 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39412 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39413 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39414 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39415 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39416 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39417 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39418 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39419 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39420 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39421 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39422 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39423 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39424 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39425 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39427 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39428 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39430 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39433 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39434 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39435 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39436 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39437 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39438 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39439 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39440 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39441 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39442 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39443 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39444 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39445 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39446 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39447 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39448 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39449 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39450 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39451 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39452 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39453 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39454 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39455 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39456 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39457 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39458 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39459 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39460 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39461 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39462 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39463 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39464 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39465 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39466 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39468 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39469 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39470 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39471 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39472 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39473 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39474 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39475 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39476 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39477 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39478 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39479 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39480 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39481 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39482 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39483 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39484 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39485 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39486 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39487 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39488 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39489 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39491 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39492 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39493 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39494 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39495 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39496 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39497 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39498 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39500 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39501 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39502 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39503 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39504 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39505 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39506 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39507 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39508 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39509 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39510 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39511 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39512 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39513 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39514 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39515 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39516 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39517 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39518 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39519 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39520 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39521 * sysdeps/ieee754/s_lib_version.c: Likewise.
39522 * sysdeps/ieee754/s_matherr.c: Likewise.
39523 * sysdeps/ieee754/s_signgam.c: Likewise.
39524 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39525 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39526 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39527 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39528 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39529 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39530 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39531 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39532 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39533 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39534 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39535 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39536 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39537 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39538 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39539 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39540 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39541 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39542 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39543 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39545
1991fa03
JM
395462012-03-09 Joseph Myers <joseph@codesourcery.com>
39547
39548 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39549 * sunrpc/rpc_main.c: Likewise.
39550 * sunrpc/rpc_svcout.c: Likewise.
39551
60d6f5a6
DM
395522012-03-09 David S. Miller <davem@davemloft.net>
39553
39554 * include/math_private.h: New file.
39555
4962050e
JM
395562012-03-09 Joseph Myers <joseph@codesourcery.com>
39557
02a6f887
JM
39558 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39559 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39560 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39561 from <bits/socket_type.h>.
39562 (enum __socket_type): Don't define here.
39563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39565 bits/socket_type.h.
39566
c6e013c1
JM
39567 [BZ #13566]
39568 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39569 checking __USE_GNU.
39570
4962050e
JM
39571 * Makerules ($(inst_includedir)/%.h): New rule.
39572 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39573 (install-others): Remove variable setting.
39574 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39575
38842f45
RH
395762012-03-08 Richard Henderson <rth@twiddle.net>
39577
67bb6da6
RH
39578 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39579 from macro to inline function; merge with the
39580 !__LIBC_INTERNAL_MATH_INLINES version.
39581 (__ieee754_sqrtf): Likewise.
39582
15194b4b
RH
39583 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39584 to inline function.
39585 (__rintf, __floor, __floorf): Likewise.
39586
64e21ede
RH
39587 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39588 macro to inline function.
39589 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39590
38842f45
RH
39591 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39592 not <math/math_private.h>.
39593
c64bf5fe
DM
395942012-03-08 David S. Miller <davem@davemloft.net>
39595
39596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39597 copyright year.
39598 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39599
82d86f28
TS
396002012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39601
39602 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39603 normalization.
39604 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39605 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39606
aea5d727
UD
396072012-03-08 Ulrich Drepper <drepper@gmail.com>
39608
39609 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39610 be defined individually, they must be defined as a block. Define
39611 S for printing a string instead of hidint the different by using a
39612 macro for adding the 'l'.
39613 * stdio-common/tst-fphex-wide.c: Adjust.
39614
70bca0a3
MP
396152012-03-07 Marek Polacek <polacek@redhat.com>
39616
39617 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39618
65b81130
MP
396192012-03-08 Marek Polacek <polacek@redhat.com>
39620
39621 [BZ #13806]
39622 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39623 * stdio-common/tst-fphex.c: Define a few macros to make the
39624 test reusable. Use them.
39625 * stdio-common/tst-fphex-wide.c: New file.
39626
07037eeb
JM
396272012-03-08 Joseph Myers <joseph@codesourcery.com>
39628
a7a93d50
JM
39629 [BZ #6911]
39630 * manual/macros.texi (gnusystems): New macro.
39631 (nongnusystems): Likewise.
39632 (gnulinuxhurdsystems): Likewise.
39633 (gnuhurdsystems): Likewise..
39634 (gnulinuxsystems): Likewise.
39635 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39636 variants of the GNU system, not "GNU system".
39637 * manual/conf.texi: Likewise.
39638 * manual/errno.texi: Likewise. Update example of errno macro
39639 expansion.
39640 * manual/filesys.texi: Likewise.
39641 (getumask): Document as specific to GNU/Hurd.
39642 * manual/install.texi: Likewise. Reword some references to
39643 GNU/Linux.
39644 * manual/intro.texi: Likewise.
39645 * manual/io.texi: Likewise.
39646 (File Name Portability): Detail which constraints are inapplicable
39647 to all GNU systems and which are only inapplicable to GNU/Hurd.
39648 * manual/job.texi: Likewise.
39649 * manual/llio.texi: Likewise.
39650 (O_NOCTTY): Document as present on GNU/Linux.
39651 * manual/maint.texi: Likewise.
39652 * manual/memory.texi: Likewise.
39653 * manual/pattern.texi: Likewise.
39654 * manual/pipe.texi: Likewise.
39655 * manual/process.texi: Likewise.
39656 * manual/resource.texi: Likewise.
39657 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39658 child on GNU/Hurd.
39659 * manual/setjmp.texi: Likewise.
39660 * manual/signal.texi: Likewise.
39661 * manual/startup.texi: Likewise.
39662 * manual/stdio.texi: Likewise.
39663 * manual/terminal.texi: Likewise.
39664 (ONLCR): Document as POSIX.
39665 (OXTABS): Document availability on GNU/Linux as XTABS.
39666 (ONOEOT): Document availability separately from other bits.
39667 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39668 * manual/time.texi: Likewise.
39669 * manual/users.texi: Likewise.
39670 * INSTALL: Regenerated.
39671 * sysdeps/gnu/errlist.c: Regenerated.
39672
07037eeb
JM
39673 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39674 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39675 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39676 puts.
39677 * configure: Regenerated.
39678
d1d3431a
JM
396792012-03-07 Joseph Myers <joseph@codesourcery.com>
39680
af6a1e37
JM
39681 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39682 default includes instead of AC_HEADER_CHECK.
39683 * sysdeps/i386/configure: Regenerated.
39684
d1d3431a
JM
39685 [BZ #10716]
39686 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39687 * math/s_cacoshf.c (__cacoshf): Likewise.
39688 * math/s_cacoshl.c (__cacoshl): Likewise.
39689 * math/s_casinh.c (__casinh): Set signs of result from argument.
39690 * math/s_casinhf.c (__casinhf): Likewise.
39691 * math/s_casinhl.c (__casinhl): Likewise.
39692 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39693 (casinh_test): Add more tests.
39694 * sysdeps/i386/fpu/libm-test-ulps: Update.
39695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39696
482ff4da
UD
396972012-03-07 Ulrich Drepper <drepper@gmail.com>
39698
872fda05
UD
39699 * po/zh_TW.po: Update from translation team.
39700
a4300c7a
UD
39701 * login/Makefile (distribute): Remove variable.
39702 * catgets/Makefile: Likewise.
39703 * mach/Makefile: Likewise.
39704 * malloc/Makefile: Likewise.
39705 * misc/Makefile: Likewise.
39706 * iconv/Makefile: Likewise.
39707 * nscd/Makefile: Likewise.
39708 * hurd/Makefile: Likewise.
39709 * manual/Makefile: Likewise.
39710 * locale/Makefile: Likewise.
39711 * intl/Makefile: Likewise.
39712 * conform/Makefile: Likewise.
39713 * nss/Makefile: Likewise.
39714 * time/Makefile: Likewise.
39715 * soft-fp/Makefile: Likewise.
39716 * dirent/Makefile: Likewise.
39717 * gmon/Makefile: Likewise.
39718 * po/Makefile: Likewise.
39719 * rt/Makefile: Likewise.
39720 * socket/Makefile: Likewise.
39721 * math/Makefile: Likewise.
39722 * signal/Makefile: Likewise.
39723 * debug/Makefile: Likewise.
39724 * elf/Makefile: Likewise.
39725 * timezone/Makefile: Likewise.
39726 * stdlib/Makefile: Likewise.
39727 * iconvdata/Makefile: Likewise.
39728 * sunrpc/Makefile: Likewise.
39729 * io/Makefile: Likewise.
39730 * argp/Makefile: Likewise.
39731 * inet/Makefile: Likewise.
39732 * hesiod/Makefile: Likewise.
39733 * grp/Makefile: Likewise.
39734 * csu/Makefile: Likewise.
39735 * wctype/Makefile: Likewise.
39736 * crypt/Makefile: Likewise.
39737 * libio/Makefile: Likewise.
39738 * string/Makefile: Likewise.
39739 * nis/Makefile: Likewise.
39740 * resolv/Makefile: Likewise.
39741 * stdio-common/Makefile: Likewise.
39742 * wcsmbs/Makefile: Likewise.
39743 * dlfcn/Makefile: Likewise.
39744 * posix/Makefile: Likewise.
39745
3b7c4e74 39746 [BZ #6959]
482ff4da
UD
39747 * timezone/Makefile: Don't install timezone files, just the programs
39748 and scripts.
39749
f72ed77d
UD
397502012-03-06 Ulrich Drepper <drepper@gmail.com>
39751
a000466f
UD
39752 * nss/databases.def: Add missing gshadow entry.
39753
f72ed77d
UD
39754 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39755
a53b7a4e
MP
397562012-03-06 Marek Polacek <polacek@redhat.com>
39757
39758 [BZ #13726]
39759 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39760 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39761 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39762 * stdio-common/tst-long-dbl-fphex.c: New file.
39763
e9258400
DM
397642012-03-06 David S. Miller <davem@davemloft.net>
39765
39766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39767 (set_obp_int): New function.
39768 (get_obp_int): New function.
39769 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39770 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39771 Avoid unused variable warnings on 'val' and use builtin_expect.
39772 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39773 __builtin_expect.
e9258400
DM
39774 (INLINE_CLONE_SYSCALL): Likewise.
39775
3bd2c723
DM
397762012-03-05 David S. Miller <davem@davemloft.net>
39777
39778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39779
bbb78d03
AS
397802012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39781
884c5db4
AS
39782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39783
bbb78d03
AS
39784 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39785 only for |x| >= 40.
39786 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39787
1c9f702a 397882012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39789
39790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39791 Replace gettimeofday with __vdso_gettimeofday.
39792
7be16f82
RM
39793 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39794 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39795 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39796
39797 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39798 time with __vdso_time.
39799
ed58a00f
JM
398002012-03-05 Joseph Myers <joseph@codesourcery.com>
39801
39802 * manual/lang.texi (size_t): Note types to which size_t may be
39803 equivalent with the GNU C Library, but do not describe when
39804 differences between them are significant.
39805
30ee4ced
AJ
398062012-03-05 Andreas Jaeger <aj@suse.de>
39807
39808 * sysdeps/i386/fpu/libm-test-ulps: Update.
39809
b7cd39e8
JM
398102012-03-05 Joseph Myers <joseph@codesourcery.com>
39811
39812 [BZ #3976]
39813 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39814 (__ieee754_pow): Save and restore rounding mode and use
39815 round-to-nearest for main computations.
39816 * math/libm-test.inc (pow_test_tonearest): New function.
39817 (pow_test_towardzero): Likewise.
39818 (pow_test_downward): Likewise.
39819 (pow_test_upward): Likewise.
39820 (main): Call the new functions.
39821 * sysdeps/i386/fpu/libm-test-ulps: Update.
39822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39823
39824 [BZ #3976]
39825 * math/libm-test.inc (cosh_test_tonearest): New function.
39826 (cosh_test_towardzero): Likewise.
39827 (cosh_test_downward): Likewise.
39828 (cosh_test_upward): Likewise.
39829 (sinh_test_tonearest): Likewise.
39830 (sinh_test_towardzero): Likewise.
39831 (sinh_test_downward): Likewise.
39832 (sinh_test_upward): Likewise.
39833 (main): Call the new functions.
39834 * sysdeps/i386/fpu/libm-test-ulps: Update.
39835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39836
6c6a98c9
TV
398372012-03-05 Tom de Vries <tom@codesourcery.com>
39838
39839 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39840 default stack guard is set in last bytes.
39841 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39842
21bb2d2e 398432012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39844
21bb2d2e 39845 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39846
21bb2d2e
AJ
39847 [BZ #13656]
39848 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39849 possibly allocate from heap instead of stack.
39850 * stdio-common/bug-vfprintf-nargs.c: New file.
39851 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39852
c6922934
AS
398532012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39854
39855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39856
bc957d53
MP
398572012-03-03 Marek Polacek <polacek@redhat.com>
39858
39859 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39860 * math/math_private.h: Likewise.
39861 * stdlib/tst-strtod.c: Likewise.
39862 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39863 * sysdeps/x86_64/bits/atomic.h: Likewise.
39864
6358490d
DM
398652012-03-02 David S. Miller <davem@davemloft.net>
39866
39867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39871 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39872 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39873 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39874 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39875
01ae168d
RM
398762012-03-02 Roland McGrath <roland@hack.frob.com>
39877
d9a17c07
RM
39878 [BZ #13792]
39879 * manual/examples/README: New file, says the example source files
39880 can be used under GPL>=2.
39881 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39882 line containing just "*/".
39883 * manual/examples/add.c: Add copyright header (GPL>=2).
39884 * manual/examples/argp-ex1.c: Likewise.
39885 * manual/examples/argp-ex2.c: Likewise.
39886 * manual/examples/argp-ex3.c: Likewise.
39887 * manual/examples/argp-ex4.c: Likewise.
39888 * manual/examples/atexit.c: Likewise.
39889 * manual/examples/db.c: Likewise.
39890 * manual/examples/dir.c: Likewise.
39891 * manual/examples/dir2.c: Likewise.
39892 * manual/examples/execinfo.c: Likewise.
39893 * manual/examples/filecli.c: Likewise.
39894 * manual/examples/filesrv.c: Likewise.
39895 * manual/examples/fmtmsgexpl.c: Likewise.
39896 * manual/examples/genpass.c: Likewise.
39897 * manual/examples/inetcli.c: Likewise.
39898 * manual/examples/inetsrv.c: Likewise.
39899 * manual/examples/isockad.c: Likewise.
39900 * manual/examples/longopt.c: Likewise.
39901 * manual/examples/memopen.c: Likewise.
39902 * manual/examples/memstrm.c: Likewise.
39903 * manual/examples/mkfsock.c: Likewise.
39904 * manual/examples/mkisock.c: Likewise.
39905 * manual/examples/mygetpass.c: Likewise.
39906 * manual/examples/pipe.c: Likewise.
39907 * manual/examples/popen.c: Likewise.
39908 * manual/examples/rprintf.c: Likewise.
39909 * manual/examples/search.c: Likewise.
39910 * manual/examples/select.c: Likewise.
39911 * manual/examples/setjmp.c: Likewise.
39912 * manual/examples/sigh1.c: Likewise.
39913 * manual/examples/sigusr.c: Likewise.
39914 * manual/examples/stpcpy.c: Likewise.
39915 * manual/examples/strdupa.c: Likewise.
39916 * manual/examples/strftim.c: Likewise.
39917 * manual/examples/strncat.c: Likewise.
39918 * manual/examples/subopt.c: Likewise.
39919 * manual/examples/swapcontext.c: Likewise.
39920 * manual/examples/termios.c: Likewise.
39921 * manual/examples/testopt.c: Likewise.
39922 * manual/examples/testpass.c: Likewise.
39923 * manual/examples/timeval_subtract.c: Likewise.
39924
01ae168d
RM
39925 [BZ #13792]
39926 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39927 function to ...
39928 * manual/timeval_subtract.c.texi: ... here, new file.
39929
49efa33d
DM
399302012-03-02 David S. Miller <davem@davemloft.net>
39931
39932 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39933
28afd92d
JM
399342012-03-02 Joseph Myers <joseph@codesourcery.com>
39935
804360ed
JM
39936 [BZ #3976]
39937 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39938 (__sin): Save and restore rounding mode and use round-to-nearest
39939 for all computations.
39940 (__cos): Save and restore rounding mode and use round-to-nearest
39941 for all computations.
39942 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39943 <fenv.h>.
39944 (tan): Save and restore rounding mode and use round-to-nearest for
39945 all computations.
39946 * math/libm-test.inc (cos_test_tonearest): New function.
39947 (cos_test_towardzero): Likewise.
39948 (cos_test_downward): Likewise.
39949 (cos_test_upward): Likewise.
39950 (sin_test_tonearest): Likewise.
39951 (sin_test_towardzero): Likewise.
39952 (sin_test_downward): Likewise.
39953 (sin_test_upward): Likewise.
39954 (tan_test_tonearest): Likewise.
39955 (tan_test_towardzero): Likewise.
39956 (tan_test_downward): Likewise.
39957 (tan_test_upward): Likewise.
39958 (main): Call the new functions.
39959 * sysdeps/i386/fpu/libm-test-ulps: Update.
39960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39961
a6d06d7b
JM
39962 [BZ #10135]
39963 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39964 small n, then large n, before computing and testing k+n.
39965 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39966 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39967 Likewise.
39968 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39969 Likewise.
39970 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39971 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39972 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39973 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39974 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39975 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39976 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39978 * math/libm-test.inc (scalbn_test): Add more tests.
39979 (scalbln_test): Likewise.
39980
07e12bb3
JM
39981 * manual/filesys.texi (mode_t): Describe constraints on size and
39982 signedness, not exact equivalence to a particular type.
39983 (ino_t): Likewise.
39984 (ino64_t): Likewise.
39985 (dev_t): Likewise.
39986 (nlink_t): Likewise.
39987 (blkcnt_t): Likewise.
39988 (blkcnt64_t): Likewise.
39989 * manual/llio.texi (off_t): Likewise.
39990
28afd92d
JM
39991 [BZ #3976]
39992 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39993 (__ieee754_exp): Save and restore rounding mode and use
39994 round-to-nearest for all computations.
39995 * math/libm-test.inc (exp_test_tonearest): New function.
39996 (exp_test_towardzero): Likewise.
39997 (exp_test_downward): Likewise.
39998 (exp_test_upward): Likewise.
39999 (main): Call the new functions.
40000 * sysdeps/i386/fpu/libm-test-ulps: Update.
40001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40002
b1eeb65d
CD
400032012-03-01 Chris Demetriou <cgd@google.com>
40004
40005 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40006 have predictable order.
40007
53362a4b
DM
400082012-03-01 David S. Miller <davem@davemloft.net>
40009
3c969083
DM
40010 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40011
759707de
DM
40012 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40013 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40014 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40015 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40016
dfdb8ff2
DM
40017 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40018 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40019 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40021 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40022 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40023 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40024 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40025 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40026
ead89f96
DM
40027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40028
7f66bd07
DM
40029 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40030 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40031 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40032
53362a4b
DM
40033 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40034 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40035 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40036 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40037 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40038 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40039 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40040 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40041 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40042 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40043 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40044 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40045 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40046 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40047 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40049 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40050 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40051 * sysdeps/sparc/elf/configure: Regenerated.
40052
7b1902cb
JM
400532012-03-01 Joseph Myers <joseph@codesourcery.com>
40054
bec039bc
JM
40055 * configure.in (AS, LD): Require binutils 2.20 or later.
40056 * configure: Regenerated.
40057 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40058 as required minimum version.
40059 * INSTALL: Regenerated.
40060
7b1902cb
JM
40061 [BZ #2541]
40062 [BZ #4108]
40063 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40064 before squaring exponent.
40065 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40066 bottom long double and 27 bits of top long double before squaring
40067 exponent.
40068 * math/libm-test.inc (erfc_test): Add more tests.
40069 * sysdeps/i386/fpu/libm-test-ulps: Update.
40070 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40072
f775c276
KT
400732012-03-01 Kai Tietz <ktietz@redhat.com>
40074
40075 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40076 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40077 containing bit-fields.
40078 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40079 * soft-fp/single.h (_FP_UNION_S): Likewise.
40080 * soft-fp/double.h (_FP_UNION_D): Likewise.
40081
5b8a4d4a
JM
400822012-02-29 Joseph Myers <joseph@codesourcery.com>
40083
0bab47b6
JM
40084 [BZ #13786]
40085 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40086 not include ../strcmp.S.
40087 [USE_AS_STRNCASECMP_L]: Likewise.
40088 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40089 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40090 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40091 (__strncasecmp_l_ia32): Define as alias to
40092 __strncasecmp_l_nonascii.
40093
0fcad3e2
JM
40094 [BZ #5794]
40095 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40096 * sysdeps/i386/fpu/libm-test-ulps: Update.
40097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40098
5b8a4d4a
JM
40099 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40101
8fdceb2e
JL
401022012-02-29 Jeff Law <law@redhat.com>
40103
40104 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40105 out of bounds read.
40106
1f393a11
MP
401072012-02-29 Marek Polacek <polacek@redhat.com>
40108
40109 [BZ #13706]
40110 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40111 * elf/Makefile: Add rules to run tst-unused-dep.out.
40112
8847f037
DM
401132012-02-28 David S. Miller <davem@davemloft.net>
40114
40115 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40116 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40117 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40118 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40119 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40120 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40121
169d7f11
JM
401222012-02-29 Joseph Myers <joseph@codesourcery.com>
40123
40124 * math/libm-test.inc (llround_test): Move one test from
40125 lround_test. Use TEST_f_L in moved test.
40126 (lround_test): Move misplaced test to llround_test. Add testcase
40127 from bug 2561.
40128
39adf059
UD
401292012-02-28 Ulrich Drepper <drepper@gmail.com>
40130
40131 * sysdeps/x86_64/fpu/e_expf.S: New file.
40132 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40133
71b5d1c5
SB
401342012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40135
40136 [BZ #13637]
40137 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40138 of remain_len that may cause incomplete multi-byte character and
40139 false match.
40140 * posix/bug-regex33.c: New file.
40141 * posix/Makefile (tests): Add bug-regex33.
40142
1f77f049
JM
401432012-02-28 Joseph Myers <joseph@codesourcery.com>
40144
40145 * manual/macros.texi: New file.
40146 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40147 * manual/libc.texinfo: Include macros.texi.
40148 * manual/creatute.texi: Likewise.
40149 * manual/install.texi: Likewise.
40150 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40151 @glibcadj{} in references to the GNU C Library.
40152 * manual/charset.texi: Likewise.
40153 * manual/conf.texi: Likewise.
40154 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40155 when not using those macros.
40156 * manual/creature.texi: Likewise.
40157 * manual/crypt.texi: Likewise.
40158 * manual/errno.texi: Likewise.
40159 * manual/filesys.texi: Likewise.
40160 * manual/header.texi: Likewise.
40161 * manual/install.texi: Likewise.
40162 * manual/intro.texi: Likewise.
40163 * manual/io.texi: Likewise.
40164 * manual/job.texi: Likewise.
40165 * manual/lang.texi: Likewise.
40166 * manual/libc.texiinfo: Likewise.
40167 * manual/llio.texi: Likewise.
40168 * manual/locale.texi: Likewise.
40169 * manual/maint.texi: Likewise.
40170 * manual/math.texi: Likewise.
40171 * manual/memory.texi: Likewise.
40172 * manual/message.texi: Likewise.
40173 * manual/nss.texi: Likewise.
40174 * manual/pattern.texi: Likewise.
40175 * manual/process.texi: Likewise.
40176 * manual/resource.texi: Likewise.
40177 * manual/search.texi: Likewise.
40178 * manual/setjmp.texi: Likewise.
40179 * manual/signal.texi: Likewise.
40180 * manual/socket.texi: Likewise.
40181 * manual/startup.texi: Likewise.
40182 * manual/stdio.texi: Likewise.
40183 * manual/string.texi: Likewise.
40184 * manual/sysinfo.texi: Likewise.
40185 * manual/syslog.texi: Likewise.
40186 * manual/terminal.texi: Likewise.
40187 * manual/time.texi: Likewise.
40188 * manual/users.texi: Likewise.
40189 * INSTALL: Regenerated.
40190 * NOTES: Regenerated.
d40c5d54 40191 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40192
450bf206
AS
401932012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40194
40195 * include/dirent.h: Include <dirstream.h> before
40196 <dirent/dirent.h>.
40197
741a235b
DM
401982012-02-28 David S. Miller <davem@davemloft.net>
40199
40200 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40201 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40202 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40203 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40204
d6b5aa58
DM
402052012-02-27 David S. Miller <davem@davemloft.net>
40206
1aff59a3
DM
40207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40209 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40210 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40211
d6b5aa58
DM
40212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40213 frame pointer instead of stack pointer relative arg slot.
40214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40215 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40216 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40217
433f48bf
CD
402182012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40219
40220 [BZ #3992]
40221 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40222
d674b76d
DM
402232012-02-27 David S. Miller <davem@davemloft.net>
40224
40225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40229 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40230 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40231 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40232 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40233
0e7727f7
JM
402342012-02-27 Joseph Myers <joseph@codesourcery.com>
40235
40236 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40237 later. Allow versions 5-9.
43be4ca2 40238 * configure: Regenerated.
0e7727f7
JM
40239 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40240 required minimum version and 4.6 as recommended version. Do not
40241 mention bugs in GCC 2.7 and 2.8.
43be4ca2 40242 * INSTALL: Regenerated.
0e7727f7 40243
a78bc654
DM
402442012-02-27 David S. Miller <davem@davemloft.net>
40245
428d5830
DM
40246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40250 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40251 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40252 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40253 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40254
a78bc654
DM
40255 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40256 manipulate bits before adding and subtracting TWO112[sx].
40257 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40258
4579f81c
RM
402592012-02-27 Roland McGrath <roland@hack.frob.com>
40260
36c8acb4
RM
40261 [BZ #13775]
40262 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40263 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40264 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40265 being in POSIX, because they are in 1003.1-2008.
40266
84ad622b
RM
40267 * rt/tst-aio.c: Include <fcntl.h>.
40268 * rt/tst-aio7.c: Likewise.
40269 * rt/tst-aio64.c: Likewise.
40270
4579f81c
RM
40271 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40272
abd923db
JM
402732012-02-27 Joseph Myers <joseph@codesourcery.com>
40274
40275 * manual/install.texi (--with-headers): Describe headers as
40276 interface headers, not private headers.
40277 (Specific advice for GNU/Linux systems): Describe use of headers
40278 from "make headers_install", not private headers from older
40279 kernels.
43be4ca2 40280 * INSTALL: Regenerated.
abd923db
JM
40281 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40282 Change to 2.6.19.
40283 * sysdeps/unix/sysv/linux/configure: Regenerated.
40284
6664049b
JM
40285 * manual/llio.texi (fclean): Remove documentation.
40286
bb8b6697
JM
40287 * manual/Makefile (libc-texi-generated): New variable. Include
40288 version.texi.
40289 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40290 $(libc-texi-generated), not duplicated list of files.
40291 (version.texi, stamp-version): New rules.
40292 (realclean): Remove $(libc-texi-generated), not individual files
40293 from that list. Do not remove dir-add.texinfo.
40294 * manual/libc.texinfo: Comment out uses of edition numbers and
40295 references to printed manual. Remove last-updated dates.
40296 (EDITION): Comment out.
40297 (ISBN): Likewise.
40298 (VERSION, UPDATED): Remove.
40299 (version.texi): Include.
40300
12e5c3b9
AS
403012012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40302
40303 * sysdeps/posix/spawni.c: Include <signal.h>.
40304 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40305 * sysdeps/pthread/aio_fsync.c: Likewise.
40306
4efeffc1 403072012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 40308
ba63ba08
UD
40309 * conform/Makefile (tests): Run only when not cross-compiling and
40310 when fast-check is not defined.
40311
d94a4670
UD
40312 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40313 * conform/data/limits.h-data: Fixes for POSIX2008.
40314 * conform/run-conformtest.sh: Run all tests.
40315 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40316 headers.
40317 * include/bits/dlfcn.h: Likewise.
40318 * include/langinfo.h: Likewise.
40319 * include/monetary.h: Likewise.
40320 * include/sys/poll.h: Likewise.
40321
40322 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40323 for __USE_GNU.
40324 * posix/spawn.h: Define __need_sigset_t.
40325 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40326 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40327 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40328 to get sigevent_t only.
40329 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40330 only for __USE_GNU.
40331 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40332 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40333 process_vm_writev only for __USE_GNU.
40334 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
40335
40336 * conform/Makefile: For now ignore errors from run-conformtest.
40337 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40338 POSIX to avoid namespace pollution. Don't prepend headers.
40339 * conform/data/aio.h-data: Fixes for POSIX testing.
40340 * conform/data/fcntl.h-data: Likewise.
40341 * conform/data/glob.h-data: Likewise.
40342 * conform/data/grp.h-data: Likewise.
40343 * conform/data/pthread.h-data: Likewise.
40344 * conform/data/pwd.h-data: Likewise.
40345 * conform/data/signal.h-data: Likewise.
40346 * conform/data/spawn.h-data: Likewise.
40347 * conform/data/stdio.h-data: Likewise.
40348 * conform/data/stdlib.h-data: Likewise.
40349 * conform/data/stropts.h-data: Likewise.
40350 * conform/data/sys/mman.h-data: Likewise.
40351 * conform/data/sys/stat.h-data: Likewise.
40352 * conform/data/sys/types.h-data: Likewise.
40353 * conform/data/sys/wait.h-data: Likewise.
40354 * conform/data/time.h-data: Likewise.
40355 * conform/data/unistd.h-data: Likewise.
40356 * conform/data/utime.h-data: Likewise.
40357
40358 * io/sys/stat.h: fchmod was always in POSIX.
40359 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40360 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40361 * rt/aio.h: Define __need_timespec before including <time.h>.
40362 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40363 struct. Add forward declaration of pthread_attr_t and use it in
40364 sigevent.
40365 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40366 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40367 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40368 always remove CLK_TCK definition.
40369
c20105c3
AS
403702012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40371
40372 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40373
7a270350
UD
403742012-02-25 Ulrich Drepper <drepper@gmail.com>
40375
31341567
UD
40376 * conform/run-conformtest.sh: New file.
40377 * conform/Makefile: Run run-conformtest for tests.
40378 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40379 support.
40380
40381 * conform/data/uchar.h-data: New file.
40382 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40383 * conform/data/arpa/inet.h-data: Likewise.
40384 * conform/data/assert.h-data: Likewise.
40385 * conform/data/complex.h-data: Likewise.
40386 * conform/data/cpio.h-data: Likewise.
40387 * conform/data/ctype.h-data: Likewise.
40388 * conform/data/dirent.h-data: Likewise.
40389 * conform/data/dlfcn.h-data: Likewise.
40390 * conform/data/errno.h-data: Likewise.
40391 * conform/data/fcntl.h-data: Likewise.
40392 * conform/data/float.h-data: Likewise.
40393 * conform/data/fmtmsg.h-data: Likewise.
40394 * conform/data/fnmatch.h-data: Likewise.
40395 * conform/data/ftw.h-data: Likewise.
40396 * conform/data/glob.h-data: Likewise.
40397 * conform/data/grp.h-data: Likewise.
40398 * conform/data/iconv.h-data: Likewise.
40399 * conform/data/inttypes.h-data: Likewise.
40400 * conform/data/langinfo.h-data: Likewise.
40401 * conform/data/libgen.h-data: Likewise.
40402 * conform/data/limits.h-data: Likewise.
40403 * conform/data/locale.h-data: Likewise.
40404 * conform/data/math.h-data: Likewise.
40405 * conform/data/monetary.h-data: Likewise.
40406 * conform/data/mqueue.h-data: Likewise.
40407 * conform/data/ndbm.h-data: Likewise.
40408 * conform/data/net/if.h-data: Likewise.
40409 * conform/data/netdb.h-data: Likewise.
40410 * conform/data/netinet/in.h-data: Likewise.
40411 * conform/data/nl_types.h-data: Likewise.
40412 * conform/data/poll.h-data: Likewise.
40413 * conform/data/pthread.h-data: Likewise.
40414 * conform/data/pwd.h-data: Likewise.
40415 * conform/data/regex.h-data: Likewise.
40416 * conform/data/sched.h-data: Likewise.
40417 * conform/data/search.h-data: Likewise.
40418 * conform/data/semaphore.h-data: Likewise.
40419 * conform/data/setjmp.h-data: Likewise.
40420 * conform/data/signal.h-data: Likewise.
40421 * conform/data/spawn.h-data: Likewise.
40422 * conform/data/stdarg.h-data: Likewise.
40423 * conform/data/stdio.h-data: Likewise.
40424 * conform/data/stdlib.h-data: Likewise.
40425 * conform/data/string.h-data: Likewise.
40426 * conform/data/strings.h-data: Likewise.
40427 * conform/data/stropts.h-data: Likewise.
40428 * conform/data/sys/ipc.h-data: Likewise.
40429 * conform/data/sys/mman.h-data: Likewise.
40430 * conform/data/sys/msg.h-data: Likewise.
40431 * conform/data/sys/resource.h-data: Likewise.
40432 * conform/data/sys/select.h-data: Likewise.
40433 * conform/data/sys/sem.h-data: Likewise.
40434 * conform/data/sys/shm.h-data: Likewise.
40435 * conform/data/sys/socket.h-data: Likewise.
40436 * conform/data/sys/stat.h-data: Likewise.
40437 * conform/data/sys/statvfs.h-data: Likewise.
40438 * conform/data/sys/time.h-data: Likewise.
40439 * conform/data/sys/timeb.h-data: Likewise.
40440 * conform/data/sys/times.h-data: Likewise.
40441 * conform/data/sys/types.h-data: Likewise.
40442 * conform/data/sys/uio.h-data: Likewise.
40443 * conform/data/sys/un.h-data: Likewise.
40444 * conform/data/sys/utsname.h-data: Likewise.
40445 * conform/data/sys/wait.h-data: Likewise.
40446 * conform/data/syslog.h-data: Likewise.
40447 * conform/data/tar.h-data: Likewise.
40448 * conform/data/termios.h-data: Likewise.
40449 * conform/data/utime.h-data: Likewise.
40450 * conform/data/utmpx.h-data: Likewise.
40451 * conform/data/varargs.h-data: Likewise.
40452 * conform/data/wchar.h-data: Likewise.
40453 * conform/data/wctype.h-data: Likewise.
40454 * conform/data/wordexp.h-data: Likewise.
40455
40456 * include/stropts.h: New file.
40457 * include/uchar.h: New file.
40458 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40459 * include/assert.h: Likewise.
40460 * include/ctype.h: Likewise.
40461 * include/dirent.h: Likewise.
40462 * include/dlfcn.h: Likewise.
40463 * include/fcntl.h: Likewise.
40464 * include/fnmatch.h: Likewise.
40465 * include/glob.h: Likewise.
40466 * include/grp.h: Likewise.
40467 * include/libio.h: Likewise.
40468 * include/locale.h: Likewise.
40469 * include/math.h: Likewise.
40470 * include/net/if.h: Likewise.
40471 * include/netdb.h: Likewise.
40472 * include/netinet/in.h: Likewise.
40473 * include/pthread.h: Likewise.
40474 * include/pwd.h: Likewise.
40475 * include/regex.h: Likewise.
40476 * include/sched.h: Likewise.
40477 * include/search.h: Likewise.
40478 * include/setjmp.h: Likewise.
40479 * include/signal.h: Likewise.
40480 * include/stdio.h: Likewise.
40481 * include/stdlib.h: Likewise.
40482 * include/string.h: Likewise.
40483 * include/sys/cdefs.h: Likewise.
40484 * include/sys/mman.h: Likewise.
40485 * include/sys/msg.h: Likewise.
40486 * include/sys/resource.h: Likewise.
40487 * include/sys/select.h: Likewise.
40488 * include/sys/socket.h: Likewise.
40489 * include/sys/stat.h: Likewise.
40490 * include/sys/statvfs.h: Likewise.
40491 * include/sys/time.h: Likewise.
40492 * include/sys/times.h: Likewise.
40493 * include/sys/uio.h: Likewise.
40494 * include/sys/utsname.h: Likewise.
40495 * include/sys/wait.h: Likewise.
40496 * include/termios.h: Likewise.
40497 * include/time.h: Likewise.
40498 * include/ulimit.h: Likewise.
40499 * include/unistd.h: Likewise.
40500 * include/utime.h: Likewise.
40501 * include/wchar.h: Likewise.
40502 * include/wctype.h: Likewise.
40503 * include/wordexp.h: Likewise.
40504
40505 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40506
7a270350
UD
40507 * time/time.h: TIME_UTC must be a macro.
40508 Make timespec_get available for ISO C11 only as well.
40509
7724defc
UD
405102012-02-24 Ulrich Drepper <drepper@gmail.com>
40511
40512 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40513 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40514
6b1d1d46
JM
405152012-02-24 Joseph Myers <joseph@codesourcery.com>
40516
40517 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40518
0f8bbd69
JM
405192012-02-24 Joseph Myers <joseph@codesourcery.com>
40520
40521 * manual/texinfo.tex: Update to version 2012-01-19.16.
40522
66ab80bc
JM
405232012-02-24 Joseph Myers <joseph@codesourcery.com>
40524
40525 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40526
74981cc5
RM
405272012-02-24 Roland McGrath <roland@hack.frob.com>
40528
ee968201
RM
40529 [BZ #13738]
40530 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40531 * manual/fdl-1.3.texi: New file.
40532 * manual/fdl-1.1.texi: File removed.
40533
74981cc5
RM
40534 [BZ #13738]
40535 * manual/libc.texinfo (FDL_VERSION): New @set.
40536 Use it for mention of FDL in cover text.
40537 (Documentation License): Use it in @include file name.
40538
7bb764bc
JM
405392012-02-22 Joseph Myers <joseph@codesourcery.com>
40540 Roland McGrath <roland@hack.frob.com>
40541
40542 [BZ #5461]
57f41c40
AS
40543 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40544 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40545 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40546 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40547 name.
40548 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40549
6cbeae47
JM
405502012-02-22 Joseph Myers <joseph@codesourcery.com>
40551
40552 [BZ #2547]
40553 [BZ #11365]
40554 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40555 manipulate bits before adding and subtracting TWO23[sx].
40556 * math/libm-test.inc (nearbyint_test): Add more tests.
40557
fe45ce09
JM
405582012-02-22 Joseph Myers <joseph@codesourcery.com>
40559
40560 [BZ #2548]
40561 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40562 bits before adding and subtracting TWO23[sx].
40563 * math/libm-test.inc (rint_test): Add more tests.
40564 (rint_test_tonearest): Likewise.
40565 (rint_test_towardzero): Likewise.
40566 (rint_test_downward): Likewise.
40567 (rint_test_upward: Likewise.
40568
ff3b3d82
JM
405692012-02-22 Joseph Myers <joseph@codesourcery.com>
40570
40571 [BZ #10110]
40572 * include/stdc-predef.h: New file. Extracted from features.h.
40573 * include/features.h: Include stdc-predef.h.
40574 * Makefile (headers): Add stdc-predef.h.
40575 * CONFORMANCE (Compiler limitations): Update.
40576
ef0aab35
JM
405772012-02-22 Joseph Myers <joseph@codesourcery.com>
40578
40579 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40580
58639409
DM
405812012-02-21 David S. Miller <davem@davemloft.net>
40582
40583 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40584 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40585
c0e70b25
DM
405862012-02-20 David S. Miller <davem@davemloft.net>
40587
40588 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40589 using a normal save/restore sequence, rather than allocating a
40590 dummy stack frame just to store a frame pointer and restore.
40591 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40592
fb06851d
JM
405932012-02-21 Joseph Myers <joseph@codesourcery.com>
40594
40595 * manual/install.texi: Fix stray word in line-wrapped comment.
40596
7a8b71c3
DM
405972012-02-20 David S. Miller <davem@davemloft.net>
40598
d510c123
DM
40599 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40600 both binutils and gcc support GOTDATA.
40601
0722d7c2
DM
40602 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40603 "rd %pc" in the PIC register setup sequences.
40604
3d2b3019
DM
40605 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40606 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40607 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40608 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40609 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40610 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40612 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40614 (SYSCALL_ERROR_HANDLER): Likewise.
40615 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40616 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40617 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40618 (SYSCALL_ERROR_HANDLER): Likewise.
40619
c80098a9
DM
40620 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40621 (HAVE_GCC_GOTDATA): New.
40622 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40623 relocation support in both binutils and gcc.
40624 * sysdeps/sparc/elf/configure: Regenerate.
40625
3a2545a0
DM
40626 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40627 * sysdeps/sparc/sparc32/elf/configure: Delete.
40628 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40629 * sysdeps/sparc/sparc64/elf/configure: Delete.
40630 * sysdeps/sparc/elf/configure.in: New file.
40631 * sysdeps/sparc/elf/configure: Generate.
40632
7a8b71c3
DM
40633 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40634 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40635 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40636 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40637 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40638
f1e86fca
JM
406392012-02-21 Joseph Myers <joseph@codesourcery.com>
40640
40641 * manual/install.texi: Do not mention specific glibc version
40642 numbers.
40643 * manual/libc.texinfo (VERSION, UPDATED): Update.
40644 (@copying): Use @copyright{} and range of years.
40645
0e7dfaef
JM
406462012-02-21 Joseph Myers <joseph@codesourcery.com>
40647
40648 [BZ #13695]
40649 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40650 [crti.S not in sysdirs] (generated): Do not append.
40651 [crti.S not in sysdirs] (omit-deps): Likewise.
40652 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40653 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40654 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40655 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40656 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40657 Likewise.
40658 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40659 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40660 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40661 * csu/defs.awk: Remove file.
40662 * sysdeps/generic/initfini.c: Likewise.
40663 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40664 variable.
40665 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40666 Likewise.
40667
599af3ca
JM
406682012-02-20 Joseph Myers <joseph@codesourcery.com>
40669
40670 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40671 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40672 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40673 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40675 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40676 <bits/epoll.h>.
40677 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40678 (__EPOLL_PACKED): Define to empty if not defined by
40679 <bits/epoll.h>.
40680 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40682 bits/epoll.h.
40683
0e499750
JM
406842012-02-20 Joseph Myers <joseph@codesourcery.com>
40685
40686 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40687 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40688 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40689 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40690 <bits/timerfd.h>.
40691 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40693 bits/timerfd.h.
40694
5ad91f6e
JM
406952012-02-20 Joseph Myers <joseph@codesourcery.com>
40696
40697 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40698 in C locale.
40699 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40700 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40701 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40703
06b99b02
AJ
407042012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40705
40706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40707 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40708
7638c0fd
AS
407092012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40710
40711 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40712 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40713 defined.
40714 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40715 Likewise.
40716 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40717 entry for 2.16.
40718
92221550
AJ
407192012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40720
40721 * math/w_acos.c: Use non-signaling floating-point comparisons.
40722 * math/w_acosf.c: Likewise.
40723 * math/w_acosh.c: Likewise.
40724 * math/w_acoshf.c: Likewise.
40725 * math/w_acoshl.c: Likewise.
40726 * math/w_acosl.c: Likewise.
40727 * math/w_asin.c: Likewise.
40728 * math/w_asinf.c: Likewise.
40729 * math/w_asinl.c: Likewise.
40730 * math/w_atanh.c: Likewise.
40731 * math/w_atanhf.c: Likewise.
40732 * math/w_atanhl.c: Likewise.
40733 * math/w_exp2.c: Likewise.
40734 * math/w_exp2f.c: Likewise.
40735 * math/w_exp2l.c: Likewise.
40736 * math/w_j0.c: Likewise.
40737 * math/w_j0f.c: Likewise.
40738 * math/w_j0l.c: Likewise.
40739 * math/w_j1.c: Likewise.
40740 * math/w_j1f.c: Likewise.
40741 * math/w_j1l.c: Likewise.
40742 * math/w_jn.c: Likewise.
40743 * math/w_jnf.c: Likewise.
40744 * math/w_log.c: Likewise.
40745 * math/w_log10.c: Likewise.
40746 * math/w_log10f.c: Likewise.
40747 * math/w_log10l.c: Likewise.
40748 * math/w_log2.c: Likewise.
40749 * math/w_log2f.c: Likewise.
40750 * math/w_log2l.c: Likewise.
40751 * math/w_logf.c: Likewise.
40752 * math/w_logl.c: Likewise.
40753 * math/w_sqrt.c: Likewise.
40754 * math/w_sqrtf.c: Likewise.
40755 * math/w_sqrtl.c: Likewise.
40756 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40757 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40758 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40759 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40760 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40761
ebaf36eb
JM
407622012-02-19 Joseph Myers <joseph@codesourcery.com>
40763
40764 [BZ #9739]
40765 * manual/string.texi (strnlen): Use correct parameter name in
40766 equivalent expression.
40767
71c254a6
JM
407682012-02-19 Joseph Myers <joseph@codesourcery.com>
40769
40770 [BZ #11174]
40771 * manual/users.texi (seteuid): Consistently use neweuid for
40772 argument name.
40773
16d2c631
JM
407742012-02-19 Joseph Myers <joseph@codesourcery.com>
40775
40776 [BZ #13704]
40777 * manual/nss.texi (Services in the NSS configuration): Correct
40778 list of services in example configuration file.
40779
cd837b09
NB
407802012-02-19 Nick Bowler <nbowler@draconx.ca>
40781
40782 [BZ #11322]
40783 * manual/arith.texi: Remove statements about negative zero
40784 behaving identically to zero.
40785
02c4bbad
JM
407862012-02-18 Joseph Myers <joseph@codesourcery.com>
40787
40788 [BZ #5993]
40789 * manual/install.texi: Do not document upgrading from libc5.
40790
366842e7
JM
407912012-02-18 Joseph Myers <joseph@codesourcery.com>
40792
40793 [BZ #4596]
40794 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40795
dd54084d
DM
407962012-02-18 David S. Miller <davem@davemloft.net>
40797
40798 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40799 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40800 %o7 across the call.
40801 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40802 instead.
40803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40804 SETUP_PIC_REG_LEAF.
40805 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40806 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40807 * sysdeps/sparc/crtn.S: Likewise.
40808
2bcc53a3
UD
408092012-02-17 Ulrich Drepper <drepper@gmail.com>
40810
40811 * aout/Makefile: Remove.
40812
09c093b5
RK
408132012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40814
40815 [BZ #13058]
40816 * manual/examples/argp-ex1.c (main): Format definition in GNU
40817 style.
40818 * manual/examples/argp-ex2.c (main): Likewise.
40819 * manual/examples/argp-ex3.c (main): Likewise.
40820 * manual/examples/argp-ex4.c (main): Likewise.
40821 * manual/examples/longopt.c (main): Use new-style prototype
40822 definition.
40823 * manual/examples/strncat.c (main): Specify return type and use
40824 (void) for arguments.
40825 * manual/examples/subopt.c (main): Use char **argv argument.
40826
2ee633a2
JM
408272012-02-17 Joseph Myers <joseph@codesourcery.com>
40828
40829 [BZ #5077]
40830 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40831 rounding modes.
40832
0520adde
FB
408332012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40834
40835 [BZ #6907]
40836 * manual/string.texi (strchr): Change when strchrnul is
40837 recommended.
40838
3f4081cd
DGM
408392012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40840
40841 [BZ #174]
40842 * manual/locale.texi (setlocale): Document LOCPATH.
40843
d1b10e78
JM
408442012-02-17 Joseph Myers <joseph@codesourcery.com>
40845
40846 [BZ #10210]
40847 * manual/process.texi (execle): Move @dots{} before last argument.
40848
79c6869c
PB
408492012-02-17 Paul Bolle <pebolle@tiscali.nl>
40850
40851 [BZ #12047]
40852 * manual/charset.texi (Generic Charset Conversion): Fix typo
40853 (LC_TYPE -> LC_CTYPE).
40854
cc6e48bc
NB
408552012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40856
40857 [BZ #5805]
40858 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40859 (scalbnf): Likewise.
40860 (scalbnl): Likewise.
40861 (scalbln): Likewise.
40862 (scalblnf): Likewise.
40863 (scalblnl): Likewise.
40864 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40865 (vwarnx): Likewise.
40866 (verr): Likewise.
40867 (verrx): Likewise.
40868 * manual/filesys.texi (telldir): Use braces around return type.
40869 * manual/llio.texi (mmap): Add space after comma.
40870 (mmap64): Likewise.
40871 * manual/math.texi (jn): Use @var{} on parameter names.
40872 (jnf): Likewise.
40873 (jnl): Likewise.
40874 (yn): Likewise.
40875 (ynf): Likewise.
40876 (ynl): Likewise.
40877 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40878 line.
40879 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40880 "...".
40881 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40882 (sched_get_priority_max): Likewise.
40883 * manual/signal.texi (sigvec): Add space after comma.
40884 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40885 names.
40886 (if_indextoname): Likewise.
40887 (if_freenameindex): Likewise.
40888 (sendto): Use ',' instead of '.' in prototype.
40889 * manual/startup.texi (syscall): Use @dots{} instead of literal
40890 "...".
40891 * manual/stdio.texi (__fpending): Separate initial words of
40892 paragraph from @deftypefun line.
40893 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40894 "...".
40895 (vsyslog): Use @var{} on parameter names.
40896 * manual/terminal.texi (stty): Use @var{} on parameter names.
40897 * manual/users.texi (getutmp): Use @var{} on parameter names.
40898 (getutmpx): Likewise.
40899
5b23062f
JM
409002012-02-17 Joseph Myers <joseph@codesourcery.com>
40901
40902 [BZ #6884]
40903 * manual/stdio.texi (fopen): Fix typos in description of
40904 ",ccs=STRING".
40905
8dee4833
AJ
409062012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40907
40908 [BZ #4026]
40909 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40910 get clock_id definition.
40911
9078ce93
TS
409122012-02-17 Thomas Schwinge <thomas@schwinge.name>
40913
40914 [BZ #4822]
40915 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40916 (madvise): Cast every argument to void on its own.
40917
3835c55f
JM
409182012-02-17 Joseph Myers <joseph@codesourcery.com>
40919
40920 [BZ #9902]
40921 * manual/startup.texi (Exit Status): Fix typo.
40922
35c47e37
JM
409232012-02-17 Joseph Myers <joseph@codesourcery.com>
40924
40925 [BZ #10140]
40926 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40927 * manual/examples/argp-ex2.c: Likewise.
40928 * manual/examples/argp-ex3.c: Likewise.
40929
e3b69ca7
RH
409302012-02-16 Richard Henderson <rth@redhat.com>
40931
40932 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40933 * sysdeps/s390/s390-32/initfini.c: Remove.
40934 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40935 * sysdeps/s390/s390-64/initfini.c: Remove.
40936
df83af67
KK
409372012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40938
40939 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40940 compiler output for sysdeps/generic/initfini.c.
40941 * sysdeps/sh/elf/initfini.c: Remove file.
40942
f63f3380
DM
409432012-02-16 David S. Miller <davem@davemloft.net>
40944
fb59b3a4
DM
40945 [BZ #11494]
40946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40947
f63f3380
DM
40948 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40949 * sysdeps/sparc/crti.S: New file.
40950 * sysdeps/sparc/crtn.S: New file.
40951 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40952 * sysdeps/sparc/sparc64/Makefile: Likewise.
40953
df6a4a4a
MF
409542012-02-15 Mike Frysinger <vapier@gentoo.org>
40955
6dd8f3dc 40956 [BZ #3335]
df6a4a4a
MF
40957 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40958
1cac7236
RM
409592012-02-15 Roland McGrath <roland@hack.frob.com>
40960
d2c736f8
RM
40961 [BZ #4822]
40962 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40963
1cac7236
RM
40964 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40965 (write, read, close): Likewise.
40966 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40967
8e475601
JM
409682012-02-15 Joseph Myers <joseph@codesourcery.com>
40969
40970 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40971 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40972 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40973 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40974 <bits/signalfd.h>.
40975 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40977 bits/signalfd.h.
40978
ed656b40
MP
409792012-02-14 Marek Polacek <polacek@redhat.com>
40980
40981 * sysdeps/x86_64/crti.S: New file.
40982 * sysdeps/x86_64/crtn.S: New file.
40983 * sysdeps/x86_64/elf/initfini.c: Remove file.
40984
2a979d3a
JM
409852012-02-13 Joseph Myers <joseph@codesourcery.com>
40986
40987 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40988 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40989 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40990 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40991 <bits/inotify.h>.
40992 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40994 bits/inotify.h.
40995
2a418ac3
JM
409962012-02-13 Joseph Myers <joseph@codesourcery.com>
40997
40998 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40999 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41000 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41001 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41002 <bits/eventfd.h>.
41003 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41005 bits/eventfd.h.
41006
fb779be7
TS
410072012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41008
e19e83c5
RM
41009 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41010 __feraiseexcept instead of feraiseexcept.
7c35ffed 41011
fb779be7
TS
41012 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41013 nanosleep invocations.
41014 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41015 strings, and add error checking for a nanosleep invocations.
41016
59ba27a6
PE
410172012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41018
41019 Replace FSF snail mail address with URLs, as per GNU coding standards.
41020 Most of the snail mail addresses were wrong anyway, and omitting
41021 them makes the source code easier to maintain. Almost all of the
41022 changes are to license notices and to locale LC_IDENTIFICATION
41023 addresses, except for this one:
41024 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41025 not its snail mail address.
41026
57b957eb
RH
410272012-02-09 Richard Henderson <rth@twiddle.net>
41028
af850b1c
RH
41029 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41030 of kernel-features.h.
41031
57b957eb
RH
41032 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41033
6b73181a
MP
410342012-02-08 Marek Polacek <polacek@redhat.com>
41035
41036 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41037 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41038 * sysdeps/gnu/_G_config.h: Likewise.
41039 * sysdeps/generic/_G_config.h: Likewise.
41040
26ecc33a
AS
410412012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41042
6c6dbc63
AS
41043 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41044 tests.
41045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41046
e216c012
AS
41047 * sysdeps/powerpc/powerpc32/crti.S: New file.
41048 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41049 * sysdeps/powerpc/powerpc64/crti.S: New file.
41050 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41051
26ecc33a
AS
41052 * Makeconfig (have-initfini): Don't set.
41053 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41054 * configure.in (nopic_initfini): Don't substitute.
41055 * config.h.in (HAVE_INITFINI): Don't #undef.
41056 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41057 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41058
3add8e13
JM
410592012-02-08 Joseph Myers <joseph@codesourcery.com>
41060
41061 Support crti.S and crtn.S provided directly by architectures.
41062 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41063 [crti.S in sysdirs] (omit-deps): Likewise.
41064 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41065 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41066 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41067 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41068 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41069 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41070 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41071 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41072 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41073 compiler output for sysdeps/generic/initfini.c.
41074 * sysdeps/i386/elf/Makefile: Remove file.
41075 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41076
a22f12b4
MP
410772012-02-07 Marek Polacek <polacek@redhat.com>
41078
41079 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41080 * sysdeps/gnu/_G_config.h: Likewise.
41081 * sysdeps/mach/hurd/_G_config.h: Likewise.
41082
148cf100
MP
410832012-02-07 Marek Polacek <polacek@redhat.com>
41084
41085 * math/Makefile (tests): Add tst-CMPLX2.
41086 * math/tst-CMPLX2.c: New file.
41087
cfdc0dd7
AS
410882012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41089
84ba42c4
AS
41090 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41091
cfdc0dd7
AS
41092 * math/libm-test.inc (jn_test): Add missing L suffix.
41093
622c86f4
MP
410942012-02-06 Marek Polacek <polacek@redhat.com>
41095
41096 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41097 * sysdeps/i386/fpu/e_powf.S: Likewise.
41098 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41099 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41100 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41101 * sysdeps/i386/fpu/e_pow.S: Likewise.
41102 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41103 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41104 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41105 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41106 * sysdeps/i386/fpu/e_log2.S: Likewise.
41107 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41108 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41109 * sysdeps/i386/fpu/e_powl.S: Likewise.
41110 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41111 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41112 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41113 * sysdeps/i386/fpu/e_logl.S: Likewise.
41114 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41115 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41116 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41117 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41118 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41119 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41120 * sysdeps/i386/fpu/e_log.S: Likewise.
41121 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41122 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41123 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41124 * sysdeps/i386/fpu/e_logf.S: Likewise.
41125 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41126 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41127 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41128 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41129 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41130 * sysdeps/i386/fpu/e_log10.S: Likewise.
41131 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41132 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41133 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41134 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41135 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41136 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41137 * sysdeps/i386/asm-syntax.h: Likewise.
41138 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41139 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41140 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41141 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41142 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41143 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41144 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41145 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41146 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41147 * sysdeps/powerpc/sysdep.h: Likewise.
41148 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41149 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41150
d4a54ac6
JM
411512012-02-06 Joseph Myers <joseph@codesourcery.com>
41152
41153 [BZ #411]
41154 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41155
314054ea
JM
411562012-02-06 Joseph Myers <joseph@codesourcery.com>
41157
41158 * sysdeps/i386/sysdep.h: Include <features.h>.
41159 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41160 version.
41161
d8e0ca50
JM
411622012-02-05 Joseph Myers <joseph@codesourcery.com>
41163
41164 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41165 Define.
41166 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41167 LOAD_PIC_REG_STR.
41168
b1da7dd9
JM
411692012-02-03 Joseph Myers <joseph@codesourcery.com>
41170
41171 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41172 (SETUP_PIC_REG): Use GET_PC_THUNK.
41173 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41174 macro.
41175
9a1d9254
JM
411762012-02-03 Joseph Myers <joseph@codesourcery.com>
41177
41178 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41179 for non-PIC compilation.
41180 (SETUP_PIC_REG): Add .p2align directive.
41181 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41182 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41183 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41184 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41185 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41186 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41187 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41188 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41189 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41190 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41191 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41192 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41193 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41194 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41195 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41196 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41197 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41198 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41199 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41200 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41201 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41202 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41203 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41204 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41205 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41207 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41208 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41209 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41210 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41211 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41212 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41213 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41214 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41215 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41216 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41217 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41218 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41219 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41220 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41221 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41222
65dc3b75
JM
412232012-02-03 Joseph Myers <joseph@codesourcery.com>
41224
41225 * math/tst-CMPLX.c: Include <stdio.h>.
41226
d55bf177
JM
412272012-01-31 Joseph Myers <joseph@codesourcery.com>
41228
41229 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41230 float.
41231 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41232 * sysdeps/sparc/bits/mathdef.h: Likewise.
41233
69db4f8f
MP
412342012-01-31 Marek Polacek <polacek@redhat.com>
41235
41236 * libio/libio.h: Don't define _PARAMS.
41237 * locale/programs/config.h: Don't define PARAMS.
41238 * stdlib/strtol_l.c: Likewise.
41239 (__strtol_l): Remove PARAMS from the prototype.
41240
41b81892
UD
412412012-01-31 Ulrich Drepper <drepper@gmail.com>
41242
3b49edc0
UD
41243 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41244 names. Just use the correct names. Remove unnecessary wrapper
41245 functions.
41246 * malloc/arena.c: Likewise.
41247 * malloc/hooks.c: Likewise.
41248
41b81892
UD
41249 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41250 ARENA_TEST says not to. Simplify test for creation of a new arena.
41251 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41252
27a25b6e
UD
412532012-01-30 Ulrich Drepper <drepper@gmail.com>
41254
41255 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41256 into tail calls.
41257 (update_get_addr): New function.
41258 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41259 GET_ADDR_MODULE parameter.
41260
c8a89e7d
JM
412612012-01-30 Joseph Myers <joseph@codesourcery.com>
41262
41263 * crypt/cert.c: Remove __STDC__ conditionals.
41264 * crypt/crypt-entry.c: Likewise.
41265 * crypt/crypt_util.c: Likewise.
41266 * libio/filedoalloc.c: Likewise.
41267 * libio/fileops.c: Likewise.
41268 * libio/genops.c: Likewise.
41269 * libio/iofclose.c: Likewise.
41270 * libio/iofdopen.c: Likewise.
41271 * libio/iofopen.c: Likewise.
41272 * libio/iofopen64.c: Likewise.
41273 * libio/iogetdelim.c: Likewise.
41274 * libio/iopopen.c: Likewise.
41275 * libio/obprintf.c: Likewise.
41276 * libio/oldfileops.c: Likewise.
41277 * libio/oldiofclose.c: Likewise.
41278 * libio/oldiofdopen.c: Likewise.
41279 * libio/oldiofopen.c: Likewise.
41280 * libio/oldiopopen.c: Likewise.
41281 * libio/wfiledoalloc.c: Likewise.
41282 * libio/wgenops.c: Likewise.
41283 * locale/programs/xmalloc.c: Likewise.
41284 * misc/syslog.c: Likewise.
41285 * stdio-common/xbug.c: Likewise.
41286 * string/memchr.c: Likewise.
41287 * string/memcmp.c: Likewise.
41288 * string/memrchr.c: Likewise.
41289 * string/rawmemchr.c: Likewise.
41290 * sysdeps/posix/getcwd.c: Likewise.
41291 * time/strftime_l.c: Likewise.
41292
3b100462
JM
412932012-01-30 Joseph Myers <joseph@codesourcery.com>
41294
41295 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
41296 * config.make.in (config-cflags-sse2avx): Define.
41297 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41298 Fix typo.
41299
607998af
CM
413002012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41301
41302 * scripts/config.guess: Update from upstream config git repository.
41303 * scripts/config.sub: Likewise.
41304
3601428f
CM
413052012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41306
3ac8b282
CM
41307 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41308 (EM_NUM): Update.
41309 (R_TILEPRO_*, R_TILEGX_*): New macros.
41310
e034841e
CM
41311 * scripts/firstversions.awk: Fix bug in version range handling.
41312
540d7568
CM
41313 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41314
3601428f
CM
41315 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41316
463de862
CM
41317 * include/sys/epoll.h: New file.
41318 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41319 libc_hidden_def.
41320
73139a76
UD
413212012-01-28 Ulrich Drepper <drepper@gmail.com>
41322
96bc5b45
UD
41323 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41324 Avoid unnecessary __WORDSIZE == 64 test.
41325 (fmaxf): Use VEX format if possible.
41326 (fmax): Likewise.
41327 (fminf): Likewise.
41328 (fmin): Likewise.
41329
56f6f6a2
UD
41330 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41331 * math/math_private.h: Remove libc_fegetround* and
41332 libc_fesetround*.
41333 * sysdeps/i386/configure.in: Check for -msse2avx.
41334 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41335 also if SSE2AVX is defined.
41336 Remove libc_fegetround* and libc_fesetround*.
41337 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41338 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41339 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41340 of HAS_YMM_USABLE.
41341 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41342 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41343 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41344 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41345 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41346
73139a76
UD
41347 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41348
d73f93a4
AZ
413492012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41350
41351 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41352 size is not set.
41353 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41354
6ee65ed6
UD
413552012-01-27 Ulrich Drepper <drepper@gmail.com>
41356
41357 [BZ #13618]
41358 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41359 relocation.
41360 * Makeconfig (libm): Define.
41361 * elf/Makefile: Add rules to build and run tst-relsort1.
41362 * elf/tst-relsort1.c: New file.
41363 * elf/tst-relsort1mod1.c: New file.
41364 * elf/tst-relsort1mod2.c: New file.
41365
8db21882
JM
413662012-01-27 Joseph Myers <joseph@codesourcery.com>
41367
41368 * math/s_ldexp.c: Remove __STDC__ conditionals.
41369 * math/s_ldexpf.c: Likewise.
41370 * math/s_ldexpl.c: Likewise.
41371 * math/s_nextafter.c: Likewise.
41372 * math/s_nexttowardf.c: Likewise.
41373 * math/s_significand.c: Likewise.
41374 * math/s_significandf.c: Likewise.
41375 * math/s_significandl.c: Likewise.
41376 * math/w_jnl.c: Likewise.
41377 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41378 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41379 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41380 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41381 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41382 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41383 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41384 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41385 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41386 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41387 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41388 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41389 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41390 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41391 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41392 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41393 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41394 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41396 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41397 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41398 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41399 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41400 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41401 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41402 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41403 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41404 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41405 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41406 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41407 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41408 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41409 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41410 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41411 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41412 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41413 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41414 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41415 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41416 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41417 * sysdeps/ieee754/k_standard.c: Likewise.
41418 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41419 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41420 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41421 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41422 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41423 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41424 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41425 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41426 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41427 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41428 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41429 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41430 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41431 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41432 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41433 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41434 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41435 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41436 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41437 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41438 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41439 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41440 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41441 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41442 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41443 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41444 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41445 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41446 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41447 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41448 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41449 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41450 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41451 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41452 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41453 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41454 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41455 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41456 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41457 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41458 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41459 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41460 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41461 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41462 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41463 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41464 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41465 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41466 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41467 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41468 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41469 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41470 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41471 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41472 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41473 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41474 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41475 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41476 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41477 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41478 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41479 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41480 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41481 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41482 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41483 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41484 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41485 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41486 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41487 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41488 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41489 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41490 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41491 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41492 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41493 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41494 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41495 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41496 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41497 * sysdeps/ieee754/s_matherr.c: Likewise.
41498 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41499 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41500 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41502
965a54a4
JM
415032012-01-26 Joseph Myers <joseph@codesourcery.com>
41504
41505 * crypt/md5.h: Remove __STDC__ conditionals.
41506 * libio/libioP.h: Likewise.
41507 * locale/programs/config.h: Likewise.
41508 * sysdeps/generic/sysdep.h: Likewise.
41509 * sysdeps/i386/asm-syntax.h: Likewise.
41510 * sysdeps/s390/asm-syntax.h: Likewise.
41511 * sysdeps/unix/sysdep.h: Likewise.
41512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41514
7071ad79
JM
415152012-01-26 Joseph Myers <joseph@codesourcery.com>
41516
41517 * libio/libio.h: Remove __STDC__ conditionals.
41518 * malloc/obstack.h: Likewise.
41519 * math/complex.h: Likewise.
41520 * math/math.h: Likewise.
41521 * sysdeps/generic/_G_config.h: Likewise.
41522 * sysdeps/gnu/_G_config.h: Likewise.
41523 * sysdeps/mach/hurd/_G_config.h: Likewise.
41524 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41525 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41526 * sysdeps/sparc/bits/mathdef.h: Likewise.
41527
afc5ed09
UD
415282012-01-26 Ulrich Drepper <drepper@gmail.com>
41529
41530 [BZ #13583]
41531 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41532 Clean up HAS_* macros.
afc5ed09 41533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41534 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41535 possible.
41536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41537 HAS_AVX.
41538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41539 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41540 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41541 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41542 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41543
bdb6de1d
JM
415442012-01-25 Joseph Myers <joseph@codesourcery.com>
41545
41546 * elf/tst-unique3.cc (gets): Remove declaration.
41547 * elf/tst-unique3lib.cc (gets): Likewise.
41548 * elf/tst-unique3lib2.cc (gets): Likewise.
41549 * elf/tst-unique4.cc (gets): Likewise.
41550
b15549e6
UD
415512012-01-24 Ulrich Drepper <drepper@gmail.com>
41552
41553 * include/stdio.h: Add C++ protection. Add gets declarations and
41554 definitions.
41555 * debug/tst-chk1.c: Don't declare gets here.
41556 * stdio-common/tst-gets.c: Likewise.
41557
a037381f
JM
415582012-01-24 Joseph Myers <joseph@codesourcery.com>
41559
41560 * posix/glob: Remove directory.
41561
f1d4aa75
JM
415622012-01-24 Joseph Myers <joseph@codesourcery.com>
41563
41564 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41565
81c0c964
PT
415662012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41567
41568 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41569 of the non-standard EPFNOSUPPORT.
41570
0ea698ae
ST
415712011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41572
41573 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41574 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41575 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41576
d220b117
UD
415772012-01-21 Ulrich Drepper <drepper@gmail.com>
41578
41579 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41580
3e1aa84e
UD
415812012-01-20 Ulrich Drepper <drepper@gmail.com>
41582
41583 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41584 transient errors.
41585 * nscd/grpcache.c (cache_addgr): Likewise.
41586 * nscd/hstcache.c (cache_addhst): Likewise.
41587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41588 * nscd/pwdcache.c (cache_addpw): Likewise.
41589 * nscd/servicescache.c (cache_addserv): Likewise.
41590
400aa020
UD
415912012-01-16 Ulrich Drepper <drepper@gmail.com>
41592
d77e7869
UD
41593 * malloc/malloc.c: Various cleanups.
41594 * malloc/hooks.c: Likewise.
41595
400aa020
UD
41596 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41597 * stdlib/bug-fmtmsg1.c: New file.
41598
41599 * stdlib/fmtmsg.c (init): Add missing unlock.
41600 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41601
e0a309cf
MP
416022012-01-12 Marek Polacek <polacek@redhat.com>
41603
41604 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41605 and _GNU_SOURCE.
41606
929d11c7
WS
416072012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41608
41609 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41610 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41611 macro to ensure uniqueness of label name.
41612 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41613 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41614
41d0e869
UD
416152012-01-11 Ulrich Drepper <drepper@gmail.com>
41616
0cc5ed3b
UD
41617 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41618
41d0e869
UD
41619 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41620 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41623
a47a831a
UD
416242012-01-10 Ulrich Drepper <drepper@gmail.com>
41625
daa891c0
UD
41626 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41627
41628 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41629 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41630 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41631
e58ef0f2
UD
41632 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41633
a47a831a 41634 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41635 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41636 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41637 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41638
41639 * math/bits/math-finite.h: Add ldexp support.
41640
a0bfc9c7
MP
416412012-01-10 Marek Polacek <polacek@redhat.com>
41642
41643 * locale/programs/localedef.h (show_archive_content): Add noreturn
41644 attribute.
41645
d6e97a1d
UD
416462012-01-09 Ulrich Drepper <drepper@gmail.com>
41647
41648 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41649
d5835c26
UD
416502012-01-08 Ulrich Drepper <drepper@gmail.com>
41651
e5f484c6
UD
41652 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41653
d5835c26
UD
41654 * io/Makefile (headers): Add bits/poll2.h.
41655
d1f741e9
WS
416562011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41657
41658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41659 typo #include statement.
41660
ec09c1c4
UD
416612012-01-08 Ulrich Drepper <drepper@gmail.com>
41662
41663 * include/sys/cdefs.h: Define __attribute_alloc_size.
41664 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41665 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41666 * elf/pldd.c: Likewise.
41667 * iconv/iconv_charmap.c: Likewise.
41668 * iconv/iconvconfig.c: Likewise.
41669 * iconv/strtab.c: Likewise.
41670 * locale/programs/locale.c: Likewise.
41671 * locale/programs/localedef.h: Likewise.
41672 * locale/programs/simple-hash.c: Likewise.
41673 * nscd/nscd.h: Likewise.
41674 * nss/makedb.c: Likewise.
41675 * sysdeps/generic/ldconfig.h: Likewise.
41676 * locale/programs/localedef.c: Remove xmalloc prototype.
41677 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41678
20b38e03
PP
416792012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41680
41681 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41682 appropriate.
41683
a0da5fe1
UD
416842012-01-08 Ulrich Drepper <drepper@gmail.com>
41685
1d5a644a 41686 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41687 * math/tst-CMPLX.c: New file.
1d5a644a 41688
8784a6db
UD
41689 * math/complex.h (CMPLXL): Fix typo.
41690
d9a216c0
UD
41691 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41692 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41693 GLIBC_2.16.
41694 * debug/tst-chk1.c: Add poll and ppoll tests.
41695 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41696 * include/sys/poll.h: Add hidden proto for ppoll.
41697 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41698 * sysdeps/mach/hurd/ppoll.c: Likewise.
41699 * io/ppoll.c: Likewise.
41700 * debug/poll_chk.c: New file.
41701 * debug/ppoll_chk.c: New file.
41702 * include/bits/poll2.h: New file.
41703 * io/bits/poll2.h: New file.
41704
ac097f5c
UD
41705 [BZ #1350]
41706 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41707
2119dcfa
UD
41708 * configure.in: static is always set to yes. Remove.
41709 * config.make.in: Don't set build-static.
41710 * Makeconfig: Remove use of build-static.
41711 * dlfcn/Makefile: Likewise.
41712 * elf/Makefile: Likewise.
41713 * math/Makefile: Likewise.
41714 * misc/Makefile: Likewise.
41715 * nptl/Makefile: Likewise.
41716 * sysdeps/mach/hurd/Makefile: Likewise.
41717
121766a9
UD
41718 * configure.in: PWD_P is not used anymore.
41719 * config.make.in: Remove PWD_P entry.
41720
51a1d39c 41721 * configure.in: Remove last remnants of RANLIB.
8720d066 41722 No need to check for signed size_t anymore.
215f4bdc
UD
41723 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41724 and IA-64.
3857022a 41725 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41726 * aclocal.m4: Likewise.
41727
d3ed7225
UD
41728 * wcsmbs/mbrtoc16.c: Implement using towc function.
41729 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41730 * wcsmbs/wcsmbsload.c: Likewise.
41731 * iconv/gconv_simple.c: Likewise.
41732 * iconv/gconv_int.h: Likewise.
41733 * iconv/gconv_builtin.h: Likewise.
41734 * iconv/iconv_prog.c: Remove CHAR16 handling.
41735
41736 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41737
41738 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41739
a0da5fe1
UD
41740 * configure.in: Remove --with-elf and --enable-bounded options.
41741 Dont set base_machine for ia64. More non-ELF conditions removed.
41742 Remove testing and setting of leading underscore information.
41743 * config.make.in (build-bounded): Set to no.
41744 * config.h.in: Remove NO_UNDERSCORES entry.
41745 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41746 them.
41747 * csu/start.c: Remove !NO_UNDERSCORE code.
41748 * locale/localeinfo.h: Likewise.
41749 * sysdeps/generic/machine-gmon.h: Likewise.
41750 * sysdeps/generic/sysdep.h: Likewise.
41751 * sysdeps/i386/sysdep.h: Likewise.
41752 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41753 * sysdeps/mach/sysdep.h: Likewise.
41754 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41755 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41756 * sysdeps/sh/sysdep.h: Likewise.
41757 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41758 * sysdeps/unix/i386/sysdep.S: Likewise.
41759 * sysdeps/unix/sparc/start.c: Likewise.
41760 * sysdeps/unix/sparc/sysdep.S: Likewise.
41761 * sysdeps/unix/sparc/sysdep.h: Likewise.
41762 * sysdeps/unix/start.c: Likewise.
41763 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41764 * sysdeps/x86_64/sysdep.h: Likewise.
41765
df78418a
UD
417662012-01-07 Ulrich Drepper <drepper@gmail.com>
41767
a784e502
UD
41768 [BZ #13553]
41769 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41770 for non-gcc.
41771 * argp/argp-fmtstream.h: Use const instead __const.
41772 * argp/argp.h: Likewise.
41773 * assert/assert.h: Likewise.
41774 * bits/fenv.h: Likewise.
41775 * bits/sched.h: Likewise.
41776 * bits/sigset.h: Likewise.
41777 * bits/sigthread.h: Likewise.
41778 * catgets/nl_types.h: Likewise.
41779 * conform/data/pthread.h-data: Likewise.
41780 * crypt/crypt-private.h: Likewise.
41781 * crypt/crypt.h: Likewise.
41782 * crypt/crypt_util.c: Likewise.
41783 * ctype/ctype.h: Likewise.
41784 * debug/execinfo.h: Likewise.
41785 * debug/mbsnrtowcs_chk.c: Likewise.
41786 * debug/mbsrtowcs_chk.c: Likewise.
41787 * debug/wcsnrtombs_chk.c: Likewise.
41788 * debug/wcsrtombs_chk.c: Likewise.
41789 * debug/wcstombs_chk.c: Likewise.
41790 * dirent/dirent.h: Likewise.
41791 * dlfcn/dlfcn.h: Likewise.
41792 * elf/neededtest4.c: Likewise.
41793 * grp/grp.h: Likewise.
41794 * gshadow/gshadow.h: Likewise.
41795 * iconv/gconv.h: Likewise.
41796 * iconv/gconv_int.h: Likewise.
41797 * iconv/gconv_simple.c: Likewise.
41798 * iconv/iconv.h: Likewise.
41799 * iconv/loop.c: Likewise.
41800 * iconv/skeleton.c: Likewise.
41801 * include/aio.h: Likewise.
41802 * include/aliases.h: Likewise.
41803 * include/argz.h: Likewise.
41804 * include/arpa/inet.h: Likewise.
41805 * include/assert.h: Likewise.
41806 * include/dirent.h: Likewise.
41807 * include/dlfcn.h: Likewise.
41808 * include/execinfo.h: Likewise.
41809 * include/fcntl.h: Likewise.
41810 * include/fenv.h: Likewise.
41811 * include/glob.h: Likewise.
41812 * include/grp.h: Likewise.
41813 * include/libintl.h: Likewise.
41814 * include/mntent.h: Likewise.
41815 * include/netdb.h: Likewise.
41816 * include/pwd.h: Likewise.
41817 * include/rpc/netdb.h: Likewise.
41818 * include/sched.h: Likewise.
41819 * include/search.h: Likewise.
41820 * include/shadow.h: Likewise.
41821 * include/signal.h: Likewise.
41822 * include/stdio.h: Likewise.
41823 * include/stdlib.h: Likewise.
41824 * include/string.h: Likewise.
41825 * include/sys/socket.h: Likewise.
41826 * include/sys/stat.h: Likewise.
41827 * include/sys/statfs.h: Likewise.
41828 * include/sys/statvfs.h: Likewise.
41829 * include/sys/syslog.h: Likewise.
41830 * include/sys/time.h: Likewise.
41831 * include/sys/uio.h: Likewise.
41832 * include/time.h: Likewise.
41833 * include/unistd.h: Likewise.
41834 * include/utmp.h: Likewise.
41835 * include/wchar.h: Likewise.
41836 * include/wctype.h: Likewise.
41837 * inet/aliases.h: Likewise.
41838 * inet/arpa/inet.h: Likewise.
41839 * inet/netinet/ether.h: Likewise.
41840 * inet/netinet/in.h: Likewise.
41841 * intl/libintl.h: Likewise.
41842 * io/bits/fcntl2.h: Likewise.
41843 * io/fcntl.h: Likewise.
41844 * io/ftw.h: Likewise.
41845 * io/sys/poll.h: Likewise.
41846 * io/sys/stat.h: Likewise.
41847 * io/sys/statfs.h: Likewise.
41848 * io/sys/statvfs.h: Likewise.
41849 * io/utime.h: Likewise.
41850 * libio/bits/stdio.h: Likewise.
41851 * libio/bits/stdio2.h: Likewise.
41852 * libio/libio.h: Likewise.
41853 * libio/libioP.h: Likewise.
41854 * libio/stdio.h: Likewise.
41855 * locale/lc-ctype.c: Likewise.
41856 * locale/locale.h: Likewise.
41857 * login/utmp.h: Likewise.
41858 * malloc/arena.c: Likewise.
41859 * malloc/malloc.c: Likewise.
41860 * malloc/malloc.h: Likewise.
41861 * malloc/mcheck.c: Likewise.
41862 * malloc/mtrace.c: Likewise.
41863 * math/bits/mathcalls.h: Likewise.
41864 * math/fenv.h: Likewise.
41865 * math/math_private.h: Likewise.
41866 * misc/bits/error.h: Likewise.
41867 * misc/bits/syslog.h: Likewise.
41868 * misc/err.h: Likewise.
41869 * misc/error.h: Likewise.
41870 * misc/fstab.h: Likewise.
41871 * misc/mntent.h: Likewise.
41872 * misc/regexp.h: Likewise.
41873 * misc/search.h: Likewise.
41874 * misc/sgtty.h: Likewise.
41875 * misc/sys/mman.h: Likewise.
41876 * misc/sys/syslog.h: Likewise.
41877 * misc/sys/uio.h: Likewise.
41878 * misc/sys/xattr.h: Likewise.
41879 * misc/ttyent.h: Likewise.
41880 * nis/rpcsvc/ypclnt.h: Likewise.
41881 * nss/nss.h: Likewise.
41882 * posix/bits/unistd.h: Likewise.
41883 * posix/fnmatch.h: Likewise.
41884 * posix/glob.h: Likewise.
41885 * posix/sched.h: Likewise.
41886 * posix/spawn.h: Likewise.
41887 * posix/sys/wait.h: Likewise.
41888 * posix/unistd.h: Likewise.
41889 * posix/wordexp.h: Likewise.
41890 * pwd/pwd.h: Likewise.
41891 * resolv/netdb.h: Likewise.
41892 * resource/sys/resource.h: Likewise.
41893 * rt/aio.h: Likewise.
41894 * rt/bits/mqueue2.h: Likewise.
41895 * rt/mqueue.h: Likewise.
41896 * shadow/shadow.h: Likewise.
41897 * signal/signal.h: Likewise.
41898 * socket/send.c: Likewise.
41899 * socket/sendto.c: Likewise.
41900 * socket/sys/socket.h: Likewise.
41901 * stdio-common/printf.h: Likewise.
41902 * stdlib/bits/stdlib.h: Likewise.
41903 * stdlib/fmtmsg.h: Likewise.
41904 * stdlib/monetary.h: Likewise.
41905 * stdlib/stdlib.h: Likewise.
41906 * stdlib/ucontext.h: Likewise.
41907 * streams/stropts.h: Likewise.
41908 * string/argz.h: Likewise.
41909 * string/bits/string2.h: Likewise.
41910 * string/string.h: Likewise.
41911 * string/strings.h: Likewise.
41912 * sunrpc/rpc/auth.h: Likewise.
41913 * sunrpc/rpc/auth_des.h: Likewise.
41914 * sunrpc/rpc/clnt.h: Likewise.
41915 * sunrpc/rpc/netdb.h: Likewise.
41916 * sunrpc/rpc/pmap_clnt.h: Likewise.
41917 * sunrpc/rpc/xdr.h: Likewise.
41918 * sysdeps/generic/inttypes.h: Likewise.
41919 * sysdeps/generic/net/if.h: Likewise.
41920 * sysdeps/generic/sys/swap.h: Likewise.
41921 * sysdeps/gnu/net/if.h: Likewise.
41922 * sysdeps/gnu/utmpx.h: Likewise.
41923 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41924 * sysdeps/i386/i486/bits/string.h: Likewise.
41925 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41926 * sysdeps/s390/bits/string.h: Likewise.
41927 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41928 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41929 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41930 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41931 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41932 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41933 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41934 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41935 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41936 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41937 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41938 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41939 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41940 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41941 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41942 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41943 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41945 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41946 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41947 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41948 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41949 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41950 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41951 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41952 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41953 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41954 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41955 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41956 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41957 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41958 * sysvipc/sys/ipc.h: Likewise.
41959 * sysvipc/sys/msg.h: Likewise.
41960 * sysvipc/sys/sem.h: Likewise.
41961 * sysvipc/sys/shm.h: Likewise.
41962 * termios/termios.h: Likewise.
41963 * time/sys/time.h: Likewise.
41964 * time/time.h: Likewise.
41965 * wcsmbs/bits/wchar2.h: Likewise.
41966 * wcsmbs/uchar.h: Likewise.
41967 * wcsmbs/wchar.h: Likewise.
41968 * wctype/wctype.h: Likewise.
41969
0269750c
UD
41970 [BZ #13551]
41971 * Makeconfig: Remove all but ELF support including AIX support.
41972 * Makerules: Likewise.
41973 * config.h.in: Likewise.
41974 * config.make.in: Likewise.
41975 * configure: Likewise.
41976 * configure.in: Likewise.
41977 * csu/Makefile: Likewise.
41978 * csu/version.c: Likewise.
41979 * debug/Makefile: Likewise.
41980 * dlfcn/Makefile: Likewise.
41981 * elf/Makefile: Likewise.
41982 * extra-lib.mk: Likewise.
41983 * iconv/Makefile: Likewise.
41984 * include/libc-symbols.h: Likewise.
41985 * include/shlib-compat.h: Likewise.
41986 * resolv/Makefile: Likewise.
41987 * resolv/res_libc.c: Likewise.
41988 * rt/Makefile: Likewise.
41989 * sysdeps/i386/asm-syntax.h: Likewise.
41990 * sysdeps/i386/sysdep.h: Likewise.
41991 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41992 * sysdeps/mach/sysdep.h: Likewise.
41993 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41994 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41995 * sysdeps/s390/asm-syntax.h: Likewise.
41996 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41997 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41998 * sysdeps/sh/sysdep.h: Likewise.
41999 * sysdeps/unix/sparc/sysdep.h: Likewise.
42000 * sysdeps/wordsize-32/divdi3.c: Likewise.
42001 * sysdeps/x86_64/sysdep.h: Likewise.
42002
00bbd29b
UD
42003 * argp/Versions: Remove _argp_unlock_xxx.
42004
42005 [BZ #13559]
42006 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42007 * abilist/libBrokenLocale.abilist: Likewise.
42008 * abilist/libanl.abilist: Likewise.
42009 * abilist/libc.abilist: Likewise.
42010 * abilist/libcrypt.abilist: Likewise.
42011 * abilist/libdl.abilist: Likewise.
42012 * abilist/libm.abilist: Likewise.
42013 * abilist/libnsl.abilist: Likewise.
42014 * abilist/libpthread.abilist: Likewise.
42015 * abilist/libresolv.abilist: Likewise.
42016 * abilist/librt.abilist: Likewise.
42017 * abilist/libthread_db.abilist: Likewise.
42018 * abilist/libutil.abilist: Likewise.
42019 * abilist/libnss_db.abilist: New file.
42020
42021 * scripts/abilist.awk: Add support for indirect functions.
42022
a2693a0e
UD
42023 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42024
3f05895f
UD
42025 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42026
ecb6fb48
UD
42027 * shlib-versions: Remove entries for ports architectures.
42028
664f8cb9
UD
42029 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42030 files in ports.
42031 * elf/stackguard-macros.h: Remove support for IA-64.
42032 * elf/tst-auditmod1.c: Likewise.
42033 * sysdeps/generic/ldsodefs.h: Likewise.
42034
7ae81d88
UD
42035 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42036 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42037 configure files.
42038
bdeba135
UD
42039 [BZ #13552]
42040 * configure.in: Remove --enable-omitfp support.
42041 * FAQ.in: Adjust.
42042 * config.make.in: Likewise.
42043 * Makeconfig: Likewise.
42044 * manual/install.texi: Likewise.
42045
d75a0a62
UD
42046 In case anyone cares, the IA-64 architecture could move to ports.
42047 * sysdeps/ia64/*: Removed.
42048 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42049 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42050
dcc9756b
UD
42051 [BZ #13555]
42052 * configure.in: Remove entries for unsupported architectures.
42053
d3761ebc 42054 [BZ #13533]
9954432e
UD
42055 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42056 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42057 routines.
42058 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42059 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42060 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42061 fall back to using wcrtomb.
42062 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42063 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42064 renaming.
42065 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42066 * wcsmbs/tst-c16c32-1.c: New file.
42067
42068 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42069 local variable.
42070
c3a87236
UD
42071 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42072
28926a1b
UD
42073 * elf/tst-unique3.cc: Add explicit declaration of gets.
42074 * elf/tst-unique3lib.cc: Likewise.
42075 * elf/tst-unique3lib2.cc: Likewise.
42076 * elf/tst-unique4.cc: Likewise.
42077
df78418a
UD
42078 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42079
8ecd6b2a
JM
420802012-01-06 Joseph Myers <joseph@codesourcery.com>
42081
42082 [BZ #13566]
42083 * assert/assert.h (static_assert): Don't define for C++.
42084 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42085 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42086
9f115170
UD
420872012-01-03 Ulrich Drepper <drepper@gmail.com>
42088
5e0d0300
UD
42089 * iconv/loop.c (single loop): Fix assertion in storing of
42090 remaining bytes.
42091
9f115170
UD
42092 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42093
81fb02b0
UD
420942012-01-01 Ulrich Drepper <drepper@gmail.com>
42095
42096 * posix/getconf.c: Update copyright year.
42097 * nss/getent.c: Likewise.
a316c1f6 42098 * nss/makedb.c: Likewise.
81fb02b0
UD
42099 * iconv/iconvconfig.c: Likewise.
42100 * iconv/iconv_prog.c: Likewise.
42101 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42102 * elf/pldd.c: Likewise.
42103 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42104 * catgets/gencat.c: Likewise.
42105 * csu/version.c: Likewise.
42106 * elf/ldd.bash.in: Likewise.
42107 * elf/sprof.c (print_version): Likewise.
42108 * locale/programs/locale.c: Likewise.
42109 * locale/programs/localedef.c: Likewise.
a316c1f6 42110 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42111 * nscd/nscd.c (print_version): Likewise.
42112 * debug/xtrace.sh: Likewise.
42113 * malloc/memusage.sh: Likewise.
42114 * malloc/mtrace.pl: Likewise.
42115 * debug/catchsegv.sh: Likewise.
42116
2ba92745
JJ
421172011-12-30 Jakub Jelinek <jakub@redhat.com>
42118
42119 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42120 pure attribute.
42121
dadebdae
UD
421222011-12-24 Ulrich Drepper <drepper@gmail.com>
42123
d3761ebc 42124 [BZ #13533]
db6af3eb
UD
42125 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42126 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42127 transformations.
42128 * iconv/gconv_int.h: Likewise.
42129 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42130 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42131 from libc for GLIBC_2.16.
42132 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42133 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42134 * wcsmbs/uchar.h: Really define mbstate_t.
42135 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42136 * wcsmbs/c16rtomb.c: New file.
42137 * wcsmbs/mbrtoc16.c: New file.
42138 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42139 for C/POSIX locale.
42140 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42141 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42142
dadebdae
UD
42143 * wcsmbs/wchar.h: Add missing __restrict.
42144
67371b56
UD
421452011-12-23 Ulrich Drepper <drepper@gmail.com>
42146
74033a25
UD
42147 [BZ #13532]
42148 * time/Makefile (routines): Add timespec_get.
42149 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42150 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42151 timespec for ISO C11.
42152 * time/timespec_get.c: New file.
42153 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42154 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42155
380d7e87
UD
42156 [BZ #13531]
42157 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42158 * stdlib/stdlib.h: Declare aligned_alloc.
42159 * Versions.def: Add GLIBC_2.16 for libc.
42160 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42161
4e9e7a35
UD
42162 [BZ 13527]
42163 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42164 ISO C11.
42165
380d7e87 42166 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42167 code.
42168
03a71829
UD
42169 [BZ #13528]
42170 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42171
839e283e
UD
42172 [BZ #13529]
42173 * assert/assert.h (static_assert): Define.
42174
ce5294e2 42175 * version.h: Update for 2.16 development version.
90fa7312 42176
8d44e150 42177 [BZ #13526]
d7809905
UD
42178 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42179 _ISOC11_SOURCE.
42180
c0da14cd
UD
42181 * version.h (RELEASE): Bump for 2.15 release.
42182 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42183
530a3249
MP
42184 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42185 Patch by Marek Polacek <mpolacek@redhat.com>.
42186
67371b56
UD
42187 * bits/byteswap.h: Protect long long constants with __extension__.
42188 * sysdeps/i386/bits/byteswap.h: Likewise.
42189 * sysdeps/ia64/bits/byteswap.h: Likewise.
42190 * sysdeps/s390/bits/byteswap.h: Likewise.
42191 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42192
15db4de1
LD
421932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42194
42195 [BZ #13540]
bbe315ea
LD
42196 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42197 destination buffer.
15db4de1
LD
42198 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42199
2b2596b1
MP
422002011-12-23 Marek Polacek <polacek@redhat.com>
42201
42202 * elf/dl-addr.c (determine_info): Add inline keyword.
42203 * elf/tst-auditmod4b.c (check_avx): Likewise.
42204 * elf/tst-auditmod6b.c (check_avx): Likewise.
42205 * elf/tst-auditmod6c.c (check_avx): Likewise.
42206 * elf/tst-auditmod7b.c (check_avx): Likewise.
42207
70c6c246
UD
422082011-12-23 Ulrich Drepper <drepper@gmail.com>
42209
42210 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42211 !__SSE_MATH__.
42212
c044cf14
LD
422132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42214
15db4de1 42215 [BZ #13540]
c044cf14
LD
42216 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42217 processing for last bytes.
42218
6b13d9d9
BH
422192011-08-06 Bruno Haible <bruno@clisp.org>
42220
d455f537
BH
42221 [BZ #13061]
42222 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42223 U+0385, not to U+1FEE.
42224
6b13d9d9
BH
42225 [BZ #13062]
42226 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42227 entry for U+00A5 U+0301.
42228
db910efd
UD
422292011-12-22 Ulrich Drepper <drepper@gmail.com>
42230
27deeafc
UD
42231 [BZ #13166]
42232 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42233 buffer for the output is too small.
42234
aed9d171
UD
42235 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42236 optimization.
42237
db910efd
UD
42238 [BZ #13185]
42239 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42240 SSE flags if possible.
42241
2bd779ae
LD
422422011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42243
e7f9dac3 42244 [BZ #13540]
2bd779ae
LD
42245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42246 processing for last bytes.
42247
154bfc16
JM
422482011-12-22 Joseph Myers <joseph@codesourcery.com>
42249
42250 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42251 (syscall-list-default-options, syscall-list-default-condition)
42252 (syscall-list-includes): Define.
42253 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42254 list of ABIs and options and #if conditions for each ABI. Do not
42255 handle common syscalls between ABIs specially.
42256 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42257 Remove.
42258 (syscall-list-variants, syscall-list-32bit-options)
42259 (syscall-list-32bit-condition, syscall-list-64bit-options)
42260 (syscall-list-64bit-condition): Define.
42261 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42262 (syscall-list-variants, syscall-list-32bit-options)
42263 (syscall-list-32bit-condition, syscall-list-64bit-options)
42264 (syscall-list-64bit-condition): Define.
42265 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42266 Remove.
42267 (syscall-list-variants, syscall-list-32bit-options)
42268 (syscall-list-32bit-condition, syscall-list-64bit-options)
42269 (syscall-list-64bit-condition): Define.
42270 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42271 Remove.
42272 (syscall-list-variants, syscall-list-32bit-options)
42273 (syscall-list-32bit-condition, syscall-list-64bit-options)
42274 (syscall-list-64bit-condition): Define.
42275
21eaf3a5
UD
422762011-12-22 Ulrich Drepper <drepper@gmail.com>
42277
16c6f992
UD
42278 * locale/iso-639.def: Add brx entry.
42279
41043168
UD
42280 [BZ #13328]
42281 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42282 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42283
21eaf3a5
UD
42284 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42285 __feraiseexcept_renamed.
42286
e3a851a2
UD
422872011-12-21 Ulrich Drepper <drepper@gmail.com>
42288
4920765e
UD
42289 [BZ #13538]
42290 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42291 EPOLLET with unsigned values.
42292 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42293 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42294
e3a851a2
UD
42295 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42296 to large cancellation.
42297 * math/s_cacoshf.c: Likewise.
42298 * math/s_cacoshl.c: Likewise.
42299
b27e24b8
RK
423002011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42301
42302 [BZ #13305]
aebefeee 42303 [BZ #12786]
b27e24b8
RK
42304 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42305 * math/s_cacoshf.c: Likewise.
42306 * math/s_cacoshl.c: Likewise.
42307
ee190f67
UD
423082011-12-21 Ulrich Drepper <drepper@gmail.com>
42309
42310 [BZ #13439]
42311 * iconv/gconv.h: Define __GCONV_SWAP.
42312 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42313 * iconvdata/utf-16.c: Likewise.
42314 * iconvdata/utf-32.c: Likewise.
42315
707f25df
AS
423162011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42317
42318 [BZ #13524]
42319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42320 numerator after shifting it by one limb.
42321
d2daaa1e
RÁE
423222011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42323
42324 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42325 under [__USE_EXTERN_INLINES].
42326
a4647e72
UD
423272011-12-17 Ulrich Drepper <drepper@gmail.com>
42328
42329 [BZ #13446]
42330 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42331
f0b264f1
AZ
423322011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42333
42334 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42335 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42336 optimized code.
42337 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42338 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42339 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42340 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42341 for strncasecmp/strncasecmp_l compilation.
42342 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42343 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42344
8ef4f244
MP
423452011-12-08 Marek Polacek <mpolacek@redhat.com>
42346
42347 [BZ #13484]
42348 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42349 of __asm__.
42350
97ac2654
UD
423512011-12-17 Ulrich Drepper <drepper@gmail.com>
42352
42353 [BZ #13506]
42354 * time/tzfile.c (__tzfile_read): Check values from file header.
42355
91d2a845
WS
423562011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42357
42358 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42359 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42360 * powerpc/powerpc32/dl-start.S: Likewise.
42361 * powerpc/powerpc32/elf/start.S: Likewise.
42362 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42363 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42364 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42365 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42366 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42367 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42368 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42369 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42370 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42371 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42372 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42373 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42374 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42375 * powerpc/powerpc32/memset.S: Likewise.
42376 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42377 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42378 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42379 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42380 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42381 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42382 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42383 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42384 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42385 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42386 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42387 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42388 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42389
a1267ba1
AZ
423902011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42391
42392 * math/libm-test.inc: Added more nearbyint tests.
42393 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42394 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42395 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42396 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42397
ad8ac1bd
RL
423982011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42399
42400 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42401 FD_CLOEXEC.
42402
1d3e4b61
UD
424032011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42404
42405 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42406 Add wcscpy-ssse3 wcscpy-c.
42407 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42408 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42409 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42410 * sysdeps/x86_64/wcschr.S: New file.
42411 * sysdeps/x86_64/wcsrchr.S: New file.
42412 * string/test-strcmp.c: Remove checking of wcscmp function for
42413 wrong alignments.
42414 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42415 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42416 wcsrchr-sse2 wcsrchr-c.
42417 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42418 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42419 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42420 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42421 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42422 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42423 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42424 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42425 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42426 * wcsmbc/wcschr.c (WCSCHR): New macro.
42427
5b330a2d
UD
424282011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42429
42430 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42431 * wcsmbs/test-wcsrchr.c: New file.
42432 * string/test-strrchr.c: Add wcsrchr support.
42433 (WIDE): New macro.
42434 * wcsmbs/test-wcscpy.c: New file.
42435 * string/test-strcpy.c: Add wcscpy support.
42436 (WIDE): New macro.
26428b7c 42437
f039c043
UD
424382011-12-10 Ulrich Drepper <drepper@gmail.com>
42439
42440 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42441 the inner loop.
42442
850fb039
AS
424432011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42444
42445 [BZ #13472]
42446 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42447
4efbd5cb
UD
424482011-12-04 Ulrich Drepper <drepper@gmail.com>
42449
52ff5dd0 42450 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42451 Minor optimizations.
52ff5dd0 42452
4efbd5cb
UD
42453 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42454 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42455 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42456
8a426e12
UD
424572011-12-03 Ulrich Drepper <drepper@gmail.com>
42458
aff2453d
UD
42459 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42460 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42461 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42462 for gcc to avoid warnings.
42463 * inet/Makefile (tests): Add tst-checks.
42464 * inet/tst-checks.c: New file.
42465
42466 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42467 warning.
42468
42469 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42470 __wmemcmp_sse2.
42471
42472 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42473 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42474
8a426e12
UD
42475 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42476
9bea3473
UD
424772011-12-02 Ulrich Drepper <drepper@gmail.com>
42478
3a965496
UD
42479 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42480 problem.
42481
9bea3473
UD
42482 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42483
f101631b
UD
424842011-11-29 Joseph Myers <joseph@codesourcery.com>
42485
42486 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42487 conditional on GCC version.
42488 (__arch_compare_and_exchange_val_8_acq)
42489 (__arch_compare_and_exchange_val_16_acq)
42490 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42491 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42492 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42493
a98275aa
UD
424942011-12-02 Joseph Myers <joseph@codesourcery.com>
42495
42496 * sysdeps/sh/backtrace.c: New file.
42497
d4cc29a2
AS
424982011-12-02 Andreas Schwab <schwab@redhat.com>
42499
42500 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42501 parenthesis.
42502
6257af2d
AS
425032011-12-01 Andreas Schwab <schwab@redhat.com>
42504
42505 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42506 falling back to utime.
42507
b5f44c1a
AS
425082011-11-30 Andreas Schwab <schwab@redhat.com>
42509
42510 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42511 expectations for float.
42512
f3a6cc0a
AS
425132011-11-29 Andreas Schwab <schwab@redhat.com>
42514
42515 * locale/weight.h (findidx): Add parameter len.
42516 * locale/weightwc.h (findidx): Likewise.
42517 * posix/fnmatch_loop.c (FCT): Adjust caller.
42518 * posix/regcomp.c (build_equiv_class): Likewise.
42519 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42520 * posix/regexec.c (check_node_accept_bytes): Likewise.
42521 * string/strcoll_l.c (STRCOLL): Likewise.
42522 * string/strxfrm_l.c (STRXFRM): Likewise.
42523
9d65ea3a
UD
425242011-11-17 Ulrich Drepper <drepper@gmail.com>
42525
42526 * Makefile.in: Remove CVSOPT handling.
42527 * configure.in: Remove use of AC_REVISION.
42528 * iconvdata/Makefile (distribute): No need to filter out CVS.
42529 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42530 handling.
42531
5583a086
AS
425322011-11-16 Andreas Schwab <schwab@redhat.com>
42533
42534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42535 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42536 [USE_AS_STRNCASECMP_L]: Likewise.
42537 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42538 NO_TLS_DIRECT_SEG_REFS.
42539 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42540 Fix argument offsets for non-PIC.
42541 [USE_AS_STRNCASECMP_L]: Likewise.
42542 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42543 NO_TLS_DIRECT_SEG_REFS.
42544
d62a8200
UD
425452011-11-15 Ulrich Drepper <drepper@gmail.com>
42546
9d65ea3a 42547 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42548 O_CLOEXEC.
42549 * locale/loadlocale.c (_nl_load_locale): Likewise.
42550
09f93bd3
AS
425512011-11-15 Andreas Schwab <schwab@redhat.com>
42552
446514f9
AS
42553 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42554 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42555 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42556 (SYSCALL_GETTIME): Set errno on error.
42557
09f93bd3
AS
42558 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42559 count references to noai6ai_cached.
42560
312be3f9
UD
425612011-11-15 Ulrich Drepper <drepper@gmail.com>
42562
42563 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42564
42565 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42566 FD_CLOEXEC for /proc/self/maps.
42567
42568 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42569 FD_CLOEXEC for /proc/meminfo.
42570
42571 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42572 gai.conf.
42573
42574 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42575 FD_CLOEXEC for given file.
42576
42577 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42578
42579 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42580 FD_CLOEXEC for /etc/hosts.
42581 (_gethtent): Likewise.
42582
42583 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42584
42585 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42586 cancellation and set FD_CLOEXEC for /etc/netgroup.
42587
42588 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42589 reading /etc/publickey.
42590
42591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42592 allow cancellation when reading /etc/group.
42593
42594 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42595 cancellation.
42596 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42597
42598 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42599 when using data file.
42600
42601 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42602
42603 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42604 (write_nis_obj): Use "c" and "e" in fopen.
42605
42606 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42607
42608 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42609
42610 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42611
42612 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42613
42614 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42615 locale.alias.
42616
42617 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42618
42619 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42620
42621 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42622
42623 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42624 file parsing and set FD_CLOEXEC.
42625
82af0fa8
UD
426262011-11-14 Ulrich Drepper <drepper@gmail.com>
42627
42628 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42629
a5fb313c
AS
426302011-11-14 Andreas Schwab <schwab@redhat.com>
42631
42632 * malloc/arena.c (arena_get2): Don't call reused_arena when
42633 _int_new_arena failed.
42634
6abf3465
UD
426352011-11-14 Ulrich Drepper <drepper@gmail.com>
42636
42637 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42638 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42639 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42640 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42641 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42642 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42643 to compile strcasecmp and strncasecmp.
42644 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42645 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42646
42647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42648
76e3966e
UD
426492011-11-13 Ulrich Drepper <drepper@gmail.com>
42650
42651 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42652 locale-defines.sym to gen-as-const-headers.
42653 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42654 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42655 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42656 to compile strcasecmp and strncasecmp.
42657 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42658 strcasecmp_l and strncasecmp_l.
42659 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42660 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42661 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42662 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42663 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42664 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42665 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42666 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42667 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42668 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42669 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42670
ab26144e
UD
426712011-11-12 Ulrich Drepper <drepper@gmail.com>
42672
7edb22ef
UD
42673 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42674 result of SYSDEP_GETTIME_CPU to retval.
42675 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42676 parameter list to macro. Remove trailing semicolon. Adjust users.
42677
9694fc44
UD
42678 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42679 variable.
42680
8ad89ef8
UD
42681 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42682 mantissa words.
42683 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42684
0c822ef9
UD
42685 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42686 from unused variable.
42687
874e0564
UD
42688 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42689 DWARF definitions.
42690 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42691 for assembling.
42692
3a2edc79
UD
42693 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42694 over namespaces.
42695
f3c2577f
UD
42696 * sunrpc/rpc_prot.c (rejected): Fix case value.
42697
294ce126
UD
42698 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42699 unsigned long long int to avoid warnings in shift.
42700
5e2b63c6
UD
42701 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42702 of use of trans.
42703 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42704 variable tmp.
42705
e7f4b08e
UD
42706 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42707 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42708 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42709
ab26144e
UD
42710 * nis/nis_table.c (nis_list): Use variable of correct type for
42711 result of __follow_path call.
42712
8a6d5255
AZ
427132011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42714
42715 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42716 of math functions ceil, trunc, floor, round, and sqrt, when
42717 avaliable on the platform.
42718 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42719 name clash.
42720 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42721 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42722 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42723
aaddc98c
MP
427242011-10-30 Marek Polacek <mpolacek@redhat.com>
42725
42726 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42727 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42728
95b7042b
RM
427292011-11-11 Roland McGrath <roland@hack.frob.com>
42730
42731 * include/unistd.h: Fix __readlink return type.
42732 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42733
57769839
UD
427342011-11-11 Ulrich Drepper <drepper@gmail.com>
42735
42736 * stdlib/ucontext.h: Undo last change for makecontext.
42737
edc5984d
AS
427382011-11-11 Andreas Schwab <schwab@redhat.com>
42739
98591e58
AS
42740 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42741
edc5984d
AS
42742 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42743 * setjmp/setjmp.h: Mark functions as non-leaf.
42744 * setjmp/bits/setjmp2.h: Likewise.
42745 * stdlib/ucontext.h: Likewise.
42746
77cdc054
AS
427472011-11-10 Andreas Schwab <schwab@redhat.com>
42748
42749 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42750 (reused_arena): Don't check arena limit.
42751 (arena_get2): Atomically check arena limit.
42752
fe72eebd
UD
427532011-11-08 Ulrich Drepper <drepper@gmail.com>
42754
5f078c32
UD
42755 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42756 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42757
fe72eebd
UD
42758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42759 instructions.
42760
ae1bc2fa
AS
427612011-11-07 Andreas Schwab <schwab@redhat.com>
42762
7583a88d
AS
42763 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42764 handler when locking.
42765
ae1bc2fa
AS
42766 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42767 Fix size of allocated buffer.
42768
10fb0bfa
AS
427692011-11-04 Andreas Schwab <schwab@redhat.com>
42770
998832a4
AS
42771 [BZ #10103]
42772 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42773 declarations for long double functions.
42774 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42775
10fb0bfa
AS
42776 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42777
3d7ba52b
AS
427782011-11-03 Andreas Schwab <schwab@redhat.com>
42779
a9ae54a1
AS
42780 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42781 installed.
42782
3d7ba52b
AS
42783 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42784 is disabled.
42785
bc8db248
ST
427862011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42787
42788 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42789
45b96dd6
AS
427902011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42791
647776f6
AS
42792 * include/alloca.h (stackinfo_alloca_round): Define.
42793 (extend_alloca): Use it.
42794 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42795 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42796 here.
42797
d91a8b93
AS
42798 * scripts/check-local-headers.sh: Ignore libaudit.h.
42799
45b96dd6
AS
42800 * nscd/Makefile (extra-objs): Make recursively expanded.
42801
432d41ce
UD
428022011-11-01 Ulrich Drepper <drepper@gmail.com>
42803
34372fc6
UD
42804 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42805 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42806
fadb59f8
UD
42807 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42808 * posix/tst-rfc3484-2.c: Likewise.
42809 * posix/tst-rfc3484-3.c: Likewise.
42810
78239589
UD
42811 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42812 process_vm_writev.
42813 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42814 process_vm_writev.
42815 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42816 process_vm_writev from libc using GLIBC_2.15 version.
42817
432d41ce
UD
42818 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42819
02f9c6cf
PP
428202011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42821
42822 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42823 stack usage.
42824
3a2c0242
UD
428252011-10-31 Ulrich Drepper <drepper@gmail.com>
42826
f4ec4833
UD
42827 [BZ #13367]
42828 * nss/getent.c (initgroups_keys): Show error message in case no group
42829 names are given.
42830
3a2c0242
UD
42831 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42832 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42833 __bump_nl_timestamp.
42834 * nscd/connections (nscd_init): When host database is served open
42835 netlink socket and request notification about configuration changes.
42836 (main_loop_poll): Track netlink file descriptor and bump timestamp
42837 in case data becomes available.
42838 (main_loop_epoll): Likewise.
42839 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42840 (database_pers_head): Add extra_data fileds.
42841 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42842 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42843 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42844 Adjust caller.
42845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42846 in6ai data, call __free_in6ai.
42847 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42848 Add -DHAVE_NETLINK.
42849 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42850 interface information. Reuse previous data if netlink timestamp
42851 is not changed.
42852 (__bump_nl_timestamp): New function.
42853 (__free_in6ai): New function.
42854
636064eb
UD
428552011-10-30 Ulrich Drepper <drepper@gmail.com>
42856
42857 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42858 close_not_cancel_no_status here.
42859 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42860
9beb2334
UD
428612011-10-29 Ulrich Drepper <drepper@gmail.com>
42862
6ef76f3b
UD
42863 [BZ #13276]
42864 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42865 return value.
42866
0ffc4f3e 42867 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42868 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42869 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42870
cb95113e
UD
428712011-07-03 Andreas Jaeger <aj@suse.de>
42872
42873 [BZ #10709]
42874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42875 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42876 * math/libm-test.inc (sin_test): Add test case.
42877
a1b560ff
UD
428782011-10-29 Ulrich Drepper <drepper@gmail.com>
42879
c9aaface
UD
42880 [BZ #13337]
42881 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42882 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42883
d272e7f1
UD
42884 * elf/chroot_canon.c (chroot_canon): Cleanups.
42885
1bc33071
UD
42886 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42887
1760874d
TJ
42888 [BZ #13335]
42889 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42890 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42891
51d91b18
UD
42892 * string/test-strchr.c: Make usable for strchrnul testing.
42893 * string/test-strchrnul.c: New file.
42894 * string/Makefile (strop-tests): Add strchrnul.
42895
a1b560ff 42896 * po/it.po: Update from translation team.
b611fb81 42897 * po/es.po: Likewise.
a1b560ff 42898
a5b81e1f
UD
428992011-10-28 Ulrich Drepper <drepper@gmail.com>
42900
fd52bc6d
UD
42901 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42902 the three constants needed as parameters. Drop the others.
42903 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42904 __m128i_strloadu_tolower.
52e4b9eb
UD
42905 Create and initialize variable zero and use it in all the places
42906 where _mm_setzero_si128 was used.
fd52bc6d 42907
a5b81e1f
UD
42908 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42909 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42910 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42911 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42912 anymore.
42913 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42914 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42915 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42916 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42917 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42918 __mpranred, __mptan.
42919 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42920 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42921 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42922 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42923 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42924 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42925 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42926 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42927 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42928
b4343346
AS
429292011-10-28 Andreas Schwab <schwab@redhat.com>
42930
0c92d8a8
AS
42931 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42932 redefine if SHARED.
42933 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42934
b4343346
AS
42935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42936 wide char related routines to wcsmbs subdir.
42937
3871f58f
AS
429382011-10-27 Andreas Schwab <schwab@redhat.com>
42939
42940 [BZ #13344]
42941 * misc/sys/cdefs.h (__THROWNL): Define.
42942 * posix/unistd.h: Use __THREADNL instead of __THREAD
42943 for memory synchronization functions.
42944
94d44d9f
RM
429452011-10-26 Roland McGrath <roland@hack.frob.com>
42946
21b64b15 42947 [BZ #13349]
94d44d9f
RM
42948 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42949 doesn't exist.
42950 * manual/stdio.texi (Obstack Streams): Node removed.
42951
f6ce9294
AS
429522011-10-26 Andreas Schwab <schwab@redhat.com>
42953
80479147
AS
42954 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42955 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42956 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42957
f6ce9294
AS
42958 * math/math_private.h (math_force_eval): Allow non-addressable
42959 arguments.
42960 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42961
618280a1
UD
429622011-10-25 Ulrich Drepper <drepper@gmail.com>
42963
e0016b11
UD
42964 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42965 file is not needed.
42966
42967 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42968 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42969 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42970 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42974 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42975 Add AVX variants.
42976 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42977 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42978 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42979 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42980 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42981 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42982 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42983 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42984 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42985 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42986 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42987 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42988 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42989 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42990 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42991 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42992 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42993 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42994 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42995
42996 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42997 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42998
618280a1
UD
42999 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43000 place. Use VEX encoding when compiling for AVX.
43001
37822576
AS
430022011-10-25 Andreas Schwab <schwab@redhat.com>
43003
1f1e1947
AS
43004 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43005 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43006
37822576
AS
43007 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43008
31ea014d
UD
430092011-10-25 Ulrich Drepper <drepper@gmail.com>
43010
d7826aa1 43011 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43012 useless if() expression.
d7826aa1
UD
43013 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43023 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43024 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43025 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43026 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43027 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43028 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43029 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43031 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43032
31ea014d
UD
43033 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43034
16437fec
AS
430352011-10-25 Andreas Schwab <schwab@redhat.com>
43036
43037 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43038 condition.
43039 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43040
31d3cc00
UD
430412011-10-25 Ulrich Drepper <drepper@gmail.com>
43042
43043 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43044 .text section. Avoid duplicate constants.
43045 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43054 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43055 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43056 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43057 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43058 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43059 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43061 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43062 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43065 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43066 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43067 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43068 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43069 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43070 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43071 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43072 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43073 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43074 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43075 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43076 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43077 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43078 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43079 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43080 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43081 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43083 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43084 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43085 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43086 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43087 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43088 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43089 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43090
58985aa9
UD
430912011-10-24 Ulrich Drepper <drepper@gmail.com>
43092
202c9deb
UD
43093 * sysdeps/x86_64/dla.h: Move to ...
43094 * sysdeps/x86_64/fpu/dla.h: ...here.
43095 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43096 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43097
af968f62
UD
43098 * config.make.in: Add have-mfma4 entry.
43099 * configure.in: Substitute libc_cv_cc_fma4.
43100 * math/Makefile (dbl-only-routines): Add sincostab.
43101 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43102 Use __sincostab not sincos.
43103 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43104 name is a macro.
43105 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43109 using __copysign.
43110 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43111 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43112 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43113 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43114 and __inv.
43115 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43116 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43117 __copysign.
43118 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43119 define aliases when function name is a macro.
43120 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43121 sysdeps/ieee754/dbl-64/sincos.tbl.
43122 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43123 fma4-enabled routines.
43124 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43125 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43126 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43127 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43128 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43129 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43130 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43131 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43132 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43133 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43134 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43135 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43136 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43137 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43138 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43139 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43140 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43141 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43142 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43143 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43144 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43145 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43146 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43147 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43149 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43150 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43151 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43152 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43153 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43154
58985aa9
UD
43155 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43156 rename.
43157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43162 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43165
a201fbcf
AS
431662011-10-24 Andreas Schwab <schwab@redhat.com>
43167
43168 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43169
fc2ee42a
LD
431702011-10-23 Ulrich Drepper <drepper@gmail.com>
43171
bb3129bd
UD
43172 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43173
0275fff8
UD
43174 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43175 prediction.
43176 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43177
2fa2ae85
UD
43178 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43179 Remove unused variable magic_bits.
43180 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43181
fc2ee42a
LD
43182 * string/strnlen.c: Define and use STRNLEN macro.
43183 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43184 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43185 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43186 * wcsmbs/wcslen.c: Define and use WCSLEN.
43187 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43188 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43189 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43190 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43191 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43192 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43193 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43194
ce7dd29f
LD
431952011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43196
43197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43198 strnlen-sse2-no-bsf.
43199 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43200 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43201 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43202 Add strnlen support.
43203 (USE_AS_STRNLEN): New macro.
43204 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43205 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43206 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43207 * sysdeps/x86_64/wcslen.S: New file.
43208
979c70a3
MZ
432092011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43210
43211 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43212 XMM-moves are used for copying on small sizes.
43213
2d09f82f
LD
432142011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43215
43216 * wcsmbs/Makefile (strop-tests): Add wcschr.
43217 * wcsmbs/test-wcschr.c: New file.
43218 * string/test-strchr.c: Update.
43219 Add wcschr support.
43220 (WIDE): New macro.
43221
619fccca
LD
432222011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43223
2d09f82f 43224 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43225 * wcsmbs/test-wcslen.c: New file.
43226 * string/test-strlen.c: Update.
43227 Add wcslen support.
43228 (WIDE): New macro.
43229
09f699ea
UD
432302011-10-23 Ulrich Drepper <drepper@gmail.com>
43231
43232 * po/it.po: Update from translation team.
43233
95584d3b
LD
432342011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43235
43236 * sysdeps/x86_64/wcscmp.S: Update.
43237 Fix wrong comparison semantics.
43238 wcscmp shall use signed comparison not unsigned.
43239 Don't use substraction to avoid overflow bug.
43240 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43241 * wcsmbc/wcscmp.c: Likewise.
43242 * string/test-strcmp.c: Likewise.
43243 Add new tests to check cases with negative values.
43244
c8b3296b
UD
432452011-10-23 Ulrich Drepper <drepper@gmail.com>
43246
43247 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43248 * sysdeps/x86_64/dla.h: ...here. New file.
43249 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43254 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43258
246ad57a
AS
432592011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43260
43261 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43262 __ynl_finite aliases.
43263
a1a87169
UD
432642011-10-22 Ulrich Drepper <drepper@gmail.com>
43265
0d355eb7
UD
43266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43267
a1a87169
UD
43268 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43269 define DLA_FMA.
43270 [DLA_FMA] (EMULV): Use DLA_FMA.
43271 [DLA_FMA] (MUL12): Use EMULV.
43272 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43273 that are not needed.
43274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43278 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43279 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43281
ee2aafe0
AS
432822011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43283
43284 * math/s_nan.c: Undef __nan.
43285 * math/s_nanf.c: Undef __nanf.
43286 * math/s_nanl.c: Undef __nanl.
43287 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43288 "math_private.h".
43289
bc62c2fb
UD
432902011-10-22 Ulrich Drepper <drepper@gmail.com>
43291
77425c63
UD
43292 * math/s_catan.c: Add branch predictions.
43293 * math/s_catanf.c: Likewise.
43294 * math/s_catanh.c: Likewise.
43295 * math/s_catanhf.c: Likewise.
43296 * math/s_catanhl.c: Likewise.
43297 * math/s_catanl.c: Likewise.
43298 * math/s_cexp.c: Likewise.
43299 * math/s_cexpf.c: Likewise.
43300 * math/s_cexpl.c: Likewise.
43301 * math/s_clog.c: Likewise.
43302 * math/s_clog10.c: Likewise.
43303 * math/s_clog10f.c: Likewise.
43304 * math/s_clog10l.c: Likewise.
43305 * math/s_clogf.c: Likewise.
43306 * math/s_clogl.c: Likewise.
43307 * math/s_csqrt.c: Likewise.
43308 * math/s_csqrtf.c: Likewise.
43309 * math/s_csqrtl.c: Likewise.
43310 * math/s_ctanf.c: Likewise.
43311 * math/s_ctanh.c: Likewise.
43312 * math/s_ctanhf.c: Likewise.
43313 * math/s_ctanhl.c: Likewise.
43314 * math/s_ctanl.c: Likewise.
43315
bc62c2fb
UD
43316 * math/math_private.h: Define __nan, __nanf, __nanl.
43317 * math/s_cacosh.c: Include <math_private.h>.
43318 * math/s_cacoshl.c: Likewise.
43319 * math/s_casinh.c: Likewise.
43320 * math/s_casinhf.c: Likewise.
43321 * math/s_casinhl.c: Likewise.
43322 * math/s_ccos.c: Rely entire on ccosh.
43323 * math/s_ccosf.c: Rely entire on ccoshf.
43324 * math/s_ccosl.c: Rely entirely on ccoshl.
43325 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43326 Remove tests for FE_INVALID.
43327 * math/s_ccoshf.c: Likewise.
43328 * math/s_ccoshl.c: Likewise.
43329 * math/s_csin.c: Likewise.
43330 * math/s_csinf.c: Likewise.
43331 * math/s_csinh.c Likewise.
43332 * math/s_csinhf.c: Likewise.
43333 * math/s_csinhl.c: Likewise.
43334 * math/s_csinl.c: Likewise.
43335 * math/s_ctan.c: Likewise.
43336 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43337 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43338 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43339
8ec250a4
UD
433402011-10-21 Ulrich Drepper <drepper@gmail.com>
43341
c196fed8
UD
43342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43343 compilation problems.
43344
8ec250a4
UD
43345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43346 __builtin_expect.
43347
8d4f46c6
UD
433482011-10-20 Ulrich Drepper <drepper@gmail.com>
43349
ed72b654
UD
43350 * sysdeps/i386/configure.in: Test for -mfma4 option.
43351 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43352 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43353 COMMON_CPUID_INDEX_80000001.
43354 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43355 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43356 use it if FMA3 is not supported.
43357 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43358
8d4f46c6
UD
43359 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43360 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43361
d45c60c2
AS
433622011-10-20 Andreas Schwab <schwab@redhat.com>
43363
43364 [BZ #12892]
43365 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43366 it would create a cycle with a link time dependency.
43367
d9a4d2ab
UD
433682011-10-19 Ulrich Drepper <drepper@gmail.com>
43369
855d1560
UD
43370 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43371 instruction.
43372 * string/Makefile (strop-tests): Add rawmemchr.
43373 * string/test-rawmemchr.c: New file.
43374
d9a4d2ab
UD
43375 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43376 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43377 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43378 when compiling str{,n}casecmp and when AVX is available. Hook up
43379 new optimized code in initializers.
43380
8f3b1ffe
AS
433812011-10-19 Andreas Schwab <schwab@redhat.com>
43382
43383 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43384 __feraiseexcept instead of feraiseexcept.
43385
d38f1dba
UD
433862011-10-18 Ulrich Drepper <drepper@gmail.com>
43387
d9a8d0ab
UD
43388 * math/math_private.h: Define defaults for libc_fetestexcept and
43389 libc_feupdateenv.
43390 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43391 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43392 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43393 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43394 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43395 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43396 libc_fetestexcept and libc_feupdateenv.
43397
4855e3dd
UD
43398 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43399 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43400 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43401 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43402 libc_feholdexcept_setround.
43403
581d30e3
UD
43404 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43405 Add s_nearbyint-c and s_nearbyintf-c.
43406 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43407 nearbyintf inlines.
43408 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43409 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43410 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43411 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43412
d38f1dba
UD
43413 * math/math_private.h: Define defaults for libc_fegetround,
43414 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43415 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43416 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43417 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43418 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43419 standard functions.
43420 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43421 Remove comments and hacks for old compiler versions.
43422 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43423 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43424 libc_feholdexceptl.
43425
caa6c9d8
AS
434262011-10-18 Andreas Schwab <schwab@redhat.com>
43427
43428 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43429 (__feraiseexcept_renamed): Add __NTH.
43430 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43431 namespace violations.
43432
97c066e6
UD
434332011-10-17 Ulrich Drepper <drepper@gmail.com>
43434
99ce7b04
UD
43435 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43436
1004d182
UD
43437 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43438
228a984d
UD
43439 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43440 recently added interfaces.
43441 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43442
c8553a6a
UD
43443 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43444 about macro parameter expansion.
43445
ed22dcf6
UD
43446 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43447 __NO_MATH_INLINES is defined. Cleanups.
43448
43449 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43450 and __floorf is target has SSE4.1.
43451 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43452 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43453 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43454 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43455
b171c137
UD
43456 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43457 name.
43458 (floorf): Likewise.
43459
97c066e6
UD
43460 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43461
629f62ef
AS
434622011-10-17 Andreas Schwab <schwab@redhat.com>
43463
49a43d80
AS
43464 * misc/sys/cdefs.h: Fix last change.
43465
629f62ef
AS
43466 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43467 database lookup.
43468
e453f6cd
UD
434692011-10-16 Ulrich Drepper <drepper@gmail.com>
43470
aa78043a
UD
43471 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43472
ad0f5cad
UD
43473 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43474 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43475 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43476 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43479 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43480 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43481 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43482 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43483 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43484 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43485 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43486 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43487 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43488 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43489 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43490 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43491 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43492 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43493 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43494 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43495
43496 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43497 ceil, ceilf, floor, floorf.
43498
43499 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43500 Perform IRELATIVE relocations last.
43501
e453f6cd
UD
43502 * elf/do-rel.h: Add another parameter nrelative, replacing the
43503 local variable with the same name. Change name of the function
43504 to end in Rel or Rela (uppercase).
43505 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43506 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43507 elf_dynamic_do_##reloc function.
43508
fd5bdc09
UD
435092011-10-15 Ulrich Drepper <drepper@gmail.com>
43510
79b195b5
UD
43511 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43512 is sufficient, at least on modern CPUs.
43513
d4a28569
UD
43514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43515
b61099b5
UD
43516 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43517 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43518
bcf01e6d
UD
43519 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43520 __expl_finite.
43521 * math/bits/math-finite.h: Add entries for exp.
43522 * math/e_expl.c: Add __*_finite alias.
43523 * sysdeps/i386/fpu/e_exp.S: Likewise.
43524 * sysdeps/i386/fpu/e_expf.S: Likewise.
43525 * sysdeps/i386/fpu/e_expl.c: Likewise.
43526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43527 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43528 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43530 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43531 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43532 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43533
ba1a0d59
UD
43534 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43535 is sufficient, at least on modern CPUs.
43536
fd5bdc09
UD
43537 * ctype/ctype-info.c (__ctype_init): Define.
43538 * include/ctype.h (__ctype_init): Declare.
43539 (__ctype_b_loc): The variable is always initialized.
43540 (__ctype_toupper_loc): Likewise.
43541 (__ctype_tolower_loc): Likewise.
43542 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43543 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43544
7872cfb0
AS
435452011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43546
b468825a
AS
43547 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43548
7872cfb0
AS
43549 * configure.in: Also look in $cxxmachine/include for C++ system
43550 headers.
43551
be13f7bf
LD
435522011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43553
43554 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43555 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43556 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43557 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43558 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43559 (USE_AS_WMEMCMP): New macro.
43560 Fixing indents.
43561 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43562 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43563 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43564 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43566 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43567 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43568 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43569 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43570 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43571 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43572 (USE_AS_WMEMCMP): New macro.
43573 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43574 * sysdeps/string/test-memcmp.c: Update.
43575 Fix simple_wmemcmp.
43576 Add new tests.
43577 * wcsmbs/wmemcmp.c: Update.
43578 (WMEMCMP): New macro.
43579 Fix overflow bug.
43580
556a2007
AJ
435812011-10-12 Andreas Jaeger <aj@suse.de>
43582
43583 [BZ #13268]
43584 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43585
538faaa7
UD
435862011-10-15 Ulrich Drepper <drepper@gmail.com>
43587
ab6737ff
UD
43588 * libio/iofwide.c (do_length): Avoid warning.
43589
538faaa7
UD
43590 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43591
396a21b1
UD
435922011-10-14 Ulrich Drepper <drepper@gmail.com>
43593
cdf2901f
UD
43594 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43595
38ad40ce
UD
43596 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43597 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43598 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43599 * sysdeps/i386/i686/fpu/e_log.S: New file.
43600 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43601 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43602
396a21b1
UD
43603 * ctype/ctype.h: Add support for inlined isXXX functions when
43604 compiling C++ code.
43605
6b1f68c9
AS
436062011-10-14 Andreas Schwab <schwab@redhat.com>
43607
349290c0
AS
43608 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43609
6b1f68c9
AS
43610 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43611
f2282d42
RM
436122011-10-13 Roland McGrath <roland@hack.frob.com>
43613
43614 [BZ #13291]
43615 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43616
5298ffa8
AS
436172011-10-13 Andreas Schwab <schwab@redhat.com>
43618
714fad23
AS
43619 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43620 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43621 feraiseexcept.
43622
81dcc7fb
AS
43623 * sysdeps/x86_64/memrchr.S: Check for zero size.
43624
5298ffa8
AS
43625 * string/stratcliff.c: Add memrchr tests.
43626
951fbcec
LD
436272011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43628
43629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43630 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43631 rawmemchr-sse2 rawmemchr-sse2-bsf.
43632 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43633 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43634 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43635 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43636 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43637 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43638 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43639 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43640 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43641 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43642 * string/memrchr.c (MEMRCHR): New macro.
43643
0ac5ae23
UD
436442011-10-12 Ulrich Drepper <drepper@gmail.com>
43645
43646 Add integration with gcc's -ffinite-math-only and optimize wrapper
43647 functions in libm.
43648 * Versions.def: Define GLIBC_2.15 version for libm.
43649 * math/Makefile (headers): Add bits/math-finite.h.
43650 * math/bits/math-finite.h: New file.
43651 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43652 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43653 * math/e_acoshl.c: Add __*_finite alias.
43654 * math/e_acosl.c: Likewise.
43655 * math/e_asinl.c: Likewise.
43656 * math/e_atan2l.c: Likewise.
43657 * math/e_atanhl.c: Likewise.
43658 * math/e_coshl.c: Likewise.
43659 * math/e_exp10.c: Likewise.
43660 * math/e_exp10f.c: Likewise.
43661 * math/e_exp10l.c: Likewise.
43662 * math/e_exp2l.c: Likewise.
43663 * math/e_fmodl.c: Likewise.
43664 * math/e_gammal_r.c: Likewise.
43665 * math/e_hypotl.c: Likewise.
43666 * math/e_j0l.c: Likewise.
43667 * math/e_j1l.c: Likewise.
43668 * math/e_jnl.c: Likewise.
43669 * math/e_lgammal_r.c: Likewise.
43670 * math/e_log10l.c: Likewise.
43671 * math/e_log2l.c: Likewise.
43672 * math/e_logl.c: Likewise.
43673 * math/e_powl.c: Likewise.
43674 * math/e_sinhl.c: Likewise.
43675 * math/e_sqrtl.c: Likewise.
43676 * math/e_scalb.c: Completely rewritten and optimized.
43677 * math/e_scalbf.c: Likewise.
43678 * math/e_scalbl.c: Likewise.
43679 * math/w_acos.c: Likewise.
43680 * math/w_acosf.c: Likewise.
43681 * math/w_acosl.c: Likewise.
43682 * math/w_acosh.c: Likewise.
43683 * math/w_acoshf.c: Likewise.
43684 * math/w_acoshl.c: Likewise.
43685 * math/w_asin.c: Likewise.
43686 * math/w_asinf.c: Likewise.
43687 * math/w_asinl.c: Likewise.
43688 * math/w_atan2.c: Likewise.
43689 * math/w_atan2f.c: Likewise.
43690 * math/w_atan2l.c: Likewise.
43691 * math/w_atanh.c: Likewise.
43692 * math/w_atanhf.c: Likewise.
43693 * math/w_atanhl.c: Likewise.
43694 * math/w_exp10.c: Likewise.
43695 * math/w_exp10f.c: Likewise.
43696 * math/w_exp10l.c: Likewise.
43697 * math/w_fmod.c: Likewise.
43698 * math/w_fmodf.c: Likewise.
43699 * math/w_fmodl.c: Likewise.
43700 * math/w_j0.c: Likewise.
43701 * math/w_j0f.c: Likewise.
43702 * math/w_j0l.c: Likewise.
43703 * math/w_j1.c: Likewise.
43704 * math/w_j1f.c: Likewise.
43705 * math/w_j1l.c: Likewise.
43706 * math/w_jn.c: Likewise.
43707 * math/w_jnf.c: Likewise.
43708 * math/w_log.c: Likewise.
43709 * math/w_logf.c: Likewise.
43710 * math/w_logl.c: Likewise.
43711 * math/w_log10.c: Likewise.
43712 * math/w_log10f.c: Likewise.
43713 * math/w_log10l.c: Likewise.
43714 * math/w_log2.c: Likewise.
43715 * math/w_log2f.c: Likewise.
43716 * math/w_log2l.c: Likewise.
43717 * math/w_pow.c: Likewise.
43718 * math/w_powf.c: Likewise.
43719 * math/w_powl.c: Likewise.
43720 * math/w_remainder.c: Likewise.
43721 * math/w_remainderf.c: Likewise.
43722 * math/w_remainderl.c: Likewise.
43723 * math/w_scalb.c: Likewise.
43724 * math/w_scalbf.c: Likewise.
43725 * math/w_scalbl.c: Likewise.
43726 * math/w_sqrt.c: Likewise.
43727 * math/w_sqrtf.c: Likewise.
43728 * math/w_sqrtl.c: Likewise.
43729 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43730 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43731 used.
43732 * math/math_private.h: Declare __kernel_standard_f.
43733 * math/w_cosh.c: Remove cruft and optimize a bit.
43734 * math/w_coshf.c: Likewise.
43735 * math/w_coshl.c: Likewise.
43736 * math/w_exp2.c: Likewise.
43737 * math/w_exp2f.c: Likewise.
43738 * math/w_exp2l.c: Likewise.
43739 * math/w_hypot.c: Likewise.
43740 * math/w_hypotf.c: Likewise.
43741 * math/w_hypotl.c: Likewise.
43742 * math/w_lgamma.c: Likewise.
43743 * math/w_lgamma_r.c: Likewise.
43744 * math/w_lgammaf.c: Likewise.
43745 * math/w_lgammaf_r.c: Likewise.
43746 * math/w_lgammal.c: Likewise.
43747 * math/w_lgammal_r.c: Likewise.
43748 * math/w_sinh.c: Likewise.
43749 * math/w_sinhf.c: Likewise.
43750 * math/w_sinhl.c: Likewise.
43751 * math/w_tgamma.c: Likewise.
43752 * math/w_tgammaf.c: Likewise.
43753 * math/w_tgammal.c: Likewise.
43754 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43756 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43757 Minor optimizations. Pretty printing. Remove cruft.
43758 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43759 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43760 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43761 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43762 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43763 * sysdeps/i386/fpu/e_asin.S: Likewise.
43764 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43765 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43766 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43767 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43768 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43769 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43770 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43771 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43772 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43773 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43774 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43775 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43776 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43777 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43778 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43779 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43780 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43781 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43782 * sysdeps/i386/fpu/e_log.S: Likewise.
43783 * sysdeps/i386/fpu/e_log10.S: Likewise.
43784 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43785 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43786 * sysdeps/i386/fpu/e_log2.S: Likewise.
43787 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43788 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43789 * sysdeps/i386/fpu/e_logf.S: Likewise.
43790 * sysdeps/i386/fpu/e_logl.S: Likewise.
43791 * sysdeps/i386/fpu/e_pow.S: Likewise.
43792 * sysdeps/i386/fpu/e_powf.S: Likewise.
43793 * sysdeps/i386/fpu/e_powl.S: Likewise.
43794 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43795 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43796 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43797 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43798 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43799 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43800 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43801 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43802 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43803 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43804 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43807 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43808 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43809 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43810 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43811 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43812 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43813 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43814 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43816 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43817 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43820 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43823 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43824 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43825 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43826 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43827 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43828 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43829 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43830 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43831 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43832 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43833 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43834 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43835 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43836 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43837 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43838 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43839 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43840 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43841 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43842 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43843 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43844 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43845 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43846 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43847 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43848 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43849 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43850 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43851 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43852 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43853 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43854 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43855 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43856 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43857 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43858 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43859 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43860 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43861 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43862 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43863 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43867 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43868 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43871 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43872 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43873 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43877 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43878 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43879 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43880 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43882 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43883 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43884 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43885 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43887 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43888 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43890 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43891 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43892 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43894 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43895 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43896 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43897 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43898 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43899 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43900 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43901 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43902 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43903 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43904 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43905 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43906 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43908 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43909 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43910 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43911 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43912 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43913 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43914 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43915 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43916 (__isnanf): Likewise.
43917 (__isinf_ns): Likewise.
43918 (__isinf_nsf): Likewise.
43919 (__finite): Likewise.
43920 (__finitef): Likewise.
43921 (__ieee754_sqrt): Define as macro.
43922 (__ieee754_sqrtf): Define as macro.
43923 (__ieee754_sqrtl): Define as macro.
43924 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43925 inlined copy.
43926 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43927 __FINITE_MATH_ONLY__ consistent.
43928 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43929
12cc2fcd
AS
439302011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43931
a843a204
AS
43932 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43933 of rawmemchr.
43934
12cc2fcd
AS
43935 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43936
c853acd5
UD
439372011-10-09 Ulrich Drepper <drepper@gmail.com>
43938
43939 * po/ja.po: Update from translation team.
43940
c658d255
RM
439412011-10-08 Roland McGrath <roland@hack.frob.com>
43942
110946e4
RM
43943 * locale/programs/locarchive.c (prepare_address_space): New function.
43944 (create_archive, enlarge_archive, open_archive): Use it.
43945
50604220
RM
43946 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43947 inside [SHARED], where it is used.
43948
c658d255
RM
43949 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43950
43951 * nss/getent.c (netgroup_keys): Remove unused variable.
43952 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43953
6a621eb7
UD
439542011-10-08 Ulrich Drepper <drepper@gmail.com>
43955
7edb55ce
UD
43956 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43957 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43959 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43960 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43961 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43962 * math/Makefile (libm-calls): Add s_isinf_ns.
43963 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43964 * math/multc3.c: Likewise.
43965 * math/s_casin.c: Likewise.
43966 * math/s_casinf.c: Likewise.
43967 * math/s_casinl.c: Likewise.
43968 * math/s_ccos.c: Likewise.
43969 * math/s_ccosf.c: Likewise.
43970 * math/s_ccosl.c: Likewise.
43971 * math/s_ctan.c: Likewise.
43972 * math/s_ctanf.c: Likewise.
43973 * math/s_ctanh.c: Likewise.
43974 * math/s_ctanhf.c: Likewise.
43975 * math/s_ctanhl.c: Likewise.
43976 * math/s_ctanl.c: Likewise.
43977 * math/w_fmod.c: Likewise.
43978 * math/w_fmodf.c: Likewise.
43979 * math/w_fmodl.c: Likewise.
43980 * math/w_remainder.c: Likewise.
43981 * math/w_remainderf.c: Likewise.
43982 * math/w_remainderl.c: Likewise.
43983 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43984 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43985 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43987 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43988 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43989 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43990 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43991
187da0ae
UD
43992 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43993 of the number.
43994 * stdio-common/printf_fphex.c: Likewise.
43995 * stdio-common/printf_size.c: Likewise.
43996
9277c064
UD
43997 * math/e_exp10.c: Include math_private.h using <...> not "...".
43998 * math/e_exp10f.c: Likewise.
43999 * math/e_exp10l.c: Likewise.
44000 * math/e_exp2l.c: Likewise.
44001 * math/e_j0l.c: Likewise.
44002 * math/e_j1l.c: Likewise.
44003 * math/e_jnl.c: Likewise.
44004 * math/e_lgammal_r.c: Likewise.
44005 * math/e_rem_pio2l.c: Likewise.
44006 * math/e_scalb.c: Likewise.
44007 * math/e_scalbf.c: Likewise.
44008 * math/e_scalbl.c: Likewise.
44009 * math/k_cosl.c: Likewise.
44010 * math/k_sinl.c: Likewise.
44011 * math/k_tanl.c: Likewise.
44012 * math/s_cacoshf.c: Likewise.
44013 * math/s_catan.c: Likewise.
44014 * math/s_catanf.c: Likewise.
44015 * math/s_catanh.c: Likewise.
44016 * math/s_catanhf.c: Likewise.
44017 * math/s_catanhl.c: Likewise.
44018 * math/s_catanl.c: Likewise.
44019 * math/s_ccosh.c: Likewise.
44020 * math/s_ccoshf.c: Likewise.
44021 * math/s_ccoshl.c: Likewise.
44022 * math/s_cexp.c: Likewise.
44023 * math/s_cexpf.c: Likewise.
44024 * math/s_cexpl.c: Likewise.
44025 * math/s_clog.c: Likewise.
44026 * math/s_clog10.c: Likewise.
44027 * math/s_clog10f.c: Likewise.
44028 * math/s_clog10l.c: Likewise.
44029 * math/s_clogf.c: Likewise.
44030 * math/s_clogl.c: Likewise.
44031 * math/s_csin.c: Likewise.
44032 * math/s_csinf.c: Likewise.
44033 * math/s_csinh.c: Likewise.
44034 * math/s_csinhf.c: Likewise.
44035 * math/s_csinhl.c: Likewise.
44036 * math/s_csinl.c: Likewise.
44037 * math/s_csqrt.c: Likewise.
44038 * math/s_csqrtf.c: Likewise.
44039 * math/s_csqrtl.c: Likewise.
44040 * math/s_ctan.c: Likewise.
44041 * math/s_ctanf.c: Likewise.
44042 * math/s_ctanh.c: Likewise.
44043 * math/s_ctanhf.c: Likewise.
44044 * math/s_ctanhl.c: Likewise.
44045 * math/s_ctanl.c: Likewise.
44046 * math/s_ldexp.c: Likewise.
44047 * math/s_ldexpf.c: Likewise.
44048 * math/s_ldexpl.c: Likewise.
44049 * math/s_significand.c: Likewise.
44050 * math/s_significandf.c: Likewise.
44051 * math/s_significandl.c: Likewise.
44052 * math/w_acos.c: Likewise.
44053 * math/w_acosf.c: Likewise.
44054 * math/w_acosh.c: Likewise.
44055 * math/w_acoshf.c: Likewise.
44056 * math/w_acoshl.c: Likewise.
44057 * math/w_acosl.c: Likewise.
44058 * math/w_asin.c: Likewise.
44059 * math/w_asinf.c: Likewise.
44060 * math/w_asinl.c: Likewise.
44061 * math/w_atan2.c: Likewise.
44062 * math/w_atan2f.c: Likewise.
44063 * math/w_atan2l.c: Likewise.
44064 * math/w_atanh.c: Likewise.
44065 * math/w_atanhf.c: Likewise.
44066 * math/w_atanhl.c: Likewise.
44067 * math/w_cosh.c: Likewise.
44068 * math/w_coshf.c: Likewise.
44069 * math/w_coshl.c: Likewise.
44070 * math/w_dremf.c: Likewise.
44071 * math/w_exp10.c: Likewise.
44072 * math/w_exp10f.c: Likewise.
44073 * math/w_exp10l.c: Likewise.
44074 * math/w_exp2.c: Likewise.
44075 * math/w_exp2f.c: Likewise.
44076 * math/w_fmod.c: Likewise.
44077 * math/w_fmodf.c: Likewise.
44078 * math/w_fmodl.c: Likewise.
44079 * math/w_hypot.c: Likewise.
44080 * math/w_hypotf.c: Likewise.
44081 * math/w_hypotl.c: Likewise.
44082 * math/w_j0.c: Likewise.
44083 * math/w_j0f.c: Likewise.
44084 * math/w_j0l.c: Likewise.
44085 * math/w_j1.c: Likewise.
44086 * math/w_j1f.c: Likewise.
44087 * math/w_j1l.c: Likewise.
44088 * math/w_jn.c: Likewise.
44089 * math/w_jnf.c: Likewise.
44090 * math/w_jnl.c: Likewise.
44091 * math/w_lgamma.c: Likewise.
44092 * math/w_lgamma_r.c: Likewise.
44093 * math/w_lgammaf.c: Likewise.
44094 * math/w_lgammaf_r.c: Likewise.
44095 * math/w_lgammal.c: Likewise.
44096 * math/w_lgammal_r.c: Likewise.
44097 * math/w_log.c: Likewise.
44098 * math/w_log10.c: Likewise.
44099 * math/w_log10f.c: Likewise.
44100 * math/w_log10l.c: Likewise.
44101 * math/w_log2.c: Likewise.
44102 * math/w_log2f.c: Likewise.
44103 * math/w_log2l.c: Likewise.
44104 * math/w_logf.c: Likewise.
44105 * math/w_logl.c: Likewise.
44106 * math/w_pow.c: Likewise.
44107 * math/w_powf.c: Likewise.
44108 * math/w_powl.c: Likewise.
44109 * math/w_remainder.c: Likewise.
44110 * math/w_remainderf.c: Likewise.
44111 * math/w_remainderl.c: Likewise.
44112 * math/w_scalb.c: Likewise.
44113 * math/w_scalbf.c: Likewise.
44114 * math/w_scalbl.c: Likewise.
44115 * math/w_sinh.c: Likewise.
44116 * math/w_sinhf.c: Likewise.
44117 * math/w_sinhl.c: Likewise.
44118 * math/w_sqrt.c: Likewise.
44119 * math/w_sqrtf.c: Likewise.
44120 * math/w_sqrtl.c: Likewise.
44121 * math/w_tgamma.c: Likewise.
44122 * math/w_tgammaf.c: Likewise.
44123 * math/w_tgammal.c: Likewise.
44124
6a621eb7
UD
44125 * po/ja.po: Update from translation team.
44126
bf582445
AJ
441272011-09-29 Andreas Jaeger <aj@suse.de>
44128
f9efbf3a
AJ
44129 [BZ #13179]
44130 * sunrpc/netname.c (netname2host): Fix logic.
44131
bf582445
AJ
44132 [BZ #6779]
44133 [BZ #6783]
44134 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44135 correctly.
44136 * math/w_remainder.c (__remainder): Likewise.
44137 * math/w_remainderf.c (__remainderf): Likewise.
44138 * math/libm-test.inc (remainder_test): Add test cases.
44139
48693bea
AK
441402011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44141
44142 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44143 sdiv_qrnnd.
44144
42622229
LD
441452011-10-07 Ulrich Drepper <drepper@gmail.com>
44146
44147 * string/test-memcmp.c: Avoid unncessary #defines.
44148 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44149
093ecf92
LD
441502011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44151
44152 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44153 Use new sse2 version for core i3 - i7 as it's faster
44154 than sse42 version.
44155 (bit_Prefer_PMINUB_for_stringop): New.
44156 * sysdeps/x86_64/rawmemchr.S: Update.
44157 Replace with faster SSE2 version.
44158 * sysdeps/x86_64/memrchr.S: New file.
44159 * sysdeps/x86_64/memchr.S: Update.
44160 Replace with faster SSE2 version.
44161
fde56e5c
MP
441622011-09-12 Marek Polacek <mpolacek@redhat.com>
44163
44164 * elf/dl-load.c (lose): Add cast to avoid warning.
44165
21fd49a9
UD
441662011-10-07 Ulrich Drepper <drepper@gmail.com>
44167
5a06e643
UD
44168 * po/ca.po: Update from translation team.
44169
684ae515
UD
44170 * inet/getnetgrent_r.c: Hook up nscd.
44171 * nscd/Makefile (routines): Add nscd_netgroup.
44172 (nscd-modules): Add netgroupcache.
44173 (CFLAGS-netgroupcache.c): Define.
44174 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44175 (cache_search): Add const to second parameter.
44176 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44177 INNETGR.
44178 (dbs): Add netgrdb entry.
44179 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44180 (verify_persistent_db): Handle netgrdb.
44181 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44182 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44183 GETFDNETGR.
44184 (netgroup_response_header): Define.
44185 (innetgroup_response_header): Define.
44186 (datahead): Add netgroup_response_header and innetgroup_response_header
44187 elements.
44188 * nscd/nscd.conf: Add entries for netgroup cache.
44189 * nscd/nscd.h (dbtype): Add netgrdb.
44190 (_PATH_NSCD_NETGROUP_DB): Define.
44191 (netgroup_iov_disabled): Declare.
44192 (xmalloc, xcalloc, xrealloc): Move declarations here.
44193 (cache_search): Adjust prototype.
44194 Add netgroup-related prototypes.
44195 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44196 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44197 (__nscd_innetgr): Declare.
44198 * nscd/selinux.c (perms): Use access_vector_t as element type and
44199 add netgroup-related initializers.
44200 * nscd/netgroupcache.c: New file.
44201 * nscd/nscd_netgroup.c: New file.
44202 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44203 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44204 For four parameters use innetgr.
44205 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44206 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44207 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44208 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44209
21fd49a9
UD
44210 * nscd/connections.c (register_traced_file): Don't register file
44211 for disabled databases.
44212
054c0457
UD
442132011-10-06 Ulrich Drepper <drepper@gmail.com>
44214
32b63198
UD
44215 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44216
054c0457
UD
44217 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44218 from tree and freeing node.
44219
64031225
JO
442202011-09-25 Jiri Olsa <jolsa@redhat.com>
44221
44222 * nss/nsswitch.c (__nss_database_lookup): Handle
44223 nss_parse_service_list out of memory case.
44224
0490345c
JO
442252011-09-15 Jiri Olsa <jolsa@redhat.com>
44226
44227 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44228 out of memory case.
44229
3a62d00d
AS
442302011-10-04 Andreas Schwab <schwab@redhat.com>
44231
44232 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44233 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44234 pass it down.
44235 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44236 elf_machine_rela, elf_machine_lazy_rel.
44237 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44238 (ELF_DYNAMIC_DO_REL): Likewise.
44239 (ELF_DYNAMIC_DO_RELA): Likewise.
44240 (ELF_DYNAMIC_RELOCATE): Likewise.
44241 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44242 to ELF_DYNAMIC_DO_REL.
44243 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44244 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44245 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44246 elf_machine_rela.
44247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44248 skip_ifunc, don't call ifunc function if non-zero.
44249 (elf_machine_rela): Likewise.
44250 (elf_machine_lazy_rel): Likewise.
44251 (elf_machine_lazy_rela): Likewise.
44252 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44253 (elf_machine_lazy_rel): Likewise.
44254 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44255 Likewise.
44256 (elf_machine_lazy_rel): Likewise.
44257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44258 Likewise.
44259 (elf_machine_lazy_rel): Likewise.
44260 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44261 (elf_machine_lazy_rel): Likewise.
44262 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44263 (elf_machine_lazy_rel): Likewise.
44264 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44265 (elf_machine_lazy_rel): Likewise.
44266 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44267 (elf_machine_lazy_rel): Likewise.
44268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44269 (elf_machine_lazy_rel): Likewise.
44270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44271 (elf_machine_lazy_rel): Likewise.
44272
68577918
UD
442732011-09-28 Ulrich Drepper <drepper@gmail.com>
44274
44275 * nss/nss_files/files-init.c (_nss_files_init): Use static
44276 initialization for all the *_traced_file variables.
44277
68822d74
AS
442782011-09-28 Andreas Schwab <schwab@redhat.com>
44279
44280 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44281
2056100b
RM
442822011-09-27 Roland McGrath <roland@hack.frob.com>
44283
44284 [BZ #13226]
44285 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44286
32c76b63
AS
442872011-09-27 Andreas Schwab <schwab@redhat.com>
44288
44289 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44290 Reread the line before reparsing it.
44291
bf972c9d
AS
442922011-09-26 Andreas Schwab <schwab@redhat.com>
44293
44294 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44295
e057a1b5
JM
442962011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44297 Maxim Kuvyrkov <maxim@codesourcery.com>
44298 Joseph Myers <joseph@codesourcery.com>
44299
44300 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44301 if needed for __stack_chk_guard.
44302
bc7e1c36
RM
443032011-09-19 Roland McGrath <roland@hack.frob.com>
44304
ecb1482f
RM
44305 * sysdeps/posix/spawni.c (script_execute): Always define it.
44306 It will be optimized away if unused.
44307 (maybe_script_execute): New function.
44308 (__spawni): Call it.
44309
bc7e1c36
RM
44310 * Makerules: Don't include tls.make.
44311 (config-tls): Always set to thread.
44312 * tls.make.c: File removed.
44313
1c3b002b
MF
443142011-09-19 Mike Frysinger <vapier@gentoo.org>
44315
44316 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44317 * config.make.in (CPPFLAGS-config): New substituted variable.
44318
2840865d
UD
443192011-09-15 Ulrich Drepper <drepper@gmail.com>
44320
88738eb6
UD
44321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44322
cbf645a6 44323 [BZ #13192]
2840865d
UD
44324 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44325 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44326
b402e91a
RM
443272011-09-15 Roland McGrath <roland@hack.frob.com>
44328
44329 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44330 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44332 (CALL_FAIL): Likewise.
44333 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44334 (CALL_FAIL): Macro removed.
44335 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44336
4c1a1f71
UD
443372011-09-15 Ulrich Drepper <drepper@gmail.com>
44338
44339 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44340 for __FINITE_MATH_ONLY__ == 1.
44341
edc121be
AS
443422011-09-15 Andreas Schwab <schwab@redhat.com>
44343
44344 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44345 __ieee754_sqrt instead of sqrt.
44346 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44347 __ieee754_sqrtf instead of sqrtf.
44348 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44349 __floorf instead of floorf.
44350 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44351 __floorf, __truncf instead of floorf, truncf.
44352
cd205654
UD
443532011-09-14 Ulrich Drepper <drepper@gmail.com>
44354
ee4d0315
UD
44355 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44356
cd205654
UD
44357 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44358 __extern_always_inline.
44359 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44360 32-bit.
44361
48b67d71
AS
443622011-09-14 Andreas Schwab <schwab@redhat.com>
44363
44364 * elf/rtld.c (dl_main): Also relocate in dependency order when
44365 doing symbol dependency testing.
44366
1ae12c75
AS
443672011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44368
44369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44370 Always define `refsym'.
44371
995a80df
AS
443722011-09-13 Andreas Schwab <schwab@redhat.com>
44373
e529793b
AS
44374 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44375 (__FD_ELT): Renamed from __FDELT.
44376 * misc/bits/select2.h (__FD_ELT): Likewise.
44377 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44378 __FD_MASK instead of __FDELT, __FDMASK.
44379 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44380 Likewise.
44381 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44382 Likewise.
44383
52d4fef8
AS
44384 * elf/Makefile (gen-ldd): Fix pattern.
44385
995a80df
AS
44386 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44387 (init_tls): Likewise.
44388
8682f8b0
UD
443892011-09-12 Ulrich Drepper <drepper@gmail.com>
44390
44391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44392
de82006d
AS
443932011-09-12 Andreas Schwab <schwab@redhat.com>
44394
a7c8e6a1
AS
44395 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44396 `struct cmsghdr *' instead of `void *'.
44397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44398 Likewise.
44399
0f31fe77
AS
444002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44401
44402 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44403 if non-absolute.
44404 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44405 ldd_rewrite_script.
0f31fe77 44406
32b4c839
UD
444072011-09-11 Ulrich Drepper <drepper@gmail.com>
44408
83cd1420
UD
44409 * configure.in: Remove --with-tls option.
44410 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44411 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44412 out in case it is missing.
44413 * sysdeps/ia64/elf/configure.in: Likewise.
44414 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44415 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44416 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44417 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44418 * sysdeps/sh/elf/configure.in: Likewise.
44419 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44420 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44421 * sysdeps/x86_64/elf/configure.in: Likewise.
44422 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44423 * sysdeps/mach/hurd/tls.h: Likewise.
44424
633f745d
UD
44425 [BZ #13067]
44426 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44427
f318beb8
UD
44428 [BZ #13090]
44429 * configure.in: Fix use of AC_INIT.
44430
32b4c839
UD
44431 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44432
3ce1f295
UD
444332011-09-10 Ulrich Drepper <drepper@gmail.com>
44434
bb016596
UD
44435 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44436 __set_errno.
8e58439c
UD
44437 * malloc/hooks.c: Likewise.
44438
aebae053 44439 [BZ #11929]
02d46fc4
UD
44440 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44441 variables statically.
44442 (narenas): Initialize.
44443 (list_lock): Initialize.
bb016596
UD
44444 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44445 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44446 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44447 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44448 Add initializers to main_arena and mp_.
44449 (malloc_state): Remove pagesize member. Change all users to use
44450 GLRO(dl_pagesize).
44451
44452 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44453 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44454 is always initialized.
44455
22a89187
UD
44456 * malloc/malloc.c: Removed unused configurations and dead code.
44457 * malloc/arena.c: Likewise.
44458 * malloc/hooks.c: Likewise.
02d46fc4 44459 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44460
d063d164
UD
44461 * include/tls.h: Removed. USE___THREAD must always be defined.
44462 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44463 * elf/dl-libc.c: Likewise.
44464 * elf/dl-tsd.c: Likewise.
44465 * include/errno.h: Likewise.
44466 * include/netdb.h: Likewise.
44467 * include/resolv.h: Likewise.
44468 * inet/herrno-loc.c: Likewise.
44469 * inet/herrno.c: Likewise.
44470 * malloc/arena.c: Likewise.
44471 * malloc/hooks.c: Likewise.
44472 * malloc/malloc.c: Likewise.
44473 * resolv/res-state.c: Likewise.
44474 * resolv/res_libc.c: Likewise.
44475 * sysdeps/i386/dl-machine.h: Likewise.
44476 * sysdeps/ia64/dl-machine.h: Likewise.
44477 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44478 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44479 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44480 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44481 * sysdeps/sh/dl-machine.h: Likewise.
44482 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44483 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44484 * sysdeps/unix/i386/sysdep.S: Likewise.
44485 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44486 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44489 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44491 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44495 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44496 * sysdeps/x86_64/dl-machine.h: Likewise.
44497 * tls.make.c: Likewise.
44498
3ce1f295
UD
44499 * configure.in: Remove --with-__thread option. Make tests for
44500 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44501 tls_model attribute fail if no support is available. Remove
44502 USE_IN_LIBIO.
44503 * Makeconfig: Adjust for dropped configure option. All features are
44504 now mandatory.
44505 * Makerules: Likewise.
44506 * Versions.def: Likewise.
44507 * argp/argp-fmtstream.c: Likewise.
44508 * argp/argp-fmtstream.h: Likewise.
44509 * argp/argp-help.c: Likewise.
44510 * assert/assert.c: Likewise.
44511 * config.h.in: Likewise.
44512 * config.make.in: Likewise.
44513 * configure: Likewise.
44514 * configure.in: Likewise.
44515 * csu/Versions: Likewise.
44516 * csu/init.c: Likewise.
44517 * elf/tst-audit2.c: Likewise.
44518 * elf/tst-tls10.c: Likewise.
44519 * elf/tst-tls10.h: Likewise.
44520 * elf/tst-tls11.c: Likewise.
44521 * elf/tst-tls12.c: Likewise.
44522 * elf/tst-tls14.c: Likewise.
44523 * elf/tst-tlsmod11.c: Likewise.
44524 * elf/tst-tlsmod12.c: Likewise.
44525 * elf/tst-tlsmod13.c: Likewise.
44526 * elf/tst-tlsmod13a.c: Likewise.
44527 * elf/tst-tlsmod14a.c: Likewise.
44528 * elf/tst-tlsmod15b.c: Likewise.
44529 * elf/tst-tlsmod16a.c: Likewise.
44530 * elf/tst-tlsmod16b.c: Likewise.
44531 * elf/tst-tlsmod7.c: Likewise.
44532 * elf/tst-tlsmod8.c: Likewise.
44533 * elf/tst-tlsmod9.c: Likewise.
44534 * gmon/gmon.c: Likewise.
44535 * grp/fgetgrent_r.c: Likewise.
44536 * grp/putgrent.c: Likewise.
44537 * hurd/fopenport.c: Likewise.
44538 * include/libc-symbols.h: Likewise.
44539 * include/tls.h: Likewise.
44540 * intl/gettextP.h: Likewise.
44541 * intl/loadinfo.h: Likewise.
44542 * locale/global-locale.c: Likewise.
44543 * locale/localeinfo.h: Likewise.
44544 * mach/devstream.c: Likewise.
44545 * malloc/arena.c: Likewise.
44546 * malloc/set-freeres.c: Likewise.
44547 * misc/err.c: Likewise.
44548 * misc/getttyent.c: Likewise.
44549 * misc/mntent_r.c: Likewise.
44550 * posix/getopt.c: Likewise.
44551 * posix/wordexp.c: Likewise.
44552 * pwd/fgetpwent_r.c: Likewise.
44553 * resolv/Versions: Likewise.
44554 * resolv/res_hconf.c: Likewise.
44555 * shadow/fgetspent_r.c: Likewise.
44556 * shadow/putspent.c: Likewise.
44557 * stdio-common/printf_fphex.c: Likewise.
44558 * stdio-common/tmpfile.c: Likewise.
44559 * stdlib/abort.c: Likewise.
44560 * stdlib/fmtmsg.c: Likewise.
44561 * sunrpc/auth_unix.c: Likewise.
44562 * sunrpc/clnt_perr.c: Likewise.
44563 * sunrpc/clnt_tcp.c: Likewise.
44564 * sunrpc/clnt_udp.c: Likewise.
44565 * sunrpc/clnt_unix.c: Likewise.
44566 * sunrpc/openchild.c: Likewise.
44567 * sunrpc/svc_simple.c: Likewise.
44568 * sunrpc/svc_tcp.c: Likewise.
44569 * sunrpc/svc_udp.c: Likewise.
44570 * sunrpc/svc_unix.c: Likewise.
44571 * sunrpc/xdr.c: Likewise.
44572 * sunrpc/xdr_array.c: Likewise.
44573 * sunrpc/xdr_rec.c: Likewise.
44574 * sunrpc/xdr_ref.c: Likewise.
44575 * sunrpc/xdr_stdio.c: Likewise.
44576
1248c1c4
PB
445772011-09-09 Ulrich Drepper <drepper@gmail.com>
44578
44579 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44580
445812011-07-03 Andreas Jaeger <aj@suse.de>
44582
44583 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44584 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44585 regenerate with gen-libm-tests.pl.
44586
445872010-05-12 Petr Baudis <pasky@suse.cz>
44588
44589 [BZ #11589]
44590 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44591 around j0() zero points by switching to j1().
44592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44593 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44594 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44595 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44596
f22e1074
UD
445972011-09-09 Ulrich Drepper <drepper@gmail.com>
44598
f19009c1
UD
44599 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44600 instead of 0.
44601 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44602 instead of 0.
f19009c1
UD
44603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44604 Patch in part by Pavel Roskin <proski@gnu.org>.
44605
3f8cc204
UD
44606 [BZ #13138]
44607 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44608 realloc.
44609 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44610 Free memory block if necessary.
44611
f22e1074
UD
44612 [BZ #12847]
44613 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44614 be NULL. Don't lock in this case.
44615
0a2349f9
RM
446162011-09-09 Roland McGrath <roland@hack.frob.com>
44617
44618 * elf/elf.h (ELFOSABI_GNU): New macro.
44619 (ELFOSABI_LINUX): Define to that.
44620
f3cdd467
DZ
446212011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44622
44623 * string/strncat.c (strncat): Undef the symbol in case it has been
44624 defined in bits/string.h.
44625
74718d13
UD
446262011-09-09 Ulrich Drepper <drepper@gmail.com>
44627
633e9e0f
UD
44628 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44629
0a2349f9 44630 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44631 link map.
44632
f9924780
AJ
446332011-08-17 Andreas Jaeger <aj@suse.de>
44634
44635 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44636
7f5517aa
PP
446372011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44638 Ian Lance Taylor <iant@google.com>
44639
44640 * math/libm-test.inc (lround_test): New testcase.
44641 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44642
762011fe
UD
446432011-09-08 Ulrich Drepper <drepper@gmail.com>
44644
92963737
UD
44645 * Makefile: Remove support for automatic cvs check-ins.
44646 * Makerules: Likewise.
44647 * config.make.in: Likewise.
44648 * configure.in: Likewise.
44649 * intl/Makefile: Likewise.
44650 * locale/Makefile: Likewise.
44651 * po/Makefile: Likewise.
44652 * posix/Makefile: Likewise.
44653 * sysdeps/gnu/Makefile: Likewise.
44654 * sysdeps/mach/hurd/Makefile: Likewise.
44655 * sysdeps/sparc/sparc32/Makefile: Likewise.
44656
b0727fd8
JS
44657 [BZ #13118]
44658 * posix/Makefile (bug-regex32-ENV): Define.
44659 Patch by John Stanley <jpsinthemix@verizon.net>.
44660
a0f33f99
UD
44661 * misc/Makefile (headers): Add bits/select2.h.
44662 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44663 * misc/bits/select2.h: New file.
44664 * include/bits/select2.h: New file.
44665 * debug/Makefile (routines): Add fdelt_chk.
44666 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44667 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44668 FD_ISSET.
44669 * debug/fdelt_chk.c: New file.
44670
762011fe
UD
44671 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44672 * wcsmbs/test-wmemcmp.c: Likewise.
44673 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44674 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44675
446762011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44677
44678 * string/Makefile (strop-tests): Add memcmp.
44679 * string/test-wmemcmp.c: New file.
44680 * string/test-memcmp.c: Add wmemcmp support.
44681
7f513ec8
RM
446822011-09-08 Roland McGrath <roland@hack.frob.com>
44683
0442afb4
RM
44684 [BZ #13153]
44685 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44686 2011-07-19 change.
44687
7f513ec8
RM
44688 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44689 garbage value in a __mach_port_mod_refs call in the cases of the
44690 task-self and thread-self ports.
44691
a12b2239
ST
446922011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44693
44694 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44695
610f9ab4
AS
446962011-09-08 Andreas Schwab <schwab@redhat.com>
44697
7f513ec8 44698 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44699
48882a1a
LD
447002011-09-07 Ulrich Drepper <drepper@gmail.com>
44701
b49865be
UD
44702 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44703
fdc86bc9
UD
44704 * elf/dl-libc.c (dlerror_run): Pass back error code from
44705 dl_catch_error.
44706
c966526a
UD
44707 [BZ #13123]
44708 * elf/dl-load.c (lose): Free l_origin if it is valid.
44709
48882a1a
LD
44710 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44711 names.
44712 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44713 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44714 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44715 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44716 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44717 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44718
77a2a8b4
AZ
447192011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44720
44721 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44722 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44723 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44724 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44725 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44726 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44727 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44728 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44729 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44730 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44731
24f579d8
AM
447322011-08-15 Alan Modra <amodra@gmail.com>
44733
44734 [BZ #13092]
44735 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44736 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44737 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44738 ppc_mcount to static-only-routines.
44739 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44740 __mcount_internal.
44741 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44742 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44743
3d4837df
UD
447442011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44745
44746 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44747 for finite and infinity parameters.
44748
22700377
WS
447492011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44750
44751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44752 and add nop instructions for throughput optimization.
44753 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44754
5025581e
WS
447552011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44756
44757 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44758 aligned copy for power7 with vector-scalar instructions.
44759 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44760
08a300c9
L
447612011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44762
44763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44764 AVX check.
44765
59178ef9
AS
447662011-09-07 Andreas Schwab <schwab@redhat.com>
44767
44768 [BZ #13144]
44769 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44770 last change.
44771
e38ba7ab
UD
447722011-09-07 Ulrich Drepper <drepper@gmail.com>
44773
44774 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44775 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44776 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44777 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44778 clock_gettime.
44779
d53a73ac
UD
447802011-09-06 Ulrich Drepper <drepper@gmail.com>
44781
fc8bffcc
UD
44782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44783 Forgot to demangle the pointer.
44784
ceaa0c5d
UD
44785 * sysdeps/i386/sysdep.h: Define atom_text_section.
44786 * sysdeps/x86_64/sysdep.h: Likewise.
44787 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44788 section with atom_text_section.
44789 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44790 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44791 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44792 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44793 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44794
a77d3c17
UD
44795 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44796 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44797 already be defined. Change to take two parameters and don't assign
44798 result to variable. Adjust all users.
44799 Define INTERNAL_GETTIME if not already defined.
44800 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44801 call.
44802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44803 HAVE_CLOCK_GETTIME_VSYSCALL.
44804 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44805
d53a73ac
UD
44806 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44807 gettimeofday vsyscall, just use time.
44808
a8f84144
AS
448092011-09-06 Andreas Schwab <schwab@redhat.com>
44810
44811 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44812 <errno.h>.
44813
ef606249
UD
448142011-09-06 Ulrich Drepper <drepper@gmail.com>
44815
44816 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44817 syscall on x86-64.
44818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44819 syscall.
44820 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44821 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44822 syscall if possible.
44823
6585cb60
UD
448242011-09-05 Ulrich Drepper <drepper@gmail.com>
44825
44826 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44827 e_ident. Don't pass to find_mapsXX.
44828 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44829
a5f524e4
LD
448302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44831
44832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44833 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44834 * sysdeps/x86_64/multiarch/strchr.S: Update.
44835 Check bit_slow_BSF bit.
44836 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44837 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44838 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44839
554881ef
UD
448402011-09-05 Ulrich Drepper <drepper@gmail.com>
44841
d96de963
UD
44842 [BZ #13134]
44843 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44844 before glibc 2.15.
44845 (tryshell): Define.
44846 (__spawni): Change last parameter to be flag. Test
44847 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44848 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44849 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44850 * posix/spawni.c: Likewise.
44851 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44852 * posix/spawnp.c: Likewise. Change normal version to use
44853 SPAWN_XFLAGS_USE_PATH.
44854 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44855 SPAWN_XFLAGS_TRY_SHELL.
44856
d48e5868
UD
44857 [BZ #13150]
44858 * posix/glob.h: Remove gcc 1.x support.
44859
554881ef
UD
44860 [BZ #13068]
44861 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44862
693fb948
LD
448632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44864
44865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44866 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44867 strrchr-sse2-bsf
44868 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44869 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44870 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44871 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44872 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44873 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44874
1b48c537
UD
448752011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44876
49d42c37
UD
44877 * sysdeps/x86_64/wcscmp.S: New file.
44878
1b48c537
UD
44879 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44880 wcscmp-c wcscmp-sse2
44881 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44882 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44883 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44884 * wcsmbs/wcscmp.c: Allow renaming.
44885
15c95c5d
DM
448862011-09-05 David S. Miller <davem@davemloft.net>
44887
44888 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44889 stack slot, rather than the struct return pointer slot.
44890 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44891 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44893 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44894
2f0ad8f3
UD
448952011-09-05 Ulrich Drepper <drepper@gmail.com>
44896
d88ae418
UD
44897 * po/ja.po: Update from translation team.
44898
2f0ad8f3
UD
44899 [BZ #13144]
44900 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44901 kernel in 64-bit binaries.
44902
5f4318d1
DM
449032011-09-01 David S. Miller <davem@davemloft.net>
44904
44905 * elf/elf.h (HWCAP_SPARC_*): Move to..
44906 * sysdeps/sparc/sysdep.h: this new file and add new values.
44907 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44908 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44909 _DL_HWCAP_COUNT to 24.
44910 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44911 entries.
44912 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44913 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44914 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44916 instead of magic constants.
44917 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44918
3ba57516
DM
449192011-08-31 David S. Miller <davem@davemloft.net>
44920
44921 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44923 Reimplement to do errno handling inline.
44924 (SYSCALL_ERROR_HANDLER): New macro.
44925 (__SYSCALL_STRING): Do not do errno handling in asm.
44926 (__CLONE_SYSCALL_STRING): Delete.
44927 (__INTERNAL_SYSCALL_STRING): Delete.
44928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44929 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44930 (PSEUDO): Reimplement to do errno handling inline.
44931 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44932 (SYSCALL_ERROR_HANDLER): New macro.
44933 (__SYSCALL_STRING): Do not do errno handling in asm.
44934 (__CLONE_SYSCALL_STRING): Delete.
44935 (__INTERNAL_SYSCALL_STRING): Delete.
44936 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44937 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44938 i386.
44939 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44940 (inline_syscall*): Add 'err' argument.
44941 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44942 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44943 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44944 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44945
44946 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44947 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44948
2bc17433
AS
449492011-08-30 Andreas Schwab <schwab@redhat.com>
44950
44951 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44952
fbeb5f4d
JO
449532011-08-29 Jiri Olsa <jolsa@redhat.com>
44954
44955 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44956 directive.
44957
ad69cc26
DM
449582011-08-24 David S. Miller <davem@davemloft.net>
44959
44960 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44961
39dd69df
AS
449622011-08-24 Andreas Schwab <schwab@redhat.com>
44963
44964 * elf/Makefile: Add rules to build and run unload8 test.
44965 * elf/unload8.c: New file.
44966 * elf/unload8mod1.c: New file.
44967 * elf/unload8mod1x.c: New file.
44968 * elf/unload8mod2.c: New file.
44969 * elf/unload8mod3.c: New file.
44970
44971 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44972 it wasn't used.
44973
2c0b250a
DM
449742011-08-23 David S. Miller <davem@davemloft.net>
44975
44976 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44977 subtract stack bias.
44978 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44979 %sp not %fp in calculations.
44980 (_JMPBUF_UNWINDS_ADJ): Likewise.
44981
22044b48
DM
44982 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44983 (aio_suspend): Call it to force an exception region around the
44984 AIO_MISC_WAIT() invocation.
44985
2cae4995
AS
449862011-08-23 Andreas Schwab <schwab@redhat.com>
44987
44988 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44989 backslash.
44990
873a772e
AJ
449912011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44992
44993 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44994 protection macro.
44995 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44996 and <dl-machine.h>.
44997 (Elf64_FuncDesc): Remove.
44998
25ad0df1
DM
449992011-08-22 David S. Miller <davem@davemloft.net>
45000
45001 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45002 sigaltstack check, add missing cfi directives.
45003 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45004 missing cfi directives, and sigaltstack handling.
45005
e888bcbe
AS
450062011-08-16 Andreas Schwab <schwab@redhat.com>
45007
45008 [BZ #11724]
45009 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45010 object is seen twice.
45011 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45012
45013 * elf/Makefile (distribute): Add tst-initorder2.c.
45014 (tests): Add tst-initorder2.
45015 (modules-names): Add tst-initorder2a tst-initorder2b
45016 tst-initorder2c tst-initorder2d. Add rules to build them.
45017 ($(objpfx)tst-initorder2.out): New rule.
45018 * elf/tst-initorder2.c: New file.
45019 * elf/tst-initorder2.exp: New file.
45020
87162f46
AS
450212011-08-22 Andreas Schwab <schwab@redhat.com>
45022
70538b7f
AS
45023 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45024
f55ffe58
AS
45025 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45026 dependencies back to end of function.
45027
87162f46
AS
45028 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45029 $(elfobjdir)/ld.so.
45030
91b392a4
UD
450312011-08-21 Ulrich Drepper <drepper@gmail.com>
45032
45033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45034 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45036 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45037 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45038 of __vdso_gettimeofday.
45039 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45040 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45041 attribute_hidden.
45042 (_libc_vdso_platform_setup): Remove initialization of
45043 __vdso_gettimeofday and __vdso_time.
45044
5c43483f
UD
450452011-08-20 Ulrich Drepper <drepper@gmail.com>
45046
775a77e7
UD
45047 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45048 and fgetc_unlocked.
45049 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45050 getc_unlocked.
89f447ed 45051
49c74ba9
UD
45052 * elf/dl-open.c (add_to_global): Report additions to the global scope
45053 for LD_DEBUG=scopes.
45054 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45055 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45056
5c43483f
UD
45057 [BZ #13114]
45058 * stdio-common/Makefile (tests): Add bug24.
45059 * stdio-common/bug24.c: New file.
45060
a101b025
AJ
450612011-08-19 Andreas Jaeger <aj@suse.de>
45062
45063 [BZ #13114]
45064 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45065 non-existant file when using close-on-exec mode.
45066
c88f1766
UD
450672011-08-20 Ulrich Drepper <drepper@gmail.com>
45068
0276a718
UD
45069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45070 the very first instruction.
45071
c88f1766
UD
45072 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45073 the CFI state in the end.
45074 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45075 inclusion of dl-trampoline.h.
45076 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45077
51ccffa0
AS
450782011-08-19 Andreas Schwab <schwab@redhat.com>
45079
94d7165f
AS
45080 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45081 expectations for long double.
45082
51ccffa0
AS
45083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45084 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45085
fd708658 450862011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45087
45088 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45089 artificual limit depends upon the system page size.
45090
44f0a71e
UD
450912011-08-17 Ulrich Drepper <drepper@gmail.com>
45092
45093 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45094 * resolv/Makefile: Define CFLAGS-libresolv.
45095
8de79a24
AS
450962011-08-17 Andreas Schwab <schwab@redhat.com>
45097
45098 * nss/makedb.c (compute_tables): Make variables used in nested
45099 function static.
45100
27724598
UD
451012011-08-17 Ulrich Drepper <drepper@gmail.com>
45102
c5305d88
UD
45103 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45104 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45105 if buffer was too small.
45106
27724598
UD
45107 * elf/pldd.c (main): Attach to all threads in the process.
45108 Rewrite /proc handling to use *at functions.
45109
076fe015
UD
451102011-08-16 Ulrich Drepper <drepper@gmail.com>
45111
174baab3
UD
45112 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45113 specifies first scope to show.
45114 (dl_open_worker): Update callers. Move printing scope of new
45115 object to before the relocation.
44f0a71e 45116 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45117 * sysdeps/generic/ldsodefs.h: Update declaration.
45118
076fe015
UD
45119 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45120 string for the scope number.
45121
a60df2c3
UD
451222011-08-14 Ulrich Drepper <drepper@gmail.com>
45123
45124 * nscd/servicescache.c (cache_addserv): Make sure written is always
45125 initialized.
45126
5e4287d1
RM
451272011-08-14 Roland McGrath <roland@hack.frob.com>
45128
85ae0589
RM
45129 * sysdeps/i386/i486/bits/atomic.h
45130 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45131 statement expression, so as to suppress "set but not used" warning.
45132 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45133
69f63097
RM
45134 * string/strncat.c (STRNCAT): Use prototype definition.
45135
675456ef
RM
45136 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45137 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45138 -Iprograms here.
45139 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45140 (localedef-modules): Add localedef.
45141 (locale-modules): Add locale.
45142
5e4287d1
RM
45143 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45144 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45145 to avoid a warning.
45146
9c96ff23
DM
451472011-08-14 David S. Miller <davem@davemloft.net>
45148
45149 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45150 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45151
f9ddf089
UD
451522011-08-13 Ulrich Drepper <drepper@gmail.com>
45153
44f0a71e 45154 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45155 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45156 * elf/rtld.c (dl_main): Set l_name of vDSO.
45157 Call _dl_show_scope when DL_DEBUG_SCOPES.
45158 (process_dl_debug): Recognize scopes flag and also set it for all.
45159 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45160 Declare _dl_show_scope.
45161
1dc27704
UD
45162 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45163 (do_dlopen): Pass caller_dlopen to dl_open.
45164 (__libc_dlopen_mode): Initialize caller_dlopen.
45165
f9ddf089
UD
45166 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45167 of libc. Make tolower call locale-independent. Optimize a bit by
45168 using isdigit instead of isalnum.
45169 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45170
9ac533d3
UD
451712011-08-12 Ulrich Drepper <drepper@gmail.com>
45172
45173 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45174 was a dependency or dynamically loaded.
45175
89edf2e9
UD
451762011-08-11 Ulrich Drepper <drepper@gmail.com>
45177
8e999d29
UD
45178 * intl/l10nflist.c: Allow architecture-specific pop function.
45179 * sysdeps/x86_64/l10nflist.c: New file.
45180
89edf2e9
UD
45181 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45182 classification.
45183
14d96785
AS
451842011-08-10 Andreas Schwab <schwab@redhat.com>
45185
45186 * include/dirent.h: Add libc_hidden_proto for scandirat and
45187 scandirat64. Don't declare __scandirat64.
45188 * dirent/scandirat.c: Add libc_hidden_def.
45189 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45190 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45191
6761ac04
DM
451922011-08-10 David S. Miller <davem@davemloft.net>
45193
45194 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45195 enum.
45196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45199
c55fbd1e
UD
452002011-08-09 Ulrich Drepper <drepper@gmail.com>
45201
45202 * Versions.def [libc]: Add GLIBC_2.15.
45203 * dirent/Makefile (routines): Add scandirat and scandirat64.
45204 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45205 GLIBC_2.15.
45206 * dirent/dirent.h: Declare scandirat and scandirat64.
45207 * dirent/scandirat.c: New file.
45208 * dirent/scandirat64.c: New file.
45209 * sysdeps/wordsize-64/scandirat.c: New file.
45210 * sysdeps/wordsize-64/scandirat64.c: New file.
45211 * dirent/opendir.c: Define opendirat.
45212 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45213 using scandirat.
45214 * dirent/scandir64.c: Adjust for scandir.c change.
45215 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45216 __scandirat64, and __scandir_cancel_handler.
45217 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45218 additional parameter and use openat instead of open (outside of ld.so).
45219 Add new __opendir as wrapper around __opendirat.
45220 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45221 here without requiring old scandirat implementation.
45222
879165f2
UD
452232011-08-08 Ulrich Drepper <drepper@gmail.com>
45224
45225 * dirent/scandir.c (cancel_handler): Renamed to
45226 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45227 defined. Adjust users.
45228 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45229 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45230
cb7e923b
UD
452312011-08-04 Ulrich Drepper <drepper@gmail.com>
45232
16292edd
UD
45233 * string/test-string.h (IMPL): Use __STRING to expand name and then
45234 stringify it.
45235
cb7e923b
UD
45236 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45237 of cleanups.
45238
cff82933
LD
452392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45240
45241 * string/Makefile: Update.
45242 (strop-tests): Append strncat.
45243 * string/test-wcscmp.c: New file.
45244 New comprehensive test for wcscmp.
45245 * string/test-strcmp.c: Update.
45246 (WIDE): New define.
45247
9be9bfcc
AS
452482011-07-22 Andreas Schwab <schwab@redhat.com>
45249
45250 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45251 line.
45252
2e96f1c7
AS
452532011-07-26 Andreas Schwab <schwab@redhat.com>
45254
45255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45256 encoding to ACE if AI_IDN.
45257
85188888
JJ
452582011-08-01 Jakub Jelinek <jakub@redhat.com>
45259
45260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45261 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45262
5fa16e9b
LD
452632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45264
45265 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45266 Fix overflow bug in strncat.
45267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45268
45269 * string/test-strncat.c: Update.
45270 Add new tests for checking overflow bugs.
45271
452722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45273
45274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45275 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45276 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45277 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45278 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45279 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45280 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45281 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45282 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45283
45284 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45285 (USE_AS_STRCAT): Define.
45286 Add strcat and strncat support.
45287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45288
8c1a459f
AS
452892011-07-25 Andreas Schwab <schwab@redhat.com>
45290
45291 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45292 __n bigger than INT_MAX+1.
45293 (__strncmp_g): Likewise.
45294
bba33c28
UD
452952011-07-23 Ulrich Drepper <drepper@gmail.com>
45296
798be72d
UD
45297 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45298 * libio/stido.h: Likewise.
45299
8accd4dc
UD
45300 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45301 (AF_NFC): Define.
45302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45303 (AF_NFC): Define.
45304
cbff0d96
UD
45305 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45307 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45308 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45310
9191c04a
UD
45311 [BZ #13021]
45312 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45313 installed.
45314
bba33c28
UD
45315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45316 typo.
45317 (_dl_x86_64_save_sse): Likewise.
45318
90f139dd
UD
453192011-07-22 Ulrich Drepper <drepper@gmail.com>
45320
1aae088a
UD
45321 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45322 OSXSAVE.
45323 (_dl_x86_64_save_sse): Likewise.
45324
8e2045f5
UD
45325 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45326
90f139dd
UD
45327 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45328
1d002f25
AS
453292011-07-21 Andreas Schwab <schwab@redhat.com>
45330
45331 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45332 change.
45333 (_dl_x86_64_save_sse): Use correct AVX check.
45334
21137f89
UD
453352011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45336
45337 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45338 bug in strncpy/strncat.
45339 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45340
a65c0b7a
UD
453412011-07-21 Ulrich Drepper <drepper@gmail.com>
45342
45343 * string/tester.c (test_strcat): Add tests for different alignments
45344 of source and destination.
45345 (test_strncat): Likewise.
45346
6986b98a
UD
453472011-07-20 Ulrich Drepper <drepper@gmail.com>
45348
90bb2039
UD
45349 [BZ #12852]
45350 * posix/glob.c (glob): Check passed in values before using them in
45351 expressions to avoid some overflows.
45352 (glob_in_dir): Likewise.
45353
5644ef54
UD
45354 [BZ #13007]
45355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45356 check for AVX enablement so that we don't crash with old kernels and
45357 new hardware.
45358 * elf/tst-audit4.c: Add same checks here.
45359 * elf/tst-audit6.c: Likewise.
45360
45361 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 45362
bfc9dc9b
AS
453632011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45364
45365 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45366
702e64bb
UD
453672011-07-20 Ulrich Drepper <drepper@gmail.com>
45368
45369 * po/cs.po: Update from translation team.
45370 * po/bg.po: Likewise.
45371
295e904f
MP
453722011-07-12 Marek Polacek <mpolacek@redhat.com>
45373
45374 * misc/sys/cdefs.h: Add support for const attribute.
45375 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45376 to gnu_dev_{major,minor,makedev} functions.
45377
3ff94596
MP
453782011-07-20 Marek Polacek <mpolacek@redhat.com>
45379
45380 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45381
28b59fca
AS
453822011-07-20 Andreas Schwab <schwab@redhat.com>
45383
45384 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45385 strlen results.
45386
19df733e
AK
453872011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45388
45389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45390 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45391 register in order to avoid conflicts with the soft frame pointer
45392 being held in r11 when necessary.
45393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45394 (INTERNAL_VSYSCALL_NCS): Likewise.
45395
c8835729
MP
453962011-07-14 Marek Polacek <mpolacek@redhat.com>
45397
45398 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45399 * elf/dl-fini.c (_dl_fini): Adjust caller.
45400 * elf/dl-close.c (_dl_close_worker): Likewise.
45401 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45402
b902330c
MP
454032011-07-15 Marek Polacek <mpolacek@redhat.com>
45404
8991e135
MP
45405 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45406 "aux_cache->nlibs < 0".
45407
b902330c
MP
45408 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45409 in the reload-count case.
45410
99710781
LD
454112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45412
45413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45414 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45415 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45416 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45417 * sysdeps/x86_64/multiarch/strcat.S: New file.
45418 * sysdeps/x86_64/multiarch/strncat.S: New file.
45419 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45420 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45421 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45422 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45424 (USE_AS_STRCAT): Define.
45425 Add strcat and strncat support.
45426 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45428 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45429 * string/strncat.c: Update.
45430 (USE_AS_STRNCAT): Define.
45431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45432 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45433 and i7.
45434 * sysdeps/x86_64/multiarch/init-arch.h
45435 (bit_Prefer_PMINUB_for_stringop): New.
45436 (index_Prefer_PMINUB_for_stringop): Likewise.
45437 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45438 bit_Prefer_PMINUB_for_stringop.
45439
7dc6bd90
UD
454402011-07-19 Ulrich Drepper <drepper@gmail.com>
45441
45442 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45443 buffer64.
45444 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45445 of casting of buffer.
45446 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45447 buffer32 and buffer64.
45448 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45449 writes instead of casting of buffer.
45450 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45451 buffer32.
45452 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45453 casting of buffer.
45454
e0e72284
AS
454552011-07-19 Andreas Schwab <schwab@redhat.com>
45456
45457 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45458
feb1eb0b
UD
454592011-07-19 Ulrich Drepper <drepper@gmail.com>
45460
45461 * nscd/nscd.c (termination_handler): Don't do anything for a database
45462 if it has not yet been initialized.
45463
298711ff
UD
454642011-07-18 Ulrich Drepper <drepper@gmail.com>
45465
45466 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45467
454682011-07-15 Marek Polacek <mpolacek@redhat.com>
45469
45470 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45471
f9d68389
UD
454722011-07-18 Ulrich Drepper <drepper@gmail.com>
45473
45474 * po/nl.po: Update from translation team.
45475 * po/sv.po: Likewise.
45476
db290cf5
RM
454772011-07-16 Roland McGrath <roland@hack.frob.com>
45478
45479 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45480 now disallowed by GCC.
5c550700 45481
fd5e21c7
RM
45482 * configure.in (use-default-link): Default to yes if a test -shared
45483 link meets our qualifications.
45484 * configure: Regenerated.
45485
5c550700
RM
45486 * config.make.in (output-format): New variable.
45487 * configure.in: Check for ld --print-output-format support.
45488 * configure: Regenerated.
45489 * Makerules ($(common-objpfx)format.lds)
45490 [$(output-format) != unknown]: Just use $(output-format),
45491 instead of the linker-script munging.
45492
9fa2c032
RM
454932011-07-14 Roland McGrath <roland@hack.frob.com>
45494
a6928d51
RM
45495 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45496 of $(common-objpfx)shlib.lds.
45497 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45498
661607b3
RM
45499 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45500 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45501
9fa2c032
RM
45502 * configure.in (-z relro check): Adjust test code to add a large
45503 writable data section after it.
45504 * configure: Regenerated.
45505
defe9061
RM
455062011-07-11 Roland McGrath <roland@hack.frob.com>
45507
45508 * configure.in (-z relro check): Fix test code to make the variable
45509 truly const.
45510 * configure: Regenerated.
45511
319b9ad4
UD
455122011-07-11 Ulrich Drepper <drepper@gmail.com>
45513
45514 * nscd/nscd.h (struct traced_file): Define.
45515 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45516 elements. Add traced_files.
45517 (inotify_fd): Declare.
45518 (register_traced_file): Declare.
45519 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45520 (inotify_fd): Export.
45521 (resolv_conf_descr): Remove.
45522 (nscd_init): Move inotify descriptor creation to main.
45523 Don't register files for notification here.
45524 (register_traced_file): New function.
45525 (invalidate_cache): Don't use reset_res to determine whether to call
45526 res_init, go through the list of registered files.
45527 (main_loop_poll): The inotify descriptors are now stored in the
45528 structures for the traced files.
45529 (main_loop_epoll): Likewise
45530 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45531 to __nss_disable_nscd.
45532 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45533 for a database anymore. Check the records for all the registered
45534 files instead.
45535 * nss/Makefile (libnss_files-routines): Add files-init.
45536 (libnss_db-routines): Add db-init.
45537 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45538 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45539 * nss/nss_db/db-init.c: New file.
45540 * nss/nss_files/files-init.c: New file.
45541 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45542 __nss_lookup_function.
45543 (__nss_lookup_function): Call nss_load_library.
45544 (nss_load_all_libraries): New function.
45545 (__nss_disable_nscd): Take parameter with callback function for files
45546 to register. Set is_nscd. Load all the DSOs for the NSS modules
45547 used for the cached services.
45548 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45549 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45550 options for features to all the files in nscd.
45551
45552 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45553
23bee3e8
RM
455542011-07-10 Roland McGrath <roland@hack.frob.com>
45555
45556 * csu/elf-init.c (__libc_csu_init): Comment typo.
45557
46a5b7f0
UD
455582011-07-09 Ulrich Drepper <drepper@gmail.com>
45559
45560 * po/pl.po: Update from translation team.
45561 * po/ja.po: Likewise.
45562 * po/ru.po: Likewise.
45563 * po/ko.po: Likewise.
45564 * po/fr.po: Likewise.
45565
d30cf5bb
RM
455662011-07-09 Roland McGrath <roland@hack.frob.com>
45567
113ddea4
RM
45568 * configure.in (.ctors/.dtors header and trailer check):
45569 Use an empirical test on a built program.
45570 * configure: Regenerated.
45571
574920b4
RM
45572 * configure.in (-z relro check): Use an empirical test on a built DSO.
45573 Detect, but do not require, on ia64.
45574 * configure: Regenerated.
45575
d30cf5bb
RM
45576 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45577 Update tests that use readelf to use $READELF instead.
45578 * configure: Regenerated.
45579
8538fdb3
UD
455802011-07-08 Ulrich Drepper <drepper@gmail.com>
45581
45582 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45583 if the result is not used.
45584
04d08991
AJ
455852011-07-05 Andreas Jaeger <aj@suse.de>
45586
45587 [BZ#9696]
45588 * stdlib/tst-strtod.c: Add testcase.
45589
de283087
AD
455902011-07-07 Ulrich Drepper <drepper@gmail.com>
45591
4e5f31c8 45592 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45593 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45594 The latter has a higher limit. Take additional parameter to pass to
45595 the new function.
45596 (__pathconf): Pass file to __statfs_link_max.
45597 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45598 __statfs_link_max.
45599 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45600 __statfs_link_max.
45601
de283087
AD
45602 [BZ #12868]
45603 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45604 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45605 Handle Lustre.
45606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45607 (__statfs_filesize_max): Likewise.
45608 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45609
c75fa153
AJ
456102011-07-05 Andreas Jaeger <aj@suse.de>
45611
45612 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45613
1a544854
UD
456142011-07-06 Marek Polacek <mpolacek@redhat.com>
45615
45616 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45617 `status' variable.
45618 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45619 Likewise.
45620
6f0eec67
UD
456212011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45622
45623 * Makefile (strop-tests): Add strncat.
45624 * string/test-strncat.c: New file.
45625
aae30307
UD
456262011-06-30 Marek Polacek <mpolacek@redhat.com>
45627
45628 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45629
c0cfb5eb
UD
456302011-06-21 Andreas Jaeger <aj@suse.de>
45631
45632 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45633 Copy rule from iconvdata/Makefile.
45634
01636b21
UD
456352011-07-06 Ulrich Drepper <drepper@gmail.com>
45636
45637 [BZ #12922]
45638 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45639 but no long options are defined, just return 'W'.
45640
9895c8bc
UD
456412011-06-22 Marek Polacek <mpolacek@redhat.com>
45642
45643 [BZ #9696]
45644 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45645
5d4cf042
UD
456462011-07-06 Ulrich Drepper <drepper@gmail.com>
45647
45648 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45649 netgroups to read.
960e5535 45650 (innetgr): Likewise.
5d4cf042 45651
751eb97e
RM
456522011-07-05 Roland McGrath <roland@hack.frob.com>
45653
45654 * config.make.in (install_root): Default to $(DESTDIR).
45655
f15f1e45
UD
456562011-07-05 Ulrich Drepper <drepper@gmail.com>
45657
45658 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45659
4e34ac6a
RM
456602011-07-02 Roland McGrath <roland@hack.frob.com>
45661
5e9b6af4
RM
45662 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45663
84f9ea0f
RM
45664 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45665 containing directory rather than embedding absolute directory names.
45666
ea5ee9f7
RM
45667 * scripts/check-local-headers.sh: Rewritten using awk.
45668 Match by word, not by line. Print error messages for matches.
45669 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45670
1b74661a
RM
45671 * Makerules [shlib-lds-flags empty]:
45672 ($(common-objpfx)libc_pic.opts): New target.
45673 ($(common-objpfx)libc_pic.os.clean): New target.
45674 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45675
45676 * config.make.in (OBJCOPY): New variable.
45677 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45678 * configure: Regenerated.
45679
f781ef40
RM
45680 * config.make.in (use-default-link): New variable.
45681 * configure.in (use_default_link): Grok --with-default-link to set it.
45682 * configure: Regenerated.
45683 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45684 (shlib-lds, shlib-lds-flags): Define to empty.
45685
2d4fa81e
RM
45686 * Makerules (shlib-lds): New variable.
45687 (shlib-lds-flags): New variable.
45688 (build-shlib, build-moduile, build-module-asneeded): Use it.
45689 ($(common-objpfx)libc.so): Use $(shlib-lds).
45690 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45691 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45692
31fffa6b
RM
45693 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45694 DT_FLAGS/DT_FLAGS_1 with zero flags.
45695
4e34ac6a
RM
45696 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45697 linker script munging.
45698
fcfc776b
UD
456992011-07-02 Ulrich Drepper <drepper@gmail.com>
45700
45701 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45702 as 128-bit value.
45703 * crypt/sha512.c (sha512_process_block): Perform total addition using
45704 128-bit if possible.
45705 (__sha512_finish_ctx): Likewise.
45706 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45707 as 64-bit value.
45708 * crypt/sha256.c (SWAP64): Define.
45709 (sha256_process_block): Perform total addition using 64-bit if
45710 possible.
45711 (__sha256_finish_ctx): Likewise.
45712
99231d9a
UD
457132011-07-01 Ulrich Drepper <drepper@gmail.com>
45714
45715 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45717 * nscd/hstcache.c (cache_addhst): Likewise.
45718 * nscd/grpcache.c (cache_addgr): Likewise.
45719 * nscd/aicache.c (addhstaiX): Likewise
45720 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45721
445b4a53
TK
457222011-07-01 Thorsten Kukuk <kukuk@suse.de>
45723
45724 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45725 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45726 * nscd/hstcache.c (cache_addhst): Likewise.
45727 * nscd/grpcache.c (cache_addgr): Likewise.
45728 * nscd/aicache.c (addhstaiX): Likewise
45729
6d4d8e8e
AS
457302011-07-01 Andreas Schwab <schwab@redhat.com>
45731
45732 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45733 domain only when needed.
45734
89f654c5
AS
457352011-06-30 Andreas Schwab <schwab@redhat.com>
45736
45737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45738 is always restored.
45739
cf3b23ff
UD
457402011-06-29 Ulrich Drepper <drepper@gmail.com>
45741
45742 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45743 are re-adding the entry.
45744 * nscd/servicescache.c (cache_addserv): Likewise.
45745
751626f9
AJ
457462011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45747
45748 * sysdeps/generic/dl-irel.h: fix protection against multiple
45749 inclusions.
45750 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45751
9113ea1f
UD
457522011-06-28 Ulrich Drepper <drepper@gmail.com>
45753
5c0b8d90
UD
45754 [BZ #12935]
45755 * malloc/memusage.sh: Fix quoting in message.
45756 * debug/xtrace.sh: Likewise.
45757
9113ea1f
UD
45758 * configure.in: Remove support for --experimental-malloc option, make
45759 it the default.
45760 * config.make.in: Likewise.
45761 * malloc/Makefile: Likewise.
45762
a4172181
AS
457632011-06-27 Andreas Schwab <schwab@redhat.com>
45764
45765 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45766 two-byte characters.
45767
78a7eee7
RM
457682011-06-27 Roland McGrath <roland@hack.frob.com>
45769
62bede13
RM
45770 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45771 AC_CACHE_CHECK invocation.
45772 * configure: Regenerated.
45773
78a7eee7
RM
45774 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45775
5ce33a62
UD
457762011-06-27 Ulrich Drepper <drepper@gmail.com>
45777
034807a9
UD
45778 [BZ #12350]
45779 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45780 bit from old_res_options.
45781
4902da17
UD
45782 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45783
5ce33a62
UD
45784 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45785 value type for setfct.
45786
c2344f56
L
457872011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45788
45789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45790 __gettimeofday instead of gettimeofday.
45791
68468076
UD
457922011-06-26 Ulrich Drepper <drepper@gmail.com>
45793
45794 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45795
acb0d739
L
457962011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45797
45798 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45799
45800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45801 info.
45802
8912479f
L
458032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45804
45805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45806 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45807 strcpy-sse2-unaligned strncpy-sse2-unaligned
45808 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45809 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45810 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45811 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45812 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45813 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45814 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45815 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45816 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45817 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45818 (STRCPY): Support SSE2 and SSSE3 versions.
45819
d5495a11
UD
458202011-06-24 Ulrich Drepper <drepper@gmail.com>
45821
45822 [BZ #12874]
45823 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45824 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45825 kernels which artificially limit size of requests.
45826
0b1cbaae
L
458272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45828
45829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45830 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45831 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45832 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45833 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45834 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45835 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45836 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45837 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45838 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45839 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45840 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45841 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45842 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45843 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45845 Enable unaligned load optimization for Intel Core i3, i5 and i7
45846 processors.
45847 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45848 Define.
45849 (index_Fast_Unaligned_Load): Define.
45850 (HAS_FAST_UNALIGNED_LOAD): Define.
45851
07f494a0
MP
458522011-06-23 Marek Polacek <mpolacek@redhat.com>
45853
45854 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45855
fa3fc0fe
UD
458562011-06-22 Ulrich Drepper <drepper@gmail.com>
45857
45858 [BZ #12907]
45859 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45860 until it is clear that the information is realy needed.
45861 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45862
e12df166
AS
458632011-06-22 Andreas Schwab <schwab@redhat.com>
45864
45865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45866
852eb34d
UD
458672011-06-22 Ulrich Drepper <drepper@gmail.com>
45868
84e2a551
UD
45869 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45870 /sys/devices/system/cpu/online if it is usable.
45871
852eb34d
UD
45872 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45873 reading the information from the /proc filesystem to once a second.
45874
6e502e19
UD
458752011-06-21 Andreas Jaeger <aj@suse.de>
45876
45877 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45878 NULL after inclusion of kernel headers.
45879
75d39ff2
UD
458802011-06-21 Ulrich Drepper <drepper@gmail.com>
45881
51f9aa6a
UD
45882 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45883 calls to internal_setent.
45884
c0244a9d
UD
45885 [BZ #12885]
45886 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45887 addresses using gethostbyname4_r ignore IPv4 addresses.
45888
c5e3c2ae
UD
45889 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45890 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45891
75d39ff2
UD
45892 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45893
42675c6f
DM
458942011-06-20 David S. Miller <davem@davemloft.net>
45895
45896 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45897 inclusions.
45898 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45899
45900 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45901 (elf_irel): Use it.
45902 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45903 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45904 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45905 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45906 * sysdeps/x86_64/dl-irel.h: Likewise.
45907
45908 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45909 * elf/dl-sym.c: Likewise.
45910
57912a71
UD
459112011-06-15 Ulrich Drepper <drepper@gmail.com>
45912
45913 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45914 need to dereference resplen2.
45915
ee22793d
AS
459162011-06-14 Andreas Schwab <schwab@redhat.com>
45917
45918 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45919
a9e836b0
UD
459202011-06-15 Ulrich Drepper <drepper@gmail.com>
45921
77fb9117
UD
45922 * Makeconfig: Define vardbdir and inst_vardbdir.
45923 * nss/Makefile: Add rules to install db-Makefile.
45924
40c1b22c
UD
45925 * nss/nss_db/db-XXX.c: Cleanup.
45926
9f2da732
UD
45927 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45928 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45929 GLIBC_PRIVATE.
45930 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45931 * nss/makedb.c: Implement -g option to specify that value strings
45932 are generated and should not be added to table iterated over for
45933 get*ent calls.
45934 * nss/nss_db/db-initgroups.c: New file.
45935
82e9a1f7
UD
45936 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45937 interface.
45938
c41af17e
UD
45939 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45940 (internal_getgrouplist): Adjust to name change.
45941 Update use_initgroups_entry if this is not the first call.
45942 * nss/databases.def: Add initgroups entry.
45943
a9e836b0
UD
45944 * nss/makedb.c (compute_tables): Check result of multiple hash table
45945 sizes to minimize maximum chain length.
45946
2666d441
UD
459472011-06-14 Ulrich Drepper <drepper@gmail.com>
45948
45949 * Versions.def: Add entry for libnss_db.
45950 * shlib-versions: Likewise.
45951 * nss/Makefile: Add rules to build libnss_db.
45952 * nss/Versions: Add libnss_db information. Organize libnss_files
45953 entries better.
45954 * nss/db-Makefile: Add gshadow support. Change rules for the new
45955 makedb progra. Some minor improvements to generate smaller files.
45956 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45957 here from...
45958 * nss/makedb.c: ...here.
45959 Improve database format to be smaller and require less memory at
45960 runtime.
45961 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45962 db anymore.
45963 * nss/nss_db/db-netgrp.c: Likewise.
45964 * nss/nss_db/db-open.c: Likewise.
45965 * nss/nss_files/flies-XXX.x: Adjust comments.
45966 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45967 * nss/nss_files/files-grp.c: Likewise.
45968 * nss/nss_files/files-hosts.c: Likewise.
45969 * nss/nss_files/files-network.c: Likewise.
45970 * nss/nss_files/files-proto.c: Likewise.
45971 * nss/nss_files/files-pwd.c: Likewise.
45972 * nss/nss_files/files-rpc.c: Likewise.
45973 * nss/nss_files/files-service.c: Likewise.
45974 * nss/nss_files/files-sgrp.c: Likewise.
45975 * nss/nss_files/files-spwd.c: Likewise.
45976 * nss/nss_db/db-alias.c: Removed.
45977 * nss/nss_db/dummy-db.h: Removed.
45978
9ee76b5a
UD
459792011-06-02 Ulrich Drepper <drepper@gmail.com>
45980
45981 * nss/makedb.c: Rewritten to not use database library.
45982 * nss/Makefile: Update to build new makedb program.
45983
c71ca1f8
AJ
459842011-06-14 Andreas Jaeger <aj@suse.de>
45985
45986 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45987 memset declaration.
45988
3154bfb8
UD
459892011-06-10 Andreas Schwab <schwab@redhat.com>
45990
45991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45992 tmpbuf.
45993
b350afab
RM
459942011-06-10 Roland McGrath <roland@hack.frob.com>
45995
decd4e50
RM
45996 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45997 * elf/Makefile ($(objpfx)ld.so): Likewise.
45998
5615eaf2
RM
45999 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46000 Don't list ld.so twice in dependencies.
46001
46002 * posix/bug-regex31.c: Include <stdlib.h>.
46003
46004 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46005
46006 * nis/nss_compat/compat-spwd.c
46007 (getspent_next_nss_netgr): Remove unused variable.
46008 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46009
46010 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46011 nonmembers" output to use the right array.
46012
46013 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46014
46015 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46016
46017 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46018 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46019 * catgets/gencat.c (read_input_file): Likewise.
46020 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46021
46022 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46023 variable definition inside #if's controlling its use.
46024
46025 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46026
46027 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46028
46029 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46030
46031 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46032 unreachable code.
46033
46034 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46035
b68e08db
RM
46036 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46037 * configure: Regenerated.
46038
b350afab
RM
46039 * Makerules: Revert last change.
46040 * elf/Makefile: Likewise.
46041
28368601
RM
460422011-06-09 Roland McGrath <roland@hack.frob.com>
46043
46044 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46045 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46046 (reloc-link): Likewise.
46047
11988f8f
UD
460482011-06-09 Ulrich Drepper <drepper@gmail.com>
46049
46050 * elf/Makefile: Add rules to build pldd.
46051 * elf/pldd.c: New file.
46052 * elf/pldd-xx.c: New file.
46053
e80fab37
UD
460542011-06-07 Ulrich Drepper <drepper@gmail.com>
46055
46056 * version.h: Update for 2.15 development version.
46057
9b849836
DM
460582011-06-07 David S. Miller <davem@davemloft.net>
46059
46060 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46061 ifuncs.
46062 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46063 elf_machine_lazy_rel): Likewise.
46064 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46066 elf_machine_lazy_rel): Likewise.
46067 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46068 dl_hwcap via passed in argument.
46069 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46070 Likewise.
46071
5a31b283
AK
460722011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46073
46074 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46075
069e52f8
RM
460762011-06-06 Roland McGrath <roland@hack.frob.com>
46077
46078 [BZ #12849]
46079 * manual/fdl-1.1.texi: New file, verbatim from:
46080 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46081 * manual/lgpl-2.1.texi: New file, verbatim from:
46082 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46083 * manual/Makefile (licenses): New variable, list those new file names.
46084 (texis): Use it.
46085 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46086
46087 * manual/fdl.texi: File removed.
46088 * manual/lesser.texi: File removed.
46089 * manual/libc.texinfo (Copying, Documentation License):
46090 Use new @include file names, put @appendix directive before @include.
46091
f16846a5
JJ
460922011-06-04 Jakub Jelinek <jakub@redhat.com>
46093
46094 [BZ #12841]
46095 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46096 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46097 (mq_open): Add __NTH.
46098
3d29045b
L
460992011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46100
46101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46102 Assume Intel Core i3/i5/i7 processor if AVX is available.
46103
8c297311
UD
461042011-05-31 Ulrich Drepper <drepper@gmail.com>
46105
46106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46107 typo.
46108
c8fc0c91
UD
461092011-05-31 Andreas Schwab <schwab@redhat.com>
46110
46111 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46112 memory. Use alloca_account. Fix memory leak when retrying.
46113
5b27a807
UD
461142011-05-31 Ulrich Drepper <drepper@gmail.com>
46115
356f8bc6
UD
46116 * version.h (RELEASE): Bump for 2.14 release.
46117 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46118
5b27a807
UD
46119 * config.make.in (RANLIB): Remove entry.
46120
01f16ab0
UD
461212011-05-30 Ulrich Drepper <drepper@gmail.com>
46122
41fce8bd
UD
46123 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46124 (libc.pot): Work around missing support for .ksh extension in xgettext.
46125
4769ae77
UD
46126 [BZ #12684]
46127 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46128 if both request failed.
46129 (send_dg): In case of server errors clear resplen or *resplen2.
46130
6b1e7d19
UD
46131 [BZ #12454]
46132 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46133 when there are multiple maps.
46134 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46135 (_dl_fini): Remove test here.
46136
01f16ab0
UD
46137 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46138
b1ebd700
UD
461392011-05-29 Ulrich Drepper <drepper@gmail.com>
46140
7ae22829
UD
46141 [BZ #12350]
46142 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46143 bit from old_res_options.
46144 (gaih_inet): Likewise.
46145
553149f6 46146 [BZ #11099]
18a84741 46147 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46148 as signed.
46149
652ffab1
UD
46150 * resolv/res_init.c (res_setoptions): Make the code more compact.
46151
16985fd0
UD
46152 [BZ #11558]
46153 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46154 set RES_USEVC.
46155
0464f746
UD
46156 [BZ #11634]
46157 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46158
7d17596c
UD
46159 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46160
cf6bbbd7
UD
46161 [BZ #11781]
46162 * malloc/malloc.h: Declare malloc hook variables as volatile.
46163
13f1ab36
UD
46164 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46165 in last patch.
46166
b1ebd700
UD
46167 [BZ #11799]
46168 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46169 raise in the comment.
80e2212d
UD
46170 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46171 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46172 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46173
ce67228d
UD
461742011-05-28 Ulrich Drepper <drepper@gmail.com>
46175
8887a920
UD
46176 [BZ #12811]
46177 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46178 grow the buffers more if it already has to be sufficient.
46179 (build_wcs_upper_buffer): Likewise.
46180 * posix/regexec.c (check_matching): Likewise.
46181 (clean_state_log_if_needed): Likewise.
46182 (extend_buffers): Don't enlarge buffers beyond size of the input
46183 buffer.
46184 Patches mostly by Emil Wojak <emil@wojak.eu>.
46185 * posix/bug-regex32.c: New file.
46186 * posix/Makefile (tests): Add bug-regex32.
46187
4f031072
UD
46188 * locale/findlocale.c (_nl_find_locale): Return right away if
46189 _nl_explode_name failed.
46190 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46191
d0478f0c
UD
46192 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46193
de81b246
UD
46194 * debug/xtrace.sh: Unify messages.
46195 * malloc/memusage.sh: Likewise.
46196
c738465a
UD
46197 [BZ #12813]
46198 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46199 time symbol from vDSO. Substitute with vsyscall if not available.
46200 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46201 __vdso_time.
46202
f1f929d7
UD
46203 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46204 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46205 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46206 Add sendmmsg and internal_sendmmsg.
46207 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46208 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46209 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46210
ce67228d
UD
46211 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46212 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46213 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46214
e57420c6
UD
462152011-05-27 Ulrich Drepper <drepper@gmail.com>
46216
a8509ca5
UD
46217 [BZ #12813]
46218 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46219 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46220 available.
46221 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46222 __vdso_getcpu.
46223
e57420c6
UD
46224 [BZ #12814]
46225 * iconvdata/Makefile (tests): Add bug-iconv9.
46226 * iconvdata/bug-iconv9.c: New file.
46227
4d07db15
AS
462282011-05-27 Andreas Schwab <schwab@redhat.com>
46229
46230 [BZ #12814]
46231 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46232
ea486f69
JJ
462332011-05-25 Jakub Jelinek <jakub@redhat.com>
46234
46235 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46236 (struct user_regs_struct): Change intcs field back to cs.
46237
6f038433
UD
462382011-05-25 Ulrich Drepper <drepper@gmail.com>
46239
46240 * po/ja.po: Update from translation team.
46241
67f86a25
UD
462422011-05-23 Ulrich Drepper <drepper@gmail.com>
46243
46244 [BZ #12795]
46245 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46246 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46247
def7fbd6
AS
462482011-05-20 Andreas Schwab <schwab@redhat.com>
46249
46250 * stdlib/longlong.h: Update from GCC.
46251
f50ef8f1
AS
462522011-05-23 Andreas Schwab <schwab@redhat.com>
46253
46254 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46255 parameter name.
46256 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46257 Add parameter name.
46258 (__sysconf): Pass it down.
46259
de7ce8f1
UD
462602011-05-22 Ulrich Drepper <drepper@gmail.com>
46261
f2962a71
UD
46262 [BZ #12671]
46263 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46264 some situations.
46265 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46266 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46267 add in in __libc_use_alloca calls. Adjust callers.
46268 (glob): Use malloc in some situations.
46269
de7ce8f1
UD
46270 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46271 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46272 pltexit.
46273
aec84f53
UD
462742011-05-21 Ulrich Drepper <drepper@gmail.com>
46275
05bb4a68
UD
46276 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46277 and CLOCK_BOOTTIME_ALARM.
46278
7ea72f99
UD
46279 [BZ #12782]
46280 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46281 is returned.
46282
7e4afad5
UD
46283 * string/_strerror.c (__strerror_r): Print negative errors as signed
46284 numbers.
46285
8e211fec
UD
46286 [BZ #12777]
46287 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46288 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46289 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46290
f7d82dc9
UD
46291 * configure.in: Fix typo in redirection and correct removal of test
46292 files in two cases.
46293
cc9e536d
UD
46294 [BZ #12788]
46295 * locale/setlocale.c (new_composite_name): Fix test to check for
46296 identical name of all categories.
46297
aec84f53
UD
46298 [BZ #12792]
46299 * libio/filedoalloc.c (local_isatty): New function.
46300 (_IO_file_doallocate): Use local_isatty.
46301 * stdio-common/perror.c (perror): In case a new stream is used
46302 forward the stream error.
46303 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46304 error flag.
46305
78e64fdc
RT
463062011-05-20 Ulrich Drepper <drepper@gmail.com>
46307
34a9094f
UD
46308 [BZ #11869]
46309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46310 alloca.
46311 * include/alloca.h (extend_alloca_account): Define.
46312
78e64fdc
RT
46313 [BZ #11857]
46314 * posix/regex.h: Fix comments with documentation of user-accessible
46315 fields after compilation and describe correct free'ing of pattern
46316 after re_compile_pattern.
46317 Patch by Reuben Thomas <rrt@sc3d.org>.
46318
457bddfc
RA
463192011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46320
46321 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46322 and -mno-altivec to prevent the compiler from using Altivec and/or
46323 VSX instructions when the corresponding registers are not available.
46324
a4527b51
AS
463252011-05-19 Andreas Schwab <schwab@redhat.com>
46326
46327 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46328
ed690b2f
UD
463292011-05-19 Ulrich Drepper <drepper@gmail.com>
46330
46331 * libio/freopen.c (freopen): Use __dup2, not dup2.
46332 * libio/freopen64.c (freopen64): Likewise.
46333
8db73634
L
463342011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46335
46336 [BZ #12775]
46337 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46338 * math/Makefile (tests): Add test-powl.
46339 (CFLAGS-test-powl.c): Define.
46340 * math/test-powl.c: New file.
46341
0a197a9d
L
463422011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46343
46344 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46345
ee30c380
UD
463462011-05-17 Ulrich Drepper <drepper@gmail.com>
46347
46348 [BZ #11837]
46349 * iconvdata/gb18030.c: Update to GB18020-2005.
46350
6ce75379
UD
463512011-05-16 Ulrich Drepper <drepper@gmail.com>
46352
a4b89fd8
AR
46353 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46354 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46355 Patch by Aharon Robbins <arnold@skeeve.com>.
46356
ea389b12
UD
46357 [BZ #11892]
46358 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46359 on the stack.
46360
68a3f91f
UD
46361 [BZ #11895]
46362 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46363 through underflows.
46364
15cc7dd1
UD
46365 [BZ #12766]
46366 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46367 point to strings before performing equality test for error_one_per_line
46368 mode.
46369
f3799213
UD
46370 [BZ #11697]
46371 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46372
d79a9c94
UD
46373 [BZ #11820]
46374 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46375 (struct user_fpregs_struct): Avoid __uint*_t types.
46376
56e5eb46
UD
46377 [BZ #6420]
46378 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46379 symbol info. Use it instead of calling _dl_addr locally.
46380 (lock_and_info): New function.
46381 (tr_freehook): Call lock_and_info and pass symbol info as additional
46382 parameter to tr_where.
46383 (tr_mallochook): Likewise.
46384 (tr_reallochook): Likewise.
46385 (tr_memalignhook): Likewise.
46386
6ce75379
UD
46387 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46388 used and couldn't be at all thread-safe.
46389
f8a3b5bf
UD
463902011-05-15 Ulrich Drepper <drepper@gmail.com>
46391
94b7cc37
UD
46392 * libio/freopen.c (freopen): Don't close old file descriptor
46393 before the new one is opened. Instead dup the new file descriptor
46394 to the old one after the new stream is created.
46395 * libio/freopen64.c (freopen64): Likewise.
46396 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46397 * libio/fileops.c (_IO_new_file_close_it): Handle new
46398 _IO_FLAGS2_NOCLOSE flag.
46399 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46400 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46401 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46402 _IO_FLAGS2_NOCLOSE flag.
46403 * include/unistd.h: Add hidden_proto for dup3.
46404 Define __have_dup3.
46405 * io/dup3.c: Define hidden symbol.
46406 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46407
bd25564e
UD
46408 [BZ #7101]
46409 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46410 when an incomplete long option is used.
46411 * posix/tst-getopt_long1.c: New file.
46412 * posix/Makefile (tests): Add tst-getopt_long1.
46413
c84cfef4
UD
46414 [BZ #10138]
46415 * scripts/config.guess: Update from autoconf-2.68.
46416 * scripts/config.sub: Likewise.
46417
3b85df27
UD
46418 [BZ #10157]
46419 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46420 tests into ...
46421 (has_cpuclock): ...this. New function.
46422 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46423 macro here based on has_cpuclock code.
46424
15a856b1
UD
46425 [BZ #10149]
46426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46427 First byte (not low byte) is now always NUL.
46428 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46429
05f399e6
UD
46430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46431 Use non-cancelable interfaces.
46432
10a52685 46433 [BZ #9809]
94ecc67d
UD
46434 * locale/iso-639.def: Add entry for Sorani.
46435
f8a3b5bf
UD
46436 [BZ #11901]
46437 * include/stdlib.h: Move include protection to the right place.
46438 Define abort_msg_s. Declare __abort_msg with it.
46439 * stdlib/abort.c (__abort_msg): Adjust type.
46440 * assert/assert.c (__assert_fail_base): New function. Majority
46441 of code from __assert_fail. Allocate memory for __abort_msg with
46442 mmap.
46443 (__assert_fail): Now call __assert_fail_base.
46444 * assert/assert-perr.c: Remove bulk of implementation. Use
46445 __assert_fail_base.
46446 * include/assert.hL Declare __assert_fail_base.
46447 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46448 mmap.
46449 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46450
1af4e298
UD
464512011-05-14 Ulrich Drepper <drepper@gmail.com>
46452
f8a3b5bf 46453 [BZ #11952]
d26dfc60
MG
46454 [BZ #12453]
46455 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46456 until all modules are registered in the DTV.
46457 * elf/Makefile: Add rules to build and run tst-tls19.
46458 * elf/tst-tls19.c: New file.
46459 * elf/tst-tls19mod1.c: New file.
46460 * elf/tst-tls19mod2.c: New file.
46461 * elf/tst-tls19mod3.c: New file.
46462 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46463
2fc54d6f
UD
46464 [BZ #12083]
46465 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46466 correctly.
46467
98d76b46
UD
46468 [BZ #12601]
46469 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46470 two-byte sequence errors.
46471 * iconvdata/Makefile (tests): Add bug-iconv8.
46472 * iconvdata/bug-iconv8.c: New file.
46473
da3c19ef
UD
46474 [BZ #12626]
46475 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46476 buf2 definition.
46477
ca408c15
UD
46478 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46479
d6f67f7d
UD
46480 [BZ #12432]
46481 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46482 (dummy_getcfa): New function.
46483 (init): Get _Unwind_GetCFA address, use dummy if not found.
46484 (backtrace_helper): In recursion check, also check whether CFA changes.
46485 (__backtrace): Completely initialize arg.
46486
1af4e298 46487 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46488 storing incomplete byte sequence in state object. Avoid testing for
46489 guaranteed too small input if we know there is enough data available.
1af4e298 46490
da62f81b
AS
464912011-05-11 Andreas Schwab <schwab@redhat.com>
46492
46493 * Makeconfig (+link-pie): Indent.
46494 * Rules (binaries-pie): Define if $(have-fpie) and
46495 $(build-shared).
46496 (binaries-shared): Also filter out $(binaries-pie).
46497 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46498 * nscd/Makefile (others-pie): Add nscd.
46499 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46500 ($(objpfx)nscd): Remove command override.
46501 * login/Makefile (others-pie): Add pt_chown.
46502 ($(objpfx)pt_chown): Remove command override.
46503 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46504 remove command overrides.
46505
fcabc0f8
UD
465062011-05-13 Ulrich Drepper <drepper@gmail.com>
46507
20030ae6
UD
46508 * libio/tst_putwc.c: Fix error messages.
46509
fcabc0f8
UD
46510 [BZ #12724]
46511 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46512 currently writing and seek to current position when not.
46513 * libio/Makefile (tests): Add bug-fclose1.
46514 * libio/bug-fclose1.c: New file.
46515
320a5dc0
PB
465162011-05-12 Ulrich Drepper <drepper@gmail.com>
46517
46518 [BZ #12511]
46519 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46520 don't set DF_1_NODELETE here.
46521 (do_lookup_x): When entering new entry test for copy relocation
46522 and if necessary set DF_1_NODELETE flag.
46523 * elf/tst-unique4.cc: New file.
46524 * elf/tst-unique4.h: New file.
46525 * elf/tst-unique4lib.cc: New file.
46526 * elf/Makefile: Add rules to build and run tst-unique4.
46527 Patch by Piotr Bury <pbury@goahead.com>.
46528
22836f52
UD
465292011-05-11 Ulrich Drepper <drepper@gmail.com>
46530
f574184a
UD
46531 [BZ #12052]
46532 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46533
e1fb097f
UD
46534 [BZ #12625]
46535 * misc/mntent_r.c (addmntent): Flush the stream after the output
46536
22836f52
UD
46537 [BZ #12393]
46538 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46539 (is_trusted_path_normalize): Skip initial colon. Append slash
46540 to empty buffer. Duplicate is_trusted_path code but allow
46541 constructed patch to be prefix.
46542 (is_dst): Allow $ORIGIN followed by /.
46543 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46544 Correct testing of result of is_trusted_path_normalize
46545 (decompose_rpath): Fix warning.
46546
7b3b0b2a
UD
465472011-05-10 Ulrich Drepper <drepper@gmail.com>
46548
46549 [BZ #11257]
46550 * grp/initgroups.c (internal_getgrouplist): When we found the service
46551 list through the initgroups entry in nsswitch.conf do not always
46552 continue on a successful lookup. Don't always use the
eac80ce2 46553 __nss_group_database value if it is set.
7b3b0b2a
UD
46554 * nss/nsswitch.conf (initgroups): Change action for successful db
46555 lookup to continue for compatibility.
46556
2a81eaa5
UD
465572011-05-09 Ulrich Drepper <drepper@gmail.com>
46558
be97a69e
UD
46559 [BZ #11532]
46560 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46561 and CP774 modules.
46562 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46563 and CP774 modules.
46564 * iconvdata/tst-tables.sh: Likewise.
46565 * iconvdata/cp770.c: New file.
46566 * iconvdata/cp771.c: New file.
46567 * iconvdata/cp772.c: New file.
46568 * iconvdata/cp773.c: New file.
46569 * iconvdata/cp774.c: New file.
46570 * iconvdata/testdata/CP770: New file.
46571 * iconvdata/testdata/CP770..UTF8: New file.
46572 * iconvdata/testdata/CP771: New file.
46573 * iconvdata/testdata/CP771..UTF8: New file.
46574 * iconvdata/testdata/CP772: New file.
46575 * iconvdata/testdata/CP772..UTF8: New file.
46576 * iconvdata/testdata/CP773: New file.
46577 * iconvdata/testdata/CP773..UTF8: New file.
46578 * iconvdata/testdata/CP774: New file.
46579 * iconvdata/testdata/CP774..UTF8: New file.
46580
46581 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46582 END CHARMAP line.
46583 * iconvdata/gen-8bit-gap.sh: Likewise.
46584 * iconvdata/gen-8bit.sh: Likewise.
46585
c1e9e399
UD
46586 * locale/iso-639.def: Add ary entry.
46587
24c55fb3 46588 [BZ #11258]
96b4b1b0
UD
46589 * locale/C-translit.h.in: Add U20A1 transliteration.
46590
bdc2f971
KB
46591 [BZ #12178]
46592 * locale/iso-639.def: Add wae entry.
46593 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46594
2952b117
UD
46595 [BZ #12545]
46596 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46597 for n.
46598
2a81eaa5
UD
46599 [BZ #12711]
46600 * locale/C-translit.h.in: Add entry for U20B9.
46601 Patch by pravin.d.s@gmail.com.
46602
28377d1b
UD
466032011-05-08 Ulrich Drepper <drepper@gmail.com>
46604
7fb90fb8
UD
46605 [BZ #12713]
46606 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46607 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46608 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46609 in rtld. Use *stat64.
7fb90fb8 46610 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46611 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46612 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46613 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46614 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46615 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46616 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46617 __fstatat64 macros.
7fb90fb8
UD
46618 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46619 * dirent/rewinddir.c: Add libc_hidden_def.
46620 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46621 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46622
28377d1b
UD
46623 * include/dirent.h (__alloc_dir): Add flags parameter.
46624 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46625 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46626 __alloc_dir.
46627 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46628 from fdopendir if O_CLOEXEC is already set.
46629
66bdbaa4
AM
466302011-03-15 Alan Modra <amodra@gmail.com>
46631
46632 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46633 l_tls_firstbyte_offset non-zero. Save padding offset in
46634 l_tls_firstbyte_offset for later use.
46635 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46636 freeing static tls block.
46637
95721191
JN
466382011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46639
46640 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46641 where #ifdef was intended. The intent is to prevent ARG_MAX from
46642 being defined by the kernel headers.
46643
f87dfb1f
UD
466442011-05-07 Ulrich Drepper <drepper@gmail.com>
46645
46646 [BZ #12734]
46647 * resolv/resolv.h: Define RES_NOTLDQUERY.
46648 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46649 no-tld-query and set RES_NOTLDQUERY.
46650 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46651 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46652 modern BIND to search name as TLD unless forbidden.
46653
47c3cd7a
UD
466542011-05-07 Petr Baudis <pasky@suse.cz>
46655 Ulrich Drepper <drepper@gmail.com>
46656
46657 [BZ #12393]
46658 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46659 (is_trusted_path): ...to here.
c1e9ea35 46660 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46661 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46662 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46663
8a35c912
PP
466642011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46665
46666 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46667 __BEGIN/__END_DECLS.
46668
acd41f47
UD
466692011-05-06 Ulrich Drepper <drepper@gmail.com>
46670
46671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46672 NSS_STATUS_NOTFOUND if no record was found.
46673
597df647
AS
466742011-05-05 Andreas Schwab <schwab@redhat.com>
46675
46676 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46677 (headers-not-in-tirpc): Remove rpc/netdb.h
46678 * resolv/netdb.h: Revert last change.
46679
b9af1301
PP
466802011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46681
46682 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46683 circular dependency between libgcc.a and libc.a.
46684
4e34d5f5
AS
466852011-05-05 Andreas Schwab <schwab@redhat.com>
46686
46687 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46688 * nis/Makefile: Don't install rpcsvc/*.
46689 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46690 instead of <rpc/types.h>.
46691 (MAXHOSTNAMELEN): Define.
46692
00ee369c
AS
466932011-05-03 Andreas Schwab <schwab@redhat.com>
46694
46695 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46696
0b592a30
MB
466972011-04-28 Maciej Babinski <mbabinski@google.com>
46698
46699 [BZ #12714]
46700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46701 gethostbyname4_r when IPv6 results are possible.
46702
6e04cbbe
UD
467032011-05-02 Ulrich Drepper <drepper@gmail.com>
46704
46705 [BZ #12723]
46706 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46707 _PC_PIPE_BUF handling.
46708
e4ecafe0
BH
467092011-04-30 Bruno Haible <bruno@clisp.org>
46710
46711 [BZ #12717]
46712 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46713 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46714 to 'int'.
46715 * inet/getnameinfo.c (getnameinfo): Likewise.
46716
125ee683
UD
467172011-04-29 Ulrich Drepper <drepper@gmail.com>
46718
46719 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46720 to groups setting in database lookup.
46721 * nss/nsswitch.conf: Add initgroups entry.
46722
b722481a
EB
467232011-04-22 Ulrich Drepper <drepper@gmail.com>
46724
46725 [BZ #12685]
46726 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46727 mode string.
46728 Patch by Eric Blake <eblake@redhat.com>.
46729
4df46dbd
L
467302011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46731
46732 * sunrpc/Makefile (need-export-routines): Add svc_run.
46733 (routines): Remove svc_run.
46734 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46735 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46736 * sunrpc/svc_run.c (svc_run): Likewise.
46737 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46738
e84142d2
UD
467392011-04-21 Ulrich Drepper <drepper@gmail.com>
46740
46741 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46742 problem in reallocation in last patch.
46743
877175d8
UD
467442011-04-20 Ulrich Drepper <drepper@gmail.com>
46745
46746 * sunrpc/Makefile: Move inclusion of Rules.
46747
ab8eed78
UD
467482011-04-19 Ulrich Drepper <drepper@gmail.com>
46749
46750 * nss/nss_files/files-initgroups.c: New file.
46751 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46752 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46753 _nss_files_initgroups_dyn.
46754
e3d8f584
RS
467552011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46756
46757 * elf/elf.h (R_ARM_IRELATIVE): Define.
46758
af190f45
UD
467592011-04-19 Ulrich Drepper <drepper@gmail.com>
46760
46761 * po/ru.po: Update from translation team.
46762
53cf59ef
UD
467632011-04-17 Ulrich Drepper <drepper@gmail.com>
46764
46765 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46766 dependencies.
46767
4c559bcd
MF
467682011-02-06 Mike Frysinger <vapier@gentoo.org>
46769
46770 [BZ #12653]
46771 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46772 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46773 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46774 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46775 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46776
4420675c
AS
467772011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46778
46779 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46780 differing bytes.
46781 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46782 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46783 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46784
75ea32ab
UD
467852011-04-17 Ulrich Drepper <drepper@gmail.com>
46786
46787 [BZ #12420]
46788 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46789 storing it.
46790 * stdlib/bug-getcontext.c: New file.
46791 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46792
27390476
AK
467932011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46794
46795 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46796 instructions into .machine "z9-109".
46797 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46798 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46799
10442705
AK
468002011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46801
46802 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46803 between environment variables and auxiliary vector.
46804
7b57bfe5
UD
468052011-04-16 Ulrich Drepper <drepper@gmail.com>
46806
46807 * Makefile: Add rules to build linkobj/libc.so.
46808 * include/libc-symbols.h: Define libc_hidden_nolink.
46809 * include/rpc/auth.h: Mark functions which are to be hidden.
46810 * include/rpc/auth_des.h: Likewise.
46811 * include/rpc/auth_unix.h: Likewise.
46812 * include/rpc/clnt.h: Likewise.
46813 * include/rpc/des_crypt.h: Likewise.
46814 * include/rpc/key_prot.h: Likewise.
46815 * include/rpc/pmap_clnt.h: Likewise.
46816 * include/rpc/pmap_prot.h: Likewise.
46817 * include/rpc/pmap_rmt.h: Likewise.
46818 * include/rpc/rpc_msg.h: Likewise.
46819 * include/rpc/svc.h: Likewise.
46820 * include/rpc/svc_auth.h: Likewise.
46821 * include/rpc/xdr.h: Likewise.
46822 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46823 * nss/Makefile: Likewise.
46824 * sunrpc/Makefile: Don't install headers. Build library with normal
46825 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46826 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46827 for the compat linking library. Remove use of INTDEF/INTUSE.
46828 * sunrpc/auth_none.c: Likewise.
46829 * sunrpc/auth_unix.c: Likewise.
46830 * sunrpc/authdes_prot.c: Likewise.
46831 * sunrpc/authuxprot.c: Likewise.
46832 * sunrpc/clnt_gen.c: Likewise.
46833 * sunrpc/clnt_perr.c: Likewise.
46834 * sunrpc/clnt_raw.c: Likewise.
46835 * sunrpc/clnt_simp.c: Likewise.
46836 * sunrpc/clnt_tcp.c: Likewise.
46837 * sunrpc/clnt_udp.c: Likewise.
46838 * sunrpc/clnt_unix.c: Likewise.
46839 * sunrpc/des_crypt.c: Likewise.
46840 * sunrpc/des_soft.c: Likewise.
46841 * sunrpc/get_myaddr.c: Likewise.
46842 * sunrpc/key_call.c: Likewise.
46843 * sunrpc/key_prot.c: Likewise.
46844 * sunrpc/netname.c: Likewise.
46845 * sunrpc/pm_getmaps.c: Likewise.
46846 * sunrpc/pm_getport.c: Likewise.
46847 * sunrpc/pmap_clnt.c: Likewise.
46848 * sunrpc/pmap_prot.c: Likewise.
46849 * sunrpc/pmap_prot2.c: Likewise.
46850 * sunrpc/pmap_rmt.c: Likewise.
46851 * sunrpc/publickey.c: Likewise.
46852 * sunrpc/rpc_cmsg.c: Likewise.
46853 * sunrpc/rpc_common.c: Likewise.
46854 * sunrpc/rpc_dtable.c: Likewise.
46855 * sunrpc/rpc_prot.c: Likewise.
46856 * sunrpc/rpc_thread.c: Likewise.
46857 * sunrpc/rtime.c: Likewise.
46858 * sunrpc/svc.c: Likewise.
46859 * sunrpc/svc_auth.c: Likewise.
46860 * sunrpc/svc_authux.c: Likewise.
46861 * sunrpc/svc_raw.c: Likewise.
46862 * sunrpc/svc_run.c: Likewise.
46863 * sunrpc/svc_simple.c: Likewise.
46864 * sunrpc/svc_tcp.c: Likewise.
46865 * sunrpc/svc_udp.c: Likewise.
46866 * sunrpc/svc_unix.c: Likewise.
46867 * sunrpc/svcauth_des.c: Likewise.
46868 * sunrpc/xcrypt.c: Likewise.
46869 * sunrpc/xdr.c: Likewise.
46870 * sunrpc/xdr_array.c: Likewise.
46871 * sunrpc/xdr_float.c: Likewise.
46872 * sunrpc/xdr_intXX_t.c: Likewise.
46873 * sunrpc/xdr_mem.c: Likewise.
46874 * sunrpc/xdr_rec.c: Likewise.
46875 * sunrpc/xdr_ref.c: Likewise.
46876 * sunrpc/xdr_sizeof.c: Likewise.
46877 * sunrpc/xdr_stdio.c: Likewise.
46878
e6c61494
UD
468792011-04-10 Ulrich Drepper <drepper@gmail.com>
46880
46881 [BZ #12650]
46882 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46883 * sysdeps/ia64/dl-tls.h: Likewise.
46884 * sysdeps/powerpc/dl-tls.h: Likewise.
46885 * sysdeps/s390/dl-tls.h: Likewise.
46886 * sysdeps/sh/dl-tls.h: Likewise.
46887 * sysdeps/sparc/dl-tls.h: Likewise.
46888 * sysdeps/x86_64/dl-tls.h: Likewise.
46889 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46890
34fe483e
AS
468912011-03-14 Andreas Schwab <schwab@redhat.com>
46892
46893 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46894 rpath element also skip the following colon.
46895 (expand_dynamic_string_token): Add is_path parameter and pass
46896 down to DL_DST_REQUIRED and _dl_dst_substitute.
46897 (decompose_rpath): Call expand_dynamic_string_token with
46898 non-zero is_path. Ignore empty rpaths.
46899 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46900 with zero is_path.
46901
f12a32e6
AS
469022011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46903
46904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46905 Make cancelable.
46906
38a7d692
UD
469072011-04-09 Ulrich Drepper <drepper@gmail.com>
46908
46909 [BZ #12655]
46910 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46911 Patch by Filipe David Manana <fdmanana@apache.org>.
46912
e451d22b
AS
469132011-04-07 Andreas Schwab <schwab@redhat.com>
46914
46915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46916 Maintain aligned stack.
46917 (CHECK_RSP): Remove unused macro.
46918
dedc7c7b
UD
469192011-04-03 Ulrich Drepper <drepper@gmail.com>
46920
46921 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46922 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46923
94521213
UD
469242011-04-02 Ulrich Drepper <drepper@gmail.com>
46925
46926 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46927
8cb700c0 46928 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46929
0354e355
L
469302011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46931
46932 [BZ #12518]
46933 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46934 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46935 * sysdeps/x86_64/memmove.c: New file.
46936 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46937 (memcpy): Renamed to ...
46938 (__new_memcpy): This.
46939 (memcpy): Provide GLIBC_2_14 memcpy.
46940 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46941 (memcpy): Provide GLIBC_2_2_5 memcpy.
46942
8593482f
UD
469432011-04-01 Ulrich Drepper <drepper@gmail.com>
46944
46945 [BZ #12631]
46946 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46947
81a5726b
AS
469482011-03-30 Andreas Schwab <schwab@redhat.com>
46949
46950 * misc/syncfs.c: New file.
46951 * misc/Makefile (routines): Add syncfs.
46952 * posix/unistd.h: Declare syncfs.
46953 * sysdeps/unix/syscalls.list: Add syncfs.
46954
00e5419f
AS
469552011-04-01 Andreas Schwab <schwab@redhat.com>
46956
46957 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46958 open_by_handle_at.
46959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46960 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46961 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46962 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46964 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46966
748876bf
UD
469672011-04-01 Ulrich Drepper <drepper@gmail.com>
46968
658e451d
UD
46969 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46970 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46971 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46972 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46973 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46975 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46976
748876bf
UD
46977 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46978 sync_file_range.c with -fexceptions.
46979 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46980 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46981 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46982 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46983 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46984 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46986 sync_file_range as cancellation point
46987 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46988 now a wrapper around __call_sync_file_range with cancellation handling.
46989 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46990 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46991 function name to __call_sync_file_range.
46992 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46993 Add call_sync_file_range.
748876bf 46994
6e63d5e1
AS
469952011-04-01 Andreas Schwab <schwab@redhat.com>
46996
46997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46998 bits/timex.h.
6e63d5e1 46999
46998f74
UD
470002011-04-01 Ulrich Drepper <drepper@gmail.com>
47001
4c1423ed
UD
47002 * iconv/iconv.h: Fix typo in comment.
47003 * io/fcntl.h: Likewise.
47004 * libio/stdio.h: Likewise.
47005 * posix/spawn.h: Likewise.
47006 * posix/unistd.h: Likewise.
47007 * stdlib/stdlib.h: Likewise.
47008 * time/time.h: Likewise.
47009 * wcsmbs/wchar.h: Likewise.
47010
158648c0
UD
47011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47012 open_by_handle): Add.
47013 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47014 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47015 Augment a few comments.
47016 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47017 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47018 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47019 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47020 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47021 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47022 open_by_handle.
47023
46998f74
UD
47024 * io/fcntl.h (AT_EMPTY_PATH): Define.
47025
83fe108b
UD
470262011-03-30 Ulrich Drepper <drepper@gmail.com>
47027
47028 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47029 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47030 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47031 to...
47032 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47033 * Versions.def: Add GLIBC_2.14.
47034 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47035 Export.
83fe108b 47036
bb242059
UD
470372011-03-22 Ulrich Drepper <drepper@gmail.com>
47038
47039 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47040 round counter.
47041 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47042
c97a1282
L
470432011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47044
47045 [BZ #12597]
47046 * string/test-strncmp.c (do_page_test): New function.
47047 (check2): Likewise.
47048 (test_main): Call check2.
47049 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47050
2a115601
UD
470512011-03-20 Ulrich Drepper <drepper@gmail.com>
47052
47053 [BZ #12587]
47054 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47055 Handle cache information in CPU leaf 4.
47056 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47057
8126d904
UD
470582011-03-18 Ulrich Drepper <drepper@gmail.com>
47059
042c49c6 47060 [BZ #12583]
8126d904
UD
47061 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47062 character representation.
47063 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47064
ccfe366e
RA
470652011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47066
47067 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47068 END(__isnan) to END(__isnanf) to match function entry point/label
47069 EALIGN(__isnanf,...).
47070
c6e13027
JJ
470712011-03-10 Jakub Jelinek <jakub@redhat.com>
47072
47073 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47074
33f85a3f
UD
470752011-03-10 Ulrich Drepper <drepper@gmail.com>
47076
028478fa
UD
47077 [BZ #12510]
47078 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47079 copy from the symbol referenced in the relocation to initialize the
47080 used variable.
47081 Patch by Piotr Bury <pbury@goahead.com>.
47082 * elf/Makefile: Add rules to build and tst-unique3.
47083 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47084 * elf/tst-unique3.cc: New file.
47085 * elf/tst-unique3.h: New file.
47086 * elf/tst-unique3lib.cc: New file.
47087 * elf/tst-unique3lib2.cc: New file.
47088
33f85a3f
UD
47089 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47090
03592fc7
MF
470912011-03-10 Mike Frysinger <vapier@gentoo.org>
47092
47093 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47094 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47095 to _start.
03592fc7 47096
6a5ee102
UD
470972011-03-06 Ulrich Drepper <drepper@gmail.com>
47098
47099 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47100 to-be-loaded object along a path to loader is ld.so.
47101
7e4ba49c
HJ
471022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47103 Ulrich Drepper <drepper@gmail.com>
47104
47105 * sysdeps/x86_64/memset.S: After aligning destination, code
47106 branches to different locations depending on the value of
47107 misalignment, when multiarch is enabled. Fix this.
47108
471092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47110
47111 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47112 Set _x86_64_preferred_memory_instruction for AMD processsors.
47113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47114 Set bit_Prefer_SSE_for_memop for AMD processors.
47115
13a804de
UD
471162011-03-04 Ulrich Drepper <drepper@gmail.com>
47117
47118 * libio/fmemopen.c (fmemopen): Optimize a bit.
47119
9d25c392
AS
471202011-03-03 Andreas Schwab <schwab@redhat.com>
47121
47122 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47123
a5543c6a
RM
471242011-03-03 Roland McGrath <roland@redhat.com>
47125
47126 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47127
012d35f7
DM
471282011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47129
7e4ba49c 47130 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47131 __bzero_ultra1 instead of __memset_ultra1.
47132
4bff6e01
AS
471332011-02-23 Andreas Schwab <schwab@redhat.com>
47134 Ulrich Drepper <drepper@gmail.com>
47135
47136 [BZ #12509]
47137 * include/link.h (struct link_map): Add l_orig_initfini.
47138 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47139 returning unsuccessfully.
47140 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47141 close of a file loaded at startup, restore the original l_initfini
47142 list.
47143 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47144 list, store the pointer.
47145 * elf/Makefile ($(objpfx)noload-mem): New rule.
47146 (noload-ENV): Define.
47147 (tests): Add $(objpfx)noload-mem.
47148 * elf/noload.c: Include <memcheck.h>.
47149 (main): Call mtrace. Close all opened handles.
47150
f2092faf
AS
471512011-02-17 Andreas Schwab <schwab@redhat.com>
47152
47153 [BZ #12454]
47154 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47155 dependencies are missing.
47156
6c8a2e88
ST
471572011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47158
f2092faf 47159 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47160 Hurd needs munmap.
47161 * sysdeps/mach/hurd/ifreq.h: New file.
47162
84a42118
PB
471632011-01-27 Petr Baudis <pasky@suse.cz>
47164 Ulrich Drepper <drepper@gmail.com>
47165
071f805e 47166 [BZ 12445]#
84a42118
PB
47167 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47168 to extend_alloca().
47169 * stdio-common/bug23.c: New file.
47170 * stdio-common/Makefile (tests): Add bug23.
47171
e23fe25b
AS
471722010-09-28 Andreas Schwab <schwab@redhat.com>
47173 Ulrich Drepper <drepper@gmail.com>
47174
47175 [BZ #12489]
47176 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47177 before performing relro protection. At old place add assertion
47178 to make sure nothing changed.
47179
d3f02e10
NS
471802011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47181 Glauber de Oliveira Costa <glommer@gmail.com>
47182
47183 * elf/elf.h: Add new ARM TLS relocs.
47184
d55fd7a5
RA
471852011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47186
47187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47188 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47189 cast from r3.
47190 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47191 'tests' variable.
47192 * sysdeps/wordsize-64/tst-writev.c: New file.
47193
2206397e
RA
471942011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47195
47196 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47197 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47198 insns in _dl_start to prevent a TOC reference before relocs are
47199 resolved.
47200
e9433893
UD
472012011-02-15 Ulrich Drepper <drepper@gmail.com>
47202
47203 [BZ #12469]
47204 * Makeconfig: Remove RANLIB definition.
47205 * Makerules: Don't use RANLIB.
47206 * aclocal.m4: Remove ranlib test.
47207 * configure.in: No need to check for ranlib.
47208 * elf/rtld-Rules: Don't use RANLIB.
47209
f75286c6
ST
472102011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47211
8e31c82d
ST
47212 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47213 protection macro.
47214 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47215 inclusion protection macro.
47216
f75286c6
ST
47217 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47218 SIGRTMIN and SIGRTMAX and print information in that case only when
47219 SIGRTMIN is defined.
47220
c1d0e639
JJ
472212011-02-11 Jakub Jelinek <jakub@redhat.com>
47222
47223 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47224 arginfo fn returning -1.
47225
47226 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47227 and thousands string is zero terminated.
47228
edf9294e
AS
472292011-02-03 Andreas Schwab <schwab@redhat.com>
47230
47231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47232 sysdeps/unix/sysv/linux/bits/socket.h.
47233
2b7e92df
ST
472342011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47235
edf9294e
AS
47236 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47237 (__CPU_COUNT): Remove old macros.
47238 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47239 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47240 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
47241 (__sched_cpualloc, __sched_cpufree): Add declarations.
47242
a4c7ea7b
UD
472432011-02-05 Ulrich Drepper <drepper@gmail.com>
47244
47245 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47246 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47247 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47248 (readdhstai): Return value of addhstaiX call.
47249 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47250 (addgrbyX): Return value returned by cache_addgr.
47251 (readdgrbyname): Return value returned by addgrbyX.
47252 (readdgrbygid): Likewise.
47253 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47254 (addpwbyX): Return value returned by cache_addpw.
47255 (readdpwbyname): Return value returned by addhstbyX.
47256 (readdpwbyuid): Likewise.
47257 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47258 (addservbyX): Return value returned by cache_addserv.
47259 (readdservbyname): Return value returned by addservbyX:
47260 (readdservbyport): Likewise.
47261 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47262 (addhstbyX): Return value returned by cache_addhst.
47263 (readdhstbyname): Return value returned by addhstbyX.
47264 (readdhstbyaddr): Likewise.
47265 (readdhstbynamev6): Likewise.
47266 (readdhstbyaddrv6): Likewise.
47267 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47268 (readdinitgroups): Return value returned by addinitgroupsX.
47269 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47270 (prune_cache): Keep track of timeout value of re-added entries.
47271 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47272 * nscd/nscd.h: Adjust prototypes of readd* functions.
47273
a0bf67cc
RM
472742011-02-04 Roland McGrath <roland@redhat.com>
47275
47276 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47277 (nis_stats): Likewise.
47278 * nis/nis_modify.c (nis_modify): Likewise.
47279 * nis/nis_remove.c (nis_remove): Likewise.
47280 * nis/nis_add.c (nis_add): Likewise.
47281
47282 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47283
47284 * posix/fnmatch_loop.c: Add some consts.
47285
47286 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47287
435b95eb
L
472882011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47289
47290 [BZ #12460]
47291 * config.make.in (config-cflags-novzeroupper): Define.
47292 * configure.in: Substitute libc_cv_cc_novzeroupper.
47293 * elf/Makefile (AVX-CFLAGS): Define.
47294 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47295 (CFLAGS-tst-auditmod4a.c): Likewise.
47296 (CFLAGS-tst-auditmod4b.c): Likewise.
47297 (CFLAGS-tst-auditmod6b.c): Likewise.
47298 (CFLAGS-tst-auditmod6c.c): Likewise.
47299 (CFLAGS-tst-auditmod7b.c): Likewise.
47300 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47301
8517b15e
UD
473022011-02-02 Ulrich Drepper <drepper@gmail.com>
47303
47304 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47305 function to the callback.
47306 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47307
10a656fe
AS
473082011-02-02 Andreas Schwab <schwab@redhat.com>
47309
47310 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47311 of errno.
47312
968dad0a
UD
473132011-01-19 Ulrich Drepper <drepper@gmail.com>
47314
9f94d2ea 47315 [BZ #11724]
968dad0a
UD
47316 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47317 of constructors.
47318 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47319 of destructors.
47320 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47321
47322 [BZ #11724]
47323 * elf/Makefile: Add rules to build and run new test.
47324 * elf/tst-initorder.c: New file.
47325 * elf/tst-initorder.exp: New file.
47326 * elf/tst-initordera1.c: New file.
47327 * elf/tst-initordera2.c: New file.
47328 * elf/tst-initordera3.c: New file.
47329 * elf/tst-initordera4.c: New file.
47330 * elf/tst-initorderb1.c: New file.
47331 * elf/tst-initorderb2.c: New file.
47332 * elf/tst-order-a1.c: New file.
47333 * elf/tst-order-a2.c: New file.
47334 * elf/tst-order-a3.c: New file.
47335 * elf/tst-order-a4.c: New file.
47336 * elf/tst-order-b1.c: New file.
47337 * elf/tst-order-b2.c: New file.
47338 * elf/tst-order-main.c: New file.
47339 New test case by George Gensure <werkt0@gmail.com>.
47340
86e92359
UD
473412010-10-01 Andreas Schwab <schwab@redhat.com>
47342
47343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47344 decoding ACE if AI_CANONIDN.
47345
5d5732b0
UD
473462011-01-18 Ulrich Drepper <drepper@gmail.com>
47347
47348 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47349
a77e8cbc
UD
473502011-01-17 Ulrich Drepper <drepper@gmail.com>
47351
6392473f
UD
47352 * version.h (RELEASE): Bump for 2.13 release.
47353 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47354
620a0529
UD
47355 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47356
18ba70a5
UD
47357 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47358 MADV_NOHUGEPAGE.
32465c3e
UD
47359 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47360 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47361 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47362 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47363 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47365
c0dafcf1
UD
47366 * posix/getconf.c: Update copyright year.
47367 * catgets/gencat.c: Likewise.
47368 * csu/version.c: Likewise.
47369 * debug/catchsegv.sh: Likewise.
47370 * debug/xtrace.sh: Likewise.
47371 * elf/ldconfig.c: Likewise.
47372 * elf/ldd.bash.in: Likewise.
47373 * elf/sprof.c (print_version): Likewise.
47374 * iconv/iconv_prog.c: Likewise.
47375 * iconv/iconvconfig.c: Likewise.
47376 * locale/programs/locale.c: Likewise.
47377 * locale/programs/localedef.c: Likewise.
47378 * malloc/memusage.sh: Likewise.
47379 * malloc/mtrace.pl: Likewise.
47380 * nscd/nscd.c (print_version): Likewise.
47381 * nss/getent.c: Likewise.
47382
a77e8cbc
UD
47383 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47384 PF_CAIF, and PF_ALG.
47385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47386
77e8bddf
AS
473872011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47388
1f20b93a
AS
47389 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47390 (modules-names): Use them.
47391 (ifunc-test-modules, ifunc-pie-tests): Define.
47392 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47393 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47394 (test-extras): Likewise.
47395 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47396 $(compile-command.c).
47397 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47398 (all-built-dso): Define.
47399 (check-textrel.out, check-execstack.out): Depend on it.
47400
77e8bddf
AS
47401 * configure.in: Don't override --enable-multi-arch.
47402
bc425b33
UD
474032011-01-15 Ulrich Drepper <drepper@gmail.com>
47404
47405 [BZ #6812]
47406 * nscd/hstcache.c (tryagain): Define.
47407 (cache_addhst): Return tryagain not notfound for temporary errors.
47408 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47409 failed.
47410
794c3ad3
UD
474112011-01-14 Ulrich Drepper <drepper@gmail.com>
47412
70181fdd
UD
47413 [BZ #10563]
47414 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47415 to make the syscall.
47416 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47417
794c3ad3
UD
47418 [BZ #12378]
47419 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47420 and fall back to matching as normal character if the string ends before
47421 the matching ']' is found. This is what POSIX requires.
47422 * posix/testfnm.c: Adjust test result.
47423 * posix/globtest.sh: Adjust test result. Add new test.
47424 * posix/tst-fnmatch.input: Likewise.
47425 * posix/tst-fnmatch2.c: Add new test.
47426
68dc9497
AS
474272010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47428
47429 * elf/Makefile (check-execstack): Revert last change. Depend on
47430 check-execstack.h.
47431 (check-execstack.h): New target.
47432 (generated): Add check-execstack.h.
47433 * elf/check-execstack.c: Include "check-execstack.h".
47434 (main): Revert last change.
47435 (handle_file): Return zero if GNU_STACK is absent and
47436 DEFAULT_STACK_PERMS doesn't include PF_X.
47437
451f001b
UD
474382011-01-13 Ulrich Drepper <drepper@gmail.com>
47439
cfa28e56
UD
47440 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47441 in child fails because the descriptor is already closed.
8cf8ce17
UD
47442 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47443 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47444 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47445
1086d70d
UD
47446 [BZ #12397]
47447 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47448 syscall.
47449
451f001b
UD
47450 [BZ #10484]
47451 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47452 temporary buffer used to handle multi lookups locally.
a85b5cb4 47453 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47454
08769175
UD
474552011-01-12 Ulrich Drepper <drepper@gmail.com>
47456
47457 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47458 loader is ld.so.
47459
5e49c52e
UD
474602011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47461
47462 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47463 alignment for SSE2.
47464
60522a5f
UD
474652011-01-12 Ulrich Drepper <drepper@gmail.com>
47466
47467 [BZ #12394]
47468 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47469 characters. When rounding increased number of integer digits recompute
47470 number of groups.
47471 * stdio-common/tst-grouping.c: New file.
47472 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47473
f257bbd7
UD
474742011-01-09 Ulrich Drepper <drepper@gmail.com>
47475
47476 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47477 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47478
47479 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47480 void.
47481 * bits/select.h: Likewise.
47482
fa9c15cb
UD
474832011-01-08 Ulrich Drepper <drepper@gmail.com>
47484
47485 * po/ja.po: Update from translation team.
47486
16c2895f
DM
474872011-01-04 David S. Miller <davem@sunset.davemloft.net>
47488
47489 [BZ #11155]
47490 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47491 implementation just like for lxstat, fxstatat, et al.
47492
2543fef2
JM
474932010-12-27 Jim Meyering <meyering@redhat.com>
47494
47495 [BZ #12348]
47496 * posix/regexec.c (build_trtable): Return failure indication upon
47497 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47498
98727dbe
UD
474992010-12-25 Ulrich Drepper <drepper@gmail.com>
47500
5bd6dc5c
UD
47501 [BZ #12201]
47502 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47503 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47504 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47505 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47506
97983464
UD
47507 [BZ #12207]
47508 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47509
98727dbe
UD
47510 [BZ #12204]
47511 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47512 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47513
4a531bb0
L
475142010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47515
47516 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47517 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47518 script has SORT_BY_INIT_PRIORITY.
47519 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47520 NO_CTORS_DTORS_SECTIONS is defined.
47521 * elf/soinit.c: Likewise.
47522 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47523 NO_CTORS_DTORS_SECTIONS is defined.
47524 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47525 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47526 * sysdeps/sh/init-first.c: Likewise.
47527 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47528
07eb4b71
UD
475292010-12-24 Ulrich Drepper <drepper@gmail.com>
47530
47531 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47532 always use the slow path.
47533
30950a5f
RA
475342010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47535
47536 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47537 similar rule which adds the sysdep directories to the header search in
47538 order to pick up the correct platform stackinfo.h.
47539 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47540 perform test if it is, otherwise return successfully without testing.
47541 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47542 DEFAULT_STACK_PERMS define in stackinfo.h.
47543 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47544 defined in stackinfo.h.
47545 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47546 DEFAULT_STACK_PERMS defined in stackinfo.h.
47547 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47548 * sysdeps/ia64/stackinfo.h: Likewise.
47549 * sysdeps/s390/stackinfo.h: Likewise.
47550 * sysdeps/sh/stackinfo.h: Likewise.
47551 * sysdeps/sparc/stackinfo.h: Likewise.
47552 * sysdeps/x86_64/stackinfo.h: Likewise.
47553 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47554 PF_X for powerpc64. Retain PF_X for powerpc32.
47555
db753e2c
UD
475562010-12-19 Ulrich Drepper <drepper@gmail.com>
47557
14b697f7
UD
47558 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47559 accurately.
db753e2c
UD
47560 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47561 GETDENTS_64BIT_ALIGNED.
47562
28300719
UD
475632010-12-14 Ulrich Drepper <dreper@gmail.com>
47564
14b697f7 47565 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47566
4f197237
AS
475672010-12-10 Andreas Schwab <schwab@redhat.com>
47568
dbb0472f
AS
47569 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47570 _GNU_SOURCE.
47571
4f197237
AS
47572 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47573 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47574 Remove __restrict.
47575 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47576 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47577
fb88ac72
UD
475782010-12-09 Ulrich Drepper <drepper@gmail.com>
47579
47580 [BZ #11655]
47581 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47582 are initialized.
47583
42acbb92
JJ
475842010-12-09 Jakub Jelinek <jakub@redhat.com>
47585
47586 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47587
c038d98d
UD
475882010-12-03 Ulrich Drepper <drepper@gmail.com>
47589
47590 * po/it.po: Update from translation team.
47591
3a4a2499
L
475922010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47593
47594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47595 unused codes.
47596
1e24cf6e
UD
475972010-11-30 Ulrich Drepper <drepper@gmail.com>
47598
47599 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47600
a7690819
AS
476012010-11-24 Andreas Schwab <schwab@redhat.com>
47602
47603 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47604 specially.
47605 (gaih_getanswer_slice): Likewise.
47606
3bf8d1b1
JJ
476072010-10-20 Jakub Jelinek <jakub@redhat.com>
47608
47609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47610
6db52fbb
PB
476112010-05-31 Petr Baudis <pasky@suse.cz>
47612
47613 [BZ #11149]
47614 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47615 silently even in the chroot mode.
47616
eaca7569
UD
476172010-11-22 Ulrich Drepper <drepper@gmail.com>
47618
47619 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47620 last patch a bit. Pretty printing
47621
3056dcdb
UD
476222010-05-31 Petr Baudis <pasky@suse.cz>
47623
47624 [BZ #10085]
47625 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47626 initialization of skip_initgroups_dyn.
47627
cf7c9078
UD
476282010-11-19 Ulrich Drepper <drepper@gmail.com>
47629
47630 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47631 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47632
a1fb5e3e
UD
476332010-11-16 Ulrich Drepper <drepper@gmail.com>
47634
47635 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47636
3540d66b
AS
476372010-11-11 Andreas Schwab <schwab@redhat.com>
47638
47639 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47640 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47641 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47642 ($(objpfx)tst-fnmatch-mem): New rule.
47643 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47644 * posix/tst-fnmatch.c (main): Call mtrace.
47645
13b69574
L
476462010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47647
47648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47649 Support Intel processor model 6 and model 0x2c.
47650
da93d214
LM
476512010-11-10 Luis Machado <luisgpm@br.ibm.com>
47652
47653 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47654 signed comparison.
47655
8ca52c6e
L
476562010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47657
47658 [BZ #12205]
47659 * string/test-strncasecmp.c (check_result): New function.
47660 (do_one_test): Use it.
47661 (check1): New function.
47662 (test_main): Use it.
47663 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47664 Support strcasecmp and strncasecmp.
47665
69da074d
UD
476662010-11-08 Ulrich Drepper <drepper@gmail.com>
47667
47668 [BZ #12194]
47669 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47670 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47671
ff02d528
L
476722010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47673
47674 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47675 IFUNC support.
47676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47677 memset-x86-64.
47678 * sysdeps/x86_64/multiarch/bzero.S: New file.
47679 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47680 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47681 * sysdeps/x86_64/multiarch/memset.S: New file.
47682 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47684 Set bit_Prefer_SSE_for_memop for Intel processors.
47685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47686 Define.
47687 (index_Prefer_SSE_for_memop): Define.
47688 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47689
344d0b54
LM
476902010-11-04 Luis Machado <luisgpm@br.ibm.com>
47691
47692 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47693 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47694
c0dde15b
UD
476952010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47696
47697 [BZ #12191]
47698 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47699 (__x86_64_raw_data_cache_size_half): Likewise.
47700 (__x86_64_raw_shared_cache_size): Likewise.
47701 (__x86_64_raw_shared_cache_size_half): Likewise.
47702
47703 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47704 (__x86_64_raw_data_cache_size_half): Likewise.
47705 (__x86_64_raw_shared_cache_size): Likewise.
47706 (__x86_64_raw_shared_cache_size_half): Likewise.
47707 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47708 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47709 and __x86_64_raw_shared_cache_size_half. Round
47710 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47711 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47712 to multiple of 256 bytes.
47713
0e516e0e
MS
477142010-11-03 Ulrich Drepper <drepper@gmail.com>
47715
47716 [BZ #12167]
47717 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47718 of inacessible symlinks. Verify result of symlink before returning it.
47719 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47720 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47721
0e012e87
ER
477222010-10-28 Erich Ritz <erichritz@gmail.com>
47723
47724 * math/math.h (isinf): Fix typo in comment.
47725
de0ff7bc
UD
477262010-11-01 Ulrich Drepper <drepper@gmail.com>
47727
47728 * po/da.po: Update from translation team.
47729
fa41c84d
UD
477302010-10-26 Ulrich Drepper <drepper@gmail.com>
47731
47732 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47733 is added to the list.
47734
f0967738
AK
477352010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47736 Ulrich Drepper <drepper@gmail.com>
47737
47738 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47739 the global list here. Move code to...
47740 (_dl_add_to_namespace_list): ...here. New function.
47741 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47742 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47743 * elf/dl-load.c (lose): Don't remove the element from the list.
47744 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47745 (_dl_map_object): Likewise.
47746
477472010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47748
47749 [BZ #12159]
47750 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47751 into all bytes of SSE register.
47752 Patch by Richard Li <richardpku@gmail.com>.
47753
f0967738 477542010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47755
47756 [BZ #12140]
47757 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47758 perturbing.
47759
d0b9e94f
MB
477602010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47761
47762 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47763 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47764 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47765 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47767 submachine.
47768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47769
8e9f92e9
AS
477702010-10-22 Andreas Schwab <schwab@redhat.com>
47771
47772 * include/dlfcn.h (__RTLD_SECURE): Define.
47773 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47774 mode & __RTLD_SECURE instead.
47775 (open_path): Rename preloaded parameter to secure.
47776 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47777 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47778 * elf/dl-deps.c (openaux): Likewise.
47779 * elf/rtld.c (struct map_args): Remove is_preloaded.
47780 (map_doit): Don't use it.
47781 (dl_main): Likewise.
47782 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47783 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47784
bc96fbda
AS
477852010-09-09 Andreas Schwab <schwab@redhat.com>
47786
47787 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47788 (sysd-rules-targets): Remove duplicates.
47789 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47790 rtld-%.$o dependency.
47791
22cd1c9b
AS
477922010-10-18 Andreas Schwab <schwab@redhat.com>
47793
47794 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47795 _dl_map_object do it.
47796
18edac48
UD
477972010-10-19 Ulrich Drepper <drepper@gmail.com>
47798
47799 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47800 fast fma builtins, define the macros in the C99 standard.
47801 (FP_FAST_FMAF): Likewise.
47802 (FP_FAST_FMAL): Likewise.
47803 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47804
47805 * bits/mathdef.h: Update copyright year.
47806 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47807
d2050124
MM
478082010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47809
47810 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47811 builtins, define the macros in the C99 standard.
47812 (FP_FAST_FMAF): Likewise.
47813 (FP_FAST_FMAL): Likewise.
47814 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47815 multiply/add.
47816 (FP_FAST_FMAF): Likewise.
47817
475facd1
JJ
478182010-10-15 Jakub Jelinek <jakub@redhat.com>
47819
47820 [BZ #3268]
47821 * math/libm-test.inc (fma_test): Some new testcases.
47822 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47823 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47824 y and infinite z. Do multiplication by C already in long double.
47825 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47827 y and infinite z. Do bitwise or of inexact bit into u.d.
47828 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47829 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47830 * sysdeps/i386/fpu/s_fma.S: Removed.
47831 * sysdeps/i386/fpu/s_fmal.S: Removed.
47832
7c08a05c
JJ
478332010-10-16 Jakub Jelinek <jakub@redhat.com>
47834
47835 [BZ #3268]
47836 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47838 computation is not scheduled after fetestexcept. Fix value
47839 of minimum denormal long double.
47840
f3f7372d
JJ
478412010-10-14 Jakub Jelinek <jakub@redhat.com>
47842
47843 [BZ #3268]
47844 * math/libm-test.inc (fma_test): Add some more tests.
47845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47846 correctly.
47847
14d43591
AS
478482010-10-15 Andreas Schwab <schwab@redhat.com>
47849
47850 * scripts/data/localplt-s390-linux-gnu.data: New file.
47851 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47852
5e908464
JJ
478532010-10-13 Jakub Jelinek <jakub@redhat.com>
47854
47855 [BZ #3268]
47856 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47857 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47858 instead of dbl-64.
47859 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47860 inlines.
47861 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47863 if one of x and y is very large and the other is subnormal.
47864 * sysdeps/s390/fpu/s_fmaf.c: New file.
47865 * sysdeps/s390/fpu/s_fma.c: New file.
47866 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47867 * sysdeps/powerpc/fpu/s_fma.S: New file.
47868 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47869 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47870 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47871
478722010-10-12 Jakub Jelinek <jakub@redhat.com>
47873
47874 [BZ #3268]
47875 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47876 fma tests.
47877 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47878 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47879 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47880 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47881 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47882 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47883 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47884
b833d51f
UD
478852010-10-12 Ulrich Drepper <drepper@redhat.com>
47886
47887 [BZ #12078]
47888 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47889 * posix/bug-regex31.input: Add test case.
47890
1751705d
UD
478912010-10-11 Ulrich Drepper <drepper@gmail.com>
47892
e9b9cbf5
UD
47893 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47894 * posix/bug-regex31.input: New file.
47895
47896 [BZ #12078]
47897 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47898 (parse_sub_exp): Fix last change, use postorder.
47899
ef06edbe
UD
47900 * posix/bug-regex31.c: New file.
47901 * posix/Makefile: Add rules to build and run bug-regex31.
47902
a129c80d
UD
47903 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47904
47905 [BZ #12078]
47906 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47907
b76b818e
UD
47908 [BZ #12108]
47909 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47910 to have entries in sys_siglist.
47911
1751705d
UD
47912 [BZ #12093]
47913 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47914 be NULL.
47915
9ff8d36f
JJ
479162010-10-07 Jakub Jelinek <jakub@redhat.com>
47917
47918 [BZ #3268]
47919 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47920 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47921 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47922 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47923 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47924 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47925 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47926 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47927 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47928 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47929 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47930 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47931 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47932 * math/ftestexcept.c (fetestexcept): Likewise.
47933 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47934 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47935 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47936 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47937 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47938 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47939 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47940
af325969
UD
479412010-10-11 Ulrich Drepper <drepper@gmail.com>
47942
c579b202 47943 [BZ #12107]
af325969
UD
47944 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47945 newline.
47946
67a67b95
UD
479472010-10-06 Ulrich Drepper <drepper@gmail.com>
47948
47949 * string/bug-strstr1.c: New file.
47950 * string/Makefile: Add rules to build and run bug-strstr1.
47951
5fb308bc
EB
479522010-10-05 Eric Blake <eblake@redhat.com>
47953
47954 [BZ #12092]
47955 * string/str-two-way.h (two_way_long_needle): Always clear memory
47956 when skipping input due to the shift table.
47957
45db99c7
UD
479582010-10-03 Ulrich Drepper <drepper@gmail.com>
47959
3b111893
UD
47960 [BZ #12005]
47961 * malloc/mcheck.c: Handle large requests.
47962
45db99c7
UD
47963 [BZ #12077]
47964 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47965 for strncmp and strncasecmp.
47966 * string/stratcliff.c: Add tests for strcmp and strncmp.
47967 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47968
cf7a1eb8
NI
479692010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47970
47971 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47972 __set_fpscr.
47973
6484ba5e
AJ
479742010-09-30 Andreas Jaeger <aj@suse.de>
47975
47976 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47977 (CGROUP_SUPER_MAGIC): Define.
47978 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47979 Handle btrfs and cgroup file systems.
47980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47981 Likewise.
47982
91c42559
LM
479832010-09-27 Luis Machado <luisgpm@br.ibm.com>
47984
47985 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47986 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47987
87a97932
AK
479882010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47989
47990 [BZ #12067]
47991 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47992 trying to locate the ELF header.
47993
c21cc9bc
AS
479942010-09-27 Andreas Schwab <schwab@redhat.com>
47995
47996 [BZ #11611]
47997 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47998 Mask out sign-bit copies when constructing f_fsid.
47999
315970f6
PB
480002010-09-24 Petr Baudis <pasky@suse.cz>
48001
48002 * debug/stack_chk_fail_local.c: Add missing licence exception.
48003 * debug/warning-nop.c: Likewise.
48004
1ac7a2c7
JM
480052010-09-15 Joseph Myers <joseph@codesourcery.com>
48006
48007 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48008 implementing getdents64 using getdents syscall, set d_type if
48009 __ASSUME_GETDENTS32_D_TYPE.
48010
56801c50
AS
480112010-09-16 Andreas Schwab <schwab@redhat.com>
48012
48013 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48014 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48015
dda51327
UD
480162010-09-21 Ulrich Drepper <drepper@redhat.com>
48017
48018 [BZ #12037]
48019 * posix/unistd.h: Undo change of feature selection for ftruncate from
48020 2010-01-11.
48021
8ffcee4a
UD
480222010-09-20 Ulrich Drepper <drepper@redhat.com>
48023
a545ecd9 48024 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48025 detection.
48026
e24f0a8b
AS
480272010-09-20 Andreas Schwab <schwab@redhat.com>
48028
48029 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48030 fanotify_mark.
48031 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48032
7291c56f
AS
480332010-09-14 Andreas Schwab <schwab@redhat.com>
48034
48035 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48036 variables after CHECK_SP call.
48037 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48038
bc5fb037
AS
480392010-09-13 Andreas Schwab <schwab@redhat.com>
48040 Ulrich Drepper <drepper@redhat.com>
48041
48042 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48043 re-relocationg ld.so.
48044 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48045 _dl_init_paths call.
48046 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48047 here anymore.
48048
e66e7419
UD
480492010-09-14 Ulrich Drepper <drepper@redhat.com>
48050
48051 * resolv/res_init.c (__res_vinit): Count the default server we added.
48052
c044aa75
CLT
480532010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48054 Ulrich Drepper <drepper@redhat.com>
48055
48056 [BZ #11968]
48057 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48058 (____longjmp_chk): Use %ebx for saving value across system call.
48059 Add unwind info.
48060
32cf4069
AS
480612010-09-06 Andreas Schwab <schwab@redhat.com>
48062
48063 * manual/Makefile: Don't mix pattern rules with normal rules.
48064
817328ee
AS
480652010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48066
48067 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48068 operation.
48069 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48070 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48071 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48072 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48074 Likewise.
48075
29fddf61
UD
480762010-09-04 Ulrich Drepper <drepper@redhat.com>
48077
48078 [BZ #11979]
48079 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48080 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48081
0959ffc9
UD
480822010-09-02 Ulrich Drepper <drepper@redhat.com>
48083
48084 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48085 * sysdeps/x86_64/addmul_1.S: Likewise.
48086 * sysdeps/x86_64/lshift.S: Likewise.
48087 * sysdeps/x86_64/mul_1.S: Likewise.
48088 * sysdeps/x86_64/rshift.S: Likewise.
48089 * sysdeps/x86_64/sub_n.S: Likewise.
48090 * sysdeps/x86_64/submul_1.S: Likewise.
48091
ece29840
ST
480922010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48093
0959ffc9
UD
48094 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48095 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48096 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48097 * bits/sched.h [__need_schedparam]
ece29840 48098 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48099 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48100 (__defined_schedparam): Define to 1.
ece29840
ST
48101 (__sched_param): New structure, identical to sched_param.
48102 (__need_schedparam): Undefine.
48103
e53a31fe
MF
481042010-08-31 Mike Frysinger <vapier@gentoo.org>
48105
fdc0c10d
MF
48106 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48107 (epoll_create1): Declare.
48108
e53a31fe
MF
48109 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48110
a726d796
AS
481112010-08-31 Andreas Schwab <schwab@redhat.com>
48112
48113 [BZ #7066]
48114 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48115 shifting retval into place.
48116
2f3e3dc7
UD
481172010-09-01 Ulrich Drepper <drepper@redhat.com>
48118
f2933da9
UD
48119 * nis/rpcsvc/nis.h: Update copyright notice.
48120 * nis/rpcsvc/nis.x: Likewise.
48121 * nis/rpcsvc/nis_callback.h: Likewise.
48122 * nis/rpcsvc/nis_callback.x: Likewise.
48123 * nis/rpcsvc/nis_object.x: Likewise.
48124 * nis/rpcsvc/nis_tags.h: Likewise.
48125 * nis/rpcsvc/yp.h: Likewise.
48126 * nis/rpcsvc/yp.x: Likewise.
48127 * nis/rpcsvc/ypupd.h: Likewise.
48128 * nis/yp_xdr.c: Likewise.
48129 * nis/ypupdate_xdr.c: Likewise.
48130
2f3e3dc7
UD
48131 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48132 mainly the body of pmap_getport. Add parameters to specify timeouts.
48133 (pmap_getport): Use __libc_rpc_getport.
48134 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48135 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48136 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48137
f3dcc2f9
AS
481382010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48139
48140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48141 fanotify_mark.
48142
6d34eb5b
RM
481432010-08-27 Roland McGrath <roland@redhat.com>
48144
48145 * sysdeps/i386/i686/multiarch/Makefile
48146 (CFLAGS-varshift.c): New variable.
48147
9ea3de11
UD
481482010-08-27 Ulrich Drepper <drepper@redhat.com>
48149
c96d23fc
UD
48150 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48151 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48152
9ea3de11
UD
48153 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48154
48155 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48156
623aac7f
L
481572010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48158
48159 * sysdeps/x86_64/strlen.S: Unroll the loop.
48160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48161 strlen-sse2 strlen-sse2-bsf.
48162 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48163 __strlen_no_bsf if bit_Slow_BSF is set.
48164 (__strlen_sse42): Removed.
48165 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48166 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48167
8b2b7715
RM
481682010-08-25 Roland McGrath <roland@redhat.com>
48169
48170 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48171 * sysdeps/x86_64/multiarch/varshift.c: New file.
48172 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48173 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48174 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48175 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48176
e73015f2
L
481772010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48178
48179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48180 strlen-sse2 strlen-sse2-bsf.
48181 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48182 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48183 (__strlen_sse2): Removed.
48184 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48185 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48187 bit_Slow_BSF for Atom.
48188 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48189 (index_Slow_BSF): Define.
48190 (HAS_SLOW_BSF): Define.
48191
df24a73e
UD
481922010-08-25 Ulrich Drepper <drepper@redhat.com>
48193
48194 [BZ #10851]
48195 * resolv/res_init.c (__res_vinit): When no server address at all
48196 is given default to loopback.
48197
f2ac4868
RM
481982010-08-24 Roland McGrath <roland@redhat.com>
48199
09055553
RM
48200 * configure.in: Remove config-name.h generation.
48201 * configure: Regenerated.
48202 * config-name.in: File removed.
48203 * scripts/config-uname.sh: New file.
48204 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48205 ($(objdir)config-name.h): New target.
48206
f2ac4868
RM
48207 * sunrpc/rpc_parse.h: Avoid nested comment.
48208
73f27d5e
RH
482092010-08-24 Richard Henderson <rth@redhat.com>
48210 Ulrich Drepper <drepper@redhat.com>
48211 H.J. Lu <hongjiu.lu@intel.com>
48212
48213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48215 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48216 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48217 _mm_alignr_epi8 with _mm_loadu_si128.
48218 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48219 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48220 (__m128i_shift_right): Removed.
48221 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48222 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48223 * sysdeps/x86_64/multiarch/varshift.h: New file.
48224 * sysdeps/x86_64/multiarch/varshift.S: New file.
48225
84b9230c
MF
482262010-08-21 Mike Frysinger <vapier@gentoo.org>
48227
48228 * configure.in: Move assembler checks to before sysdep dir checking.
48229
9bbd0ddc
PB
482302010-08-20 Petr Baudis <pasky@suse.cz>
48231
48232 * LICENSES: Sync the sunrpc license.
48233
9da4bb31
UD
482342010-08-19 Ulrich Drepper <drepper@redhat.com>
48235
a7ab6ec8
UD
48236 * sunrpc/auth_des.c: Update copyright notice once again.
48237 * sunrpc/auth_none.c: Likewise.
48238 * sunrpc/auth_unix.c: Likewise.
48239 * sunrpc/authdes_prot.c: Likewise.
48240 * sunrpc/authuxprot.c: Likewise.
48241 * sunrpc/bindrsvprt.c: Likewise.
48242 * sunrpc/clnt_gen.c: Likewise.
48243 * sunrpc/clnt_perr.c: Likewise.
48244 * sunrpc/clnt_raw.c: Likewise.
48245 * sunrpc/clnt_simp.c: Likewise.
48246 * sunrpc/clnt_tcp.c: Likewise.
48247 * sunrpc/clnt_udp.c: Likewise.
48248 * sunrpc/clnt_unix.c: Likewise.
48249 * sunrpc/des_crypt.c: Likewise.
48250 * sunrpc/des_soft.c: Likewise.
48251 * sunrpc/get_myaddr.c: Likewise.
48252 * sunrpc/getrpcport.c: Likewise.
48253 * sunrpc/key_call.c: Likewise.
48254 * sunrpc/key_prot.c: Likewise.
48255 * sunrpc/openchild.c: Likewise.
48256 * sunrpc/pm_getmaps.c: Likewise.
48257 * sunrpc/pm_getport.c: Likewise.
48258 * sunrpc/pmap_clnt.c: Likewise.
48259 * sunrpc/pmap_prot.c: Likewise.
48260 * sunrpc/pmap_prot2.c: Likewise.
48261 * sunrpc/pmap_rmt.c: Likewise.
48262 * sunrpc/rpc/auth.h: Likewise.
48263 * sunrpc/rpc/auth_unix.h: Likewise.
48264 * sunrpc/rpc/clnt.h: Likewise.
48265 * sunrpc/rpc/des_crypt.h: Likewise.
48266 * sunrpc/rpc/key_prot.h: Likewise.
48267 * sunrpc/rpc/netdb.h: Likewise.
48268 * sunrpc/rpc/pmap_clnt.h: Likewise.
48269 * sunrpc/rpc/pmap_prot.h: Likewise.
48270 * sunrpc/rpc/pmap_rmt.h: Likewise.
48271 * sunrpc/rpc/rpc.h: Likewise.
48272 * sunrpc/rpc/rpc_des.h: Likewise.
48273 * sunrpc/rpc/rpc_msg.h: Likewise.
48274 * sunrpc/rpc/svc.h: Likewise.
48275 * sunrpc/rpc/svc_auth.h: Likewise.
48276 * sunrpc/rpc/types.h: Likewise.
48277 * sunrpc/rpc/xdr.h: Likewise.
48278 * sunrpc/rpc_clntout.c: Likewise.
48279 * sunrpc/rpc_cmsg.c: Likewise.
48280 * sunrpc/rpc_common.c: Likewise.
48281 * sunrpc/rpc_cout.c: Likewise.
48282 * sunrpc/rpc_dtable.c: Likewise.
48283 * sunrpc/rpc_hout.c: Likewise.
48284 * sunrpc/rpc_main.c: Likewise.
48285 * sunrpc/rpc_parse.c: Likewise.
48286 * sunrpc/rpc_parse.h: Likewise.
48287 * sunrpc/rpc_prot.c: Likewise.
48288 * sunrpc/rpc_sample.c: Likewise.
48289 * sunrpc/rpc_scan.c: Likewise.
48290 * sunrpc/rpc_scan.h: Likewise.
48291 * sunrpc/rpc_svcout.c: Likewise.
48292 * sunrpc/rpc_tblout.c: Likewise.
48293 * sunrpc/rpc_util.c: Likewise.
48294 * sunrpc/rpc_util.h: Likewise.
48295 * sunrpc/rpcinfo.c: Likewise.
48296 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48297 * sunrpc/rpcsvc/key_prot.x: Likewise.
48298 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48299 * sunrpc/rpcsvc/mount.x: Likewise.
48300 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48301 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48302 * sunrpc/rpcsvc/rex.x: Likewise.
48303 * sunrpc/rpcsvc/rstat.x: Likewise.
48304 * sunrpc/rpcsvc/rusers.x: Likewise.
48305 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48306 * sunrpc/rpcsvc/spray.x: Likewise.
48307 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48308 * sunrpc/rtime.c: Likewise.
48309 * sunrpc/svc.c: Likewise.
48310 * sunrpc/svc_auth.c: Likewise.
48311 * sunrpc/svc_authux.c: Likewise.
48312 * sunrpc/svc_raw.c: Likewise.
48313 * sunrpc/svc_run.c: Likewise.
48314 * sunrpc/svc_simple.c: Likewise.
48315 * sunrpc/svc_tcp.c: Likewise.
48316 * sunrpc/svc_udp.c: Likewise.
48317 * sunrpc/svc_unix.c: Likewise.
48318 * sunrpc/svcauth_des.c: Likewise.
48319 * sunrpc/xcrypt.c: Likewise.
48320 * sunrpc/xdr.c: Likewise.
48321 * sunrpc/xdr_array.c: Likewise.
48322 * sunrpc/xdr_float.c: Likewise.
48323 * sunrpc/xdr_mem.c: Likewise.
48324 * sunrpc/xdr_rec.c: Likewise.
48325 * sunrpc/xdr_ref.c: Likewise.
48326 * sunrpc/xdr_sizeof.c: Likewise.
48327 * sunrpc/xdr_stdio.c: Likewise.
48328
9da4bb31
UD
48329 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48330 handling.
48331
bdaa77bc
AS
483322010-08-19 Andreas Schwab <schwab@redhat.com>
48333
48334 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48335
fe2f79db
LM
483362010-08-19 Luis Machado <luisgpm@br.ibm.com>
48337
48338 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48339 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48340 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48341 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48342 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48343 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48344 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48345 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48346 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48347 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48348 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48349 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48350 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48351 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48352
b9b42ee0
AB
483532010-07-26 Anton Blanchard <anton@samba.org>
48354
48355 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48356 * malloc/arena.c (heap_trim): Likewise.
48357
1c06ba31
UD
483582010-08-16 Ulrich Drepper <drepper@redhat.com>
48359
48360 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48361 here. Not...
48362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48363 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48364
f8392f40
L
483652010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48366
48367 * sysdeps/i386/elf/Makefile: New file.
48368
3162f12e
AS
483692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48370
48371 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48372 from fanotify_init.
48373 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48374 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48375
28c90b2c
UD
483762010-08-15 Ulrich Drepper <drepper@redhat.com>
48377
48378 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48379 of strncasecmp_l.
1feccb6c 48380 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 48381
ca6bb004
UD
483822010-08-14 Ulrich Drepper <drepper@redhat.com>
48383
e9f82e0d
UD
48384 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48385 strncase_l-nonascii.
48386 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48387 Add strncase_l-ssse3.
48388 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48389 * sysdeps/x86_64/strcmp.S: Likewise.
48390 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48391 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48392 * sysdeps/x86_64/strncase.S: New file.
48393 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48394 * sysdeps/x86_64/strncase_l.S: New file.
48395 * string/Makefile (strop-tests): Add strncasecmp.
48396 * string/test-strncasecmp.c: New file.
48397
48398 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48399 warning.
48400
ca6bb004
UD
48401 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48402 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48403
052fa7b3
AS
484042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48405
48406 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48407
962dba78
UD
484082010-08-12 Ulrich Drepper <drepper@redhat.com>
48409
48410 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48411 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48412 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48413
bebff237
AM
484142010-05-01 Alan Modra <amodra@gmail.com>
48415
48416 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48417 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48418 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48419 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48420 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48421 tidying. Don't tail-call __sigjmp_save for static lib.
48422 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48423 save location.
48424 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48425 (CALL_MCOUNT): Add eh info, and nop after bl.
48426 (TAIL_CALL_SYSCALL_ERROR): New macro.
48427 (PSEUDO_RET): Use it.
48428 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48429 Correct save location of integer regs and cr.
48430 (_dl_profile_resolve): Correct cr save location. Delete nops
48431 after bl when SHARED. Reduce cfi size a little by better
48432 placement of cfi directives.
48433 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48434 make a stack frame. Instead use parm save area as a temp.
48435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48436 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48438 Don't make a stack frame for parent, use parm save area.
48439 Increase child stack frame to 112 bytes. Don't save unused reg,
48440 and adjust reg usage. Set up cfi on error recovery and
48441 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48443 (__makecontext): Add dummy nop after jump to exit.
48444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48445 Use correct parm save area and cr save, reduce stack frame.
48446 Correct cfi for possible PSEUDO_RET frame setup.
48447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48448 Branch to local label emitted by PSEUDO_RET rather than
48449 __syscall_error.
48450
02637374
AS
484512010-08-12 Andreas Schwab <schwab@redhat.com>
48452
48453 [BZ #11904]
48454 * locale/programs/locale.c (print_assignment): New function.
48455 (show_locale_vars): Use it.
48456
c3e2f19b
UD
484572010-08-11 Ulrich Drepper <drepper@redhat.com>
48458
3cdaa6ad
UD
48459 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48460 field.
48461 (struct statfs64): Likewise.
48462 (_STATFS_F_FLAGS): Define.
48463 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48464 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48465 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48466 (ST_VALID): Define locally.
48467 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48468 __statvfs_getflags, use the provided value.
48469 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48470 __ASSUME_STATFS_F_FLAGS.
48471
754f7da3
UD
48472 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48473
10b3bedc
UD
48474 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48475 Add sys/fanotify.h.
48476 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48477 fanotify_mask for GLIBC_2.13.
48478 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48479 fanotify_init and fanotify_mark.
48480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48481 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48482
c08fb0d7
UD
48483 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48484 Add prlimit.
48485 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48486 prlimit64 for GLIBC_2.13.
48487 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48488 prlimit64.
48489 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48490 syscall.
48491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48492 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48493 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48494 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48495 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48496 add prlimit alias.
48497 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48498
15bac72b
UD
48499 [BZ #11903]
48500 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48501 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48502
c3e2f19b
UD
48503 * nss/Makefile: Add rules to build and run tst-nss-test1.
48504 * shlib-versions: Add entry for libnss_test1.
48505 * nss/nss_test1.c: New file.
48506 * nss/tst-nss-test1.c: New file.
48507
48508 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48509 (__nss_configure_lookup): Set appropriate entry in
48510 __nss_configure_lookup to true.
48511 * nss/nsswitch.h: Define enum with indeces of databases in
48512 databases and __nss_database_custom arrays. Declare
48513 __nss_database_custom.
48514 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48515 to avoid using nscd when custom rules are installed.
48516 * nss/getXXbyYY_r.c: Likewise.
48517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48518
48519 * nss/nss_files/files-parse.c: Whitespace fixes.
48520
f15ce4d8
UD
485212010-08-09 Ulrich Drepper <drepper@redhat.com>
48522
48523 [BZ #11883]
48524 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48525 * posix/fnmatch_loop.c: Likewise.
48526
d22e4cc9
AK
485272010-07-17 Andi Kleen <ak@linux.intel.com>
48528
48529 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48530 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48531 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48532 * Versions.def [GLIBC_2.13]: Add.
48533
805bc17d
UD
485342010-08-06 Ulrich Drepper <drepper@redhat.com>
48535
48536 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48537 Also fail if tpwd after pwuid call is NULL.
48538
5a42321d
ST
485392010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48540
48541 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48542 when converting to ms.
48543
fd3ebeda
ST
485442010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48545
48546 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48547 EOPNOTSUPP errors with ENOTTY.
48548 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48549 EOPNOTSUPP errors with ENOTTY.
48550
73507d3a
UD
485512010-07-31 Ulrich Drepper <drepper@redhat.com>
48552
48553 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48554 Add strcasecmp_l-ssse3.
48555 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48556 strcasecmp.
48557 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48558 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48559 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48560
fe36dd02
UD
485612010-07-30 Ulrich Drepper <drepper@redhat.com>
48562
66f6765a
UD
48563 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48564
42e08a54
UD
48565 * string/Makefile (strop-tests): Add strcasecmp.
48566 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48567 strcasecmp_l-nonascii.
48568 (gen-as-const-headers): Add locale-defines.sym.
48569 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48570 * sysdeps/x86_64/strcasecmp.S: New file.
48571 * sysdeps/x86_64/strcasecmp_l.S: New file.
48572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48573 * sysdeps/x86_64/locale-defines.sym: New file.
48574 * string/test-strcasecmp.c: New file.
48575
fe36dd02
UD
48576 * string/test-strcasestr.c: Test both ends of the range of characters.
48577 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48578
48cbc0d6
RM
485792010-07-29 Roland McGrath <roland@redhat.com>
48580
76e6d6bc 48581 [BZ #11856]
48cbc0d6
RM
48582 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48583
880113d9
UD
485842010-07-27 Ulrich Drepper <drepper@redhat.com>
48585
48586 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48587 for ld.so.
48588
deb9cabb
AS
485892010-07-27 Andreas Schwab <schwab@redhat.com>
48590
48591 * manual/memory.texi (Malloc Tunable Parameters): Document
48592 M_PERTURB.
48593
1c7570ff
RM
485942010-07-26 Roland McGrath <roland@redhat.com>
48595
48596 [BZ #11840]
48597 * configure.in (-fgnu89-inline check): Set and substitute
48598 gnu89_inline, not libc_cv_gnu89_inline.
48599 * configure: Regenerated.
48600 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48601
24fb0f88
UD
486022010-07-26 Ulrich Drepper <drepper@redhat.com>
48603
48604 * string/test-strnlen.c: New file.
48605 * string/Makefile (strop-tests): Add strnlen.
48606 * string/tester.c (test_strnlen): Add a few more test cases.
48607 * string/tst-strlen.c: Better error reporting.
48608
48609 * sysdeps/x86_64/strnlen.S: New file.
48610
8e96b93a
UD
486112010-07-24 Ulrich Drepper <drepper@redhat.com>
48612
48613 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48614 lower-latency instructions.
48615
dbc676d4
UD
486162010-07-23 Ulrich Drepper <drepper@redhat.com>
48617
48618 * string/test-strcasestr.c: New file.
48619 * string/test-strstr.c: New file.
48620 * string/Makefile (strop-tests): Add strstr and strcasestr.
48621 * string/str-two-way.h: Don't undefine MAX.
48622 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48623
f6a31e0e
AS
486242010-07-21 Andreas Schwab <schwab@redhat.com>
48625
48626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48627 strcasestr-nonascii.
48628 (CFLAGS-strcasestr-nonascii.c): Define.
48629 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48630 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48631 Remove unused attribute.
48632
5dbc3b6c
RM
486332010-07-20 Roland McGrath <roland@redhat.com>
48634
48635 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48636 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48637 ld.so.cache was broken. With it, there is no way to disable dsocaps
48638 like LD_HWCAP_MASK can disable hwcaps.
48639
23d101d8
EPM
486402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48641
48642 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48643
cc9f2e47
UD
486442010-07-16 Ulrich Drepper <drepper@redhat.com>
48645
48646 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48647 call in strcasestr.
48648 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48649 __strcasestr_sse42_nonascii.
48650 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48651 strcasestr-nonascii.c.
48652 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48653
77c1b069
LM
486542010-06-15 Luis Machado <luisgpm@br.ibm.com>
48655
48656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48657 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48658 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48659 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48660
440566c3
UD
486612010-07-09 Ulrich Drepper <drepper@redhat.com>
48662
48663 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48664 fcntl.
48665
5be9d05d
AS
486662010-07-06 Andreas Schwab <schwab@redhat.com>
48667
c30b7ee2 48668 [BZ #11577]
5be9d05d
AS
48669 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48670 dl_signal_cerror.
48671
8a492a67
UD
486722010-07-06 Ulrich Drepper <drepper@redhat.com>
48673
48674 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48675 _PC_PIPE_BUF using F_GETPIPE_SZ.
48676
713df3d5
RM
486772010-07-05 Roland McGrath <roland@redhat.com>
48678
48679 * manual/arith.texi (Rounding Functions): Fix rint description
48680 implicit in round description.
48681
702e8f14
UD
486822010-07-02 Ulrich Drepper <drepper@redhat.com>
48683
48684 * elf/Makefile: Fix linking for a few tests to make recent linker
48685 happy.
48686
52ed8be9
AS
486872010-06-30 Andreas Schwab <schwab@redhat.com>
48688
48689 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48690 $(common-objpfx)libc_nonshared.a.
48691
f47c9a11
LM
486922010-06-21 Luis Machado <luisgpm@br.ibm.com>
48693
48694 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48695 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48696 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48697 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48698 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48699 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48700 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48701 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48716 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48717 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48718 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48719 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48720 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48721 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48722 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48723 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48724 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48725 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48726 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48727 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48742
6fb8cbcb
L
487432010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48744
48745 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48746 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48747 * string/memmove.c (memmove): Renamed to ...
48748 (MEMMOVE): ...this. Default to memmove.
48749 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48750 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48751 (END_CHK): Define.
48752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48753 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48754 mempcpy-ssse3-back memmove-ssse3-back.
48755 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48756 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48757 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48758 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48759 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48760 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48761 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48762 * sysdeps/x86_64/multiarch/memmove.c: New file.
48763 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48764 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48765 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48766 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48767 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48769 Define.
48770 (index_Fast_Copy_Backward): Define.
48771 (HAS_ARCH_FEATURE): Define.
48772 (HAS_FAST_REP_STRING): Define.
48773 (HAS_FAST_COPY_BACKWARD): Define.
48774
4e733bac 487752010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48776
48777 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48778 Restore proper fallback handling.
48779
63c4ed22
UD
487802010-06-19 Ulrich Drepper <drepper@redhat.com>
48781
ac2b484c
UD
48782 [BZ #11701]
48783 * posix/group_member.c (__group_member): Correct checking loop.
48784
63c4ed22
UD
48785 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48786 OOM in getpwuid_r correctly. Return error number when the caller
48787 should return, otherwise -1.
48788 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48789 call returning > 0 value.
48790 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48791
765ade4b
AS
487922010-06-07 Andreas Schwab <schwab@redhat.com>
48793
48794 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48795 libc_nonshared.a from targets in modules-names.
48796
80da2e09
KS
487972010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48798
48799 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48800 requires it.
48801
158db122
LM
488022010-06-10 Luis Machado <luisgpm@br.ibm.com>
48803
48804 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48805 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48806 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48807 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48808
caa78cf8
AS
488092010-06-02 Andreas Schwab <schwab@redhat.com>
48810
48811 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48812
b2ef2c01
UD
488132010-06-14 Ulrich Drepper <drepper@redhat.com>
48814
48815 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48816 and F_GETPIPE_SZ.
48817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48818 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48821 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48822 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48823
fbd643b6
RM
488242010-06-14 Roland McGrath <roland@redhat.com>
48825
48826 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48827
f32f2869
JJ
488282010-06-07 Jakub Jelinek <jakub@redhat.com>
48829
48830 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48831 __REDIRECT followed by __THROW.
48832 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48833 * posix/getopt.h (getopt): Likewise.
48834
2a50c078
EPM
488352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48836
48837 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48838 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48839 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48840 in AT_FLAGS.
48841 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48842 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48843
eb5ad2eb
LM
488442010-05-28 Luis Machado <luisgpm@br.ibm.com>
48845
48846 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48847
3c88fe1e
L
488482010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48849
48850 [BZ #11640]
48851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48852 Properly check family and model.
48853
d2f73151
TY
488542010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48855
48856 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48857
ebd2e13d
LM
488582010-05-24 Luis Machado <luisgpm@br.ibm.com>
48859
48860 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48861
b32b8b45
UD
488622010-05-21 Ulrich Drepper <drepper@redhat.com>
48863
48864 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48865 symbol reference.
48866
9acbe24d
AS
488672010-05-19 Andreas Schwab <schwab@redhat.com>
48868
48869 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48870 symbol reference.
48871
f0ccf6ea
AS
488722010-05-21 Andreas Schwab <schwab@redhat.com>
48873
3d04ff3a
AS
48874 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48875 and internal_recvmmsg.
48876 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48877 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48878 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48879 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48880
f0ccf6ea
AS
48881 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48882 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48883 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48884
5b08ac57
AS
488852010-05-20 Andreas Schwab <schwab@redhat.com>
48886
48887 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48888
4828935d
LM
488892010-05-17 Luis Machado <luisgpm@br.ibm.com>
48890
48891 POWER7 optimizations.
48892 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48893 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48894
373d545e
UD
488952010-05-19 Ulrich Drepper <drepper@redhat.com>
48896
48897 * version.h: Update for 2.13 development version.
48898
21a2b1ae
AS
488992010-05-12 Andrew Stubbs <ams@codesourcery.com>
48900
48901 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48902 exceptions. Return 0.
48903
3f7dcb2b
RM
489042010-05-07 Roland McGrath <roland@redhat.com>
48905
48906 * elf/ldconfig.c (main): Add a const.
48907
5f24d53a 489082010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48909
a160f8d8
UD
48910 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48911 (args_options): Add no-idn option.
48912 (ahosts_keys_int): Add idn_flags to ai_flags.
48913 (parse_option): Handle 'i' option to clear idn_flags.
48914
5f24d53a
UD
48915 * malloc/malloc.c (_int_free): Possible race in the most recently
48916 added check. Only act on the data if no current modification
48917 happened.
265bb1ce
UD
48918
48919See ChangeLog.17 for earlier changes.