]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix -Wundef warning for HAVE_OBSTACK
[glibc.git] / ChangeLog
CommitLineData
d69b7f5a
SP
12014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2
c3c7c360
SP
3 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4
d62aa75a
SP
5 [BZ #17125]
6 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7 libc_freeres_ptr.
8 (freecache): New function to free CACHE on exit.
9
d69b7f5a
SP
10 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11 initialization.
12
5efe06a1
DM
132014-07-09 David S. Miller <davem@davemloft.net>
14
15 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16
7000d82e
DM
17 * sysdeps/sparc/nptl/internaltypes.h: Delete.
18 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
19 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
20 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22 * sysdeps/sparc/nptl/sem_init.c: Likewise.
23 * sysdeps/sparc/nptl/sem_post.c: Likewise.
24 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
25 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30
c213442d
AS
312014-07-09 Andreas Schwab <schwab@suse.de>
32
4a2552c3
AS
33 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34 output.
35 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36 (do_test): Likewise.
37
c213442d
AS
38 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39
82374e65
WN
402014-07-09 Will Newton <will.newton@linaro.org>
41
42 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
44 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
46 * sysdeps/hppa/start.S (_start): Likewise.
47
6680738a
SP
482014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
49
6ee3eab4
SP
50 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
51
6680738a
SP
52 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
53 defined.
54
80b5c505
SP
552014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
56
e35c53e3
SP
57 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
58 after checking that it is non-NULL.
59
80b5c505
SP
60 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
61
91f4b564
AZ
622014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63
27b75f56
AZ
64 * sysdeps/powerpc/memmove.c: Remove file.
65 * sysdeps/powerpc/powerpc32/power4/memcopy.h
66 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
67 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
68 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
69 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
70 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
71 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
72 string memmove instead of removed powerpc one.
73
e7f95bb5
AZ
74 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
75 [weak_alias]: Fix compiler warning due trailing data.
76 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
77 [weak_alias]: Likewise.
78 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
79 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
80
91f4b564
AZ
81 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
82 (__libc_ifunc_impl_list): Add memmove functions.
83
7c33f1e5
SP
842014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
85
86 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
87 Remove code.
88 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
89 Likewise
90 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
91 Likewise
92 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
93 Likewise
94 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
95 Likewise
96 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
97 Likewise
98 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
99 Likewise
100 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
101 Likewise
102 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
103 Likewise
104 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
105 Likewise
106 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
107 Likewise
108 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
109 Likewise
110 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
111 Likewise
112 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
113 Likewise
114 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
115 Likewise
116 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
117 Likewise
118 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
119 Likewise
120
3f17b03b
AZ
1212014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122
87868c24
AZ
123 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
124 to avoid alignment traps in non-cacheable memory.
125 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
126
07aedd78
AZ
127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
128 multiarch objects.
129 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
130 file: multiarch power7 memmove.
131 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
132 multiarch default memmove.
133 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
134 multiarch memove for powerpc32/power4.
135
17762f66
AZ
136 * string/bcopy.c: Use full path to include memmove.c.
137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
138 multiarch objects.
139 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
140 bcopy for powerpc64.
141 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
142 bcopy for powerpc64.
143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
144 and memmove implementations.
145 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
146 optimized multiarch memmove for POWER7/powerpc64.
147 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
148 default multiarch memmove for powerpc64.
149 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
150 multiarch for powerpc64.
151 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
152 for POWER7/powerpc64.
153 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
154 memmove for POWER7/powerpc64.
155
d6f68bbe
AZ
156 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
157 glibc default one.
158
3f17b03b
AZ
159 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
160 __ELF_NATIVE_CLASS equal to 64.
161
08192659
RM
1622014-07-07 Roland McGrath <roland@hack.frob.com>
163
f4c4021b
RM
164 * sysdeps/nptl/lowlevellock.h: File removed.
165
f083450f
RM
166 * NEWS: NPTL is no longer an add-on!
167 * nptl/internaltypes.h: Moved ...
168 * sysdeps/nptl/internaltypes.h: ... here.
169 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
170 * sysdeps/nptl/fork.c: Likewise.
171 * sysdeps/nptl/gai_misc.h: Likewise.
172 * sysdeps/nptl/librt-cancellation.c: Likewise.
173 * sysdeps/nptl/jmp-unwind.c: Likewise.
174 * sysdeps/nptl/setxid.h: Likewise.
175 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
176 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
177 * sysdeps/unix/sysv/linux/arm/Implies: New file.
178 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
179 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
180 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
181 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
182 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
183 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
184 * sysdeps/unix/sysv/linux/mips/Implies: New file.
185 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
186 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
187 * sysdeps/unix/sysv/linux/sh/Implies: New file.
188 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
189 * sysdeps/unix/sysv/linux/tile/Implies: New file.
190 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
191 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
192 * nptl/Makeconfig: Moved ...
193 * sysdeps/nptl/Makeconfig: ... here.
194 * nptl/configure: File removed.
195 * nptl/ANNOUNCE: File removed.
196 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
197 * sysdeps/unix/sysv/linux/configure: Regenerated.
198
08192659
RM
199 * nptl/Makefile (routines): Add libc_pthread_init,
200 libc_multiple_threads, register-atfork and unregister-atfork.
201 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
202 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
203 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
204 pthread-pi-defines.sym, structsem.sym.
205 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
206 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
207 [$(subdir) = nptl] (tests): Add tst-setgetname.
208 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
209 * sysdeps/unix/sysv/linux/sigaction.c: Just include
210 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
211 [!LIBC_SIGACTION]: Remove aliases.
212 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
213 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
214 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
215 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
216 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
217 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
218 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
219 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
220 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
221 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
222 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
223 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
224 __libc_allocate_rtsig_private.
225 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
226 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
227 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
228 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
229 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
230 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
231 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
232 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
233 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
234 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
235 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
236 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
237 * nptl/internaltypes.h: ... here.
238 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
239 * sysdeps/nptl/jmp-unwind.c: ... here.
240 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
241 * nptl/libc-lowlevellock.c: ... here.
242 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
243 * nptl/libc_multiple_threads.c: ... here.
244 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
245 * nptl/libc_pthread_init.c: ... here.
246 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
247 * nptl/lowlevelbarrier.sym: ... here.
248 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
249 * nptl/lowlevelcond.sym: ... here.
250 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
251 * nptl/lowlevellock.c: ... here.
252 * nptl/lowlevellock.h: Moved ...
253 * sysdeps/nptl/lowlevellock.h: ... here.
254 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
255 * nptl/lowlevelrobustlock.c: ... here.
256 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
257 * nptl/lowlevelrobustlock.sym: ... here.
258 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
259 * nptl/lowlevelrwlock.sym: ... here.
260 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
261 * nptl/pt-fork.c: ... here.
262 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
263 * nptl/pthread-pi-defines.sym: ... here.
264 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
265 * nptl/pthread_attr_getaffinity.c: ... here.
266 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
267 * nptl/pthread_attr_setaffinity.c: ... here.
268 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
269 * nptl/pthread_mutex_cond_lock.c: ... here.
270 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
271 Update #include.
272 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
273 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
274 * nptl/pthread_once.c: ... here, replacing old file.
275 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
276 * nptl/pthread_yield.c: ... here.
277 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
278 * nptl/register-atfork.c: ... here.
279 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
280 * nptl/sem_post.c: ... here.
281 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
282 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
283 * nptl/sem_timedwait.c: ... here.
284 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
285 * nptl/sem_trywait.c: ... here.
286 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
287 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
288 * nptl/sem_wait.c: ... here.
289 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
290 * nptl/structsem.sym: ... here.
291 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
292 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
293 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
294 * nptl/unregister-atfork.c: ... here.
295 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
296 * nptl/unwindbuf.sym: ... here.
297 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
298 * sysdeps/nptl/fork.c: ... here.
299 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
300 * sysdeps/nptl/fork.h: ... here.
301 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
302 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
303 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
304 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
305 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
306 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
307 * sysdeps/unix/sysv/linux/getpid.c: ... here.
308 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
309 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
310 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
311 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
312 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
313 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
314 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
315 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
316 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
317 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
318 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
319 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
320 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
321 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
322 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
323 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
324 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
325 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
326 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
327 * sysdeps/unix/sysv/linux/raise.c: ... here.
328 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
329 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
330 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
331 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
332 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
333 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
334 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
335 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
336 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
337 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
338 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
339 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
340 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
341 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
342 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
343
96baf6ff
SP
3442014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
345
346 * sysdeps/generic/memcopy.h: Add comment for
347 MEMCPY_OK_FOR_FWD_MEMMOVE.
348
6b7b14b2
WN
3492014-07-04 Will Newton <will.newton@linaro.org>
350
1570a72b
WN
351 * string/memchr.c: Merge from gnulib.
352 [_LIBC]: Remove conditionals.
353 (__ptr_t): Remove define.
354 (LONG_MAX_32_BITS): Likewise.
355 (LONG_MAX): Likewise.
356 (MEMCHR): Use ANSI prototype and optimize algorithm.
357
6b7b14b2
WN
358 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
359
38851324
SP
3602014-07-03 Roland McGrath <roland@hack.frob.com>
361
3d9eb57c
RM
362 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
363 (lll_futex_timed_wait_bitset): Fix syscall argument count.
364
78b984ae
RM
365 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
366 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
367 in a bare environment with no <stdlib.h> installed.
368 * sysdeps/nptl/configure: Regenerated.
369
2d5976a5
RM
370 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
371
c1f5acd4
RM
372 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
373 AC_EGREP_CPP for kernel header checks, so they only succeed if
374 including <linux/version.h> actually works right.
375 * sysdeps/unix/sysv/linux/configure: Regenerated.
376
4d614fe5
RM
377 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
378 value so it's not diagnosed as unused.
379
38851324
SP
380 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
381 thing) with "ifeq ($(subdir),rt)".
382
b3ec00e5
RH
3832014-07-03 Richard Henderson <rth@redhat.com>
384
69862e25
RH
385 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
386 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
387 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
388
d5e16ade
RH
389 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
390 (math_force_eval): New.
391
ca7b945c
RH
392 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
393 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
394
cd1175a3
RH
395 * sysdeps/alpha/fpu/s_round.c: Remove file.
396 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
397
b3ec00e5
RH
398 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
399 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
400 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
401 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
402 (_dl_start, print_statistics): Likewise.
403 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
404 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
405
406 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
407 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
408 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
409 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
410 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
411 (HP_SMALL_TIMING_AVAIL): Define.
412 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
413 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
414 (HP_SMALL_TIMING_AVAIL): Define.
415 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
416 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
417
418 * sysdeps/aarch64/hp-timing.h: New file.
419
420 * sysdeps/generic/hp-timing.h: Remove dead comment.
421 * sysdeps/generic/hp-timing-common.h: New file.
422 * sysdeps/alpha/hp-timing.h: Include it.
423 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
424 * sysdeps/i386/i686/hp-timing.h: Likewise.
425 * sysdeps/ia64/hp-timing.h: Likewise.
426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
427 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
428 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
429 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
430 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
431 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
432 (hp_timing_t): New.
433
434 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
435 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
436 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
437 * elf/rtld.c (_dl_start_final): Likewise.
438 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
439 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
440 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
441 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
442 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
443 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
444 (HP_TIMING_DIFF_INIT): Remove.
445 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
446 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
447 (HP_TIMING_DIFF_INIT): Remove.
448 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
449 * sysdeps/i386/i686/hp-timing.c: Remove file.
450 * sysdeps/x86_64/hp-timing.c: Remove file.
451 * sysdeps/ia64/hp-timing.c: Remove file.
452 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
453 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
454 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
455 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
456
457 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
458 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
459 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
460 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
461 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
462 (HP_TIMING_ACCUM): Remove.
463 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
464 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
465 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
466
467 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
468 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
469 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
470 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
471 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
472 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
473 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
474 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
475
476 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
477
225f410f
MR
4782014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
479
480 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
481
3247f285
SP
4822014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
483
484 Sync up with gettext.
485 * intl/loadmsgcat.c: Define O_BINARY if not defined.
486 [_MSC_VER]: Include malloc.h
487 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
488 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
489 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
490 TEMP_FAILURE_RETRY. Cast return of alloca.
491 [!_LIBC] Call gl_rwlock_init.
492 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
493
d12704c7
SP
4942014-07-02 Roland McGrath <roland@hack.frob.com>
495
496 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
497 before checking its value.
498
99f8dc92
SP
4992014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
500
05fdac77
SP
501 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
502
99f8dc92
SP
503 * debug/memcpy_chk.c: Don't include pagecopy.h.
504 * debug/mempcpy_chk.c: Likewise.
505 * string/memcpy.c: Likewise.
506 * string/memmove.c: Likewise.
507 * sysdeps/powerpc/memmove.c: Likewise.
508 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
509 definition of PAGE_COPY_FWD_MAYBE here...
510 * sysdeps/generic/pagecopy.h: ... from here.
511 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
512
bc8ea385
VR
5132014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
514 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
515
516 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
518 optimizations.
519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
520 (__libc_ifunc_impl_list): Likewise.
521 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
522 multiarch strcat for PPC64.
523 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
524 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
525
fe5f34e4
RM
5262014-07-02 Roland McGrath <roland@hack.frob.com>
527
528 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
529
256aa665
SP
5302014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
531
d4eb8195
SP
532 * intl/loadmsgcat.c: Remove declaration of
533 get_sysdep_segment_value.
534 (get_sysdep_segment_value): Use ISO C style.
535 (_nl_load_domain): Use ISO C style. Get rid of redundant
536 semicolon. Fix typo and formatting in comment.
537 (_nl_unload_domain): Use ISO C style.
538
256aa665
SP
539 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
540
b100f9aa
WN
5412014-07-02 Will Newton <will.newton@linaro.org>
542
543 * malloc/obstack.c: Merge from gnulib master.
544 [HAVE_CONFIG_H]: Remove conditional code.
545 [!_LIBC]: Include config.h.
546 [!ELIDE_CODE]: Don't include inttypes.h, include
547 stdint.h unconditionally.
548 (print_and_abort): Mark as _Noreturn.
549 (_obstack_allocated_p): Mark as __attribute_pure__.
550 (obstack_free): Rename to __obstack_free.
551 [!__attribute__]: Remove conditional code.
552 * malloc/obstack.h: Merge from gnulib master.
553 [__cplusplus]: Move conditional down.
554 [!__attribute_pure__]: Define __attribute_pure__ here
555 if it is not already defined.
556 (_obstack_memory_used): Mark as __attribute_pure__.
557 [!__obstack_free]: Define as obstack_free.
558 [__GNUC__]: Remove check for ancient NeXT gcc.
559
c4c41244
PE
5602014-07-02 Will Newton <will.newton@linaro.org>
561 Paul Eggert <eggert@cs.ucla.edu>
562
563 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
564
e1e041c4
SP
5652014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
566
567 * resolv/gethnamaddr.c: Add comment warning that the file is
568 not maintained.
569
ccf431ff
CD
5702014-07-01 Carlos O'Donell <carlos@redhat.com>
571
d34570a6
CD
572 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
573 entries.
574
ccf431ff
CD
575 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
576 entry for aio_cancel and aio_cancel64.
577 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
578 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
579 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
580 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
581 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
582 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
583 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
584 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
585 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
586 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
587 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
588 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
589 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
590
ca06321d
RM
5912014-07-01 Roland McGrath <roland@hack.frob.com>
592
593 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
594 * nptl/pthread_mutex_lock.c: Likewise.
595 * nptl/pthread_mutex_timedlock.c: Likewise.
596 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
597
a1ac3184
RH
5982014-07-01 Richard henderson <rth@redhat.com>
599
631021e0
RH
600 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
601 (__isnan, __isnanl): Remove.
602 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
603
a1ac3184
RH
604 * sysdeps/alpha/fpu/libm-test-ulps: Update.
605
0c1d731f
SL
6062014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
607
608 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
609
76985d3e
SP
6102014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
611
612 * resolv/nss_dns/dns-host.c (getanswer_r)
613 [MULTI_PTRS_ARE_ALIASES]: Remove code.
614
b0cb3096
JM
6152014-07-01 Joseph Myers <joseph@codesourcery.com>
616
617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
618 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
619 undefine.
620 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
621 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
622
4d76cb39
RM
6232014-07-01 Roland McGrath <roland@hack.frob.com>
624
625 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
626 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
627
628 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
629 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
630
631 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
632 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
633 ... here.
634 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
635 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
636
637 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
638 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
639 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
640 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
641
642 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
643 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
644 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
645 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
646 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
647 Moved ...
648 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
649 ... here.
650 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
651 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
652 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
653 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
654 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
655 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
656 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
657 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
658 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
659 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
660 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
661 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
662 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
663 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
664 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
665 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
666 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
667 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
668 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
669 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
670 ... here.
671 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
673 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
674 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
675 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
676 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
677 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
678 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
679
0cdcad17
DH
6802014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
681
682 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
683 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
684 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
685 Add sysdep.
686
9b71d0e3
AZ
6872014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688
689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
690
665390c2
JM
6912014-06-30 Joseph Myers <joseph@codesourcery.com>
692
ae05a9d7
JM
693 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
694 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
695
a7672a2f
JM
696 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
697
665390c2
JM
698 * sysdeps/arm/libm-test-ulps: Regenerated.
699
d7a05d07
MR
7002014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
701 Roland McGrath <roland@hack.frob.com>
702
703 * test-skeleton.c (signal_handler): Kill the whole process group
704 before killing the child individually.
705 (main): Report any failure on `setpgid'.
706
46f1d8a6
RM
7072014-06-30 Roland McGrath <roland@hack.frob.com>
708
709 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
710 from _TLS_H to _ARM_NPTL_TLS_H.
711 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
712 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
713
9c37ec0b
JM
7142014-06-30 Joseph Myers <joseph@codesourcery.com>
715
ce9c5b3e
JM
716 [BZ #16539]
717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
718 (__expm1l): Return argument unchanged when small but not
719 subnormal.
720
3a6e9887
JM
721 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
722 include macro name.
723 (_FP_UNPACK_RAW_1_P): Likewise.
724 (_FP_PACK_RAW_1): Likewise.
725 (_FP_PACK_RAW_1_P): Likewise.
726 (_FP_MUL_MEAT_1_wide): Likewise.
727 (_FP_MUL_MEAT_DW_1_hard): Likewise.
728 (_FP_MUL_MEAT_1_hard): Likewise.
729 (_FP_DIV_MEAT_1_imm): Likewise.
730 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
731 (_FP_DIV_MEAT_1_udiv): Likewise.
732 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
733 (_FP_UNPACK_RAW_2): Likewise.
734 (_FP_UNPACK_RAW_2_P): Likewise.
735 (_FP_PACK_RAW_2): Likewise.
736 (_FP_PACK_RAW_2_P): Likewise.
737 (_FP_MUL_MEAT_DW_2_wide): Likewise.
738 (_FP_MUL_MEAT_2_wide): Likewise.
739 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
740 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
741 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
742 (_FP_MUL_MEAT_2_gmp): Likewise.
743 (_FP_DIV_MEAT_2_udiv): Likewise.
744 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
745 (_FP_FRAC_SRL_4): Likewise.
746 (_FP_FRAC_SRST_4): Likewise.
747 (_FP_FRAC_SRS_4): Likewise.
748 (_FP_UNPACK_RAW_4): Likewise.
749 (_FP_UNPACK_RAW_4_P): Likewise.
750 (_FP_PACK_RAW_4): Likewise.
751 (_FP_PACK_RAW_4_P): Likewise.
752 (_FP_MUL_MEAT_DW_4_wide): Likewise.
753 (_FP_MUL_MEAT_4_wide): Likewise.
754 (_FP_MUL_MEAT_4_gmp): Likewise.
755 (umul_ppppmnnn): Likewise.
756 (_FP_DIV_MEAT_4_udiv): Likewise.
757 (__FP_FRAC_ADD_4): Likewise.
758 (__FP_FRAC_SUB_3): Likewise.
759 (__FP_FRAC_SUB_4): Likewise.
760 (__FP_FRAC_DEC_3): Likewise.
761 (__FP_FRAC_DEC_4): Likewise.
762 (__FP_FRAC_ADDI_4): Likewise.
763 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
764 (_FP_FRAC_SRL_8): Likewise.
765 (_FP_FRAC_SRS_8): Likewise.
766
9c37ec0b
JM
767 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
768 include macro name.
769 (FP_UNPACK_RAW_EP): Likewise.
770 (FP_PACK_RAW_E): Likewise.
771 (FP_PACK_RAW_EP): Likewise.
772 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
773 (_FP_ISSIGNAN): Likewise.
774 (_FP_ADD_INTERNAL): Likewise.
775 (_FP_FMA): Likewise.
776 (_FP_CMP): Likewise.
777 (_FP_SQRT): Likewise.
778 (_FP_TO_INT): Likewise.
779 (_FP_FROM_INT): Likewise.
780 (FP_EXTEND): Likewise.
781 (_FP_DIV_MEAT_N_loop): Likewise.
782
2125f674
MR
7832014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
784
785 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
786 throughout.
787
edea4028
JM
7882014-06-29 Joseph Myers <joseph@codesourcery.com>
789
790 [BZ #17097]
791 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
792 result with correct sign in case of exponents that produce
793 overflow except for X very close to 1.
794
dd0ba018
PE
7952014-06-28 Paul Eggert <eggert@cs.ucla.edu>
796
797 mktime: merge #if/#ifdef usage from glibc
798 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
799 as that works with both Glibc's and Gnulib's style.
800 See thread starting at Siddhesh Poyarekar's bug report at:
801 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
802
64df73c2
SP
8032014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
804
805 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
806 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
807 * sysdeps/tile/tilegx/memmove.c: Remove file.
808
f1eafb41
JM
8092014-06-27 Joseph Myers <joseph@codesourcery.com>
810
811 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
812 abi-name definition.
813 * scripts/soversions.awk: Do not handle or generate ABI lines.
814 * shlib-versions: Remove ABI entries.
815 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
816 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
817
58eb0862
RM
8182014-06-27 Roland McGrath <roland@hack.frob.com>
819
37caf178
RM
820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
821 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
822 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
823 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
825 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
827 Moved ...
828 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
829 ... here.
830 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
833 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
835 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
839 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
841 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
842 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
843 Moved ...
844 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
846 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
847 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
848 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
849 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
850 Moved ...
851 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
853 Moved ...
854 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
855 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
856 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
857 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
858 Moved ...
859 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
860 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
861 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
863 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
864 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
865 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
866 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
867 Moved ...
868 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
869 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
870 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
871 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
872 Moved ...
873 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
874 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
875 Moved ...
876 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
877 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
878 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
879 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
880 Moved ...
881 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
882 ... here.
883 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
884 Identical file removed.
885 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
886 Moved ...
887 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
888 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
889 Identical file removed.
890 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
892 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
893 Moved ...
894 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
895 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
896 Identical file removed.
897 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
899 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
900 Identical file removed.
901 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
902 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
903 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
904 Identical file removed.
905 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
906 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
907 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
908 Identical file removed.
909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
910 Moved ...
911 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
912 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
913 Identical file removed.
914 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
915 Moved ...
916 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
917 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
918 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
919 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
920 Identical file removed.
921 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
922 Moved ...
923 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
924 ... here.
925 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
926 Identical file removed.
927 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
928 Moved ...
929 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
930 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
931 Identical file removed.
932 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
933 Moved ...
934 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
935 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
936 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
937 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
938 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
939 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
940 Moved ...
941 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
942 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
943 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
944
58eb0862
RM
945 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
946 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
947 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
948 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
949 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
950
6f12d062
AS
9512014-06-27 Arjun Shankar <arjun.is@lostca.se>
952
953 [BZ #17092]
954 * nscd/nscd.c (monitor_child): Return exit status of child
955 instead of return value from wait syscall.
956
be254932
JM
9572014-06-27 Joseph Myers <joseph@codesourcery.com>
958
cb403c34
JM
959 * configure.ac (libc_commonpagesize): Remove variable.
960 (libc_relro_required): Likewise.
961 (libc_cv_z_relro): Remove configure test.
962 * configure: Regenerated.
963 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
964 variable.
965 (libc_relro_required): Likewise.
966 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
967 (libc_relro_required): Likewise.
968 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
969 (libc_relro_required): Likewise.
970 * sysdeps/arm/preconfigure: Regenerated.
971 * sysdeps/ia64/preconfigure: Remove file.
972 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
973 variable.
974 (libc_relro_required): Likewise.
975
be254932
JM
976 [BZ #16561]
977 [BZ #16562]
978 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
979 (__ieee754_yn): Set FE_TONEAREST mode internally and then
980 recompute overflowing results in original rounding mode.
981 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
982 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
983 recompute overflowing results in original rounding mode.
984 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
985 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
986 recompute overflowing results in original rounding mode.
987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
988 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
989 recompute overflowing results in original rounding mode.
990 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
991 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
992 recompute overflowing results in original rounding mode.
993 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
994 (libc_feholdsetround_ctx): New macro.
995 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
996 * sysdeps/i386/fpu/libm-test-ulps: Update.
997 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
998
b351d85a
JM
9992014-06-26 Joseph Myers <joseph@codesourcery.com>
1000
1001 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1002 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1003 corresponding .cpsetup call.
1004
3cb4de47
RM
10052014-06-26 Roland McGrath <roland@hack.frob.com>
1006
1007 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1008 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1009 * sysdeps/arm/Makefile [$(subdir) = csu]
1010 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1011 (static-only-routines): Add aeabi_read_tp here.
1012 (shared-only-routines): Add libc-aeabi_read_tp here.
1013 (CFLAGS-libc-start.c): Add -fexceptions here.
1014 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1015 (sysdep_routines, static-only-routines, shared-only-routines):
1016 Don't add to these here.
1017 (CFLAGS-libc-start.c): Likewise.
1018
1019 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1020 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1021 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1022 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1023 * sysdeps/arm/Makefile [$(subdir) = rt]
1024 (librt-sysdep_routines, librt-shared-only-routines):
1025 Append rt-aeabi_unwind_cpp_pr1 here.
1026 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1027 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1028 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1029 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1030 Append nptl-aeabi_unwind_cpp_pr1 here.
1031 (tests): Filter out tst-cleanupx4 here.
1032 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1033 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1034 Don't do those here.
1035
354426bb
JM
10362014-06-26 Joseph Myers <joseph@codesourcery.com>
1037
1038 * scripts/list-sources.sh: Do not handle ports specially.
1039
28b0a8c9
RM
10402014-06-26 Roland McGrath <roland@hack.frob.com>
1041
a3dd035d
RM
1042 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1043 * sysdeps/arm/feupdateenv.c: Likewise.
1044
28b0a8c9
RM
1045 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1046
e66a8203
JM
10472014-06-26 Joseph Myers <joseph@codesourcery.com>
1048
1049 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1050 trailing whitespace removed.
1051 * scripts/config.guess: Update to version 2014-03-23.
1052 * scripts/config.sub: Update to version 2014-05-01
1053 * scripts/install-sh: Update to version 2013-12-25.23.
1054 * scripts/move-if-change: Update from gnulib.
1055
74171115
SP
10562014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1057
b97c9ce5
SP
1058 * debug/memmove_chk.c: Remove pagecopy.h include.
1059
4000f892
SP
10602014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1061
74171115
SP
1062 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1063 identical to gnulib mktime.
1064
a8779c28
JM
10652014-06-26 Joseph Myers <joseph@codesourcery.com>
1066
e64708de
JM
1067 * configure.ac: Do not test for machine being rs6000. Do not test
1068 for powerpc*-*soft.
1069 * configure: Regenerated.
1070
a8779c28
JM
1071 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1072 test.
1073 * configure: Regenerated.
1074 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1075 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1076 Remove configure test.
1077 * sysdeps/arm/configure: Regenerated.
1078 * sysdeps/nptl/configure.ac: Do not check
1079 libc_cv_asm_cfi_directives.
1080 * sysdeps/nptl/configure: Regenerated.
1081 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1082 * sysdeps/x86_64/nptl/configure: Remove generated file.
1083 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1084 unconditional.
1085 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1086
2aac0a86
SP
10872014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1088
059bf913
SP
1089 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1090 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1091 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1092 it is defined.
1093
4cf5b6d0
SP
1094 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1095 instead of whether it is defined.
1096 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1097 * sysdeps/hppa/dl-machine.h: Likewise.
1098 * sysdeps/ia64/dl-machine.h: Likewise.
1099 * sysdeps/m68k/dl-machine.h: Likewise.
1100 * sysdeps/microblaze/dl-machine.h: Likewise.
1101 * sysdeps/mips/dl-machine.: Likewise.
1102 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1103 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1104 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1105 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1106 * sysdeps/sh/dl-machine.h: Likewise.
1107 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1108 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1109 * sysdeps/tile/dl-machine.h: Likewise.
1110 * sysdeps/x86_64/dl-machine.h: Likewise.
1111
2aac0a86
SP
1112 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1113 code.
1114 (verify_persistent_db): Likewise.
1115
6ad2df0b
RM
11162014-06-26 Roland McGrath <roland@hack.frob.com>
1117
d8a483f3
RM
1118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1119 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1123 Moved ...
1124 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1125 ... here.
1126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1129 Identical file removed.
1130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1131 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1135 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1137 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1139 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1141 Moved ...
1142 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1148 Moved ...
1149 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1151 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1153 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1155 Identical file removed.
1156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1157 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1159 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1161 Moved ...
1162 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1163 ... here.
1164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1175 Moved ...
1176 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1178 Moved ...
1179 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1183 Moved ...
1184 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1186 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1187
52ae23b4
RM
1188 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1189 folded into ...
1190 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1191 * sysdeps/unix/sysv/linux/s390/Versions
1192 (libpthread: GLIBC_2.19): New version set.
1193 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1194 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1195 (librt: GLIBC_2.3.3): New version set.
1196 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1197 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1198 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1199 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1200 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1201 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1202 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1203 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1204 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1205 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1206 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1207 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1208 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1209 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1210 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1211 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1212 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1213 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1214 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1215 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1216 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1217 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1218 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1219 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1220 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1221 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1222 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1223 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1224 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1225 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1226 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1227 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1229 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1230 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1231 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1232 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1233 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1234 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1235 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1236 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1237 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1238 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1240 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1241
39507e4a
RM
1242 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1243 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1244 (__libc_vfork): Define the function under this name.
1245 [!NOT_IN_libc] (__vfork): Make this an alias.
1246 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1247 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1248 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1249 (__libc_vfork): Define the function under this name.
1250 [!NOT_IN_libc] (__vfork): Make this an alias.
1251 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1252 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1253 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1254 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1255 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1256 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1257
e549ee56
RM
1258 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1259 code that was previously under [RESET_PID].
1260 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1261 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1262 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1263
6ad2df0b
RM
1264 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1265 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1266 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1267 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1268 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1269 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1270 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1271 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1272 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1273 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1274 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1275 Moved ...
1276 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1277 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1278 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1279 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1280 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1281 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1282 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1283 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1284 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1285 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1286 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1287 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1288 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1289 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1290 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1291 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1292 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1293 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1294 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1295 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1296 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1297 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1298 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1300 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1301 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1302 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1303 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1304 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1305
7c1c1d8e
RM
13062014-06-25 Roland McGrath <roland@hack.frob.com>
1307
1308 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1309 that was previously under [RESET_PID].
1310 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1311
3e239be6
JM
13122014-06-25 Joseph Myers <joseph@codesourcery.com>
1313
74385da5
JM
1314 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1315 not undefine and redefine.
1316 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1317 [O_CLOEXEC]: Make code unconditional.
1318 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1319 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1320 <kernel-features.h>.
1321 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1322 conditional variable definition.
1323 (shm_open) [O_CLOEXEC]: Make code unconditional.
1324 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1325 code.
1326
c2570a0b
JM
1327 * configure.ac (USE_REGPARMS): Don't define here.
1328 * configure: Regenerated.
1329 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1330 * sysdeps/i386/configure: Regenerated.
1331
11b076bb
JM
1332 * nptl/createthread.c: Don't include kernel-features.h.
1333 * nptl/pthread_cancel.c: Likewise.
1334 * nptl/pthread_condattr_setclock.c: Likewise.
1335 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1336 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1337 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1338 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1339 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1340 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1341 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1342 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1343 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1344 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1345 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1346 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1347 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1348 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1349 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1350 * nscd/gai.c: Likewise.
1351 * nss/nss_db/db-open.c: Likewise.
1352 * sysdeps/generic/ldsodefs.h: Likewise.
1353 * sysdeps/sh/nptl/tls.h: Likewise.
1354 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1355 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1356 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1357 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1358 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1359 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1360 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1361 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1362 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1363 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1364 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1365 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1366 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1367 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1368 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1369 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1370 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1371 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1372 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1373 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1374 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1375 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1376 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1377 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1378 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1379 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1380 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1381 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1382 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1383 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1384 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1385 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1386 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1387 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1388 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1389 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1390 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1391 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1392 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1393 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1394 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1395 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1396 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1397 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1398 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1399 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1400 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1401 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1402 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1403 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1404 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1405 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1406 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1407 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1408 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1409 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1410 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1411 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1434 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1435 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1436 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1437 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1438 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1439 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1440 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1441 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1442 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1443 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1444 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1445 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1446 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1447 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1448 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1449 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1450 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1451 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1452 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1453 * sysdeps/unix/sysv/linux/system.c: Likewise.
1454 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1455 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1456 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1457 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1458 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1459 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1460 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1461
92072d57
JM
1462 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1463 * configure: Regenerated.
1464 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1465
3e239be6
JM
1466 * configure.ac (base_machine): Do not set specially for particular
1467 machines here.
1468 * configure: Regenerated.
1469 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1470 settings from configure.ac.
1471 * sysdeps/i386/preconfigure: New file.
1472 * sysdeps/s390/preconfigure: Likewise.
1473 * sysdeps/sh/preconfigure: Likewise.
1474 * sysdeps/sparc/preconfigure: Likewise.
1475
06d50baa
RM
14762014-06-25 Roland McGrath <roland@hack.frob.com>
1477
74836003
RM
1478 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1479 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1480 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1481 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1482 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1483 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1484 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1485 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1486 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1487 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1488 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1489 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1490 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1491 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1492 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1493 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1495 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1496 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1497
1498 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1499 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1500 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1501 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1502 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1503 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1504 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1505 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1506 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1507 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1508 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1509 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1510 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1511 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1512 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1513 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1514 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1515 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1516 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1517 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1518 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1519 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1520 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1521 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1522 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1523 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1524 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1525 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1526 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1527 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1528 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1529 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1530 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1531 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1532 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1533 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1534 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1535 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1536
06d50baa
RM
1537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1538 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1540 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1542 Moved ...
1543 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1544 ... here.
1545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1546 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1548 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1550 Moved ...
1551 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1553 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1555 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1557 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1559 Moved ...
1560 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1562 Moved ...
1563 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1565 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1567 Moved ...
1568 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1570 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1572 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1574 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1576 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1578 Moved ...
1579 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1580 ... here.
1581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1582 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1584 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1586 Moved ...
1587 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1589 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1593 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1595 Moved ...
1596 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1598 Moved ...
1599 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1601 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1603 Moved ...
1604 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1606 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1608 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1609
a4ccbc9b
JM
16102014-06-25 Joseph Myers <joseph@codesourcery.com>
1611
0828edbf
JM
1612 * timezone/checktab.awk: Update from tzcode 2014e.
1613 * timezone/private.h: Likewise.
1614 * timezone/tzfile.h: Likewise.
1615 * timezone/zdump.c: Likewise.
1616 * timezone/zic.c: Likewise.
1617
a4ccbc9b
JM
1618 * sysdeps/unix/sysv/linux/kernel-features.h
1619 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1620 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1621 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1622 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1623 Remove conditional code.
1624
9aea0cb8
WN
16252014-06-25 Will Newton <will.newton@linaro.org>
1626
1627 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1628 (_dl_arm_cap_flags): Add HWCAP2 values.
1629 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1630 (_DL_HWCAP_COUNT): Increase to 37.
1631 (_DL_HWCAP_LAST): New define.
1632 (_DL_HWCAP2_LAST): New define.
1633 (_dl_procinfo): Add support for printing
1634 AT_HWCAP2 entries.
1635 (_dl_string_hwcap): Use _dl_hwcap_string.
1636
6eaa65ce
AZ
16372014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1638
1639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1640
0f5b7185
JM
16412014-06-25 Joseph Myers <joseph@codesourcery.com>
1642
cfd2ea50
JM
1643 * README: Do not mention ports directory.
1644
cecf2ed4
JM
1645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1646 Remove macro.
1647 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1648 <kernel-features.h>.
1649 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1650 conditional variable definition.
1651 (__futimes): Update comment.
1652 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1653 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1654
a638de82
JM
1655 [BZ #16560]
1656 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1657 arguments close to 0.
1658 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1659 Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1661 Likewise.
1662 * math/auto-libm-test-in: Add more tests of exp10.
1663 * math/auto-libm-test-out: Regenerated.
1664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1665
0f5b7185
JM
1666 * sysdeps/unix/sysv/linux/kernel-features.h
1667 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1668 * sysdeps/unix/sysv/linux/readv.c: Do not include
1669 <kernel-features.h>.
1670 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1671 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1672 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1673 unconditional.
1674 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1675 conditional code.
1676 * sysdeps/unix/sysv/linux/writev.c: Do not include
1677 <kernel-features.h>.
1678 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1679 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1680 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1681 unconditional.
1682 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1683 conditional code.
1684
c7aec4be
WN
16852014-06-25 Will Newton <will.newton@linaro.org>
1686
1687 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1688 comment changes throughout the file. Remove checks
1689 for HAVE_*_H definitions that are not required.
1690 (__gen_tempname): Call abort if an unknown kind value is
1691 passed.
1692
c5241f95
AS
16932014-06-25 Andreas Schwab <schwab@suse.de>
1694
1695 [BZ #17086]
1696 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1697 scalbln, scalblnf, scalblnl in libc.
1698
911422da
SP
16992014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1700
1701 [BZ #17086]
1702 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1703 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1704 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1705
0d749bbe
RM
17062014-06-24 Roland McGrath <roland@hack.frob.com>
1707
1708 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1709 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1710 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1711 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1712 Update #include.
1713 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1714 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1715 Update #include.
1716 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1717 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1718 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1719 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1720 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1721 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1722 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1723 * sysdeps/x86/bits/semaphore.h: ... here.
1724 * sysdeps/x86/nptl/elide.h: Moved ...
1725 * sysdeps/x86/elide.h: ... here.
1726 * sysdeps/x86_64/nptl/Implies: File removed.
1727 * sysdeps/i386/nptl/Implies: File removed.
1728
0ea5d373
JM
17292014-06-24 Joseph Myers <joseph@codesourcery.com>
1730
4060283d
JM
1731 [BZ #16539]
1732 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1733 return the argument for normal arguments with exponent below -64.
1734 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1735 Likewise.
1736 * math/auto-libm-test-in: Add another test of expm1.
1737 * math/auto-libm-test-out: Regenerated.
1738
e7dd3c8c
JM
1739 [BZ #16287]
1740 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1741 calling __erfcl for arguments at least 16.
1742 * math/auto-libm-test-in: Add more tests of erf.
1743 * math/auto-libm-test-out: Regenerated.
1744
0ea5d373
JM
1745 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1746 individual architectures.
1747 * sysdeps/unix/sysv/linux/configure: Regenerated.
1748 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1749 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1750 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1751 (ldd_rewrite_script): Define variable.
1752 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1754 file.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1756 generated file.
1757 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1758 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1759 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1760 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1761 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1762 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1763 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1764 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1765
2307e126
SP
17662014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1767
1768 [BZ #17084]
1769 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1770 Rename member __data.d to __data.__elision_data.
1771
c0a4ed77
W
17722014-06-24 Wilco <wdijkstr@arm.com>
1773
1774 * NEWS: Add 16918 to fixed bug list.
1775
b8c00573
W
17762014-06-24 Wilco <wdijkstr@arm.com>
1777
1778 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1779
b5570d92
W
17802014-06-24 Wilco <wdijkstr@arm.com>
1781
1782 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1783 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1784 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1785 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1786 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1787 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1788 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1789 Use _FPU_MASK_RM.
1790
947bdca2
W
17912014-06-24 Wilco <wdijkstr@arm.com>
1792
1793 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1794
00f669ed
W
17952014-06-24 Wilco <wdijkstr@arm.com>
1796
1797 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1798 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1799 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1800 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1801
db59bad3
W
18022014-06-24 Wilco <wdijkstr@arm.com>
1803
1804 [BZ #16918]
1805 * sysdeps/arm/feupdateenv.c (feupdateenv):
1806 Rewrite to reduce FPSCR accesses and fix return value.
1807
001f7b77
W
18082014-06-24 Wilco <wdijkstr@arm.com>
1809
1810 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1811 Optimize to avoid unnecessary FPSCR writes.
1812 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1813 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1814 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1815 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1816
4841e6a6
W
18172014-06-24 Wilco <wdijkstr@arm.com>
1818
1819 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1820 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1821 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1822 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1823 Call libc_fetestexcept_vfp.
1824 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1825 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1826 __SOFTFP__ ifdef so that they can be built for softfp.
1827
0813022c
SP
18282014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1829
08e5862f
SP
1830 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1831 argument type signed char.
1832
0813022c
SP
1833 * Makerules (check-abi): Dump diff of symlist if the test
1834 fails.
1835
3fc7236a
RM
18362014-06-23 Roland McGrath <roland@hack.frob.com>
1837
aba8ef95
RM
1838 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1839 using abort.
1840
3fc7236a
RM
1841 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1842 Remove unused variable ST.
1843
4da6db51
JM
18442014-06-23 Joseph Myers <joseph@codesourcery.com>
1845
4648909d
JM
1846 [BZ #16354]
1847 [BZ #17061]
1848 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1849 small arguments before calling __expm1.
1850 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1851 small arguments before calling __expm1f.
1852 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1853 small arguments before calling __expm1l.
1854 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1855 Likewise.
1856 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1857 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1858 spurious underflow for some cosh tests.
1859 * math/auto-libm-test-out: Regenerated.
1860 * sysdeps/i386/fpu/libm-test-ulps: Update.
1861
46a3d3c7
JM
1862 [BZ #17050]
1863 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1864 (__ieee754_y1): Set errno if return value overflows.
1865 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1866 (__ieee754_y1f): Set errno if return value overflows.
1867 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1868 (__ieee754_y1l): Set errno if return value overflows.
1869 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1870 (__ieee754_y1l): Set errno if return value overflows.
1871 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1872 * math/auto-libm-test-out: Regenerated.
1873
863893ec
JM
1874 * math/gen-auto-libm-tests.c: Document use of
1875 ignore-zero-inf-sign.
1876 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1877 (input_flags): Add ignore-zero-inf-sign.
1878 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1879 * math/gen-libm-test.pl (generate_testfile): Handle
1880 ignore-zero-inf-sign.
1881 * math/auto-libm-test-in: Mark some cpow tests with
1882 ignore-zero-inf-sign and some with xfail-rounding.
1883 * math/auto-libm-test-out: Regenerated.
1884 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1885 * sysdeps/i386/fpu/libm-test-ulps: Update.
1886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1887
4da6db51
JM
1888 [BZ #16315]
1889 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1890 overflowing or underflowing operations take place with sign of
1891 result.
1892 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1893 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1894 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1895 (__ieee754_pow): Recompute overflowing and underflowing results in
1896 original rounding mode.
1897 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1898 (__powl_helper): Allow negative argument X and scale negated value
1899 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1900 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1901 overflowing or underflowing operations take place with sign of
1902 result.
1903 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1904 Include <math.h>.
1905 * math/auto-libm-test-in: Add more tests of pow.
1906 * math/auto-libm-test-out: Regenerated.
1907 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1908 (pow_tonearest_test_data): Remove.
1909 (pow_test_tonearest): Likewise.
1910 (pow_towardzero_test_data): Likewise.
1911 (pow_test_towardzero): Likewise.
1912 (pow_downward_test_data): Likewise.
1913 (pow_test_downward): Likewise.
1914 (pow_upward_test_data): Likewise.
1915 (pow_test_upward): Likewise.
1916 (main): Don't call removed functions.
1917 * sysdeps/i386/fpu/libm-test-ulps: Update.
1918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1919
5686b236
RM
19202014-06-23 Roland McGrath <roland@hack.frob.com>
1921
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1923 Moved ...
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1926 Moved ...
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1929 Moved ...
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1932 Moved ...
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1935 File removed.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1937 File removed.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1939 File removed.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1941 File removed.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1943 File removed.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1945 File removed.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1947 File removed.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1949 File removed.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1951 File removed.
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1953 File removed.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1955 File removed.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1957 File removed.
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1959 Moved ...
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1962 Moved ...
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1964 ... here.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1966 Moved ...
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1969 Moved ...
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1972 Moved ...
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1975 Moved ...
1976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1978 Moved ...
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1981 Moved ...
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1984 Moved ...
1985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1988 ... here.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1990 Moved ...
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1993 Moved ...
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1995 ... here.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1997 Moved ...
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1999 ... here.
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2001 Moved ...
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2003 ... here.
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2005 Moved ...
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2008 Moved ...
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2013 Moved ...
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2015 ... here.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2017 Moved ...
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2019 ... here.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2021 Moved ...
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2024 Moved ...
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2027 Moved ...
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2030 Moved ...
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2033 Moved ...
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2035 ... here.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2037 Moved ...
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2040 Moved ...
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2043 Moved ...
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2046 Moved ...
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2051 Moved ...
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2054 Moved ...
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2057 Moved ...
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2059 ... here.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2061 Moved ...
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2063 ... here.
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2065 Moved ...
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2067 ... here.
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2069 Moved ...
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2072 Moved ...
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2075 Moved ...
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2078 Moved ...
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2080 ... here.
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2082 Moved ...
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2084 ... here.
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2086 Moved ...
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2088 ... here.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2090 Moved ...
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2093 Moved ...
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2095
e6d90d67
WD
20962014-06-23 Will Newton <will.newton@linaro.org>
2097 Wilco <wdijkstr@arm.com>
2098
2099 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2100 implementation. Include get-rounding-mode.h.
2101 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2102 [!libc_feholdsetround_noex_ctx]: Define
2103 libc_feholdsetround_noex_ctx.
2104 [!libc_feholdsetround_noexf_ctx]: Define
2105 libc_feholdsetround_noexf_ctx.
2106 [!libc_feholdsetround_noexl_ctx]: Define
2107 libc_feholdsetround_noexl_ctx.
2108 (libc_feholdsetround_ctx): New function.
2109 (libc_feresetround_ctx): New function.
2110 (libc_feholdsetround_noex_ctx): New function.
2111 (libc_feresetround_noex_ctx): New function.
2112
d42df555
RM
21132014-06-23 Roland McGrath <roland@hack.frob.com>
2114
88a46474
RM
2115 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2116 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2117 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2118 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2119 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2120 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2121
15bed472
RM
2122 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2123 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2124 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2125 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2126 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2127 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2128 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2129 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2130 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2131 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2133 Moved ...
2134 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2135 ... here.
2136 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2137 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2138 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2139 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2141 Moved ...
2142 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2143 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2144 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2145 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2146 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2147 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2148 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2149 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2150 Moved ...
2151 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2152 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2153 Moved ...
2154 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2155 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2156 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2157 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2158 Moved ...
2159 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2160 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2161 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2162 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2163 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2164 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2165 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2166 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2167 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2168 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2169 Moved ...
2170 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2171 ... here.
2172 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2173 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2174 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2175 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2176 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2177 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2178 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2179 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2181 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2183 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2184 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2185 Moved ...
2186 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2187 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2188 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2189 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2190 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2191 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2192 Moved ...
2193 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2195 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2196 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2197 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2198
d42df555
RM
2199 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2200 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2201 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2202 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2203 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2204 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2205 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2206 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2207 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2208 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2209 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2210 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2211 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2212 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2214 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2216 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2218 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2220 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2222 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2224 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2225 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2226 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2227
76e5216e
JM
22282014-06-23 Joseph Myers <joseph@codesourcery.com>
2229
2230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2231 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2232 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2233 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2234 (IPV6_PMTUDISC_INTERFACE): Likewise.
2235 (IPV6_PMTUDISC_OMIT): Likewise.
2236
7a81cbcc
AS
22372014-06-23 Andreas Schwab <schwab@suse.de>
2238
2239 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2240 Remove unused errout label.
2241
db224009
AZ
22422014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2243
2244 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2245 macro: hardware supports Vector Crypto instructions.
2246
f393b4aa
WN
22472014-06-23 Will Newton <will.newton@linaro.org>
2248
cc7d0447
WN
2249 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2250 rather than __builtin_expect.
2251
d6d06225
WN
2252 * elf/dl-lookup.c (undefined_msg): Remove variable.
2253 (_dl_lookup_symbol_x): Replace undefined_msg with string
2254 literal.
2255
f393b4aa
WN
2256 * elf/dl-lookup.c (do_lookup_unique): New function.
2257 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2258 to a separate function.
2259
ac60763e
AS
22602014-06-23 Andreas Schwab <schwab@suse.de>
2261
2262 [BZ #17079]
2263 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2264 before reading the next line.
2265
c5c13355
WN
22662014-06-23 Will Newton <will.newton@linaro.org>
2267
2268 * test-skeleton.c (signal_handler): Use printf and %m
2269 rather than perror. Use printf rather than fprintf to
2270 stderr. Use puts rather than fputs to stderr.
2271 (main): Likewise.
2272
bd3675f9
LC
22732014-06-22 Ludovic Courtès <ludo@gnu.org>
2274
2275 * nscd/nscd.c (thread_info_t): Remove typedef.
2276 (thread_info): Remove variable.
2277
d03efb2f
AM
22782014-06-21 Allan McRae <allan@archlinux.org>
2279
2280 * NEWS: Mention CVE-2014-4043.
2281
bc4a86fa
RM
22822014-06-20 Roland McGrath <roland@hack.frob.com>
2283
dc9a54f8
RM
2284 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2285 * nptl/smp.h: ... here.
2286
bd7022c4
RM
2287 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2288
26ffd5e6
RM
2289 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2290 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2291 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2292 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2293
93a6d082
RM
2294 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2295 * nptl/stack-aliasing.h: New file.
2296 * sysdeps/i386/i686/stack-aliasing.h: New file.
2297 * sysdeps/i386/i686/nptl/Makefile: File removed.
2298 * sysdeps/x86_64/stack-aliasing.h: New file.
2299 * sysdeps/x86_64/nptl/Makefile
2300 (CFLAGS-pthread_create.c): Variable removed.
2301
bc4a86fa
RM
2302 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2303 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2304 old file.
2305 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2306 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2307 old file.
2308
2272ffc1
JM
23092014-06-21 Joseph Myers <joseph@codesourcery.com>
2310
2311 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2312 (__ASSUME_SIGFRAME_V2): Remove macro.
2313 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2314 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2315 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2316 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2317 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2318 Declare as function. Remove conditional macro definitions.
2319 (__default_rt_sa_restorer): Likewise.
2320 (__default_sa_restorer_v1): Remove declaration.
2321 (__default_sa_restorer_v2): Likewise.
2322 (__default_rt_sa_restorer_v1): Likewise.
2323 (__default_rt_sa_restorer_v2): Likewise.
2324 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2325 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2326 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2327
4b88139b
RM
23282014-06-20 Roland McGrath <roland@hack.frob.com>
2329
2330 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2331 (libpthread-routines): Add sysdep.
2332 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2333 * sysdeps/unix/sysv/linux/sparc/Versions
2334 (libpthread: GLIBC_2.3.3): New version set.
2335 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2336 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2337 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2339 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2340 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2341 Moved ...
2342 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2343 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2344 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2345 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2346 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2347 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2348 * sysdeps/sparc/nptl/sem_init.c: ... here.
2349 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2350 * sysdeps/sparc/nptl/sem_post.c: ... here.
2351 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2352 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2353 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2354 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2355 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2356 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2357 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2358 (libpthread-routines): Add cpu_relax.
2359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2360 File removed.
2361 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2362 (librt: GLIBC_2.3.3): New version set.
2363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2364 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2365 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2366 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2369 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2371 Moved ...
2372 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2374 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2376 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2378 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2380 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2382 Moved ...
2383 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2384 Update #include.
2385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2386 Moved ...
2387 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2388 Update #include.
2389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2390 Moved ...
2391 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2392 Update #include.
2393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2394 Moved ...
2395 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2396 Update #include.
2397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2398 Moved ...
2399 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2400 Update #include.
2401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2402 Moved ...
2403 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2404 Update #include.
2405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2406 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2408 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2412 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2414 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2416 Moved ...
2417 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2419 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2422
d7109027
JM
24232014-06-20 Joseph Myers <joseph@codesourcery.com>
2424
9bc6103d
JM
2425 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2426 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2427 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2428 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2429 * nscd/nscd.c: Likewise.
2430 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2431 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2432 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2433 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2434
d7109027
JM
2435 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2436 <kernel-features.h>.
2437 (init_mq_netlink): Remove conditional have_sock_cloexec
2438 definitions. Remove code conditional on have_sock_cloexec < 0.
2439 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2440 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2441 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2442 <kernel-features.h>.
2443 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2444 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2445
d92d8f8a
L
24462014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2447
2448 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2449 Add tests for memset_chk and memset.
2450
2451 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2452 with AVX2_Usable.
2453
4e6d2347
MR
24542014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2455
257ce712
MR
2456 [BZ #16046]
2457 * elf/tst-dl-iter-static.c: New file.
2458 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2459
4e6d2347
MR
2460 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2461 error.
2462
a2a76afe
JM
24632014-06-20 Joseph Myers <joseph@codesourcery.com>
2464
7fd00f99
JM
2465 * sysdeps/unix/sysv/linux/kernel-features.h
2466 (__ASSUME_F_GETOWN_EX): Remove macro.
2467 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2468 <kernel-features.h>.
2469 (miss_F_GETOWN_EX): Remove variable or macro.
2470 (do_fcntl): Do not check miss_F_GETOWN_EX.
2471 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2472
4a103975
JM
2473 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2474 Remove macro.
2475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2476 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2477 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2478
a2a76afe
JM
2479 * sysdeps/unix/sysv/linux/kernel-features.h
2480 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2481 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2482 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2483 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2484
90e5dd48
MR
24852014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2486
2487 [BZ #17075]
2488 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2489 Fix calculation of the symbol's value.
2490 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2491 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2492 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2493 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2494 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2495 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2496 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2497 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2498 (modules-names): Add `tst-armtlsdescmod',
2499 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2500 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2501 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2502 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2503 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2504 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2505 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2506 ($(objpfx)tst-armtlsdescloc): New dependency.
2507 ($(objpfx)tst-armtlsdescextnow): Likewise.
2508 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2509 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2510 TLS scheme support.
2511 * sysdeps/arm/configure: Regenerate.
2512
809fdf0d
JM
25132014-06-20 Joseph Myers <joseph@codesourcery.com>
2514
2515 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2516 (__atfct_seterrno_2): Likewise.
2517 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2518 <kernel-features.h>.
2519 (__ASSUME_ATFCTS): Do not undefine and redefine.
2520 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2521 (__have_atfcts): Remove conditional definition.
2522 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2523 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2524 unreachable if [__ASSUME_ATFCTS].
2525 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2526 not undefine and redefine.
2527 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2528 <kernel-features.h>.
2529 (faccessat) [__NR_faccessat]: Make code unconditional.
2530 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2531 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2532 <kernel-features.h>.
2533 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2534 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2535 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2536 <kernel-features.h>.
2537 (fchownat) [__NR_fchownat]: Make code unconditional.
2538 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2539 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2540 <kernel-features.h>.
2541 (futimesat) [__NR_futimesat]: Make code unconditional.
2542 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2543 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2544 <kernel-features.h>.
2545 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2546 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2547 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2548 <kernel-features.h>.
2549 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2550 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2551 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2552 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2553 <kernel-features.h>.
2554 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2555 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2556 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2557 <kernel-features.h>.
2558 (linkat) [__NR_linkat]: Make code unconditional.
2559 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2560 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2561 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2562 <kernel-features.h>.
2563 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2564 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2565 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2566 <kernel-features.h>.
2567 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2568 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2569 * sysdeps/unix/sysv/linux/openat.c: Do not include
2570 <kernel-features.h>.
2571 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2572 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2573 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2574 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2575 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2576 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2577 <kernel-features.h>.
2578 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2579 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2580 result of INLINE_SYSCALL directly, not via int variable.
2581 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2582 <kernel-features.h>.
2583 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2584 (renameat) [__NR_renameat]: Make code unconditional.
2585 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2586 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2587 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2588 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2589 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2590 (__ASSUME_ATFCTS): Do not undefine and redefine.
2591 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2592 <kernel-features.h>.
2593 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2594 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2595 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2596 <kernel-features.h>.
2597 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2598 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2599 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2600 (__ASSUME_ATFCTS): Do not undefine and redefine.
2601 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2602 <kernel-features.h>.
2603 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2604 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2605 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2606 <kernel-features.h>.
2607 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2608 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2609
224c6c51
L
26102014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2611
2612 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2613
aa6ec754
AS
26142014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2615
2616 [BZ #17069]
2617 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2618 constructed tree before returning error.
2619 * posix/bug-regexp36.c: Expand test case.
2620
d8c2869d
SL
26212014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2622
3ef6b850
SL
2623 [BZ #6803]
2624 * math/libm-test.inc (scalbln_test_date):
2625 Add errno expectations.
2626 * math/w_scalblnf.c: New File.
2627 Add wrapper which checks for setting errno to ERANGE.
2628 Add weak_alias for corresponding scalbln function.
2629 * math/w_scalbln.c: Likewise.
2630 * math/w_scalblnl.c: Likewise.
2631 * math/Makefile (libm-calls): Add w_scalbln.
2632 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2633 Remove weak_alias for corresponding scalbln function.
2634 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2635 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2636 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2637 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2638 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2639 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2640 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2641 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2642 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2643 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2644 Remove long_double_symbol for scalblnl function in libm, libc.
2645 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2646 Add wrapper which checks for setting errno to ERANGE.
2647 Add long_double_symbol for scalblnl function in libm, libc.
2648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2649 Remove long_double_symbol for scalblnl in libm.
2650 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2651 Add wrapper which checks for setting errno to ERANGE.
2652 Add long_double_symbol for scalblnl function in libm.
2653 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2654 Do not use wrapper because of own implementation.
2655
c8daec5c
L
26562014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2659 3 bytes for __pad1 for x32.
2660 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2661
5c74e47c
LM
26622014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2663 H.J. Lu <hongjiu.lu@intel.com>
2664
2665 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2666 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2667 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2668 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2669 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2670
4d43ef1e
AS
26712014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2672
2673 [BZ #17069]
2674 * posix/regcomp.c (parse_expression): Deallocate partially
2675 constructed tree before returning error.
2676 * posix/Makefile.c (tests): Add bug-regex36.
2677 (generated): Add bug-regex36.mtrace.
2678 (tests-special): Add $(objpfx)bug-regex36-mem.out
2679 (bug-regex36-ENV): New variable.
2680 ($(objpfx)bug-regex36-mem.out): New rule.
2681 * posix/bug-regex36.c: New file.
2682
51a7380b
WN
26832014-06-19 Will Newton <will.newton@linaro.org>
2684
2685 * malloc/malloc.c (systrim): If extra is zero then return
2686 early.
2687
91b84fe5
SP
26882014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2689
2690 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2691
f940b965
RE
26922014-06-19 Richard Earnshaw <rearnsha@arm.com>
2693
2694 * sysdeps/aarch64/strchr.S: New file.
2695
4ba7a00f
JM
26962014-06-18 Joseph Myers <joseph@codesourcery.com>
2697
2698 [BZ #17022]
2699 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2700 from arguments -2 or below.
2701 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2702 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2703
b3a9f56b
AS
27042014-06-18 Andreas Schwab <schwab@suse.de>
2705
2706 [BZ #17062]
2707 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2708 of a bracket expr not to run off the end of the string.
2709 * posix/Makefile (tests): Add tst-fnmatch3.
2710 * posix/tst-fnmatch3.c: New file.
2711
85d89278
JM
27122014-06-18 Joseph Myers <joseph@codesourcery.com>
2713
2714 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2715 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2716 [$(cross-compiling) = no]: Likewise.
2717 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2718 [$(cross-compiling) = no]: Likewise.
2719
754c5a08
RS
27202014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2721
2722 [BZ #17031]
2723 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2724 double, adjusted for any remainder from the high double.
2725 * math/libm-test.inc (nearbyint): Add tests.
2726 (rint): Likewise.
2727
556f529d
AZ
27282014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2729
2730 * nptl/sysdeps/powerpc/Makefile: Moved ...
2731 * sysdeps/powerpc/nptl/Makefile: ... here.
2732 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2733 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2734 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2735 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2736 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2737 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2738 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2739 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2740 * nptl/sysdeps/powerpc/tls.h: Moved ...
2741 * sysdeps/powerpc/nptl/tls.h: ... here.
2742
91c03c53
JM
27432014-06-16 Joseph Myers <joseph@codesourcery.com>
2744
2745 [BZ #16681]
2746 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2747 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2748 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2749 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2750 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2751 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2752 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2753 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2754 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2755
a76e63c5
AS
27562014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2757
2758 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2759
f2f6d82f
AS
27602014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2761
ea8a15f6
AS
2762 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2763 defined operator.
2764
f2f6d82f
AS
2765 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2766 $TIMEOUTFACTOR.
2767
a7291117
FW
27682014-06-16 Florian Weimer <fweimer@redhat.com>
2769
2770 [BZ #17058]
2771 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2772 non-executed part of the test.
2773
3d7c00e3
AS
27742014-06-16 Andreas Schwab <schwab@suse.de>
2775
2776 * string/bits/string2.h (strdup, strndup): Update feature guard.
2777
6957fb31
DM
27782014-06-14 David S. Miller <davem@davemloft.net>
2779
2780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2781
11b9e55b
AS
27822014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2783
1d2a0492
AS
2784 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2785 that was previously under [RESET_PID].
2786 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2787
11b9e55b
AS
2788 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2789 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2790 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2791 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2792 (__libc_vfork): New strong alias.
2793 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2794
0f6901d0
AK
27952014-06-14 Andi Kleen <ak@linux.intel.com>
2796
2797 * sysdeps/generic/elide.h: New file.
2798
38bbbb9f
SL
27992014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2800
2801 * Makefile (installed-headers): Adjust path of pthread.h header.
2802
45193bb8
RM
28032014-06-13 Roland McGrath <roland@hack.frob.com>
2804
9a25fd1e
RM
2805 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2806 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2807 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2808 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2809
4004f7e4
RM
2810 * nptl/sysdeps/s390/Makefile: Moved ...
2811 * sysdeps/s390/nptl/Makefile: ... here.
2812 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2813 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2814 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2815 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2816 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2817 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2818 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2819 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2820 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2821 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2822 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2823 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2824 * nptl/sysdeps/s390/tls.h: Moved ...
2825 * sysdeps/s390/nptl/tls.h: ... here.
2826
45193bb8
RM
2827 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2828 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2829
f6fdf533
DM
28302014-06-13 David S. Miller <davem@davemloft.net>
2831
2832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2835 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2839 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2840 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2841 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2842 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2843 Remove RESET_PID cpp guards.
2844 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2845 Remove RESET_PID cpp guards.
2846 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2847
f5d71e14
AS
28482014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2849
2850 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2851 __sp to uintptr_t.
2852
b7aa8caa
AK
28532014-06-13 Andi Kleen <ak@linux.intel.com>
2854
4b266200
AZ
2855 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2856 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2857 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2858 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2859 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2860 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2861 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2862 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2863 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2864 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2865 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2866 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2867 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2868 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2869 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2870 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2871 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2872 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2873 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2874 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2875
2876 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2877 (pthread_rwlock_rdlock): Add elision.
2878 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2879 (pthread_rwlock_wrlock): Add elision.
2880 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2881 (pthread_rwlock_trywrlock): Add elision.
2882 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2883 (pthread_rwlock_tryrdlock): Add elision.
2884 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2885 (pthread_rwlock_tryrdlock): Add elision unlock.
2886 * nptl/sysdeps/pthread/pthread.h:
2887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2888 (PTHREAD_RWLOCK_INITIALIZER,
2889 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2890 Handle new elision field.
2891 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2892 * sysdeps/arm/nptl/bits/pthreadtypes.h
2893 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2894 * sysdeps/sh/nptl/bits/pthreadtypes.h
2895 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2896 * sysdeps/tile/nptl/bits/pthreadtypes.h
2897 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2898 * sysdeps/a/nptl/bits/pthreadtypes.h
2899 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2900 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2901 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2902 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2904 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2905 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2906 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2907 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2908 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2909 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2910 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2911 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2912 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2914 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2915 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2916 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2917 (elision_init): Set try_xbegin to zero when no RTM.
2918 * sysdeps/x86/nptl/bits/pthreadtypes.h
2919 (pthread_rwlock_t): Change __pad1 to __rwelision.
2920 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2921
a832bdd3
AK
29222014-06-13 Andi Kleen <ak@linux.intel.com>
2923
2924 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2925 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2926 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2927 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2928
995a46bb
MI
29292014-06-13 Meador Inge <meadori@codesourcery.com>
2930
2931 [BZ #16996]
03ed7738 2932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2933 that the cached result has been set before returning it.
2934
45262aee
RM
29352014-06-12 Roland McGrath <roland@hack.frob.com>
2936
febf6cc5
RM
2937 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2938 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2939 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2940 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2941 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2942 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2943
e2682246
RM
2944 * nptl/sysdeps/sparc/Makefile: Moved ...
2945 * sysdeps/sparc/nptl/Makefile: ... here.
2946 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2947 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2948 * nptl/sysdeps/sparc/tls.h: Moved ...
2949 * sysdeps/sparc/nptl/tls.h: ... here.
2950 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2951 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2952 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2953 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2954 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2955 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2956 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2957 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2958 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2959 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2960 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2961 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2962 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2963 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2964 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2965 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2966 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2967 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2968 Update #include.
2969 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2970 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2971 Update #include.
2972 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2973 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2974 Update #include.
2975 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2976 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2977 Update #include.
2978
b0725f43
RM
2979 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2980
b14368b8
RM
2981 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2982 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2983
c5620eb3
RM
2984 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2985 (struct list_links): Type removed.
2986 (struct thread_node, struct timer_node): Replace struct list_links
2987 with struct list_head.
2988 (list_unlink_ip): Likewise.
2989 * sysdeps/pthread/timer_routines.c
2990 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2991 (list_append, list_insbefore): Likewise.
2992 (list_init): Function removed.
2993 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2994 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2995 * sysdeps/pthread/Makefile: ... here, new file.
2996
2997 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2998 * sysdeps/nptl/Implies: ... here.
2999 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3000 * nptl/sysdeps/pthread/list.h: Moved ...
3001 * include/list.h: ... here.
3002 * nptl/sysdeps/pthread/createthread.c: Moved ...
3003 * nptl/createthread.c: ... here.
3004 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3005 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3006 * nptl/pt-longjmp.c: ... here.
3007 * nptl/sysdeps/pthread/Makefile: Moved ...
3008 * sysdeps/nptl/Makefile: ... here.
3009 * nptl/sysdeps/pthread/Subdirs: Moved ...
3010 * sysdeps/nptl/Subdirs: ... here.
3011 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3012 * sysdeps/nptl/aio_misc.h: ... here.
3013 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3014 * sysdeps/nptl/bits/libc-lock.h: ... here.
3015 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3016 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3017 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3018 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3019 * nptl/sysdeps/pthread/configure: Moved ...
3020 * sysdeps/nptl/configure: ... here.
3021 * nptl/sysdeps/pthread/configure.ac: Moved ...
3022 * sysdeps/nptl/configure.ac: ... here.
3023 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3024 * sysdeps/nptl/gai_misc.h: ... here.
3025 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3026 * sysdeps/nptl/librt-cancellation.c: ... here.
3027 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3028 * sysdeps/nptl/malloc-machine.h: ... here.
3029 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3030 * sysdeps/nptl/pthread-functions.h: ... here.
3031 * nptl/sysdeps/pthread/pthread.h: Moved ...
3032 * sysdeps/nptl/pthread.h: ... here.
3033 * nptl/sysdeps/pthread/setxid.h: Moved ...
3034 * sysdeps/nptl/setxid.h: ... here.
3035 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3036 * sysdeps/nptl/sigfillset.c: ... here.
3037 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3038 * sysdeps/nptl/tcb-offsets.h: ... here.
3039 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3040 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3041 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3042 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3043 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3044 * sysdeps/pthread/allocalim.h: ... here.
3045 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3046 * sysdeps/pthread/bits/sigthread.h: ... here.
3047 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3048 * sysdeps/pthread/flockfile.c: ... here.
3049 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3050 * sysdeps/pthread/ftrylockfile.c: ... here.
3051 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3052 * sysdeps/pthread/funlockfile.c: ... here.
3053 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3054 * sysdeps/pthread/posix-timer.h: ... here.
3055 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3056 * sysdeps/pthread/timer_create.c: ... here.
3057 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3058 * sysdeps/pthread/timer_delete.c: ... here.
3059 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3060 * sysdeps/pthread/timer_getoverr.c: ... here.
3061 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3062 * sysdeps/pthread/timer_gettime.c: ... here.
3063 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3064 * sysdeps/pthread/timer_routines.c: ... here.
3065 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3066 * sysdeps/pthread/timer_settime.c: ... here.
3067 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3068 * sysdeps/pthread/tst-timer.c: ... here.
3069 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3070 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3071
e876b090
RM
3072 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3073 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3074
f6b07b3d
RM
3075 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3076 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3077 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3078 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3079 Update #include target.
3080 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3081 * sysdeps/i386/i686/nptl/Makefile: ... here.
3082 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3083 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3084 Update #include target.
3085 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3086 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3087 * nptl/sysdeps/i386/Makefile: Moved ...
3088 * sysdeps/i386/nptl/Makefile: ... here.
3089 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3090 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3091 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3092 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3093 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3094 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3095 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3096 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3097 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3098 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3099 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3100 * nptl/sysdeps/i386/tls.h: Moved ...
3101 * sysdeps/i386/nptl/tls.h: ... here.
3102
45262aee
RM
3103 * sysdeps/sh/Makefile [$(subdir) = csu]
3104 (gen-as-const-headers): Add tcb-offsets.sym.
3105 * nptl/sysdeps/sh/Makefile: File removed.
3106 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3107 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3108 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3109 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3110 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3111 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3112 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3113 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3114 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3115 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3116 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3117 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3118 * nptl/sysdeps/sh/tls.h: Moved ...
3119 * sysdeps/sh/nptl/tls.h: ... here.
3120 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3121 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3122 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3123 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3125 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3126 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3127 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3128 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3129 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3130 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3131 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3133 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3135 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3137 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3138 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3139 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3141 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3142 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3143 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3145 Moved ...
3146 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3147 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3148 Moved ...
3149 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3150 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3151 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3152 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3153 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3154 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3155 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3156 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3157 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3158 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3159 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3160 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3161 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3163 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3165 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3167 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3168
35a5e3e3
SL
31692014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3170
3171 * posix/spawn_faction_addopen.c: Include string.h.
3172
14642b85
RM
31732014-06-11 Roland McGrath <roland@hack.frob.com>
3174
3175 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3176 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3177 * nptl/sysdeps/x86_64/Makefile: Moved ...
3178 * sysdeps/x86_64/nptl/Makefile: ... here.
3179 * nptl/sysdeps/x86_64/configure: Moved ...
3180 * sysdeps/x86_64/nptl/configure: ... here.
3181 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3182 * sysdeps/x86_64/nptl/configure.ac: ... here.
3183 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3184 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3185 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3186 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3187 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3188 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3189 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3190 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3191 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3192 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3193 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3194 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3195 * nptl/sysdeps/x86_64/tls.h: Moved ...
3196 * sysdeps/x86_64/nptl/tls.h: ... here.
3197 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3198 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3199 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3200 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3201
3202 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3203
31c44fea
AZ
32042014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3205
3206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3207
e81a4f9a
JM
32082014-06-11 Joseph Myers <joseph@codesourcery.com>
3209
3210 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3211 type.
3212 [POSIX] (off_t): Likewise.
3213 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3214 [POSIX] (S_ISBLK): Require macro.
3215 [POSIX] (S_ISCHR): Likewise.
3216 [POSIX] (S_ISDIR): Likewise.
3217 [POSIX] (S_ISFIFO): Likewise.
3218 [POSIX] (S_ISREG): Likewise.
3219 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3220 optional-macro.
3221 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3222 type.
3223 [POSIX] (time_t): Likewise.
3224 [POSIX] (timer_t): Likewise.
3225
89e435f3
FW
32262014-06-11 Florian Weimer <fweimer@redhat.com>
3227
3228 [BZ #17048]
3229 * posix/spawn_int.h (struct __spawn_action): Make the path string
3230 non-const to support deallocation.
3231 * posix/spawn_faction_addopen.c
3232 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3233 * posix/spawn_faction_destroy.c
3234 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3235 path in all spawn_do_open actions.
3236 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3237 posix_spawn_file_actions_addopen.
3238
c3a2ebe1
CM
32392014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3240
3241 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3242 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3243 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3244 conditional code always true.
3245 (__libc_vfork): New alias.
3246
9503784a
RM
32472014-06-11 Roland McGrath <roland@hack.frob.com>
3248
c9cab3d2
RM
3249 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3250 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3251
d3996c79
RM
3252 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3253
ba5ec611
RM
3254 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3255 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3256
f12b4814
RM
3257 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3258 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3259
9503784a
RM
3260 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3261 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3262
e23d3d26
VR
32632014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3264
3265 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3266 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3267 multiarch strcmp for PPC64.
3268 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3269 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3271 multiarch optimizations.
3272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3273 (__libc_ifunc_impl_list): Likewise.
3274
42b1161e
SP
32752014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3276
3277 * benchtests/scripts/validate_benchout.py: New script.
3278 * benchtests/Makefile (bench-func): Call it.
3279 * benchtests/scripts/benchout.schema.json: New file.
3280
2d0fc4dc
CM
32812014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3282
4a594c34
AZ
3283 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3284 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3285 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3286 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3287 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3288 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3289 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3290 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3291 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3292 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3293 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3294 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3295 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3296 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3297 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3298 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3300 Moved ...
4a594c34 3301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3302 ... here.
4a594c34 3303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3304 Moved ...
4a594c34
AZ
3305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3307 Moved ...
4a594c34 3308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3309 ... here.
4a594c34 3310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3311 Moved ...
4a594c34 3312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3313 ... here.
4a594c34 3314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3315 Moved ...
4a594c34
AZ
3316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3318 Moved ...
4a594c34 3319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3320 ... here.
4a594c34 3321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3322 Moved ...
4a594c34 3323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3324 ... here.
4a594c34 3325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3326 Moved ...
4a594c34
AZ
3327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3329 Moved ...
4a594c34 3330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3331 ... here.
4a594c34 3332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3333 Moved ...
4a594c34 3334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3335 ... here.
4a594c34 3336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3337 Moved ...
4a594c34 3338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3339 ... here.
4a594c34 3340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3341 Moved ...
4a594c34
AZ
3342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3344 Moved ...
4a594c34 3345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3346 ... here.
4a594c34 3347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3348 Moved ...
4a594c34 3349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3350 ... here.
4a594c34 3351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3352 Moved ...
4a594c34 3353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3354 ... here.
4a594c34 3355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3356 Moved ...
4a594c34
AZ
3357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3359 Moved ...
4a594c34 3360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3361 ... here.
4a594c34 3362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3363 Moved ...
4a594c34 3364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3365 ... here.
4a594c34 3366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3367 Moved ...
4a594c34
AZ
3368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 3370 Moved ...
4a594c34 3371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 3372 ... here.
4a594c34 3373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 3374 Moved ...
4a594c34
AZ
3375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 3377 Moved ...
4a594c34
AZ
3378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 3380 Moved ...
4a594c34 3381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 3382 ... here.
4a594c34 3383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 3384 Moved ...
4a594c34 3385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 3386 ... here.
4a594c34 3387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 3388 Moved ...
4a594c34 3389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 3390 ... here.
4a594c34 3391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 3392 Moved ...
4a594c34
AZ
3393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 3395 Moved ...
4a594c34 3396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 3397 ... here.
4a594c34 3398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 3399 Moved ...
4a594c34 3400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 3401 ... here.
4a594c34
AZ
3402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3403 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3404 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3405 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 3407 Moved ...
4a594c34 3408 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 3409 ... here.
4a594c34
AZ
3410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3411 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3413 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3414 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3415 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3417 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3419 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3420 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3421 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3422 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 3423 Moved ...
4a594c34
AZ
3424 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3425 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 3426 Moved ...
4a594c34
AZ
3427 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3428 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3429 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 3431 Moved ...
4a594c34
AZ
3432 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3433 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3434 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3435 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3436 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3437 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3438 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 3439
0570cfed
W
34402014-06-10 Wilco <wdijkstr@arm.com>
3441
3442 * math/test-fenv-return.c: New file.
3443 * math/Makefile: Add new test test-fenv-return.
3444
f8ba1b56
JM
34452014-06-10 Joseph Myers <joseph@codesourcery.com>
3446
3447 [BZ #17042]
3448 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3449 when x - 1 is zero.
3450 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3451 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3452 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3453 0.0L for an argument of 1.0L.
3454 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3455 Likewise.
3456 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3457 value when x - 1 is zero.
3458 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3459 * sysdeps/i386/fpu/libm-test-ulps: Update.
3460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3461
2c3520d9
BO
34622014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3463
3464 [BZ #15119]
3465 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3466
acaa4d24
RM
34672014-06-09 Roland McGrath <roland@hack.frob.com>
3468
3469 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3470 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3471
962b744d
RM
34722014-06-09 Roland McGrath <roland@hack.frob.com>
3473
d752f0cc
RM
3474 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3475 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3476
34eda6d1
RM
3477 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3478 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3479
50f0a637
RM
3480 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3481 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3482
08f41f04
RM
3483 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3484 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3485
962b744d
RM
3486 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3487 if not already defined.
3488 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3489 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3490 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3491 (TLS_INIT_TP): Use it.
3492 (TLS_DEFINE_INIT_TP): New macro.
3493 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3494
09f19b05
JM
34952014-06-09 Joseph Myers <joseph@codesourcery.com>
3496
3497 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3498 constant.
3499 [POSIX] (IXANY): Likewise.
3500 [POSIX] (OLCUC): Likewise.
3501 [POSIX || POSIX2008] (CBAUD): Do not allow.
3502 [POSIX || POSIX2008] (DEFECHO): Likewise.
3503 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3504 [POSIX || POSIX2008] (ECHOKE): Likewise.
3505 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3506 [POSIX || POSIX2008] (EXTA): Likewise.
3507 [POSIX || POSIX2008] (EXTB): Likewise.
3508 [POSIX || POSIX2008] (FLUSHO): Likewise.
3509 [POSIX || POSIX2008] (LOBLK): Likewise.
3510 [POSIX || POSIX2008] (PENDIN): Likewise.
3511 [POSIX || POSIX2008] (SWTCH): Likewise.
3512 [POSIX || POSIX2008] (VDISCARD): Likewise.
3513 [POSIX || POSIX2008] (VDSUSP): Likewise.
3514 [POSIX || POSIX2008] (VLNEXT): Likewise.
3515 [POSIX || POSIX2008] (VREPRINT): Likewise.
3516 [POSIX || POSIX2008] (VSTATUS): Likewise.
3517 [POSIX || POSIX2008] (VWERASE): Likewise.
3518 (B*): Change to B[0123456789]*.
3519 * conform/data/time.h-data [POSIX || UNIX98]
3520 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3521 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3522 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3523 [POSIX] (tm_*): Do not allow.
3524
686554bf
JM
35252014-06-07 Joseph Myers <joseph@codesourcery.com>
3526
3527 * Makefile (install): Don't set LANGUAGE.
3528 * Makefile.in (install): Likewise.
3529 * assert/Makefile (test-assert-ENV): Remove variable.
3530 (test-assert-perr-ENV): Likewise.
3531 * elf/Makefile (neededtest4-ENV): Likewise.
3532 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3533 [$(cross-compiling) = no]: Don't set LANGUAGE.
3534 * io/ftwtest-sh (LANG): Remove variable.
3535 * libio/Makefile (tst-widetext-ENV): Likewise.
3536 * manual/install.texi (Running make install): Don't refer to
3537 environment settings for make install.
3538 * INSTALL: Regenerated.
3539 * nptl/tst-tls6.sh: Don't set LANG.
3540 * posix/globtest.sh (LANG): Remove variable.
3541 * string/Makefile (tester-ENV): Likewise.
3542 (inl-tester-ENV): Likewise.
3543 (noinl-tester-ENV): Likewise.
3544 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3545 [$(cross-compiling) = no]: Don't set LANGUAGE.
3546 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3547 without explicit environment settings.
3548
68e6b6b1
RM
35492014-06-06 Roland McGrath <roland@hack.frob.com>
3550
3551 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3552 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3553 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3554 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3555
4d3ae034
CM
35562014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3557
3558 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3559 other files in the crypt directory.
3560 * crypt/crypt.c: Remove duplicate includes.
3561 * crypt/crypt-entry.c: Likewise.
3562 * crypt/crypt_util.c: Likewise.
3563
8540f6d2
JM
35642014-06-06 Joseph Myers <joseph@codesourcery.com>
3565
3566 * Makeconfig (run-program-env): New variable.
3567 (run-program-prefix-before-env): Likewise.
3568 (run-program-prefix-after-env): Likewise.
3569 (run-program-prefix): Define in terms of new variables.
3570 (built-program-cmd-before-env): New variable.
3571 (built-program-cmd-after-env): Likewise.
3572 (built-program-cmd): Define in terms of new variables.
3573 (test-program-prefix-before-env): New variable.
3574 (test-program-prefix-after-env): Likewise.
3575 (test-program-prefix): Define in terms of new variables.
3576 (test-program-cmd-before-env): New variable.
3577 (test-program-cmd-after-env): Likewise.
3578 (test-program-cmd): Define in terms of new variables.
3579 * Rules (make-test-out): Use $(run-program-env).
3580 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3581 (help): Do not mention environment variables. Mention
3582 --timeoutfactor option.
3583 (timeoutfactor): New variable.
3584 (blacklist_exports): Remove function.
3585 (exports): Remove variable.
3586 (command): Do not include ${exports}.
3587 * manual/install.texi (Configuring and compiling): Do not mention
3588 test wrappers preserving environment variables. Mention that last
3589 assignment to a variable must take precedence.
3590 * INSTALL: Regenerated.
3591 * benchtests/Makefile (run-bench): Use $(run-program-env).
3592 * catgets/Makefile ($(objpfx)test1.cat): Use
3593 $(built-program-cmd-before-env), $(run-program-env) and
3594 $(built-program-cmd-after-env).
3595 ($(objpfx)test2.cat): Do not specify environment variables
3596 explicitly.
3597 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3598 $(run-program-env) and $(built-program-cmd-after-env).
3599 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3600 $(run-program-env) and $(test-program-cmd-after-env).
3601 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3602 explicitly.
3603 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3604 run_program_env and test_program_cmd_after_env arguments.
3605 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3606 * elf/tst-pathopt.sh: Use run_program_env argument.
3607 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3608 $(test-wrapper-env) and $(run-program-env).
3609 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3610 run_program_env arguments.
3611 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3612 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3613 $(test-program-prefix-before-env), $(run-program-env) and
3614 $(test-program-prefix-after-env).
3615 ($(objpfx)tst-gettext2.out): Likewise.
3616 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3617 run_program_env and test_program_prefix_after_env arguments.
3618 * intl/tst-gettext2.sh: Likewise.
3619 * intl/tst-gettext4.sh: Do not set environment variables
3620 explicitly.
3621 * intl/tst-gettext6.sh: Likewise.
3622 * intl/tst-translit.sh: Likewise.
3623 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3624 $(test-program-prefix-before-env), $(run-program-env) and
3625 $(test-program-prefix-after-env).
3626 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3627 run_program_env and test_program_prefix_after_env arguments.
3628 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3629 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3630 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3631 explicitly with each use of ${test_wrapper_env}.
3632 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3633 $(test-program-prefix-before-env), $(run-program-env) and
3634 $(test-program-prefix-after-env).
3635 * posix/tst-getconf.sh: Do not set environment variables
3636 explicitly.
3637 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3638 run_program_env and test_program_prefix_after_env arguments.
3639 * stdio-common/tst-printf.sh: Do not set environment variables
3640 explicitly.
3641 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3642 $(test-program-prefix-before-env), $(run-program-env) and
3643 $(test-program-prefix-after-env).
3644 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3645 run_program_env and test_program_prefix_after_env arguments.
3646 Split $test calls into $test_pre and $test.
3647 * timezone/Makefile (build-testdata): Use
3648 $(built-program-cmd-before-env), $(run-program-env) and
3649 $(built-program-cmd-after-env).
3650
ed36bfa1
AZ
36512014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652
3653 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3654 strlen for non SHARED builds.
3655
fc75bf46
SP
36562014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3657
3658 * nptl/allocatestack.c (check_list): Inlined function...
3659 (__reclaim_stacks): ... here.
3660
d89b3d80
OB
36612014-06-05 Ondřej Bílka <neleai@seznam.cz>
3662
3663 [BZ #15698]
3664 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3665 memory overrun.
3666
2bf18041
JM
36672014-06-05 Joseph Myers <joseph@codesourcery.com>
3668
3669 * Rules (make-test-out): Include
3670 LOCPATH=$(common-objpfx)localedata in default environment.
3671 * debug/Makefile (tst-chk1-ENV): Remove variable.
3672 (tst-chk2-ENV): Likewise.
3673 (tst-chk3-ENV): Likewise.
3674 (tst-chk4-ENV): Likewise.
3675 (tst-chk5-ENV): Likewise.
3676 (tst-chk6-ENV): Likewise.
3677 (tst-lfschk1-ENV): Likewise.
3678 (tst-lfschk2-ENV): Likewise.
3679 (tst-lfschk3-ENV): Likewise.
3680 (tst-lfschk4-ENV): Likewise.
3681 (tst-lfschk5-ENV): Likewise.
3682 (tst-lfschk6-ENV): Likewise.
3683 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3684 (tst-iconv7-ENV): Likewise.
3685 * intl/Makefile (LOCPATH-ENV): Likewise.
3686 (tst-codeset-ENV): Likewise.
3687 (tst-gettext3-ENV): Likewise.
3688 (tst-gettext5-ENV): Likewise.
3689 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3690 (tst-fopenloc-ENV): Likewise.
3691 (tst-fgetws-ENV): Remove variable.
3692 (tst-ungetwc1-ENV): Likewise.
3693 (tst-ungetwc2-ENV): Likewise.
3694 (bug-ungetwc2-ENV): Likewise.
3695 (tst-swscanf-ENV): Likewise.
3696 (bug-ftell-ENV): Likewise.
3697 (tst-fgetwc-ENV): Likewise.
3698 (tst-fseek-ENV): Likewise.
3699 (tst-ftell-partial-wide-ENV): Likewise.
3700 (tst-ftell-active-handler-ENV): Likewise.
3701 (tst-ftell-append-ENV): Likewise.
3702 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3703 (tst-regexloc-ENV): Likewise.
3704 (bug-regex1-ENV): Likewise.
3705 (tst-regex-ENV): Likewise.
3706 (tst-regex2-ENV): Likewise.
3707 (bug-regex5-ENV): Likewise.
3708 (bug-regex6-ENV): Likewise.
3709 (bug-regex17-ENV): Likewise.
3710 (bug-regex18-ENV): Likewise.
3711 (bug-regex19-ENV): Likewise.
3712 (bug-regex20-ENV): Likewise.
3713 (bug-regex22-ENV): Likewise.
3714 (bug-regex23-ENV): Likewise.
3715 (bug-regex25-ENV): Likewise.
3716 (bug-regex26-ENV): Likewise.
3717 (bug-regex30-ENV): Likewise.
3718 (bug-regex32-ENV): Likewise.
3719 (bug-regex33-ENV): Likewise.
3720 (bug-regex34-ENV): Likewise.
3721 (bug-regex35-ENV): Likewise.
3722 (tst-rxspencer-ENV): Likewise.
3723 (tst-rxspencer-no-utf8-ENV): Likewise.
3724 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3725 (tst-sscanf-ENV): Likewise.
3726 (tst-swprintf-ENV): Likewise.
3727 (tst-swscanf-ENV): Likewise.
3728 (test-vfprintf-ENV): Likewise.
3729 (scanf13-ENV): Likewise.
3730 (bug14-ENV): Likewise.
3731 (tst-grouping-ENV): Likewise.
3732 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3733 (tst-strtod3-ENV): Likewise.
3734 (tst-strtod4-ENV): Likewise.
3735 (tst-strtod5-ENV): Likewise.
3736 (testmb2-ENV): Likewise./
3737 * string/Makefile (tst-strxfrm-ENV): Likewise.
3738 (tst-strxfrm2-ENV): Likewise.
3739 (bug-strcoll1-ENV): Likewise.
3740 (test-strcasecmp-ENV): Likewise.
3741 (test-strncasecmp-ENV): Likewise.
3742 * time/Makefile (tst-strptime-ENV): Likewise.
3743 (tst-ftime_l-ENV): Likewise.
3744 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3745 (tst-mbrtowc-ENV): Likewise.
3746 (tst-wcrtomb-ENV): Likewise.
3747 (tst-mbrtowc2-ENV): Likewise.
3748 (tst-c16c32-1-ENV): Likewise.
3749 (tst-mbsnrtowcs-ENV): Likewise.
3750
cd1fb604
OB
37512014-06-05 Ondřej Bílka <neleai@seznam.cz>
3752
3753 * manual/resource.texi (How to get information about the memory
3754 subsystem?): Fix typo.
3755 Reported by Peon de la Parra Ivan <peon@keba.com>
3756
b42eca7d
GY
37572014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3758
3759 [BZ #16882]
3760 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3761 (pthread_spin_lock): Branch out of spin loop to proper location.
3762 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3763 (pthread_spin_lock): Likewise.
3764
902b71f9
DM
3765 * nptl/tst-spin4.c: New test.
3766 * nptl/Makefile (tests): Add tst-spin4.
3767
f9d2d032
AS
37682014-06-03 Andreas Schwab <schwab@suse.de>
3769
3770 [BZ #15946]
3771 * resolv/res_send.c (send_dg): Reload file descriptor after
3772 calling reopen.
3773
cf7bfd28
SL
37742014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3775
3776 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3777
111cc714
RH
37782014-06-03 Richard Henderson <rth@redhat.com>
3779
89b4bd6b
RH
3780 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3781 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3782 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3783 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3784 in the SAVE_PID block.
3785 (__libc_vfork): New alias.
71840409 3786 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3787
111cc714
RH
3788 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3789 child in registers, not on the stack. Remove RESET_PID conditionals.
3790 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3791
ccc39911
MS
37922014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3793
3794 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3795
693096cc
W
37962014-06-03 Wilco <wdijkstr@arm.com>
3797
3798 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3799 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3800 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3801 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3802 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3803 Likewise.
3804
0b4366bc
W
38052014-06-03 Wilco <wdijkstr@arm.com>
3806
3807 * sysdeps/aarch64/fpu/math_private.h
3808 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3809 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3810 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3811 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3812 Fix declarations.
3813
8747cd03
KS
38142014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3815
3816 * crypt/crypt-private.h: Include ufc-crypt.h.
3817 (__b64_from_24bit): Declare extern.
3818 * crypt/crypt_util.c(__b64_from_24bit): New function.
3819 (b64t): New static const variable.
3820 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3821 (b64t): Remove variable.
3822 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3823 * crypt/sha256-crypt.c: Include crypt-private.h.
3824 (b64t): Remove variable.
3825 (__sha256_crypt_r): Remove b64_from_24bit and replace
3826 with __b64_from_24bit.
3827 * crypt/sha512-crypt.c: Likewise.
3828
d936d379
RM
38292014-06-02 Roland McGrath <roland@hack.frob.com>
3830
3831 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3832 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3833 Label the code __libc_vfork rather than __vfork.
3834 [!NOT_IN_libc] (vfork): Define as weak alias.
3835 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3836 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3837 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3838
9fa76613
SP
38392014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3840
3841 * malloc/malloc.c (malloc_info): Fix format specifier for
3842 n_mmaps.
3843
a88dadbe
W
38442014-06-02 Wilco <wdijkstr@arm.com>
3845
3846 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3847 FPCR write.
3848
c95b3011
W
38492014-06-02 Wilco <wdijkstr@arm.com>
3850
3851 [BZ #17009]
3852 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3853 Rewrite to reduce FPCR/FPSR accesses.
3854
6b4d7a90
DM
38552014-06-01 David S. Miller <davem@davemloft.net>
3856
3857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3858
30f3d07c
DM
38592014-05-31 David S. Miller <davem@davemloft.net>
3860
3861 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3862 to occur in round to nearest mode when |x| >= 2.0
3863
74f31c18
RH
38642014-05-30 Richard Henderson <rth@twiddle.net>
3865
f0712b54
RH
3866 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3867 (PSEUDO_RET_NOERRNO): Remove.
3868 (ret): Don't redefine.
3869 (ret_NOERRNO): Define in terms of ret.
3870 (ret_ERRVAL): Likewise.
3871
74f31c18
RH
3872 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3873 use of PSEUDO_RET; perform the error check directly.
3874
30477995
MM
38752014-05-30 Marko Myllynen <myllynen@redhat.com>
3876
3877 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3878 with __int128_t.
3879
62a58816
SP
38802014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3881
3882 * malloc/malloc (malloc_info): Fix formatting.
3883
4d653a59
SP
38842014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3885 Roland McGrath <roland@hack.frob.com>
3886
3887 * malloc/malloc (malloc_info): Also print mmapped statistics.
3888
5190c17f
RM
38892014-05-30 Roland McGrath <roland@hack.frob.com>
3890
3891 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3892 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3893
987c0269
OB
38942014-05-30 Ondřej Bílka <neleai@seznam.cz>
3895
3896 * malloc/malloc.c (malloc_info): Inline mi_arena.
3897
af4e8ef9
RH
38982014-05-29 Richard Henderson <rth@twiddle.net>
3899
1670e207
RH
3900 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3901 Remove comma before expanding ASM_ARGS_##nr.
3902 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3903 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3904 of ASM_ARGS_##nr.
3905 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3906 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3907 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3908 (ASM_ARGS_1): Add leading comma.
3909
11a28aee
RH
3910 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3911 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3912 to __errno_location.
3913 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3914 Remove the expected plt for __errno_location.
3915
a17e5ffb 3916 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3917 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3918 call to __read_tp.
3919
b5be4597
RH
3920 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3921 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3922 it and break it down.
3923 (DOCARGS_0, DOCARGS_1): Do nothing.
3924 (DOCARGS_2): Update to store into the new stack frame.
3925 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3926 (UNDOCARGS_1): Update to restore from the new stack frame.
3927 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3928 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3929
645d44ab
RH
3930 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3931 (SINGLE_THREAD_P): New parameter for result regno.
3932 (PSEUDO): Update to match; use cbz instead of beq.
3933
a8b4f04a
RH
3934 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3935 Use ENTRY to define the _nocancel entry point. Share the syscall
3936 and syscall error check paths with the cancel path.
3937 (PSEUDO_END): New.
3938
af4e8ef9
RH
3939 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3940 whitespace; tabs before and after asm mnemonics.
3941
26b0d2e1
EW
39422014-05-29 Eric Wong <normalperson@yhbt.net>
3943
3944 [BZ #15132]
3945 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3946 Call fstat64 or stat64 internally, depending on arguments passed.
3947 Replace stat buffer argument with file descriptor argument.
3948 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3949 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3950 Pass fd to __internal_statvfs instead of calling fstat64.
3951 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3952 Pass fd to __internal_statvfs64 instead of calling fstat64.
3953 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3954 Pass -1 to __internal_statvfs instead of calling stat64.
3955 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3956 Pass -1 to __internal_statvfs64 instead of calling stat64.
3957
1efe2bd9
RM
39582014-05-28 Roland McGrath <roland@hack.frob.com>
3959
0d3b7a19
RM
3960 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3961 that was previously under [RESET_PID].
3962 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3963
1efe2bd9
RM
3964 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3965 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3966
a6bea3ca
RM
39672014-05-27 Roland McGrath <roland@hack.frob.com>
3968
30b6629e
RM
3969 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3970
a6bea3ca
RM
3971 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3972 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3973
3dfb9a5c
OB
39742014-05-27 Ondřej Bílka <neleai@seznam.cz>
3975
3976 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3977
774f9285
AS
39782014-05-27 Andreas Schwab <schwab@suse.de>
3979
3980 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3981 TLS_INIT_TP macro.
3982 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3983 * elf/rtld.c (init_tls, dl_main): Likewise.
3984 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3985 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3986 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3987 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3988 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3989 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3990 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3991 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3992 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3993 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3994 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3995 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3996 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3997 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3998 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3999 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4000 * sysdeps/generic/tls.h: Update description.
4001
36ffe739
WN
40022014-05-27 Will Newton <will.newton@linaro.org>
4003
4004 [BZ #16990]
4005 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4006 and restore r2 rather than just restoring.
4007
2482ae43
SP
40082014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4009
4010 [BZ #16724]
4011 * libio/tst-ftell-append.c: New test case.
4012 * libio/Makefile (tests): Add test case.
4013 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4014 append mode.
4015 * libio/wfileops.c (do_ftell_wide): Likewise.
4016
3d1024e8
AZ
40172014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4018
bab90016
AZ
4019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4020
c7a8d667
AZ
4021 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4022 ...
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4025 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4026 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4027 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4028 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4029 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4030 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4032 Moved ...
4033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4035 Moved ...
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4037 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4038 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4039 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4040 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4041 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4042 ...
4043 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4044 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4045 Moved ...
4046 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4047 here.
4048 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4049 ...
4050 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4051 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4052 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4053
daee7851
AZ
4054 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4055 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4056 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4057 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4058
50a40819
AZ
4059 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4060 merge into ...
4061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4062 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4063 ...
4064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4066 ...
4067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4069 Moved ...
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4071 here.
4072 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4073 Moved ...
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4075 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4076 Moved ...
4077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4078
8464c2a1
AZ
4079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4080 conditional [RESET_PID].
4081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4082 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4083 removed.
4084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4085 removed.
4086
3d1024e8
AZ
4087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4088 <tcb-offsets.h>.
4089 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4090 (__libc_vfork): New strong alias.
4091 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4092 removed.
4093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4094 Removed.
4095
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4097 <tcb-offsets.h>.
4098 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4099 (__libc_vfork): New strong alias.
4100 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4101 removed.
4102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4103 removed.
4104
fdfd175d
CD
41052014-05-26 Carlos O'Donell <carlos@redhat.com>
4106
4107 * malloc/malloc.c (mi_arena): New function.
4108 (malloc_info): Remove nested function mi_arena. Call non-nosted
4109 function mi_arena.
4110
d298c416
AZ
41112014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4112
4113 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4114 by insrwi.
4115 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4116 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4117 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4118 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4119 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4120 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4121 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4122
b60ea6ff
AS
41232014-05-26 Andreas Schwab <schwab@suse.de>
4124
4125 [BZ #16984]
4126 * locale/programs/repertoire.c (repertoire_read): Add slash
4127 between I18NPATH element and file name.
4128 * locale/programs/locfile.c (locfile_read): Likewise.
4129
67365926
SL
41302014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4131
4132 * nptl/pthread_mutexattr_settype.c
4133 (__pthread_mutexattr_settype):
4134 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4135
f8bdf1f0
SL
41362014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4137
4138 * nptl/tst-mutex5 (do_test):
4139 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4140
15eaf6ff
SP
41412014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4142
4143 * benchtests/README: Document 'init' directive.
4144 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4145 BENCH_INIT.
4146 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4147 (parse_file): Recognize 'init' directive.
4148
75f11331
KM
41492014-05-26 Kyle McMartin <kyle@redhat.com>
4150
4151 [BZ #16796]
4152 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4153 alignment of struct pthread.
4154
c3ec475c
SP
41552014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4156
4157 [BZ #16878]
4158 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4159 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4160 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4161 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4162
82aab97c
RH
41632014-05-25 Richard Henderson <rth@twiddle.net>
4164
aa2f176d
RH
4165 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4166 (SINGLE_THREAD_P_PIC): Remove.
4167 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4168 (SINGLE_THREAD_P_PIC): Remove.
4169
ca3cfa40
RH
4170 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4171 branch to syscall error ...
4172 (PSEUDO): ... here.
4173 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4174 from __local_syscall_error to .Lsyscall_error.
4175 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4176 (SYSCALL_ERROR): Update label name.
4177
6e6c2d01
RH
4178 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4179 Do not use DOARGS/UNDOARGS.
4180 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4181 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4182 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4183 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4184 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4185
c69abcee
RH
4186 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4187 block comment.
4188
82aab97c
RH
4189 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4190 define if !NOT_IN_libc.
4191 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4192 define with non-default symbol versions.
4193
8820e3ac
RH
41942014-05-23 Richard Henderson <rth@twiddle.net>
4195
900e445f
RH
4196 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4197 (vfork, __vfork): Define via compat_symbol.
4198
8820e3ac
RH
4199 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4200 [!HAVE_IFUNC] (vfork_compat): Remove.
4201 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4202
e59252a5
JM
42032014-05-23 Joseph Myers <joseph@codesourcery.com>
4204
4205 [BZ #16978]
4206 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4207 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4208 variable.
4209
132c7f5f
RH
42102014-05-23 Richard Henderson <rth@twiddle.net>
4211
bc89e962
RH
4212 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4213 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4214 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4215 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4216
4217 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4218 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4219 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4220 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4221 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4222 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4223 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4224 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4225 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4226 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4227 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4228 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4229 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4230 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4231 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4232 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4233 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4234 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4235 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4236 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4237 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4238 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4239 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4240 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4241 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4242 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4243 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4244 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4245 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4246 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4247 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4248 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4249 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4250 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4252 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4253 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4256 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4257 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4258 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4259 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4260 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4261 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4262 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4263 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4264 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4265 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4266 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4267 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4268 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4269 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4270 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4271 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4272 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4273
e2fa4bc2
RH
4274 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4275 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4276 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4277 before exiting on error.
4278 (__libc_vfork): New strong alias.
4279 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4280 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4281
279b24e2
RH
4282 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4283 that was previously under [RESET_PID].
4284 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4285
132c7f5f
RH
4286 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4287
b72592e7
JM
42882014-05-23 Joseph Myers <joseph@codesourcery.com>
4289
4290 [BZ #16977]
4291 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4292 value when x - 1 is zero.
4293 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4294 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4295 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4296 0.0L for an argument of 1.0L.
4297 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4298 Likewise.
4299 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4300 value when x - 1 is zero.
4301 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4302 * sysdeps/i386/fpu/libm-test-ulps: Update.
4303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4304
2302d679
RV
43052014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4306
4307 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4308 alphasort and versionsort.
4309
32999d63
AZ
43102014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4311
4312 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4313 macro.
4314 [copysignf]: Likewise.
4315
019324d0
SP
43162014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4317
4318 * crypt/md5-crypt.c: Fix formatting.
4319
34fff5c2
KS
43202014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4321
4322 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4323 (b64_from_24bit): New function.
4324
3d2badac
AZ
43252014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4326
4327 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4328 libc_hidden_builtin_def to ifunc.
4329 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4330 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4331
f7bb179f 43322014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4333
4334 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4335 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4336
4134b50d
JM
43372014-05-21 Joseph Myers <joseph@codesourcery.com>
4338
bb7d0337
JM
4339 * nscd/Depend (linuxthreads): Remove.
4340 (nptl): Add.
4341 * resolv/Depend (linuxthreads): Remove.
4342 * rt/Depend (linuxthreads): Remove.
4343
4134b50d
JM
4344 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4345 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4346 $(common-objpfx)elf/.
4347 (link-libc-before-gnulib): Likewise.
4348 (elfobjdir): Remove variable.
4349 * Makefile (install): Use $(elf-objpfx) instead of
4350 $(common-objpfx)elf/.
4351 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4352 $(elfobjdir)/.
4353 (link-libc-deps): Likewise.
4354 ($(common-objpfx)libc.so): Likewise.
4355 ($(common-objpfx)linkobj/libc.so): Likewise.
4356 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4357 instead of $(common-objpfx)elf/.
4358 (symbolic-link-list): Likewise.
4359 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4360 [$(cross-compiling) = no]: Likewise.
4361 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4362 $(elfobjdir)/.
4363 (static-gnulib-arch): Likewise.
4364 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4365 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4366 $(common-objpfx)elf/.
4367
3612eb8f
RH
43682014-05-21 Richard Henderson <rth@redhat.com>
4369
a6b3657b
RH
4370 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4371 (SINGLE_THREAD_P): Use the correct width load. Fold
4372 into the ldr offset.
4373
3612eb8f
RH
4374 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4375 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4376
175cef41
JM
43772014-05-20 Joseph Myers <joseph@codesourcery.com>
4378
4379 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4380 (libgcc_s_resume): Use __attribute_used__.
4381 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4382 Likewise.
4383
e13bccd3
AZ
43842014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4385
4386 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4387 optimization when used with float constants.
4388
7c112a38
AZ
4389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4390
ae75a883
AJ
43912014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4392
4393 [BZ #16915]
4394 * locale/nl_langinfo_l.c: Make direct reference to every
4395 _nl_current_CATEGORY symbol.
4396 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4397 (tests-static): Add tst-langinfo-static.
4398 (tests-special): Add tst-langinfo-static.out.
4399 ($(objpfx)tst-langinfo.out): Redirect output.
4400 ($(objpfx)tst-langinfo-static.out): New.
4401 * localedata/tst-langinfo.sh: Send output to stdout.
4402 * localedata/tst-langinfo-static.c: New file.
4403
4406c41c
AJ
4404 [BZ #16965]
4405 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4406 when the shift amount is modulo the limb size.
4407
4c0a1e63
RH
44082014-05-20 Richard Henderson <rth@redhat.com>
4409
de9d8f20
RH
4410 [BZ #16967]
4411 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4412 Change type of sa_flags from unsigned int to int.
4413
4c0a1e63
RH
4414 [BZ #16966]
4415 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
4416
4417 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4418
a60339aa
WN
44192014-05-20 Will Newton <will.newton@linaro.org>
4420
4421 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4422 Test the return value of the system call in the nocancel case.
4423
7d05a816
YR
44242014-05-20 Will Newton <will.newton@linaro.org>
4425 Yvan Roux <yvan.roux@linaro.org>
4426
4427 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4428 #include of asm/ptrace.h.
4429 (PTRACE_GET_THREAD_AREA): Remove #undef.
4430 (PTRACE_GETHBPREGS): Likewise.
4431 (PTRACE_SETHBPREGS): Likewise.
4432 (struct user_regs_struct): New structure.
4433 (struct user_fpsimd_struct): New structure.
4434 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4435 #include of asm/ptrace.h and second #include of sys/user.h.
4436 (PTRACE_GET_THREAD_AREA): Remove #undef.
4437 (PTRACE_GETHBPREGS): Likewise.
4438 (PTRACE_SETHBPREGS): Likewise.
4439 (ELF_NGREG): Use new struct user_regs_struct.
4440 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4441
af121e37
AZ
44422014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4443
4444 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4446
834caf06
JM
44472014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4448
4449 [BZ #16958]
4450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4451 membar to avoid block loads/stores to overlap previous stores.
4452
e184a918
RH
44532014-05-17 Richard Henderson <rth@redhat.com>
4454
4455 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4456 Create the __##syscall_name##_nocancel entry point.
4457 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4458 Remove; let the sysdep-cancel.h code create it.
4459
f56c7a6a
DM
44602014-05-17 David S. Miller <davem@davemloft.net>
4461
4462 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4463 Protect with __USE_GNU.
4464 (TIOCSET_TEMPT): Likewise.
4465 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4466 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4467 these are already provided in bits/ioctl-types.h
4468
f75616b2
RM
44692014-05-16 Roland McGrath <roland@hack.frob.com>
4470
3edeca86
RM
4471 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4472 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4473
f75616b2
RM
4474 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4475 Use wait4 regardless of [__NR_waitpid].
4476
deb0f7f6
MR
44772014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4478
4479 PR libgcc/60166
4480 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4481 (_FP_NANSIGN_Q): Set the quiet bit.
4482
79520f4b
JM
44832014-05-16 Joseph Myers <joseph@codesourcery.com>
4484
4485 * benchtests/Makefile
4486 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4487 not $(common-objpfx)math/libm.so.
4488 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4489 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4490 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4491 $(common-objpfx)dlfcn/libdl.so.
4492 ($(objpfx)tst-audit8): Depend on $(libm), not
4493 $(common-objpfx)math/libm.so.
4494 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4495 not $(common-objpfx)dlfcn/libdl.so.
4496 * math/Makefile
4497 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4498 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4499 [$(build-shared) = yes].
4500 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4501 $(common-objpfx)nptl/libpthread.so.
4502 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4503 $(common-objpfx)math/libm.so$(libm.so-version) or
4504 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4505 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4506 $(common-objpfx)dlfcn/libdl.so.
4507 * setjmp/Makefile (link-libm): Remove variable.
4508 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4509 * stdio-common/Makefile (link-libm): Remove variable.
4510 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4511 * stdlib/Makefile (link-libm): Remove variable.
4512 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4513 ($(objpfx)tst-strtod-round): Likewise.
4514 ($(objpfx)tst-tininess): Likewise.
4515 ($(objpfx)tst-strtod-underflow): Likewise.
4516 ($(objpfx)tst-strtod6): Likewise.
4517 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4518 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4519 $(common-objpfx)dlfcn/libdl.so.
4520
026b0fe4
AZ
45212014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4522
4523 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4524 BSD terminal modes definitions.
4525
def4bcb2
RM
45262014-05-16 Roland McGrath <roland@hack.frob.com>
4527
fe39b021
RM
4528 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4529 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4530
1d1fc46e 4531 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4532 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4533 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4534 Don't do #include_next.
4535 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4536 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4537 Don't do #include_next.
4538 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4539 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4540 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4541 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4542
c72399fb
AM
45432014-05-16 Allan McRae <allan@archlinux.org>
4544
d51d659d
AM
4545 * po/sv.po: Update Swedish translation from translation project.
4546
c72399fb
AM
4547 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4548 in sed expression.
4549
d0583c40
AJ
45502014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4551
4552 [BZ #16917]
4553 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4554 errno if the TIOCGPTN ioctl fails with an error different than
4555 EINVAL.
4556 * login/tst-ptsname.c: New file.
4557 * login/Makefile (tests): Add tst-ptsname.
4558
d16e6ec7
AJ
4559 [BZ #16943]
4560 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4561 and prlimit64.
4562
cf26a0cb
SP
45632014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4564
4565 [BZ #16849]
4566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4567 herrno to return EAI_AGAIN.
4568
5675da1e
RM
45692014-05-14 Roland McGrath <roland@hack.frob.com>
4570
a5d87b3d
RM
4571 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4572 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4573 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4574 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4575 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4576 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4577 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4578 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4579 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4580 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4581 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4582 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4583 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4584 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4585 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4586 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4587 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4588 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4589 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4590 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4591 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4592 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4593 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4594 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4595 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4596 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4597 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4598 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4599 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4600 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4602 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4604 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4606 Moved ...
4607 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4609 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4613 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4617 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4619 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4625 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4627 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4629 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4631 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4633 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4635 Moved ...
4636 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4638 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4640 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4642 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4644 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4646 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4650 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4652 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4654 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4656 Moved ...
4657 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4659 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4660
039890a6
RM
4661 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4662 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4663 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4664 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4665 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4666 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4667 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4668 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4669 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4670 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4671 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4672 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4673 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4674 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4675 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4676 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4677 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4678 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4679 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4680 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4681 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4682 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4683 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4684 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4685 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4686 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4687 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4688 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4689 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4690 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4691 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4692
65c89320
RM
4693 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4694 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4695
348f8e8c
RM
4696 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4697 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4698 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4699 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4700 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4701 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4702 Moved ...
4703 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4704 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4705 Moved ...
4706 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4708 Moved ...
4709 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4710 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4711 Moved ...
4712 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4714 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4715 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4716 Moved ...
4717 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4718 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4719 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4721 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4722 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4723 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4724 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4725 Moved ...
4726 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4727 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4728 Moved ...
4729 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4730 ... here.
4731 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4732 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4734 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4736 Moved ...
4737 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4738 ... here.
4739 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4740 Moved ...
4741 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4742 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4743 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4744 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4745 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4746 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4747 Moved ...
4748 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4749 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4750 Moved ...
4751 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4753 Moved ...
4754 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4755 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4756 Moved ...
4757 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4758 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4759 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4761 Moved ...
4762 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4764 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4765 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4766 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4767 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4768 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4769 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4770 Moved ...
4771 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4773 Moved ...
4774 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4775 ... here.
4776 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4777 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4778 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4779 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4780 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4781 Moved ...
4782 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4783 ... here.
4784 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4785 Moved ...
4786 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4787 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4788 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4789 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4790 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4791 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4792 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4793 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4794 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4795 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4796 Moved ...
4797 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4798 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4799 Moved ...
4800 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4801 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4802 Moved ...
4803 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4805 Moved ...
4806 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4807 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4808 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4810 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4811 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4812 Moved ...
4813 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4814 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4815 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4817 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4819 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4820 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4821 Moved ...
4822 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4823 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4824 Moved ...
4825 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4826 ... here.
4827 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4828 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4829 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4830 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4831 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4832 Moved ...
4833 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4834 ... here.
4835 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4836 Moved ...
4837 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4838 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4839 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4840 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4841 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4842 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4843 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4845 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4846 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4847 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4848
5085af05
RM
4849 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4850 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4851
708f0813
RM
4852 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4853 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4854
c96067bc
RM
4855 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4856 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4857 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4858 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4859 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4861 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4862 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4863 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4865 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4867 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4869 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4871 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4873 Moved ...
4874 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4875 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4876 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4877 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4878 Moved ...
4879 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4881 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4882 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4883 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4884 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4885 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4887 Moved ...
4888 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4889 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4890 Moved ...
4891 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4893 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4895 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4897 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4899 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4901 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4903 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4904 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4905 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4906 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4907 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4908
ec136444
RM
4909 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4910 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4911 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4912 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4913 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4914
2fbdf533
RM
4915 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4916 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4917 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4918 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4919 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4920 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4921 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4922 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4923 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4924 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4925
4c68138b
RM
4926 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4928
4eaae765
RM
4929 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4930 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4931 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4932 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4933 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4934 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4935 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4936 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4937 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4938 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4939 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4940 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4941 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4942 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4943 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4944 Update #include.
4945 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4946 Likewise.
4947 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4948 Likewise.
4949 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4950 Likewise.
4951 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4952 Likewise.
4953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4954 Likewise.
4955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4956 Likewise.
4957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4958 Likewise.
4959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4960 Likewise.
4961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4962 Likewise.
4ef6befa
RM
4963 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4964 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4965 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4966 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4967 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4968 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4969 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4970 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4971 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4972 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4973 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4974 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4975 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4976 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4977 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4978
941d7dfd
RM
4979 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4980 that was previously under [RESET_PID].
4981 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4982 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4983 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4984
1b731c35
RM
4985 * sysdeps/i386/nptl/Implies: New file.
4986 * sysdeps/x86_64/nptl/Implies: New file.
4987 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4988 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4989 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4990 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4991
e2787137
RM
4992 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4993 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4994 (__libc_vfork): New strong alias.
4995 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4996 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4997
4998 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4999 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5000 (__libc_vfork): New strong alias.
5001 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5002 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5003
5675da1e
RM
5004 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5005 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5006 (__libc_vfork): New strong alias.
5007 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5008 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5009 * nptl/pt-vfork.c: New file.
5010 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5011 (libpthread: GLIBC_2.20): New version set (empty).
5012
4f02e2b8
WN
50132014-05-14 Will Newton <will.newton@linaro.org>
5014
5015 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5016 rather than #if.
5017
0bf061d3
JM
50182014-05-14 Joseph Myers <joseph@codesourcery.com>
5019
1a84c3d6
JM
5020 [BZ #16564]
5021 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5022 arguments with exponent 65 or above.
5023 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5024 arguments 0x1p113L or above.
5025 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5026 to arguments 0x1p107L or above.
5027 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5028 positive arguments with exponent 65 or above.
5029 * math/auto-libm-test-in: Add more tests of log1p.
5030 * math/auto-libm-test-out: Regenerated.
5031
01dbacd2
JM
5032 [BZ #16928]
5033 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5034 non-finite arguments is +0.
5035 * math/s_cacosf.c (__cacosf): Likewise.
5036 * math/s_cacosl.c (__cacosl): Likewise.
5037 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5038 * sysdeps/i386/fpu/libm-test-ulps: Update.
5039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5040
913d03c8
JM
5041 [BZ #16927]
5042 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5043 value.
5044 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5045 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5046 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5047 for explicit high bit of mantissa when testing for argument equal
5048 to 1.
5049 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5050 * sysdeps/i386/fpu/libm-test-ulps: Update.
5051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5052
0bf061d3
JM
5053 [BZ #16516]
5054 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5055 (__erf): Scale by 16 instead of 8 in potentially underflowing
5056 case. Ensure exception if result actually underflows.
5057 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5058 (__erff): Scale by 16 instead of 8 in potentially underflowing
5059 case. Ensure exception if result actually underflows.
5060 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5061 (efx8): Remove variable.
5062 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5063 case. Ensure exception if result actually underflows.
5064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5065 (efx8): Remove variable.
5066 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5067 case. Ensure exception if result actually underflows.
5068 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5069 (efx8): Remove variable.
5070 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5071 case. Ensure exception if result actually underflows.
5072 * math/auto-libm-test-in: Add more tests of erf.
5073 * math/auto-libm-test-out: Regenerated.
5074
73ba67cb
AS
50752014-05-14 Andreas Schwab <schwab@suse.de>
5076
3d8c8bff
AS
5077 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5078 Remove code conditionalized on USE___THREAD.
5079
73ba67cb
AS
5080 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5081 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5082 not definedness.
5083
5c521ecd
JM
50842014-05-14 Joseph Myers <joseph@codesourcery.com>
5085
5e7698c6
JM
5086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5087 Define unconditionally.
5088 (__ASSUME_O_CLOEXEC): Likewise.
5089 (__ASSUME_SOCK_CLOEXEC): Likewise.
5090 (__ASSUME_IN_NONBLOCK): Likewise.
5091 (__ASSUME_PIPE2): Likewise.
5092 (__ASSUME_EVENTFD2): Likewise.
5093 (__ASSUME_SIGNALFD4): Likewise.
5094 (__ASSUME_DUP3): Likewise.
5095 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5096 (__ASSUME_DUP3): Do not define.
5097 (__ASSUME_EVENTFD2): Likewise.
5098 (__ASSUME_IN_NONBLOCK): Likewise.
5099 (__ASSUME_O_CLOEXEC): Likewise.
5100 (__ASSUME_PIPE2): Likewise.
5101 (__ASSUME_SIGNALFD4): Likewise.
5102 (__ASSUME_SOCK_CLOEXEC): Likewise.
5103 (__ASSUME_UTIMES): Undefine.
5104 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5105 (__ASSUME_UTIMES): Do not define.
5106 (__ASSUME_O_CLOEXEC): Likewise.
5107 (__ASSUME_SOCK_CLOEXEC): Likewise.
5108 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5109 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5110 0x020621].
5111 (__ASSUME_PIPE2): Likewise.
5112 (__ASSUME_EVENTFD2): Likewise.
5113 (__ASSUME_SIGNALFD4): Likewise.
5114 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5115 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5116 Do not define.
5117 (__ASSUME_EVENTFD2): Likewise.
5118 (__ASSUME_SIGNALFD4): Likewise.
5119 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5120 (__ASSUME_32BITUIDS): Likewise.
5121 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5122 (__ASSUME_IPC64): Likewise.
5123 (__ASSUME_ST_INO_64_BIT): Likewise.
5124 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5125 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5126 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5127 (__ASSUME_UTIMES): Do not define.
5128 (__ASSUME_PSELECT): Likewise.
5129 (__ASSUME_PPOLL): Likewise.
5130 (__ASSUME_O_CLOEXEC): Likewise.
5131 (__ASSUME_SOCK_CLOEXEC): Likewise.
5132 (__ASSUME_IN_NONBLOCK): Likewise.
5133 (__ASSUME_PIPE2): Likewise.
5134 (__ASSUME_EVENTFD2): Likewise.
5135 (__ASSUME_SIGNALFD4): Likewise.
5136 (__ASSUME_DUP3): Likewise.
5137 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5138 (__ASSUME_UTIMES): Likewise.
5139 (__ASSUME_O_CLOEXEC): Likewise.
5140 (__ASSUME_SOCK_CLOEXEC): Likewise.
5141 (__ASSUME_IN_NONBLOCK): Likewise.
5142 (__ASSUME_PIPE2): Likewise.
5143 (__ASSUME_EVENTFD2): Likewise.
5144 (__ASSUME_SIGNALFD4): Likewise.
5145 (__ASSUME_DUP3): Likewise.
5146 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5147 (__ASSUME_UTIMES): Likewise.
5148 (__ASSUME_O_CLOEXEC): Likewise.
5149 (__ASSUME_SOCK_CLOEXEC): Likewise.
5150 (__ASSUME_IN_NONBLOCK): Likewise.
5151 (__ASSUME_PIPE2): Likewise.
5152 (__ASSUME_EVENTFD2): Likewise.
5153 (__ASSUME_SIGNALFD4): Likewise.
5154 (__ASSUME_DUP3): Likewise.
5155 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5156 Likewise.
5157 (__ASSUME_UTIMES): Likewise.
5158 (__ASSUME_EVENTFD2): Likewise.
5159 (__ASSUME_SIGNALFD4): Likewise.
5160 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5161 (__ASSUME_O_CLOEXEC): Likewise.
5162 (__ASSUME_SOCK_CLOEXEC): Likewise.
5163 (__ASSUME_IN_NONBLOCK): Likewise.
5164 (__ASSUME_PIPE2): Likewise.
5165 (__ASSUME_EVENTFD2): Likewise.
5166 (__ASSUME_SIGNALFD4): Likewise.
5167 (__ASSUME_DUP3): Likewise.
5168 (__ASSUME_UTIMES): Undefine.
5169
5c521ecd
JM
5170 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5171 feclearexcept. Remove symbol versioning code.
5172 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5173 symbol versioning code.
5174 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5175 symbol versioning code.
5176 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5177 feupdateenv. Remove symbol versioning code.
5178 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5179 fegetexceptflag. Remove symbol versioning code.
5180 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5181 fesetexceptflag. Remove symbol versioning code.
5182 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5183 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5184 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5185 (__posix_fadvise64_l32): Remove prototype.
5186 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5187 code.
5188
5da9dfad
RM
51892014-05-13 Roland McGrath <roland@hack.frob.com>
5190
5191 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5192 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5193 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5194 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5195
893b4f37
SK
51962014-05-13 Sami Kerola <kerolasa@iki.fi>
5197
5198 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5199 current working directory
5200
e0db6517
RM
52012014-05-13 Roland McGrath <roland@hack.frob.com>
5202
58aa195d
RM
5203 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5204 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5205 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5206 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5207 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5208 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5209 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5210 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5211 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5212 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5213 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5214 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5215 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5216 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5217 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5218 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5219 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5220 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5222 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5223 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5224 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5226 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5227 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5228 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5229 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5230 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5231 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5232 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5233 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5234 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5235 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5236 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5237 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5238 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5239 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5240 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5241 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5242 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5243 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5244 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5245
8c6d01f0
RM
5246 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5247 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5248
5249 * sysdeps/unix/sysv/linux/arm/Makefile
5250 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5251 Add rt-aeabi_unwind_cpp_pr1.
5252 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5253 Add nptl-aeabi_unwind_cpp_pr1.
5254 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5255 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5256 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5257 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5258 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5259 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5260
5261 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5262 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5263 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5264 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5265
bba6da4e
RM
5266 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5267 Deconditionalize the code that was previously under [RESET_PID].
5268 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5269
e0db6517
RM
5270 * sysdeps/generic/exit-thread.h: New file.
5271 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5272 * include/unistd.h (__exit_thread): Remove declaration.
5273 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5274 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5275 * csu/libc-start.c: Include <exit-thread.h>.
5276 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5277 * nptl/pthread_create.c: Include <exit-thread.h>.
5278 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5279 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5280 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5281 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5282 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5283 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5284 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5285 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5286 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5287 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5288 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5289 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5290 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5291 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5292 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5293 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5294 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5295
01eb16fd
AS
52962014-05-13 Andreas Schwab <schwab@suse.de>
5297
5298 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5299
637461d9
JM
53002014-05-12 Joseph Myers <joseph@codesourcery.com>
5301
5302 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5303 (__ASSUME_UTIMES): Do not condition on kernel version.
5304 (__ASSUME_PSELECT): Define unconditionally.
5305 (__ASSUME_PPOLL): Likewise.
5306 (__ASSUME_ATFCTS): Likewise.
5307 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5308 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5309 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5310 (__ASSUME_UTIMENSAT): Define unconditionally.
5311 (__ASSUME_PRIVATE_FUTEX): Likewise.
5312 (__ASSUME_FALLOCATE): Likewise.
5313 (__ASSUME_O_CLOEXEC): Likewise.
5314 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5315 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5316 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5317 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5318 (__ASSUME_IN_NONBLOCK): Likewise.
5319 (__ASSUME_PIPE2): Likewise.
5320 (__ASSUME_EVENTFD2): Likewise.
5321 (__ASSUME_SIGNALFD4): Likewise.
5322 (__ASSUME_DUP3): Likewise.
5323 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5324 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5325 (__ASSUME_AT_RANDOM): Likewise.
5326 (__ASSUME_PREADV): Likewise.
5327 (__ASSUME_PWRITEV): Likewise.
5328 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5329 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5330 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5331 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5332 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5333 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5334 (__ASSUME_O_CLOEXEC): Define unconditionally.
5335 (__ASSUME_PSELECT): Do not undefine conditionally.
5336 (__ASSUME_PPOLL): Likewise.
5337 (__ASSUME_ATFCTS): Likewise.
5338 (__ASSUME_SET_ROBUST_LIST): Likewise.
5339 (__ASSUME_UTIMENSAT): Likewise.
5340 (__ASSUME_FDATASYNC): Define unconditionally.
5341 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5342 (__ASSUME_SIGFRAME_V2): Likewise.
5343 )__ASSUME_EVENTFD2): Likewise.
5344 (__ASSUME_SIGNALFD4): Likewise.
5345 (__ASSUME_PSELECT): Do not undefine conditionally.
5346 (__ASSUME_PPOLL): Likewise.
5347 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5348 (__ASSUME_PSELECT): Define unconditionally.
5349 (__ASSUME_PPOLL): Likewise.
5350 (__ASSUME_O_CLOEXEC): Likewise.
5351 (__ASSUME_SOCK_CLOEXEC): Likewise.
5352 (__ASSUME_IN_NONBLOCK): Likewise.
5353 (__ASSUME_PIPE2): Likewise.
5354 (__ASSUME_EVENTFD2): Likewise.
5355 (__ASSUME_SIGNALFD4): Likewise.
5356 (__ASSUME_DUP3): Likewise.
5357 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5358 (__ASSUME_O_CLOEXEC): Likewise.
5359 (__ASSUME_SOCK_CLOEXEC): Likewise.
5360 (__ASSUME_IN_NONBLOCK): Likewise.
5361 (__ASSUME_PIPE2): Likewise.
5362 (__ASSUME_EVENTFD2): Likewise.
5363 (__ASSUME_SIGNALFD4): Likewise.
5364 (__ASSUME_DUP3): Likewise.
5365 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5366 (__ASSUME_EVENTFD2): Likewise.
5367 (__ASSUME_SIGNALFD4): Likewise.
5368 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5369
315eb1d8
AS
53702014-05-12 Andreas Schwab <schwab@suse.de>
5371
5372 [BZ #16932]
5373 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5374 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5375 than maximum RPC packet size.
5376 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5377 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5378 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5379 (_nss_nis_getservbyport_r): Likewise.
5380
91df99f7
WN
53812014-05-12 Will Newton <will.newton@linaro.org>
5382
5383 * malloc/Makefile (tests): Add tst-mallopt.
5384 * malloc/tst-mallopt.c: New file.
5385
0a982a29
RM
53862014-05-09 Roland McGrath <roland@hack.frob.com>
5387
5388 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5389 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5390
0ded08a5
AZ
53912014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5392
5393 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5394 (tst-tlsmod6.so): Likewise.
5395
55d4d550
RM
53962014-05-09 Roland McGrath <roland@hack.frob.com>
5397
5398 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5399
77d08aca
JM
54002014-05-09 Joseph Myers <joseph@codesourcery.com>
5401
5402 [BZ #16064]
5403 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5404 and <dl-procinfo.h>.
5405 (__fegetenv): Save SSE state in envp->__eip if supported.
5406 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5407 envp->__eip if supported.
5408 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5409 and <dl-procinfo.h>.
5410 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5411 __data_offset and __data_selector in environment to 0. Set SSE
5412 state if supported.
5413 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5414 test-fenv-sse.
5415 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5416 -mfpmath=sse.
5417 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5418
28162f4d
WN
54192014-05-09 Will Newton <will.newton@linaro.org>
5420
5421 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5422 and libc_relro_required for ARM.
5423 * sysdeps/arm/preconfigure: Regenerate.
5424
5a414ff7
DV
54252014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5426 Stefan Liebler <stli@linux.vnet.ibm.com>
5427
5428 * config.make.in (enable-lock-elision): New Makefile variable.
5429 * configure.ac: Likewise.
5430 * configure: Regenerate.
5431 * sysdeps/s390/configure.ac:
5432 Add check for gcc transactions support.
5433 * sysdeps/s390/configure: Regenerate.
5434 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5435 Build elision files if enabled.
5436 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5437 Add lock elision support for s390.
5438 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5439 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5440 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5441 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5442 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5443 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5444 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5445 Likewise.
5446 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5447 Likewise.
5448 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5449 Likewise.
5450 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5451 Likewise.
5452 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5453 (__lll_timedlock_elision, __lll_lock_elision)
5454 (__lll_unlock_elision, __lll_trylock_elision)
5455 (lll_timedlock_elision, lll_lock_elision)
5456 (lll_unlock_elision, lll_trylock_elision): Add.
5457 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5458 (pthread_mutex_t): Add lock elision support for s390.
5459
1a2f40e5
W
54602014-05-14 Wilco <wdijkstr@arm.com>
5461
5462 * sysdeps/arm/fclrexcpt.c: Cleanup.
5463 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5464 * sysdeps/arm/feenablxcpt.c: Cleanup.
5465 * sysdeps/arm/fegetenv.c: Cleanup.
5466 * sysdeps/arm/fegetexcept.c: Cleanup.
5467 * sysdeps/arm/fegetround.c: Cleanup.
5468 * sysdeps/arm/feholdexcpt.c: Cleanup.
5469 * sysdeps/arm/fesetenv.c: Cleanup.
5470 * sysdeps/arm/fesetround.c: Cleanup.
5471 * sysdeps/arm/feupdateenv.c: Cleanup.
5472 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5473 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5474 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5475 * sysdeps/arm/ftestexcept.c: Cleanup.
5476 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5477 * sysdeps/arm/setfpucw.c: Cleanup.
5478
f63c86fe
WN
54792014-05-09 Will Newton <will.newton@linaro.org>
5480
5481 * sysdeps/arm/armv7/strcmp.S: New file.
5482 * NEWS: Mention addition of ARMv7 optimized strcmp.
5483
7a1a51b5
RM
54842014-05-08 Roland McGrath <roland@hack.frob.com>
5485
95afbbe5
RM
5486 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5487 look for %.ac rather than %.in.
5488
5489 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5490 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5491 * sysdeps/mach/hurd/configure: Regenerated.
5492 * sysdeps/unix/sysv/linux/configure: Regenerated.
5493
7a1a51b5
RM
5494 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5495
5057ad3b
SE
54962014-05-07 Steve Ellcey <sellcey@mips.com>
5497
5498 [BZ# 16922]
5499 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5500 (LONG_SUB): Ditto.
5501 (PTR_SUB): Ditto.
5502
8dc97517
AS
55032014-05-07 Andreas Schwab <schwab@suse.de>
5504
5505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5506 when skipping over non-matching result from nscd.
5507
ce0c5b8f
OB
55082014-05-07 Ondřej Bílka <neleai@seznam.cz>
5509
5510 [BZ #16876]
5511 * nptl/sockperf.c (client): Check socket return value.
8dc97517 5512
a1189263
OB
5513 [BZ #16877]
5514 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5515 nscd security class.
ce0c5b8f 5516
0f58d252
RM
55172014-05-06 Roland McGrath <roland@hack.frob.com>
5518
5519 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5520 * sysdeps/arm/unwind.h: ... here.
5521
83df9ad0
AJ
55222014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5523
ce0c5b8f
OB
5524 [BZ# 16916]
5525 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5526 Define.
83df9ad0 5527
f360f94a
VR
55282014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5529
5530 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5531 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5532 multiarch strncpy for PPC64.
5533 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5534 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5536 multiarch optimizations.
5537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5538 (__libc_ifunc_impl_list): Likewise.
5539 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5540 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5541 multiarch stpncpy for PPC64.
5542 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5543 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5544
978a41c3
AS
55452014-05-06 Andreas Schwab <schwab@suse.de>
5546
5547 [BZ #16912]
5548 * gmon/mcount.c (_MCOUNT_DECL): Use
5549 atomic_compare_and_exchange_bool_acq instead of
5550 catomic_compare_and_exchange_bool_acq.
5551
eb1ed03d
RM
55522014-05-05 Roland McGrath <roland@hack.frob.com>
5553
fe658845
RM
5554 * elf/Makefile (others, install-bin): Remove pldd.
5555 (pldd-modules): Variable removed.
5556 ($(objpfx)pldd): Target removed.
5557 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5558 (others, install-bin): Append pldd here.
5559 ($(objpfx)pldd): New target.
5560
eb1ed03d
RM
5561 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5562 to 0, so the first #if test emitted later doesn't see it undefined.
5563 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5564 * sysdeps/gnu/errlist.c: Regenerated.
5565
19c4bec0
AZ
55662014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5567
5568 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5569 [libc_hidden_builtin_def]: Define to empty value.
5570 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5571 [libc_hidden_builtin_def]: Likewise.
5572 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5573 [libc_hidden_builtin_def]: Likewise.
5574 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5575 [libc_hidden_builtin_def]: Likewise.
5576 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5577 __redirect_memcpy and define ifunc as default hidden symbol.
5578 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5579 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5580
7776e669
AC
55812014-05-04 Adam Conrad <adconrad@0c3.net>
5582
5583 * locale/iso-4217.def: Reintroduce XDR currency.
5584
d69aeb12
AM
55852014-05-04 Allan McRae <allan@archlinux.org>
5586
5587 * po/eo.po: Update Esperanto translation from translation project.
5588
8f1df5cf
CD
55892014-05-02 Carlos O'Donell <carlos@redhat.com>
5590
5591 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5592 and FEATURE_INDEX_MAX to 1.
5593 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5594
13e402e7
SE
55952014-05-01 Steve Ellcey <sellcey@mips.com>
5596
5597 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5598 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5599 * iconvdata/big5.c (ONE_DIRECTION): Define.
5600 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5601 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5602 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5603 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5604 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5605 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5606 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5607 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5608 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5609 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5610 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5611 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5612 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5613 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5614 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5615 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5616 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5617 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5618 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5619 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5620 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5621 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5622 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5623 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5624 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5625 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5626 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5627 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5628 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5629 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5630 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5631 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5632 * iconvdata/johab.c (ONE_DIRECTION): Define.
5633 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5634 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5635 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5636 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5637 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5638 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5639 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5640 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5641 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5642 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5643
c727f032
RM
56442014-05-01 Roland McGrath <roland@hack.frob.com>
5645
8f2f08d0
RM
5646 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5647 (_IO_JUMPS_OFFSET): Define to 0.
5648
c727f032
RM
5649 * nptl/sysdeps/pthread/bits/libc-lock.h
5650 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5651 (__libc_lock_define_initialized_recursive): Always define using
5652 initializer. Modern compilers treat uninitialized (implicit zero) and
5653 explicit zero initializers the same (i.e. put the datum in bss).
5654
a849e800
AS
56552014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5656
5657 * nscd/nscd-client.h: Include <string.h>.
5658
5331255b
DM
56592014-05-01 David S. Miller <davem@davemloft.net>
5660
5661 [BZ #16885]
5662 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5663 multiple zero bytes exist at the end of a string.
5664 Reported by Aurelien Jarno <aurelien@aurel32.net>
5665
5666 * string/test-strcmp.c (check): Add explicit test for situations where
5667 there are multiple zero bytes after the first.
5668
4fdfe821
AS
56692014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5670
5671 [BZ #16890]
5672 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5673 when compiling wprintf.
5674 * stdio-common/tstdiomisc.c (t3): New function.
5675 (main): Call it.
5676
0cdddc25
SE
56772014-05-01 Steve Ellcey <sellcey@mips.com>
5678
5679 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5680 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5681 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5682 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5683
6426d77e
SE
56842014-05-01 Steve Ellcey <sellcey@mips.com>
5685
5686 * stdlib/longlong.h: Updated from GCC.
5687
6d96f5e4
WN
56882014-05-01 Will Newton <will.newton@linaro.org>
5689 Bernard Ogden <bernie.ogden@linaro.org>
5690
7470db0c
WN
5691 * NEWS: Update fixed bug list.
5692
6d96f5e4
WN
5693 [BZ #15119]
5694 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5695
211d653c
DM
56962014-04-30 David S. Miller <davem@davemloft.net>
5697
4fa262fa
DM
5698 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5699 (libc_feholdexcept_setround_sparc_ctx): New function.
5700 (libc_fesetenv_sparc_ctx): Likewise.
5701 (libc_feupdateenv_sparc_ctx): Likewise.
5702 (libc_feholdsetround_sparc_ctx): Likewise.
5703 (libc_feholdexcept_setround_ctx): Define.
5704 (libc_feholdexcept_setroundf_ctx): Likewise.
5705 (libc_feholdexcept_setroundl_ctx): Likewise.
5706 (libc_fesetenv_ctx): Likewise.
5707 (libc_fesetenvf_ctx): Likewise.
5708 (libc_fesetenvl_ctx): Likewise.
5709 (libc_feupdateenv_ctx): Likewise.
5710 (libc_feupdateenvf_ctx): Likewise.
5711 (libc_feupdateenvl_ctx): Likewise.
5712 (libc_feresetround_ctx): Likewise.
5713 (libc_feresetroundf_ctx): Likewise.
5714 (libc_feresetroundl_ctx): Likewise.
5715 (libc_feholdsetround_ctx): Likewise.
5716 (libc_feholdsetroundf_ctx): Likewise.
5717 (libc_feholdsetroundl_ctx): Likewise.
5718
1d3d93ef
DM
5719 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5720 with __USE_GNU instead of XOPEN cpp guards.
5721
8aa583c3
DM
5722 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5723 0.
5724
211d653c
DM
5725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5726 with XOPEN cpp guards.
5727
60c8f1f6
JB
57282014-04-30 Julian Brown <julian@codesourcery.com>
5729
5730 [BZ #16888]
5731 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5732 handling.
5733
9a461d46
JM
57342014-04-30 Joseph Myers <joseph@codesourcery.com>
5735
d0f5b3f8
JM
5736 [BZ #9894]
5737 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5738 Change to 2.6.32.
5739 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5740 * sysdeps/unix/sysv/linux/configure: Regenerated.
5741 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5742 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5743 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5744 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5745 * README: Update reference to required Linux kernel version.
5746 * manual/install.texi (Linux): Update reference to required Linux
5747 kernel headers version.
5748 * INSTALL: Regenerated.
5749
9a461d46
JM
5750 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5751 header inclusion.
5752 [POSIX] (limits.h): Likewise.
5753 [POSIX] (math.h): Likewise.
5754 [POSIX] (sys/wait.h): Likewise.
5755 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5756 function.
5757 [POSIX] (stddef.h): Do not allow header inclusion.
5758
1775babf
AZ
57592014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5760
57f41c40 5761 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5762
8f630cca
YY
57632014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5764
5765 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5766 Return immediately after lll_futex_wake.
5767
1cdeb237
SP
57682014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5769
bc8f194c
SP
5770 [BZ #16791]
5771 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5772 structure.
5773 (datahead_init_pos): Call datahead_init_common early.
5774 (datahead_init_neg): Likewise.
5775
1cdeb237
SP
5776 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5777 datahead_init_neg): New functions.
5778 * nscd/aicache.c (addhstaiX): Use them.
5779 * nscd/grpcache.c (cache_addgr): Likewise.
5780 * nscd/hstcache.c (cache_addhst): Likewise.
5781 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5782 * nscd/netgroupcache.c (do_notfound): Likewise.
5783 (addgetnetgrentX): Likewise.
5784 (addinnetgrX): Likewise.
5785 * nscd/pwdcache.c (cache_addpw): Likewise.
5786 * nscd/servicescache.c (cache_addserv): Likewise.
5787
16b293a7
SP
57882014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5789 Atsushi Onoe <atsushi@onoe.org>
5790
5791 [BZ #14308]
5792 [BZ #12994]
5793 [BZ #13651]
5794 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5795 one response is valid.
5796 * resolv/res_send.c (send_dg): Check for validity of other
5797 response if the current response is a referral.
5798
a28a9b94
SE
57992014-04-29 Steve Ellcey <sellcey@mips.com>
5800
5801 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5802
2ca180e9
SL
58032014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5804
5805 [BZ #16823]
5806 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5807 Always divide by positive zero when computing -Inf result.
5808 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5809 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5810
18f2945a
AZ
58112014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5812
5813 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5814 FPSCR if value do not change.
5815 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5816 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5817 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5818 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5819 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5820 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5821 function.
5822
5abebba4
CD
58232014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5824
5825 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5826 * sysdeps/unix/sysv/linux/hppa: Move directory from
5827 ports/systeps/unix/sysv/linux/hppa.
5828 * README: Update listing for hppa-*-linux-gnu.
5829
f7ed60c2
OB
58302014-04-28 Ondřej Bílka <neleai@seznam.cz>
5831
fff763a5
OB
5832 [BZ #16754]
5833 * manual/stdio.texi (Hook functions): Fix types of stream hook
5834 functions.
f7ed60c2
OB
5835 [BZ #16854]
5836 * socket/sys/socket.h: Fix typo in comment.
5837
df639d73
WD
58382014-04-28 Wilco <wdijkstr@arm.com>
5839
f7ed60c2 5840 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5841 * sysdeps/arm/math_private.h: New file.
5842 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5843
48332d82
L
58442014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5845
5846 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5847 with __int128_t.
5848 (La_x86_64_retval): Likewise.
5849
e5e0d9a4
IB
58502014-04-24 Ian Bolton <ian.bolton@arm.com>
5851
5852 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5853 fpsr if value didn't change.
5854 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5855 to fpcr if value didn't change.
5856 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5857 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5858 fpsr or fpcr if value didn't change.
5859 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5860 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5861 fpcr if value didn't change.
5862 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5863 to fpsr if value didn't change.
5864
bacc75f7
SP
58652014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5866
5867 * nptl/tst-sem3.c: Use test-skeleton.c
5868 (main): Rename to do_test. Use return instead of
5869 exit.
5870 * nptl/tst-sem4.c: Use test-skeleton.c
5871 (main): Rename to do_test.
5872
a059d359
DM
58732014-04-22 David S. Miller <davem@davemloft.net>
5874
5875 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5876 (struct sigaction): New struct member __glibc_reserved0, change
5877 type of sa_flags to int.
5878
ea6c92f3
YZ
58792014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5880
5881 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5882 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5883
766c4a36
SP
58842014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5885
5886 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5887 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5888
140cc7ab
VK
58892014-04-22 Will Newton <will.newton@linaro.org>
5890 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5891
5892 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5893 (__longjmp): Add longjmp and longjmp_target SystemTap
5894 probes.
5895 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5896 (__sigsetjmp): Add setjmp SystemTap probe.
5897
c54e5cf7
CD
58982014-04-17 Carlos O'Donell <carlos@redhat.com>
5899
5900 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5901 match manual order.
5902
75ffb047
AZ
59032014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5904
5905 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5906
2cd925f7
AZ
5907 * sysdeps/powerpc/fpu/fenv_private.h
5908 (libc_feholdexcept_setroundl_ctx): Define to
5909 libc_feholdexcept_setround_ppc_ctx.
5910 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5911 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5912 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5913 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5914
39e6cd8d
IB
59152014-04-17 Ian Bolton <ian.bolton@arm.com>
5916
5917 * sysdeps/aarch64/math-tests.h: New file.
5918
f9281df9
SY
59192014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5920
5921 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5922 New.
5923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5924 Check and set bit_AVX2_Usable.
5925 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5926 macro.
5927 (bit_AVX2): Likewise.
5928 (index_AVX2_Usable): Likewise.
5929 (CPUID_AVX2): Likewise.
5930 (HAS_AVX2): Likewise.
5931
37d35007
WN
59322014-04-17 Will Newton <will.newton@linaro.org>
5933
7c677662
WN
5934 * manual/setjmp.texi (System V contexts): Add note that
5935 calling setcontext on a context created by a call to a
5936 signal handler is undefined. Update text to note that
5937 setcontext from a signal handler is possible but not
5938 recommended.
5939
37d35007 5940 [BZ #16629]
e04a4e9d
WN
5941 * stdlib/tst-setcontext.c: Include signal.h.
5942 (main): Check that the signal stack before and
5943 after swapcontext is the same.
5944
37d35007
WN
5945 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5946 Re-implement to restore registers in user code and avoid
5947 rt_sigreturn system call.
5948
423a7160
W
59492014-04-17 Wilco <wdijkstr@arm.com>
5950
5951 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5952 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5953 * math/test-fenv.c: Skip exception trap tests on targets which only
5954 support non-stop mode.
5955
bc93ab29
IB
59562014-04-17 Ian Bolton <ian.bolton@arm.com>
5957 Wilco Dijkstra <wilco.dijkstra@arm.com>
5958
5959 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5960 (libc_feholdsetround_aarch64_ctx)
5961 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5962 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5963 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5964 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5965 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5966 (libc_feresetround_noexl_ctx): Define.
5967
95fc5fa3
RH
59682014-04-16 Richard Henderson <rth@redhat.com>
5969
ddb04724
RH
5970 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5971
d77c0899
RH
5972 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5973 unwind tables.
5974
a3df56fc
RH
5975 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5976 const from the non-libc, non-ldso copy.
5977
95fc5fa3
RH
5978 * sysdeps/alpha/libm-test-ulps: Regenerate.
5979
7e0b6763
IB
59802014-04-16 Ian Bolton <ian.bolton@arm.com>
5981 Wilco Dijkstra <wilco.dijkstra@arm.com>
5982
5983 * sysdeps/aarch64/fpu/math_private.h: New file.
5984
a9ea2e0c
MS
59852014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5986
5987 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5988
ea8ba7cd
IZ
59892014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5990
5991 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5992 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5993 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5994 Intel MPX bound registers before _dl_profile_fixup.
5995 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5996 registers after _dl_profile_fixup. Save and restore bound
5997 registers bnd0/bnd1 when calling _dl_call_pltexit.
5998 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5999 (LR_BND_OFFSET): Likewise.
6000 (LRV_BND0_OFFSET): Likewise.
6001 (LRV_BND1_OFFSET): Likewise.
6002
9f2a4fbc
ST
60032014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6004
6005 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6006 to...
6007 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6008 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6009 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6010 fields.
9f2a4fbc 6011
fd15a59b
ST
60122014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6013
6014 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6015
f19dfa0a
SL
60162014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6017
6018 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6019
4fa8bc3b
SL
60202014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6021
6022 [BZ #14770]
6023 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6024 * sysdeps/s390/configure: Regenerate.
6025
8ea587db
SL
6026 [BZ #16824]
6027 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6028 Set round-to-nearest internally to reduce error accumulation.
6029
aa5f0ff1
AM
60302014-04-16 Alan Modra <amodra@gmail.com>
6031
6032 [BZ #16740]
6033 [BZ #16619]
6034 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6035 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6036 * NEWS: Update fixed bug list.
aa5f0ff1 6037
bb9c256f
SP
60382014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6039
6040 * benchtests/Makefile: Depend on libraries in build directory.
6041 (bench-math): Separate out math tests.
6042 (bench-pthread): Separate out pthread tests.
6043 (bench): Include math and pthread tests.
6044
f737dfd0
CD
60452014-04-14 Carlos O'Donell <carlos@redhat.com>
6046
6047 [BZ #16831]
6048 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6049 _dl_debug_initialize.
6050
0699f766
CD
6051 * configure.ac: Remove SELinux header check.
6052 * configure: Regenerate.
6053 * nscd/selinux.c (perms): Array of const char* to permission names.
6054 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6055 default policy. Call string_to_security_class and string_to_av_perm to
6056 translate strings. Enforce default policy and call avs_has_perm with
6057 results of translated strings.
6058
809bd45f
DM
60592014-04-13 David S. Miller <davem@davemloft.net>
6060
6061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6062
89e691f2
AM
60632014-04-12 Allan McRae <allan@archlinux.org>
6064
6065 [BZ #16838]
6066 * manual/string.texi (Collation Functions): Fix qsort argument
6067 order in example.
6068 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6069
9c9daaeb
CM
60702014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6071
6072 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6073 Make the test a no-op if there are no exceptions defined.
6074
95561fb9
PP
60752014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6076
fe8d072c 6077 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6078 enable-hardcoded-path-in-tests
6079
970c602a
WN
60802014-04-11 Will Newton <will.newton@linaro.org>
6081
6082 * benchtests/Makefile (extra-objs): Add json-lib.o.
6083 (bench-func): Tidy up JSON output.
6084 * benchtests/bench-skeleton.c: Include json-lib.h.
6085 (main): Use JSON library functions to do output of
6086 benchmark results.
6087 * benchtests/bench-timing-type.c (main): Output the
6088 timing type simply, leaving formatting to the user.
6089 * benchtests/json-lib.c: New file.
6090 * benchtests/json-lib.h: Likewise.
6091
36875b06
TR
60922014-04-11 Torvald Riegel <triegel@redhat.com>
6093
6094 [BZ #15215]
6095 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6096 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6097 memory barriers. Add comments.
6098 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6099 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6100 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6101 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6102 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6103 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6104
579db35a
SL
61052014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6106
6107 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6108 * sysdeps/s390/s390-64/configure.ac: ... this ...
6109 * sysdeps/s390/configure.ac: ... to here.
6110 * sysdeps/s390/s390-32/configure: Delete file.
6111 * sysdeps/s390/s390-64/configure: Delete file.
6112 * sysdeps/s390/configure: Regenerate.
6113
c12e9f37
JAPH
61142014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6115
6116 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6117
439bda32
WN
61182014-04-11 Will Newton <will.newton@linaro.org>
6119
6120 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6121 to zero if it is not defined elsewhere. (mtrim): Test
6122 the value of MALLOC_DEBUG with #if rather than #ifdef.
6123
6a5d6ea1
TR
61242014-04-10 Torvald Riegel <triegel@redhat.com>
6125
6126 * benchtests/pthread_once-inputs: New file.
6127 * benchtests/pthread_once-source.c: New file.
6128 * benchtests/README: Update documentation.
6129
a4c75cfd
IZ
61302014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6131 H.J. Lu <hongjiu.lu@intel.com>
6132
6133 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6134 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6135 * sysdeps/x86_64/configure: Regenerated.
6136 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6137 macro.
6138 (REGISTER_SAVE_RAX): Likewise.
6139 (REGISTER_SAVE_RCX): Likewise.
6140 (REGISTER_SAVE_RDX): Likewise.
6141 (REGISTER_SAVE_RSI): Likewise.
6142 (REGISTER_SAVE_RDI): Likewise.
6143 (REGISTER_SAVE_R8): Likewise.
6144 (REGISTER_SAVE_R9): Likewise.
6145 (REGISTER_SAVE_BND0): Likewise.
6146 (REGISTER_SAVE_BND1): Likewise.
6147 (REGISTER_SAVE_BND2): Likewise.
6148 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6149 bound registers when calling _dl_fixup.
6150
27822ce6
AZ
61512014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6152
6153 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6154 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6155 of its definition.
27822ce6
AZ
6156 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6157 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6158 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6159 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6160 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6161 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6162 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6163
a88ddc90
PTB
61642014-04-09 Peter Brett <peter@peter-b.co.uk>
6165
6166 [BZ #15514]
6167 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6168 pathconf(_PC_NAME_MAX).
6169
01f8eac2
AZ
61702014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6171
6172 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6173 Remove macro usage.
6174 (__PTHREAD_SPINS): Move definition to ...
6175 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6176 (__PTHREAD_SPINS): ... here.
6177 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6178 (__PTHREAD_SPIN): Likewise.
6179 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6180 (__PTHREAD_SPIN): Likewise.
6181 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6182 (__PTHREAD_SPIN): Likewise.
6183 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6184 (__PTHREAD_SPIN): Likewise.
6185 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6186 (__PTHREAD_SPIN): Likewise.
6187 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6188 (__PTHREAD_SPIN): Likewise.
6189 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6190 (__PTHREAD_SPIN): Likewise.
6191 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6192 (__PTHREAD_SPIN): Likewise.
6193 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6194 (__PTHREAD_SPIN): Likewise.
6195 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6196 (__PTHREAD_SPIN): Likewise.
6197 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6198 (__PTHREAD_SPIN): Likewise.
6199 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6200 (__PTHREAD_SPIN): Likewise.
6201
de21c33c
AZ
6202 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6203 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6204 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6205 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6206 imply folder.
6207 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6208 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6209 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6210 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6211 correct imply path.
6212 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6213 strlen symbol for non multi-arch builds.
6214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6215 missing hidden_def and weak_alias.
6216
862c472e
CD
62172014-04-08 Carlos O'Donell <carlos@redhat.com>
6218
6219 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6220
8667f90e
WN
62212014-04-07 Will Newton <will.newton@linaro.org>
6222
6223 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6224 and contents. [!_LIBC] Remove #ifndef and contents.
6225 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6226 * string/memccpy.c (__memccpy): Use ANSI prototype.
6227 * string/memfrob.c (memfrob): Likewise.
6228 * string/strcoll.c (STRCOLL): Likewise.
6229 * string/strlen.c (strlen): Likewise.
6230 * string/strtok.c (STRTOK): Likewise.
6231 * string/strcat.c: Remove unused #include of memcopy.h.
6232 (strcat): Use ANSI prototype.
6233 * string/strchr.c: Remove unused #include of memcopy.h.
6234 (strchr): Use ANSI prototype.
6235 * string/strcmp.c: Remove unused #include of memcopy.h.
6236 (strcmp): Use ANSI prototype.
6237 * string/strcpy.c: Remove unused #include of memcopy.h.
6238 (strcpy): Use ANSI prototype.
6239
7ffa9423
AZ
62402014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6241
6242 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6243 * config.make.in (config-extra-cppflags): Set it from
6244 libc_extra_cppflags.
6245 * configure.ac (libc_extra_cflags): Make it accumulate over
6246 configure fragments.
6247 (libc_extra_cppflags): New flag.
6248 * configure. Regenerate.
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6250 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6251 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6253
8bd70862
AZ
6254 [BZ #16815]
6255 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6256 result for FE_DOWNWARD rounding mode.
6257 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6258 Likewise.
6259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6260
d42f3448
CM
62612014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6262
6263 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6264 in function argument name.
6265
1c21d115
DS
62662014-04-03 David Svoboda <svoboda@cert.org>
6267
6268 [BZ #5666]
6269 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6270 explicitly.
6271
fcccd512
RM
62722014-04-03 Roland McGrath <roland@hack.frob.com>
6273
6274 * elf/dl-unmap-segments.h: New file.
6275 * sysdeps/generic/ldsodefs.h
6276 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6277 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6278 * elf/dl-fptr.c: Likewise.
6279 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6280 * sysdeps/aarch64/tlsdesc.c: Likewise.
6281 * sysdeps/arm/tlsdesc.c: Likewise.
6282 * sysdeps/i386/tlsdesc.c: Likewise.
6283 * sysdeps/tile/dl-runtime.c: Likewise.
6284 * sysdeps/x86_64/tlsdesc.c: Likewise.
6285 * elf/dl-load.h: New file.
6286 * elf/dl-load.c: Include it.
6287 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6288 Macros moved to dl-load.h.
6289 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6290 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6291 Use _dl_unmap_segments in place of __munmap.
6292 Break out segment-mapping loop into ...
6293 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6294
f6488e2b
WN
62952014-04-03 Will Newton <will.newton@linaro.org>
6296
6297 * elf/dl-lookup.c (do_lookup_x): Remove comment
6298 referring to nested function and move variable
6299 declarations down to before first use.
6300
6f05bafe
JM
63012014-04-02 Joseph Myers <joseph@codesourcery.com>
6302
a84e78c8
JM
6303 [BZ #16799]
6304 [BZ #16800]
6305 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6306 with 0 numerator.
6307 * math/s_catanf.c (__catanf): Likewise.
6308 * math/s_catanh.c (__catanh): Likewise.
6309 * math/s_catanhf.c (__catanhf): Likewise.
6310 * math/s_catanhl.c (__catanhl): Likewise.
6311 * math/s_catanl.c (__catanl): Likewise.
6312 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6313 by positive zero when computing -Inf result.
6314 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6315 (catanh_test): Likewise.
6316 * sysdeps/i386/fpu/libm-test-ulps: Update.
6317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6318
6f05bafe
JM
6319 [BZ #16789]
6320 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6321 instead of using underflowing value in computing result.
6322 * math/s_clog10.c (__clog10): Likewise.
6323 * math/s_clog10f.c (__clog10f): Likewise.
6324 * math/s_clog10l.c (__clog10l): Likewise.
6325 * math/s_clogf.c (__clogf): Likewise.
6326 * math/s_clogl.c (__clogl): Likewise.
6327 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6328 (clog10_test): Likewise.
6329 * sysdeps/i386/fpu/libm-test-ulps: Update.
6330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6331
b0abbc21
AM
63322014-04-02 Alan Modra <amodra@gmail.com>
6333
6334 [BZ #16739]
6335 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6336 output when value is near a power of two. Use int64_t for lx and
6337 remove casts. Use decimal rather than hex exponent constants.
6338 Don't use long double multiplication when double will suffice.
6339 * math/libm-test.inc (nextafter_test_data): Add tests.
6340 * NEWS: Add 16739 and 16786 to bug list.
6341
af6b1797
AM
6342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6343
483818d7
AM
6344 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6345
f6c55796
WN
63462014-04-01 Will Newton <will.newton@linaro.org>
6347
6348 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6349 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6350
13f7fe35
FW
63512014-04-01 Florian Weimer <fweimer@redhat.com>
6352
6353 [BZ #13347]
6354 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6355 * nptl/tst-setuid2.c: New file.
6356 * nptl/Makefile (xtests): Add tst-setuid2.
6357
c859b32e
AM
63582014-04-01 Alan Modra <amodra@gmail.com>
6359
6360 [BZ #16786]
6361 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6362
54fa2475
JM
63632014-03-31 Joseph Myers <joseph@codesourcery.com>
6364
8795b4a4
JM
6365 [BZ #6803]
6366 [BZ #6804]
6367 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6368 set errno as appropriate.
6369 * math/w_scalbf.c (__scalbf): Likewise.
6370 * math/w_scalbl.c (__scalbl): Likewise.
6371 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6372 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6373 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6374 Add more NaN tests.
6375
54fa2475
JM
6376 [BZ #16349]
6377 * math/w_atan2.c: Include <errno.h>.
6378 (__atan2): Set errno for result underflowing to zero.
6379 * math/w_atan2f.c: Include <errno.h>.
6380 (__atan2f): Set errno for result underflowing to zero.
6381 * math/w_atan2l.c: Include <errno.h>.
6382 (__atan2l): Set errno for result underflowing to zero.
6383 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6384 tests.
6385 * math/auto-libm-test-out: Regenerated.
6386
757d9dd5
AZ
63872014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6388
6389 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6390 Encode instruction correctly in little endian.
6391 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6392 Likewise.
6393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6394 Likewise.
6395 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6396 Likewise.
6397 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6398 Likewise.
6399
d7a68734
JM
64002014-03-31 Joseph Myers <joseph@codesourcery.com>
6401
47c5adeb
JM
6402 [BZ #9894]
6403 * sysdeps/unix/sysv/linux/kernel-features.h
6404 [__sparc__ && !__arch64__ && !__sparc_v9__]
6405 (__ASSUME_SET_ROBUST_LIST): Do not define.
6406 [__sparc__ && !__arch64__ && !__sparc_v9__]
6407 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6408 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6409 Likewise.
6410 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6411 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6412 (__ASSUME_REQUEUE_PI): Likewise.
6413 (__ASSUME_SET_ROBUST_LIST): Likewise.
6414 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6415 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6416 Undefine.
6417 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6418 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6419 Likewise.
6420 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6421 Likewise.
6422 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6423 Likewise.
6424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6425 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6426 Undefine.
6427 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6428 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6429 Likewise.
6430
d7a68734
JM
6431 [BZ #16648]
6432 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6433 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6434 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6435
c760f5c2
WN
64362014-03-31 Will Newton <will.newton@linaro.org>
6437
6438 * benchtests/Makefile (bench): Add ffs and ffsll to list
6439 of tests.
6440 * benchtests/ffs-inputs: New file.
6441 * benchtests/ffsll-inputs: Likewise.
6442
ea6029b1
JM
64432014-03-29 Joseph Myers <joseph@codesourcery.com>
6444
6445 [BZ #16770]
6446 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6447 too large before casting to int.
6448 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6449 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6450 * math/libm-test.inc (scalb_test_data): Add more tests.
6451
cf806aff
SP
64522014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6453
56737508
SP
6454 * benchtests/Makefile (DETAILED_OPT): New make option.
6455 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6456 set.
6457 * benchtests/bench-skeleton.c: Include stdbool.h.
6458 (main): Store and print timings per input.
6459 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6460 member to each argument value.
6461 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6462 (_print_arg_data): Initialize per-input timing to 0.
6463
cb5e4aad
SP
6464 * benchtests/Makefile (timing-type): New binary.
6465 (bench-clean): Also remove bench-timing-type.
6466 (bench): New target for timing-type.
6467 (bench-func): Print output in JSON format.
6468 * benchtests/bench-skeleton.c (main): Print output in JSON
6469 format.
6470 * benchtests/bench-timing-type.c: New file.
6471 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6472 (TIMING_PRINT_STATS): Remove.
6473 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6474 name separately.
6475
cf806aff
SP
6476 * benchtests/bench-modf.c: Remove.
6477 * benchtests/modf-inputs: New inputs file.
6478
289e0779
JM
64792014-03-28 Joseph Myers <joseph@codesourcery.com>
6480
6481 [BZ #16362]
6482 * math/s_clog10.c (M_PI_LOG10E): New macro.
6483 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6484 imaginary parts are 0.
6485 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6486 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6487 imaginary parts are 0.
6488 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6489 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6490 imaginary parts are 0.
6491 * math/libm-test.inc (clog10_test_data): Update expected results
6492 for when real and imaginary parts are 0.
6493
277ae3f1
PP
64942014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6495
6496 * elf/dl-load.c: Finish conversion of __builtin_expect into
6497 __glibc_{un}likely.
6498
03a7091f
JM
64992014-03-27 Joseph Myers <joseph@codesourcery.com>
6500
6501 [BZ #16348]
6502 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6503 1+x for argument with exponent below -67.
6504 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6505 Likewise.
6506 * math/auto-libm-test-in: Add more tests of exp.
6507 * math/auto-libm-test-out: Regenerated.
6508
ea7d8b95
SP
65092014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6510
dd3022d7
SP
6511 [BZ #16759]
6512 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6513 (nscd_getnetgrent): Use it.
6514
ea7d8b95
SP
6515 [BZ #16760]
6516 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6517 of stpcpy.
6518
df5b85da
AK
65192014-03-27 Andi Kleen <ak@linux.intel.com>
6520
57f41c40
AS
6521 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6522 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6523 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6524 (lll_robust_unlock): Remove out of line section. Use cfi
6525 intrinsics.
df5b85da 6526 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
6527 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6528 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6529 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6530 (lll_robust_unlock): Remove out of line section. Use cfi
6531 intrinsics.
df5b85da
AK
6532 (LLL_STUB_UNWIND_INFO*): Remove.
6533
fbd6b5a4
SP
65342014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6535
6536 [BZ #16758]
6537 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6538 blank values.
6539
1b26b855
PP
65402014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6541
6542 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6543
9be36fb8
JM
65442014-03-26 Joseph Myers <joseph@codesourcery.com>
6545
6546 [BZ #16198]
6547 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6548 fnstenv.
6549 * math/test-fenv-preserve.c: New file.
6550 * math/Makefile (tests): Add test-fenv-preserve.
6551
60a2f3c1
WN
65522014-03-26 Will Newton <will.newton@linaro.org>
6553
6554 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6555
a5e5f1e2
RM
65562014-03-25 Roland McGrath <roland@hack.frob.com>
6557
6558 * scripts/versionlist.awk: Partition the version sets and emit all
6559 GLIBC_* (sorted) before all others (sorted).
6560
00f4012a
JM
65612014-03-25 Joseph Myers <joseph@codesourcery.com>
6562
6563 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6564 GLIBC_2.2.5 version.
6565
7bc5a741
AZ
65662014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6567
6568 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6569 calls.
6570
7578473b
AZ
6571 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6572 previous change.
6573
f3f1dab3
AZ
6574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6575
6da36183
AS
65762014-03-25 Andreas Schwab <schwab@suse.de>
6577
6578 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6579 label to be used after in6ailist is initialized.
6580
f3f1dab3 65812014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6582
7578473b 6583 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6584 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6585
046651c1
JM
65862014-03-25 Joseph Myers <joseph@codesourcery.com>
6587
6588 [BZ #16357]
6589 [BZ #16599]
6590 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6591 min_plus_half.
6592 (fp_formats): Update initializers.
6593 (init_fp_formats): Initialize new field.
6594 (output_for_one_input_case): Allow underflow for results up to
6595 min_plus_half.
6596 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6597 * math/auto-libm-test-in: Don't mark some underflows from asin and
6598 atanh as spurious.
6599 * math/auto-libm-test-out: Regenerated.
6600 * sysdeps/i386/fpu/libm-test-ulps: Update.
6601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6602
003e49ed
AS
66032014-03-25 Andreas Schwab <schwab@suse.de>
6604
6605 * libio/Makefile (tst-ftell-partial-wide-ENV)
6606 (tst-ftell-active-handler-ENV): Define.
6607
de031874
SL
66082014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6609
6610 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6611
55a81e3b
PP
66122014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6613
6614 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6615
f3426898
JM
66162014-03-24 Joseph Myers <joseph@codesourcery.com>
6617
6618 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6619 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6620 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6621
a42faf59
PP
66222014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6623
6624 [BZ #16634]
a42faf59 6625 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6626 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6627 (open_path): Change from boolean 'secure' to complete flag 'mode'
6628 (_dl_map_object): Adjust.
a42faf59
PP
6629 * elf/Makefile (tests): Add tst-dlopen-aout.
6630 * elf/tst-dlopen-aout.c: New test.
6631
50936127
SL
66322014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6633
6634 [BZ #16714]
6635 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6636 (struct stat): Rename member pad0 to __glibc_reserved0.
6637
26011b5c
SL
6638 [BZ #16712]
6639 * sysdeps/s390/s390-32/bits/wordsize.h
6640 (__WORDSIZE32_SIZE_ULONG): New define.
6641 * sysdeps/s390/s390-64/bits/wordsize.h
6642 (__WORDSIZE32_SIZE_ULONG): Likewise.
6643 * sysdeps/generic/stdint.h (SIZE_MAX):
6644 Define as UL if __WORDSIZE32_SIZE_ULONG.
6645
a2d86bf1
SL
6646 [BZ #16713]
6647 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6648 (__glibc_reserved0): New variable.
6649 (sa_flags): Change type to int.
6650
78b6eebc
SL
6651 * posix/Makefile (before-compile): Use += before-compile instead
6652 of a :=.
6653
f1399b5a
SL
6654 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6655 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6656
a071766e
AS
66572014-03-20 Andreas Schwab <schwab@suse.de>
6658
6659 [BZ #16743]
6660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6661 non-matching result from nscd.
6662
27c673b8
SP
66632014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6664
6665 * scripts/bench.py: Moved to ...
6666 * benchtests/scripts/bench.py: ... here.
6667 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6668
44152e4b
AS
66692014-03-24 Andreas Schwab <schwab@suse.de>
6670
6671 [BZ #16002]
6672 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6673 alloca_account and account alloca use for struct in6ailist.
6674
b376a11a
JM
66752014-03-24 Joseph Myers <joseph@codesourcery.com>
6676
6677 [BZ #16284]
6678 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6679 rounding mode to recompute results that overflow to infinity or
6680 underflow to zero.
6681 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6682 bug 16284.
6683 * math/auto-libm-test-out: Regenerated.
6684 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6685 (ccosh_test): Likewise.
6686 (csin_test_data): Use plus_oflow.
6687 (csin_test): Use ALL_RM_TEST.
6688 (csinh_test_data): Use plus_oflow.
6689 (csinh_test): Use ALL_RM_TEST.
6690 * sysdeps/i386/fpu/libm-test-ulps: Update.
6691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6692
f7be7376
JM
66932014-03-21 Joseph Myers <joseph@codesourcery.com>
6694
1ca2d03e
JM
6695 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6696 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6697 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6698
f7be7376
JM
6699 [BZ #16731]
6700 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6701 when x - 1 is zero.
6702 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6703 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6704 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6705 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6706 argument is 1.
6707 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6708 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6709 zero.
6710 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6711 * sysdeps/i386/fpu/libm-test-ulps: Update.
6712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6713
fdf4534d
SP
67142014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6715
df26ea53
SP
6716 * scripts/bench.pl: Remove file.
6717 * scripts/bench.py: New benchmark script.
6718 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6719 * benchtests/README: Mention python dependency.
6720 * scripts/pylintrc: New file.
6721 * scripts/pylint: New file.
6722
fdf4534d
SP
6723 * bits/mathdef.h: Use #ifdef instead of #if.
6724 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6725 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6726 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6727 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6728 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6729 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6730
6f23d093
AZ
67312014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6732 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6733
6734 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6736 and strpbrk-ppc64 objects.
6737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6738 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6739 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6740 multiarch strpbrk for POWER7.
6741 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6742 multiarch strpbrk for PPC64.
6743 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6744 ifunc selector.
6745 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6746 strpbrk for POWER7.
6747
8c92dfff
JM
67482014-03-20 Joseph Myers <joseph@codesourcery.com>
6749
6750 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6751 (atan_test): Likewise.
6752 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6753 (atanh_test): Use ALL_RM_TEST.
6754 (atan2_test_data): Likewise.
6755 (cabs_test): Likewise.
6756 (cacosh_test): Likewise.
6757 (carg_test): Likewise.
6758 (casin_test): Likewise.
6759 (casinh_test): Likewise.
6760 (cbrt_test): Likewise.
6761 (csqrt_test): Likewise.
6762 (erf_test): Likewise.
6763 (erfc_test): Likewise.
6764 (pow10_test): Likewise.
6765 (exp2_test): Likewise.
6766 (hypot_test): Likewise.
6767 (j0_test): Likewise.
6768 (j1_test): Likewise.
6769 (lgamma_test): Likewise.
6770 (gamma_test): Likewise.
6771 (sincos_test): Likewise.
6772 (tanh_test): Likewise.
6773 (y0_test): Likewise.
6774 (y1_test): Likewise.
6775 * sysdeps/i386/fpu/libm-test-ulps: Update.
6776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6777
6eaf95cb
AZ
67782014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6779
a387428c
SP
6780 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6782 and strcspn-ppc64 objects.
6783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6784 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6785 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6786 multiarch strcspn for POWER7.
6787 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6788 multiarch strcspn for PPC64.
6789 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6790 ifunc selector.
6791 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6792 strcspn for POWER7.
6793
ae3a5dff
JM
67942014-03-20 Joseph Myers <joseph@codesourcery.com>
6795
6796 * math/gen-libm-test.pl (generate_testfile): Expect only function
6797 name as argument to AUTO_TESTS_* and pass results for all rounding
6798 modes to parse_args.
6799 (parse_auto_input): Separate inputs of automatic tests from
6800 outputs before storing in %auto_tests.
6801 * math/libm-test.inc (acos_test_data): Update call to
6802 AUTO_TESTS_f_f.
6803 (acos_test): Use ALL_RM_TEST.
6804 (acos_tonearest_test_data): Remove.
6805 (acos_test_tonearest): Likewise.
6806 (acos_towardzero_test_data): Likewise.
6807 (acos_test_towardzero): Likewise.
6808 (acos_downward_test_data): Likewise.
6809 (acos_test_downward): Likewise.
6810 (acos_upward_test_data): Likewise.
6811 (acos_test_upward): Likewise.
6812 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6813 (asin_test_data): Likewise.
6814 (asin_test): Use ALL_RM_TEST.
6815 (asin_tonearest_test_data): Remove.
6816 (asin_test_tonearest): Likewise.
6817 (asin_towardzero_test_data): Likewise.
6818 (asin_test_towardzero): Likewise.
6819 (asin_downward_test_data): Likewise.
6820 (asin_test_downward): Likewise.
6821 (asin_upward_test_data): Likewise.
6822 (asin_test_upward): Likewise.
6823 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6824 (atan_test_data): Likewise.
6825 (atanh_test_data): Likewise.
6826 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6827 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6828 (carg_test_data): Likewise.
6829 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6830 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6831 (ccosh_test_data): Likewise.
6832 (cexp_test_data): Likewise.
6833 (clog_test_data): Likewise.
6834 (clog10_test_data): Likewise.
6835 (cos_test_data): Update call to AUTO_TESTS_f_f.
6836 (cos_test): Use ALL_RM_TEST.
6837 (cos_tonearest_test_data): Remove.
6838 (cos_test_tonearest): Likewise.
6839 (cos_towardzero_test_data): Likewise.
6840 (cos_test_towardzero): Likewise.
6841 (cos_downward_test_data): Likewise.
6842 (cos_test_downward): Likewise.
6843 (cos_upward_test_data): Likewise.
6844 (cos_test_upward): Likewise.
6845 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6846 (cosh_test): Use ALL_RM_TEST.
6847 (cosh_tonearest_test_data): Remove.
6848 (cosh_test_tonearest): Likewise.
6849 (cosh_towardzero_test_data): Likewise.
6850 (cosh_test_towardzero): Likewise.
6851 (cosh_downward_test_data): Likewise.
6852 (cosh_test_downward): Likewise.
6853 (cosh_upward_test_data): Likewise.
6854 (cosh_test_upward): Likewise.
6855 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6856 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6857 (ctan_test_data): Likewise.
6858 (ctan_test): Use ALL_RM_TEST.
6859 (ctan_tonearest_test_data): Remove.
6860 (ctan_test_tonearest): Likewise.
6861 (ctan_towardzero_test_data): Likewise.
6862 (ctan_test_towardzero): Likewise.
6863 (ctan_downward_test_data): Likewise.
6864 (ctan_test_downward): Likewise.
6865 (ctan_upward_test_data): Likewise.
6866 (ctan_test_upward): Likewise.
6867 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6868 (ctanh_test): Use ALL_RM_TEST.
6869 (ctanh_tonearest_test_data): Remove.
6870 (ctanh_test_tonearest): Likewise.
6871 (ctanh_towardzero_test_data): Likewise.
6872 (ctanh_test_towardzero): Likewise.
6873 (ctanh_downward_test_data): Likewise.
6874 (ctanh_test_downward): Likewise.
6875 (ctanh_upward_test_data): Likewise.
6876 (ctanh_test_upward): Likewise.
6877 (erf_test_data): Update call to AUTO_TESTS_f_f.
6878 (erfc_test_data): Likewise.
6879 (exp_test_data): Likewise.
6880 (exp_test): Use ALL_RM_TEST.
6881 (exp_tonearest_test_data): Remove.
6882 (exp_test_tonearest): Likewise.
6883 (exp_towardzero_test_data): Likewise.
6884 (exp_test_towardzero): Likewise.
6885 (exp_downward_test_data): Likewise.
6886 (exp_test_downward): Likewise.
6887 (exp_upward_test_data): Likewise.
6888 (exp_test_upward): Likewise.
6889 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6890 (exp10_test): Use ALL_RM_TEST.
6891 (exp10_tonearest_test_data): Remove.
6892 (exp10_test_tonearest): Likewise.
6893 (exp10_towardzero_test_data): Likewise.
6894 (exp10_test_towardzero): Likewise.
6895 (exp10_downward_test_data): Likewise.
6896 (exp10_test_downward): Likewise.
6897 (exp10_upward_test_data): Likewise.
6898 (exp10_test_upward): Likewise.
6899 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6900 (expm1_test_data): Likewise.
6901 (expm1_test): Use ALL_RM_TEST.
6902 (expm1_tonearest_test_data): Remove.
6903 (expm1_test_tonearest): Likewise.
6904 (expm1_towardzero_test_data): Likewise.
6905 (expm1_test_towardzero): Likewise.
6906 (expm1_downward_test_data): Likewise.
6907 (expm1_test_downward): Likewise.
6908 (expm1_upward_test_data): Likewise.
6909 (expm1_test_upward): Likewise.
6910 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6911 (fma_test): Use ALL_RM_TEST.
6912 (fma_towardzero_test_data): Remove.
6913 (fma_test_towardzero): Likewise.
6914 (fma_downward_test_data): Likewise.
6915 (fma_test_downward): Likewise.
6916 (fma_upward_test_data): Likewise.
6917 (fma_test_upward): Likewise.
6918 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6919 (j0_test_data): Update call to AUTO_TESTS_f_f.
6920 (j1_test_data): Likewise.
6921 (jn_test_data): Update call to AUTO_TESTS_if_f.
6922 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6923 (log_test_data): Update call to AUTO_TESTS_f_f.
6924 (log10_test_data): Likewise.
6925 (log1p_test_data): Likewise.
6926 (log2_test_data): Likewise.
6927 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6928 (pow_tonearest_test_data): Likewise.
6929 (sin_test_data): Update call to AUTO_TESTS_f_f.
6930 (sin_test): Use ALL_RM_TEST.
6931 (sin_tonearest_test_data): Remove.
6932 (sin_test_tonearest): Likewise.
6933 (sin_towardzero_test_data): Likewise.
6934 (sin_test_towardzero): Likewise.
6935 (sin_downward_test_data): Likewise.
6936 (sin_test_downward): Likewise.
6937 (sin_upward_test_data): Likewise.
6938 (sin_test_upward): Likewise.
6939 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6940 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6941 (sinh_test): Use ALL_RM_TEST.
6942 (sinh_tonearest_test_data): Remove.
6943 (sinh_test_tonearest): Likewise.
6944 (sinh_towardzero_test_data): Likewise.
6945 (sinh_test_towardzero): Likewise.
6946 (sinh_downward_test_data): Likewise.
6947 (sinh_test_downward): Likewise.
6948 (sinh_upward_test_data): Likewise.
6949 (sinh_test_upward): Likewise.
6950 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6951 (sqrt_test): Use ALL_RM_TEST.
6952 (sqrt_tonearest_test_data): Remove.
6953 (sqrt_test_tonearest): Likewise.
6954 (sqrt_towardzero_test_data): Likewise.
6955 (sqrt_test_towardzero): Likewise.
6956 (sqrt_downward_test_data): Likewise.
6957 (sqrt_test_downward): Likewise.
6958 (sqrt_upward_test_data): Likewise.
6959 (sqrt_test_upward): Likewise.
6960 (tan_test_data): Update call to AUTO_TESTS_f_f.
6961 (tan_test): Use ALL_RM_TEST.
6962 (tan_tonearest_test_data): Remove.
6963 (tan_test_tonearest): Likewise.
6964 (tan_towardzero_test_data): Likewise.
6965 (tan_test_towardzero): Likewise.
6966 (tan_downward_test_data): Likewise.
6967 (tan_test_downward): Likewise.
6968 (tan_upward_test_data): Likewise.
6969 (tan_test_upward): Likewise.
6970 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6971 (tgamma_test_data): Likewise.
6972 (y0_test_data): Likewise.
6973 (y1_test_data): Likewise.
6974 (yn_test_data): Update call to AUTO_TESTS_if_f.
6975 (main): Do not call removed functions.
6976
d71aeee8
JM
69772014-03-19 Joseph Myers <joseph@codesourcery.com>
6978
6979 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6980 (ldexp_test_data): Remove.
6981 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6982 scalbn_test_data.
6983 (scalb_test): Use ALL_RM_TEST.
6984
baaf1ded
AS
69852014-03-19 Andreas Schwab <schwab@suse.de>
6986
6987 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6988
b1115e91
JM
69892014-03-19 Joseph Myers <joseph@codesourcery.com>
6990
6991 [BZ #16649]
6992 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6993 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6994 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6995 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6996 (__ASSUME_PREADV): Undefine.
6997 (__ASSUME_PWRITEV): Likewise.
6998
0283ecca
RM
69992014-03-18 Roland McGrath <roland@hack.frob.com>
7000
7d375303
RM
7001 * bits/mman-linux.h: Add comment about non-Linux use.
7002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7003 bits/mman-linux.h resting place.
7004
0283ecca
RM
7005 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7006 * bits/mman-linux.h: ... here.
7007
aebe1003
AZ
70082014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7009
7010 * conform/conformtest.pl: Add standard definition when calling C
7011 preprocessor on data files.
7012 (checknamespace): Remove unused variable.
7013
b29b6bb8
JM
70142014-03-18 Joseph Myers <joseph@codesourcery.com>
7015
7016 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7017 minus_oflow, plus_uflow and minus_uflow in expected results.
7018 * math/libm-test.inc (scalbn_test_data): Add more tests of
7019 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7020 minus_uflow.
7021 (scalbn_test): Use ALL_RM_TEST.
7022 (scalbln_test_data): Add more tests of negative arguments. Use
7023 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7024 (scalbln_test): Use ALL_RM_TEST.
7025
c8f8fa15
RM
70262014-03-18 Roland McGrath <roland@hack.frob.com>
7027
7028 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7029
fede7a5f
WN
70302014-03-18 Will Newton <will.newton@linaro.org>
7031
7032 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7033 inaccurate comment.
7034
80cf0a58
JM
70352014-03-18 Joseph Myers <joseph@codesourcery.com>
7036
7037 * Makerules [!subdir] (check-abi): Exit with error status if a
7038 test failed.
7039
b3620862
JM
70402014-03-17 Joseph Myers <joseph@codesourcery.com>
7041
7042 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7043 for rint. Include results for all rounding modes.
7044 (nearbyint_test): Use ALL_RM_TEST.
7045 (rint_test_data): Include all tests used for nearbyint.
7046
788bba36
WN
70472014-03-17 Will Newton <will.newton@linaro.org>
7048
04ec140a
WN
7049 * nptl/sysdeps/pthread/pthread.h: Revert previous
7050 change.
7051
7579d8d5
WN
7052 * sysdeps/generic/ldsodefs.h: Revert previous
7053 change.
7054
c15cf13a
WN
7055 * libio/genops.c: Revert previous change.
7056 * libio/libioP.h: Likewise.
7057 * stdio-common/vfprintf.c: Likewise.
7058
d0ac1324
WN
7059 * sysdeps/generic/math_private.h: Revert previous
7060 change.
7061
9290130a
WN
7062 * sysdeps/generic/math_private.h: Check whether
7063 HAVE_RM_CTX is defined with #ifdef rather
7064 than #if.
7065
afb466fc
WN
7066 * argp/argp-fmtstream.h: Check whether
7067 __STRICT_ANSI__ is defined with #ifdef rather
7068 than #if.
7069 * argp/argp.h: Likewise.
7070
f7efd7c3
WN
7071 * libio/genops.c: Check whether
7072 _IO_JUMPS_OFFSET is defined with #ifdef rather
7073 than #if.
7074 * libio/libioP.h: Likewise.
7075 * stdio-common/vfprintf.c: Likewise.
7076
53f1bed3
WN
7077 * sysdeps/generic/ldsodefs.h: Check whether
7078 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7079 than #if.
7080
788bba36
WN
7081 * nptl/sysdeps/pthread/pthread.h: Check
7082 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7083 its value.
7084
fcd89ebe
SP
70852014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7086
ae42bbc5
SP
7087 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7088 setting O_APPEND.
7089 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7090 test case.
7091
ea33158c
SP
7092 [BZ #16680]
7093 * libio/fileops.c (_IO_file_open): Seek to end of file but
7094 don't cache the offset.
7095 (get_file_offset): Remove function.
7096 (do_ftell): Use cached offset when available.
7097 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7098 don't cache the offset.
7099 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7100 case.
7101 (do_one_test): Call it.
7102 (do_ftell_test): Fix up expected old offset for a+ mode.
7103 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7104 available.
7105
b1dbb426
SP
7106 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7107 up test status with function return status.
7108 (do_write_test): Likewise.
7109 (do_append_test): Likewise.
7110
fcd89ebe
SP
7111 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7112 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7113 Remove.
7114
9962a2d3
JM
71152014-03-17 Joseph Myers <joseph@codesourcery.com>
7116
7117 * math/gen-libm-test.pl (parse_args): Handle results specified for
7118 each rounding mode separately.
7119 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7120 tests and results from lrint_tonearest_test_data,
7121 lrint_towardzero_test_data, lrint_downward_test_data and
7122 lrint_upward_test_data.
7123 (lrint_test): Use ALL_RM_TEST.
7124 (lrint_tonearest_test_data): Remove.
7125 (lrint_test_tonearest): Likewise.
7126 (lrint_towardzero_test_data): Likewise.
7127 (lrint_test_towardzero): Likewise.
7128 (lrint_downward_test_data): Likewise.
7129 (lrint_test_downward): Likewise.
7130 (lrint_upward_test_data): Likewise.
7131 (lrint_test_upward): Likewise.
7132 (llrint_test_data): Merge in per-rounding-mode tests and results
7133 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7134 llrint_downward_test_data and llrint_upward_test_data.
7135 (llrint_test): Use ALL_RM_TEST.
7136 (llrint_tonearest_test_data): Remove.
7137 (llrint_test_tonearest): Likewise.
7138 (llrint_towardzero_test_data): Likewise.
7139 (llrint_test_towardzero): Likewise.
7140 (llrint_downward_test_data): Likewise.
7141 (llrint_test_downward): Likewise.
7142 (llrint_upward_test_data): Likewise.
7143 (llrint_test_upward): Likewise.
7144 (rint_test_data): Merge in per-rounding-mode tests and results
7145 from rint_tonearest_test_data, rint_towardzero_test_data,
7146 rint_downward_test_data and rint_upward_test_data. Add
7147 per-rounding-mode results for tests not in those arrays.
7148 (rint_test): Use ALL_RM_TEST.
7149 (rint_tonearest_test_data): Remove.
7150 (rint_test_tonearest): Likewise.
7151 (rint_towardzero_test_data): Likewise.
7152 (rint_test_towardzero): Likewise.
7153 (rint_downward_test_data): Likewise.
7154 (rint_test_downward): Likewise.
7155 (rint_upward_test_data): Likewise.
7156 (rint_test_upward): Likewise.
7157 (main): Don't call removed functions.
7158
5006148e
RM
71592014-03-14 Roland McGrath <roland@hack.frob.com>
7160
7161 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7162 "Compiled on ..." crapola. It is anti-useful.
7163
d6fe5e58
JM
71642014-03-14 Joseph Myers <joseph@codesourcery.com>
7165
7166 * scripts/evaluate-test.sh: Handle fourth argument to determine
7167 whether test run should stop on failure.
7168 * Makeconfig (stop-on-test-failure): New variable.
7169 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7170 $(stop-on-test-failure).
7171 * Makefile (tests): Give a summary of results from testing and
7172 exit with failure status if they include an ERROR or FAIL.
7173 (xtests): Likewise.
7174 * manual/install.texi (Configuring and compiling): Mention
7175 stop-on-test-failure=y.
7176 * INSTALL: Regenerated.
7177
498a2233
RM
71782014-03-14 Roland McGrath <roland@hack.frob.com>
7179
22dbc19d
RM
7180 * scripts/versionlist.awk: New file.
7181 * Makerules [$(build-shared) = yes]
7182 (postclean-generated): Add Versions.def, not Versions.def.v and
7183 Versions.def.v.i.
7184 ($(common-objpfx)Versions.def.v.i): Target removed.
7185 ($(common-objpfx)Versions.def): New target.
7186 ($(common-objpfx)Versions.all): Depend on that rather that
7187 $(common-objpfx)Versions.def.v.
7188 * Versions.def: File removed.
7189
498a2233
RM
7190 * Makeconfig (+gccwarn): Add -Wundef.
7191 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7192 a dl-sysdep.h breaking its contract.
7193 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7194 * include/stackinfo.h: New file.
7195 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7196 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7197 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7198 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7199 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7200 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7201 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7202 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7203 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7204 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7205 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7206 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7207 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7208 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7209 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7210
c7de5025
AZ
72112014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7212
7213 [BZ #16707]
7214 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7215 implementation.
7216 * math/libm-test.inc (round_test_data): Add more tests.
7217
98fb27a3
AZ
7218 [BZ #16706]
7219 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7220 implementation.
7221 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7222
374f7f61
AZ
7223 [BZ #16701]
7224 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7225 implementation.
7226 * math/libm-test.inc (ceil_test_data): Add more tests.
7227
4655c291
AZ
7228 * math/libm-test.inc (trunc_test_data): Add more tests related to
7229 BZ#16414.
7230
d7329d4b
RM
72312014-03-14 Roland McGrath <roland@hack.frob.com>
7232
7233 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7234 with #if rather than #ifdef.
7235 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7236
aa4de9ce
L
72372014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7238
7239 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7240 first. Disable AVX-512 GCC support if assembler doesn't support
7241 it.
7242 * sysdeps/x86_64/configure: Regenerated.
7243
2e03fae7
CD
72442014-03-13 Carlos O'Donell <carlos@redhat.com>
7245
7246 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7247 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7248 (__old_pthread_attr_setstack): Likewise.
7249 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7250 [!_STACK_GROWS_DOWN]: Likewise.
7251
43ca83ec
MF
72522014-03-13 Mike Frysinger <vapier@gentoo.org>
7253
7254 * config.make.in (have-bash2): Delete.
7255 * configure.ac (libc_cv_have_bash2): Delete.
7256 * configure: Regenerate.
7257 * elf/Makefile (common-ldd-rewrite): Rename to ...
7258 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7259 (sh-ldd-rewrite): Delete.
7260 (bash-ldd-rewrite): Delete.
7261 (have-bash2): Delete checks.
57f41c40
AS
7262 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7263 ldd-rewrite.
c66e48b4
MF
7264
7265 * config.make.in (have-ksh): Delete.
7266 (KSH): Delete.
7267 * configure.ac (libc_cv_have_ksh): Delete.
7268 * configure: Regenerate.
7269
b93834ef
MF
7270 * elf/Makefile: Delete $(have-ksh) check.
7271 ($(objpfx)sotruss): Change KSH to BASH.
7272 * elf/sotruss.ksh: Rename to ...
7273 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7274 function style to match POSIX. Drop ksh vim mode setting.
7275
f3a4632a
MF
7276 * manual/time.texi (Specifying the Time Zone with TZ): Change
7277 Tuesday to Thursday.
7278
5896c8bd
MF
7279 * debug/tst-longjmp_chk2.c: Update header comment.
7280 (stackoverflow_handler): Add comment. Call assert on pass value.
7281
2d63a517
IZ
72822014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7283
7284 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7285 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7286 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7287 (La_x86_64_vector): Add zmm.
7288 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7289 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7290 ($(objpfx)tst-audit10): New target.
7291 ($(objpfx)tst-audit10.out): Likewise.
7292 (tst-audit10-ENV): New.
7293 (AVX512-CFLAGS): Likewise.
7294 (CFLAGS-tst-audit10.c): Likewise.
7295 (CFLAGS-tst-auditmod10a.c): Likewise.
7296 (CFLAGS-tst-auditmod10b.c): Likewise.
7297 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7298 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7299 * sysdeps/x86_64/configure: Regenerated.
7300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7301 AVX-512 zmm register support.
7302 (_dl_x86_64_save_sse): Likewise.
7303 (_dl_x86_64_restore_sse): Likewise.
7304 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7305 size vector registers.
7306 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7307 (ZMM_SIZE): Likewise.
7308 * sysdeps/x86_64/tst-audit10.c: New file.
7309 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7310 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7311
44c4e5d5
RM
73122014-03-13 Roland McGrath <roland@hack.frob.com>
7313
7314 * configure.ac (HAVE_EHDR_START): New check.
7315 * configure: Regenerated.
7316 * config.h.in (HAVE_EHDR_START): New #undef.
7317 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7318 assuming the lowest-addressed segment maps the start of the file.
7319
acd6e389
JM
73202014-03-13 Joseph Myers <joseph@codesourcery.com>
7321
7322 * INSTALL: Regenerated.
7323
6f918f36
WN
73242014-03-13 Will Newton <will.newton@linaro.org>
7325
7326 * manual/setjmp.texi (System V contexts): Improve
7327 clarity and grammar of documentation.
7328
798212a0
PP
73292014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7330
7331 [BZ #16381]
798212a0 7332 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7333 (tests-pie): Add tst-pie2.
798212a0
PP
7334 * elf/tst-pie2.c: New file.
7335 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7336 for ET_EXEC.
7337 * elf/rtld.c (map_doit): Load executable as lt_executable.
7338 (dl_main): Likewise.
7339
abe6d90c
JM
73402014-03-12 Joseph Myers <joseph@codesourcery.com>
7341
7342 [BZ #16642]
7343 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7344 (__ASSUME_PSELECT): Undefine.
7345
dd3946c6
AZ
73462014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7347
7348 [BZ #16689]
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7350 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7351 static build.
7352 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7353 selector for static builds.
7354
c44496df
SP
73552014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7356
7357 [BZ #16695]
7358 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7359 key in the buffer.
7360
27c7220a
AZ
73612014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7362
57f41c40
AS
7363 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7364 IFUNC selector for static builds.
27c7220a 7365
600fa361
JM
73662014-03-11 Joseph Myers <joseph@codesourcery.com>
7367
76c96cf7
JM
7368 * sysdeps/mips/math_private.h [__mips_hard_float]
7369 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7370 libc_feresetround_mips_ctx.
7371 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7372 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7373 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7374
600fa361
JM
7375 [BZ #16677]
7376 * math/s_nextafter.c (__nextafter): Do not return value from
7377 overflowing computation.
7378 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7379 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7381 Likewise.
7382 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7383 Likewise.
7384 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7385 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7386
d7706c32
RM
73872014-03-11 Roland McGrath <roland@hack.frob.com>
7388
7389 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7390 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7391 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7392 the new mov targetting sp.
7393
4facea47
AZ
73942014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7395
7396 [BZ #16683]
7397 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7398 Define it for static builds as well.
7399 (NO_BZERO_IMPL): Likewise.
7400
e65caf1f
VR
74012014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7402
7403 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7404 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7405 multiarch strspn for PPC64.
7406 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7407 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7409 (__libc_ifunc_impl_list): Likewise.
7410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7411 multiarch optimizations
7412 * string/strspn.c (strspn): Using macro to redefine symbol name.
7413
ba9cc071
AZ
74142014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7415 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7416
7417 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7418 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7419 multiarch strncat for PPC64.
7420 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7421 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7423 (__libc_ifunc_impl_list): Likewise.
7424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7425 multiarch optimizations
7426
8b4ff974
SP
74272014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7428
7429 [BZ #16639]
7430 * nscd/nscd.service: Make service type forking.
7431
54b46a4b
AZ
74322014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7433
7434 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7435 sign in non default rounding modes.
7436 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7437
e9996ef7
JM
74382014-03-08 Joseph Myers <joseph@codesourcery.com>
7439
7440 * math/libm-test.inc (ALL_RM_TEST): New macro.
7441 (ceil_test): Use ALL_RM_TEST.
7442 (cimag_test): Likewise.
7443 (conj_test): Likewise.
7444 (copysign_test): Likewise.
7445 (cproj_test): Likewise.
7446 (creal_test): Likewise.
7447 (fabs_test): Likewise.
7448 (floor_test): Likewise.
7449 (fmax_test): Likewise.
7450 (fmin_test): Likewise.
7451 (fmod_test): Likewise.
7452 (fpclassify_test): Likewise.
7453 (frexp_test): Likewise.
7454 (ilogb_test): Likewise.
7455 (isfinite_test): Likewise.
7456 (finite_test): Likewise.
7457 (isgreater_test): Likewise.
7458 (isgreaterequal_test): Likewise.
7459 (isinf_test): Likewise.
7460 (isless_test): Likewise.
7461 (islessequal_test): Likewise.
7462 (islessgreater_test): Likewise.
7463 (isnan_test): Likewise.
7464 (isnormal_test): Likewise.
7465 (issignaling_test): Likewise.
7466 (isunordered_test): Likewise.
7467 (logb_test): Likewise.
7468 (logb_downward_test_data): Remove.
7469 (logb_test_downward): Likewise.
7470 (lround_test): Use ALL_RM_TEST.
7471 (llround_test): Likewise.
7472 (modf_test): Likewise.
7473 (nexttoward_test): Likewise.
7474 (remainder_test): Likewise.
7475 (drem_test): Likewise.
7476 (remainder_tonearest_test_data): Likewise.
7477 (remainder_test_tonearest): Likewise.
7478 (drem_test_tonearest): Likewise.
7479 (remainder_towardzero_test_data): Likewise.
7480 (remainder_test_towardzero): Likewise.
7481 (drem_test_towardzero): Likewise.
7482 (remainder_downward_test_data): Likewise.
7483 (remainder_test_downward): Likewise.
7484 (drem_test_downward): Likewise.
7485 (remainder_upward_test_data): Likewise.
7486 (remainder_test_upward): Likewise.
7487 (drem_test_upward): Likewise.
7488 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7489 (round_test): Use ALL_RM_TEST.
7490 (signbit_test): Likewise.
7491 (trunc_test): Likewise.
7492 (significand_test): Likewise.
7493 (main): Don't call removed functions.
7494
bc61d27c
JM
74952014-03-07 Joseph Myers <joseph@codesourcery.com>
7496
5c780849
JM
7497 [BZ #16674]
7498 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7499 || __USE_XOPEN2K8].
7500 (ILL_ILLOPN): Likewise.
7501 (ILL_ILLADR): Likewise.
7502 (ILL_ILLTRP): Likewise.
7503 (ILL_PRVOPC): Likewise.
7504 (ILL_PRVREG): Likewise.
7505 (ILL_COPROC): Likewise.
7506 (ILL_BADSTK): Likewise.
7507 (FPE_INTDIV): Likewise.
7508 (FPE_INTOVF): Likewise.
7509 (FPE_FLTDIV): Likewise.
7510 (FPE_FLTOVF): Likewise.
7511 (FPE_FLTUND): Likewise.
7512 (FPE_FLTRES): Likewise.
7513 (FPE_FLTINV): Likewise.
7514 (FPE_FLTSUB): Likewise.
7515 (SEGV_MAPERR): Likewise.
7516 (SEGV_ACCERR): Likewise.
7517 (BUS_ADRALN): Likewise.
7518 (BUS_ADRERR): Likewise.
7519 (BUS_OBJERR): Likewise.
7520 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7521 (TRAP_TRACE): Likewise.
7522 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7523 __USE_XOPEN2K8].
7524 (CLD_KILLED): Likewise.
7525 (CLD_DUMPED): Likewise.
7526 (CLD_TRAPPED): Likewise.
7527 (CLD_STOPPED): Likewise.
7528 (CLD_CONTINUED): Likewise.
7529 (POLL_IN): Likewise.
7530 (POLL_OUT): Likewise.
7531 (POLL_MSG): Likewise.
7532 (POLL_ERR): Likewise.
7533 (POLL_PRI): Likewise.
7534 (POLL_HUP): Likewise.
7535 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7536 Likewise.
7537 (ILL_ILLOPN): Likewise.
7538 (ILL_ILLADR): Likewise.
7539 (ILL_ILLTRP): Likewise.
7540 (ILL_PRVOPC): Likewise.
7541 (ILL_PRVREG): Likewise.
7542 (ILL_COPROC): Likewise.
7543 (ILL_BADSTK): Likewise.
7544 (FPE_INTDIV): Likewise.
7545 (FPE_INTOVF): Likewise.
7546 (FPE_FLTDIV): Likewise.
7547 (FPE_FLTOVF): Likewise.
7548 (FPE_FLTUND): Likewise.
7549 (FPE_FLTRES): Likewise.
7550 (FPE_FLTINV): Likewise.
7551 (FPE_FLTSUB): Likewise.
7552 (SEGV_MAPERR): Likewise.
7553 (SEGV_ACCERR): Likewise.
7554 (BUS_ADRALN): Likewise.
7555 (BUS_ADRERR): Likewise.
7556 (BUS_OBJERR): Likewise.
7557 (BUS_MCEERR_AR): Likewise.
7558 (BUS_MCEERR_AO): Likewise.
7559 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7560 (TRAP_TRACE): Likewise.
7561 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7562 __USE_XOPEN2K8].
7563 (CLD_KILLED): Likewise.
7564 (CLD_DUMPED): Likewise.
7565 (CLD_TRAPPED): Likewise.
7566 (CLD_STOPPED): Likewise.
7567 (CLD_CONTINUED): Likewise.
7568 (POLL_IN): Likewise.
7569 (POLL_OUT): Likewise.
7570 (POLL_MSG): Likewise.
7571 (POLL_ERR): Likewise.
7572 (POLL_PRI): Likewise.
7573 (POLL_HUP): Likewise.
7574 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7575 (ILL_ILLOPN): Likewise.
7576 (ILL_ILLADR): Likewise.
7577 (ILL_ILLTRP): Likewise.
7578 (ILL_PRVOPC): Likewise.
7579 (ILL_PRVREG): Likewise.
7580 (ILL_COPROC): Likewise.
7581 (ILL_BADSTK): Likewise.
7582 (FPE_INTDIV): Likewise.
7583 (FPE_INTOVF): Likewise.
7584 (FPE_FLTDIV): Likewise.
7585 (FPE_FLTOVF): Likewise.
7586 (FPE_FLTUND): Likewise.
7587 (FPE_FLTRES): Likewise.
7588 (FPE_FLTINV): Likewise.
7589 (FPE_FLTSUB): Likewise.
7590 (SEGV_MAPERR): Likewise.
7591 (SEGV_ACCERR): Likewise.
7592 (BUS_ADRALN): Likewise.
7593 (BUS_ADRERR): Likewise.
7594 (BUS_OBJERR): Likewise.
7595 (BUS_MCEERR_AR): Likewise.
7596 (BUS_MCEERR_AO): Likewise.
7597 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7598 (TRAP_TRACE): Likewise.
7599 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7600 __USE_XOPEN2K8].
7601 (CLD_KILLED): Likewise.
7602 (CLD_DUMPED): Likewise.
7603 (CLD_TRAPPED): Likewise.
7604 (CLD_STOPPED): Likewise.
7605 (CLD_CONTINUED): Likewise.
7606 (POLL_IN): Likewise.
7607 (POLL_OUT): Likewise.
7608 (POLL_MSG): Likewise.
7609 (POLL_ERR): Likewise.
7610 (POLL_PRI): Likewise.
7611 (POLL_HUP): Likewise.
7612 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7613 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 (ILL_BADIADDR): Likewise.
7622 (ILL_BREAK): Likewise.
7623 (FPE_INTDIV): Likewise.
7624 (FPE_INTOVF): Likewise.
7625 (FPE_FLTDIV): Likewise.
7626 (FPE_FLTOVF): Likewise.
7627 (FPE_FLTUND): Likewise.
7628 (FPE_FLTRES): Likewise.
7629 (FPE_FLTINV): Likewise.
7630 (FPE_FLTSUB): Likewise.
7631 (FPE_DECOVF): Likewise.
7632 (FPE_DECDIV): Likewise.
7633 (FPE_DECERR): Likewise.
7634 (FPE_INVASC): Likewise.
7635 (FPE_INVDEC): Likewise.
7636 (SEGV_MAPERR): Likewise.
7637 (SEGV_ACCERR): Likewise.
7638 (SEGV_PSTKOVF): Likewise.
7639 (BUS_ADRALN): Likewise.
7640 (BUS_ADRERR): Likewise.
7641 (BUS_OBJERR): Likewise.
7642 (BUS_MCEERR_AR): Likewise.
7643 (BUS_MCEERR_AO): Likewise.
7644 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7645 (TRAP_TRACE): Likewise.
7646 (TRAP_BRANCH): Likewise.
7647 (TRAP_HWBKPT): Likewise.
7648 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7649 __USE_XOPEN2K8].
7650 (CLD_KILLED): Likewise.
7651 (CLD_DUMPED): Likewise.
7652 (CLD_TRAPPED): Likewise.
7653 (CLD_STOPPED): Likewise.
7654 (CLD_CONTINUED): Likewise.
7655 (POLL_IN): Likewise.
7656 (POLL_OUT): Likewise.
7657 (POLL_MSG): Likewise.
7658 (POLL_ERR): Likewise.
7659 (POLL_PRI): Likewise.
7660 (POLL_HUP): Likewise.
7661 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7662 (ILL_ILLOPN): Likewise.
7663 (ILL_ILLADR): Likewise.
7664 (ILL_ILLTRP): Likewise.
7665 (ILL_PRVOPC): Likewise.
7666 (ILL_PRVREG): Likewise.
7667 (ILL_COPROC): Likewise.
7668 (ILL_BADSTK): Likewise.
7669 (FPE_INTDIV): Likewise.
7670 (FPE_INTOVF): Likewise.
7671 (FPE_FLTDIV): Likewise.
7672 (FPE_FLTOVF): Likewise.
7673 (FPE_FLTUND): Likewise.
7674 (FPE_FLTRES): Likewise.
7675 (FPE_FLTINV): Likewise.
7676 (FPE_FLTSUB): Likewise.
7677 (SEGV_MAPERR): Likewise.
7678 (SEGV_ACCERR): Likewise.
7679 (BUS_ADRALN): Likewise.
7680 (BUS_ADRERR): Likewise.
7681 (BUS_OBJERR): Likewise.
7682 (BUS_MCEERR_AR): Likewise.
7683 (BUS_MCEERR_AO): Likewise.
7684 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7685 (TRAP_TRACE): Likewise.
7686 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7687 __USE_XOPEN2K8].
7688 (CLD_KILLED): Likewise.
7689 (CLD_DUMPED): Likewise.
7690 (CLD_TRAPPED): Likewise.
7691 (CLD_STOPPED): Likewise.
7692 (CLD_CONTINUED): Likewise.
7693 (POLL_IN): Likewise.
7694 (POLL_OUT): Likewise.
7695 (POLL_MSG): Likewise.
7696 (POLL_ERR): Likewise.
7697 (POLL_PRI): Likewise.
7698 (POLL_HUP): Likewise.
7699 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7700 (ILL_ILLOPN): Likewise.
7701 (ILL_ILLADR): Likewise.
7702 (ILL_ILLTRP): Likewise.
7703 (ILL_PRVOPC): Likewise.
7704 (ILL_PRVREG): Likewise.
7705 (ILL_COPROC): Likewise.
7706 (ILL_BADSTK): Likewise.
7707 (FPE_INTDIV): Likewise.
7708 (FPE_INTOVF): Likewise.
7709 (FPE_FLTDIV): Likewise.
7710 (FPE_FLTOVF): Likewise.
7711 (FPE_FLTUND): Likewise.
7712 (FPE_FLTRES): Likewise.
7713 (FPE_FLTINV): Likewise.
7714 (FPE_FLTSUB): Likewise.
7715 (SEGV_MAPERR): Likewise.
7716 (SEGV_ACCERR): Likewise.
7717 (BUS_ADRALN): Likewise.
7718 (BUS_ADRERR): Likewise.
7719 (BUS_OBJERR): Likewise.
7720 (BUS_MCEERR_AR): Likewise.
7721 (BUS_MCEERR_AO): Likewise.
7722 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7723 (TRAP_TRACE): Likewise.
7724 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7725 __USE_XOPEN2K8].
7726 (CLD_KILLED): Likewise.
7727 (CLD_DUMPED): Likewise.
7728 (CLD_TRAPPED): Likewise.
7729 (CLD_STOPPED): Likewise.
7730 (CLD_CONTINUED): Likewise.
7731 (POLL_IN): Likewise.
7732 (POLL_OUT): Likewise.
7733 (POLL_MSG): Likewise.
7734 (POLL_ERR): Likewise.
7735 (POLL_PRI): Likewise.
7736 (POLL_HUP): Likewise.
7737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7738 (ILL_ILLOPN): Likewise.
7739 (ILL_ILLADR): Likewise.
7740 (ILL_ILLTRP): Likewise.
7741 (ILL_PRVOPC): Likewise.
7742 (ILL_PRVREG): Likewise.
7743 (ILL_COPROC): Likewise.
7744 (ILL_BADSTK): Likewise.
7745 (FPE_INTDIV): Likewise.
7746 (FPE_INTOVF): Likewise.
7747 (FPE_FLTDIV): Likewise.
7748 (FPE_FLTOVF): Likewise.
7749 (FPE_FLTUND): Likewise.
7750 (FPE_FLTRES): Likewise.
7751 (FPE_FLTINV): Likewise.
7752 (FPE_FLTSUB): Likewise.
7753 (SEGV_MAPERR): Likewise.
7754 (SEGV_ACCERR): Likewise.
7755 (BUS_ADRALN): Likewise.
7756 (BUS_ADRERR): Likewise.
7757 (BUS_OBJERR): Likewise.
7758 (BUS_MCEERR_AR): Likewise.
7759 (BUS_MCEERR_AO): Likewise.
7760 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7761 (TRAP_TRACE): Likewise.
7762 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7763 __USE_XOPEN2K8].
7764 (CLD_KILLED): Likewise.
7765 (CLD_DUMPED): Likewise.
7766 (CLD_TRAPPED): Likewise.
7767 (CLD_STOPPED): Likewise.
7768 (CLD_CONTINUED): Likewise.
7769 (POLL_IN): Likewise.
7770 (POLL_OUT): Likewise.
7771 (POLL_MSG): Likewise.
7772 (POLL_ERR): Likewise.
7773 (POLL_PRI): Likewise.
7774 (POLL_HUP): Likewise.
7775 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7776 (ILL_ILLOPN): Likewise.
7777 (ILL_ILLADR): Likewise.
7778 (ILL_ILLTRP): Likewise.
7779 (ILL_PRVOPC): Likewise.
7780 (ILL_PRVREG): Likewise.
7781 (ILL_COPROC): Likewise.
7782 (ILL_BADSTK): Likewise.
7783 (ILL_DBLFLT): Likewise.
7784 (ILL_HARDWALL): Likewise.
7785 (FPE_INTDIV): Likewise.
7786 (FPE_INTOVF): Likewise.
7787 (FPE_FLTDIV): Likewise.
7788 (FPE_FLTOVF): Likewise.
7789 (FPE_FLTUND): Likewise.
7790 (FPE_FLTRES): Likewise.
7791 (FPE_FLTINV): Likewise.
7792 (FPE_FLTSUB): Likewise.
7793 (SEGV_MAPERR): Likewise.
7794 (SEGV_ACCERR): Likewise.
7795 (BUS_ADRALN): Likewise.
7796 (BUS_ADRERR): Likewise.
7797 (BUS_OBJERR): Likewise.
7798 (BUS_MCEERR_AR): Likewise.
7799 (BUS_MCEERR_AO): Likewise.
7800 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7801 (TRAP_TRACE): Likewise.
7802 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7803 __USE_XOPEN2K8].
7804 (CLD_KILLED): Likewise.
7805 (CLD_DUMPED): Likewise.
7806 (CLD_TRAPPED): Likewise.
7807 (CLD_STOPPED): Likewise.
7808 (CLD_CONTINUED): Likewise.
7809 (POLL_IN): Likewise.
7810 (POLL_OUT): Likewise.
7811 (POLL_MSG): Likewise.
7812 (POLL_ERR): Likewise.
7813 (POLL_PRI): Likewise.
7814 (POLL_HUP): Likewise.
7815 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7816 (ILL_ILLOPN): Likewise.
7817 (ILL_ILLADR): Likewise.
7818 (ILL_ILLTRP): Likewise.
7819 (ILL_PRVOPC): Likewise.
7820 (ILL_PRVREG): Likewise.
7821 (ILL_COPROC): Likewise.
7822 (ILL_BADSTK): Likewise.
7823 (FPE_INTDIV): Likewise.
7824 (FPE_INTOVF): Likewise.
7825 (FPE_FLTDIV): Likewise.
7826 (FPE_FLTOVF): Likewise.
7827 (FPE_FLTUND): Likewise.
7828 (FPE_FLTRES): Likewise.
7829 (FPE_FLTINV): Likewise.
7830 (FPE_FLTSUB): Likewise.
7831 (SEGV_MAPERR): Likewise.
7832 (SEGV_ACCERR): Likewise.
7833 (BUS_ADRALN): Likewise.
7834 (BUS_ADRERR): Likewise.
7835 (BUS_OBJERR): Likewise.
7836 (BUS_MCEERR_AR): Likewise.
7837 (BUS_MCEERR_AO): Likewise.
7838 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7839 (TRAP_TRACE): Likewise.
7840 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7841 __USE_XOPEN2K8].
7842 (CLD_KILLED): Likewise.
7843 (CLD_DUMPED): Likewise.
7844 (CLD_TRAPPED): Likewise.
7845 (CLD_STOPPED): Likewise.
7846 (CLD_CONTINUED): Likewise.
7847 (POLL_IN): Likewise.
7848 (POLL_OUT): Likewise.
7849 (POLL_MSG): Likewise.
7850 (POLL_ERR): Likewise.
7851 (POLL_PRI): Likewise.
7852 (POLL_HUP): Likewise.
7853 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7854 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7855
bc61d27c
JM
7856 [BZ #16670]
7857 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7858 before #include of <time.h>.
7859 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7860 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7861 (test-xfail-UNIX98/sched.h/conform): Likewise.
7862
302949e2
MS
78632014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7864
7865 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7866 error absence of trapping exception support.
7867 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7868
a00f522a
JM
78692014-03-07 Joseph Myers <joseph@codesourcery.com>
7870
6f99f280
JM
7871 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7872 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7873 * timezone/Makefile (testdata): Move definition above include of
7874 Rules.
7875 (test-zones): New variable.
7876 (tests-special): Add zone files.
7877 (build-testdata): Use $(evaluate-test).
7878
0b20a9e8
JM
7879 * elf/Makefile (tests-special): Rename tests to end with .out.
7880 ($(objpfx)noload-mem): Likewise.
7881 ($(objpfx)tst-leaks1-mem): Likewise.
7882 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7883 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7884 $(objpfx)test-iconvconfig.out.
7885 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7886 set -e inside subshell and redirect output to file.
7887 * iconvdata/Makefile (generated): Rename tests to end with .out.
7888 Correct type.
7889 (tests-special): Rename tests to end with .out.
7890 ($(objpfx)mtrace-tst-loading): Likewise.
7891 * intl/Makefile (generated): Likewise.
7892 (tests-special): Likewise.
7893 ($(objpfx)mtrace-tst-gettext): Likewise.
7894 * misc/Makefile (generated): Likewise.
7895 (tests-special): Likewise.
7896 ($(objpfx)tst-error1-mem): Likewise.
7897 * nptl/Makefile (tests-special): Likewise.
7898 ($(objpfx)tst-stack3-mem): Likewise.
7899 (generated): Likewise.
7900 * posix/Makefile (generated): Likewise.
7901 (tests-special): Likewise.
7902 (xtests-special): Likewise.
7903 ($(objpfx)tst-fnmatch-mem): Likewise.
7904 ($(objpfx)bug-regex2-mem): Likewise.
7905 ($(objpfx)bug-regex14-mem): Likewise.
7906 ($(objpfx)bug-regex21-mem): Likewise.
7907 ($(objpfx)bug-regex31-mem): Likewise.
7908 ($(objpfx)tst-vfork3-mem): Likewise.
7909 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7910 ($(objpfx)tst-pcre-mem): Likewise.
7911 ($(objpfx)tst-boost-mem): Likewise.
7912 ($(objpfx)bug-ga2-mem): Likewise.
7913 ($(objpfx)bug-glob2-mem): Likewise.
7914 * resolv/Makefile (generate): Likewise.
7915 (tests-special): Likewise.
7916 (xtests-special): Likewise.
7917 (generated): Likewise.
7918 ($(objpfx)mtrace-tst-leaks): Likewise.
7919 ($(objpfx)mtrace-tst-leaks2): Likewise.
7920
265d52ab
JM
7921 * scripts/merge-test-results.sh: New file.
7922 * Makefile (tests-special-notdir): New variable.
7923 (tests): Run merge-test-results.sh.
7924 (xtests): Likewise.
7925 * Rules (tests-special-notdir): New variable.
7926 (xtests-special-notdir): Likewise.
7927 (tests): Run merge-test-results.sh
7928 (xtests): Likewise.
7929
54ee292d
JM
7930 * Makeconfig (test-xfail-name): New variable.
7931 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7932 compute variable name for expected failures.
7933 * conform/Makefile (conformtest-headers-data): New variable.
7934 (conformtest-standards): Likewise.
7935 (conformtest-headers-ISO): Likewise.
7936 (conformtest-headers-ISO99): Likewise.
7937 (conformtest-headers-ISO11): Likewise.
7938 (conformtest-headers-POSIX): Likewise.
7939 (conformtest-headers-XPG3): Likewise.
7940 (conformtest-headers-XPG4): Likewise.
7941 (conformtest-headers-UNIX98): Likewise.
7942 (conformtest-headers-XOPEN2K): Likewise.
7943 (conformtest-headers-POSIX2008): Likewise.
7944 (conformtest-headers-XOPEN2K8): Likewise.
7945 (conformtest-header-list-base): Likewise.
7946 (conformtest-header-list-tests): Likewise.
7947 (conformtest-header-base): Likewise.
7948 (conformtest-header-tests): Likewise.
7949 (tests-special): Add $(conformtest-header-list-tests). If
7950 [$(fast-check) && !$(cross-compiling)], add
7951 $(conformtest-header-tests) instead of
7952 $(objpfx)run-conformtest.out.
7953 (generated): Add $(conformtest-header-list-base). If
7954 [$(fast-check) && !$(cross-compiling)], add
7955 $(conformtest-header-base). Remove previous setting.
7956 ($(conformtest-header-list-tests)): New target.
7957 (test-xfail-run-conformtest): Remove variable.
7958 ($(objpfx)run-conformtest.out): Remove target.
7959 (test-xfail-ISO11/complex.h/conform): New variable.
7960 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7961 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7962 (test-xfail-XPG3/varargs.h/conform): Likewise.
7963 (test-xfail-XPG4/varargs.h/conform): Likewise.
7964 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7965 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7966 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7967 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7968 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7969 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7970 (test-xfail-XPG3/ftw.h/conform): Likewise.
7971 (test-xfail-XPG3/grp.h/conform): Likewise.
7972 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7973 (test-xfail-XPG3/limits.h/conform): Likewise.
7974 (test-xfail-XPG3/pwd.h/conform): Likewise.
7975 (test-xfail-XPG3/search.h/conform): Likewise.
7976 (test-xfail-XPG3/signal.h/conform): Likewise.
7977 (test-xfail-XPG3/stdio.h/conform): Likewise.
7978 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7979 (test-xfail-XPG3/string.h/conform): Likewise.
7980 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7981 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7982 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7983 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7984 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7985 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7986 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7987 (test-xfail-XPG3/termios.h/conform): Likewise.
7988 (test-xfail-XPG3/time.h/conform): Likewise.
7989 (test-xfail-XPG3/unistd.h/conform): Likewise.
7990 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7991 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7992 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7993 (test-xfail-XPG4/netdb.h/conform): Likewise.
7994 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7995 (test-xfail-XPG4/signal.h/conform): Likewise.
7996 (test-xfail-XPG4/stdio.h/conform): Likewise.
7997 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7998 (test-xfail-XPG4/stropts.h/conform): Likewise.
7999 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8000 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8001 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8002 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8003 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8004 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8005 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8006 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8007 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8008 (test-xfail-XPG4/termios.h/conform): Likewise.
8009 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8010 (test-xfail-XPG4/unistd.h/conform): Likewise.
8011 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8012 (test-xfail-POSIX/sched.h/conform): Likewise.
8013 (test-xfail-POSIX/signal.h/conform): Likewise.
8014 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8015 (test-xfail-POSIX/tar.h/conform): Likewise.
8016 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8017 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8018 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8019 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8020 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8021 (test-xfail-UNIX98/sched.h/conform): Likewise.
8022 (test-xfail-UNIX98/signal.h/conform): Likewise.
8023 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8024 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8025 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8026 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8027 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8028 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8029 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8030 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8031 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8032 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8033 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8034 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8035 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8036 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8037 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8038 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8039 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8040 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8041 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8042 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8043 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8044 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8045 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8046 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8047 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8048 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8049 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8050 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8051 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8052 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8053 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8054 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8055 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8056 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8057 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8058 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8059 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8060 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8061 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8062 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8063 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8064 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8065 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8066 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8067 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8068 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8069 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8070 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8071 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8072 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8073 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8074 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8075 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8076 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8077 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8078 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8079 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8080 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8081 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8082 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8083 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8084 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8085 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8086 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8087 (conformtest-cc-flags): Likewise.
8088 ($(conformtest-header-tests): New target.
8089 * conform/check-header-lists.sh: New file.
8090 * conform/run-conformtest.sh: Remove.
8091
a00f522a
JM
8092 * conform/conformtest.pl: Allow ' and \ in values given for
8093 constants.
8094 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8095 inclusion.
8096 [POSIX] (sys/types.h): Likewise.
8097 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8098 inclusion.
8099 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8100 inclusion.
8101 * conform/data/signal.h-data (SIGIO): Remove expectation.
8102 [XPG3] (SIGBUS): Do not expect.
8103 [POSIX || XPG3] (SIGPOLL): Likewise.
8104 [POSIX || XPG3] (SIGPROF): Likewise.
8105 [POSIX || XPG3] (SIGSYS): Likewise.
8106 [XPG3] (SIGTRAP): Likewise.
8107 [POSIX || XPG3] (SIGURG): Likewise.
8108 [POSIX || XPG3] (SIGVTALRM): Likewise.
8109 [POSIX || XPG3] (SIGXCPU): Likewise.
8110 [POSIX || XPG3] (SIGXFSZ): Likewise.
8111 [POSIX] (SA_SIGINFO): Expect.
8112 [XPG3] (siginfo_t): Do not expect type or contents.
8113 [POSIX] (si_pid): Do not expect element.
8114 [POSIX] (si_uid): Likewise.
8115 [POSIX] (si_addr): Likewise.
8116 [POSIX] (si_status): Likewise.
8117 [POSIX] (si_band): Likewise.
8118 [XPG4] (si_value): Likewise.
8119 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8120 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8121 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8122 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8123 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8124 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8125 [POSIX || XPG3] (ILL_COPROC): Likewise.
8126 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8127 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8128 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8129 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8130 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8131 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8132 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8133 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8134 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8135 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8136 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8137 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8138 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8139 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8140 [POSIX || XPG3] (CLD_EXITED): Likewise.
8141 [POSIX || XPG3] (CLD_KILLED): Likewise.
8142 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8143 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8144 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8145 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8146 [POSIX || XPG3] (POLL_IN): Likewise.
8147 [POSIX || XPG3] (POLL_OUT): Likewise.
8148 [POSIX || XPG3] (POLL_MSG): Likewise.
8149 [POSIX || XPG3] (POLL_ERR): Likewise.
8150 [POSIX || XPG3] (POLL_PRI): Likewise.
8151 [POSIX || XPG3] (POLL_HUP): Likewise.
8152 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8153 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8154 (SIG*): Do not allow.
8155 [XPG3] (si_*): Likewise.
8156 [XPG3] (SI_*): Likewise.
8157 [XPG3 || XPG4] (sigev_*): Likewise.
8158 [XPG3 || XPG4] (SIGEV_*): Likewise.
8159 [XPG3 || XPG4] (sival_*): Likewise.
8160 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8161 [POSIX || XPG3] (BUS_*): Likewise.
8162 [POSIX || XPG3] (CLD_*): Likewise.
8163 [POSIX || XPG3] (FPE_*): Likewise.
8164 [POSIX || XPG3] (ILL_*): Likewise.
8165 [POSIX || XPG3] (POLL_*): Likewise.
8166 [POSIX || XPG3] (SEGV_*): Likewise.
8167 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8168 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8169 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8170 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8171 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8172 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8173 Specify type and value.
8174 (TVERSLEN): Likewise.
8175 (REGTYPE): Likewise.
8176 (AREGTYPE): Likewise.
8177 (LNKTYPE): Likewise.
8178 (SYMTYPE): Likewise.
8179 (CHRTYPE): Likewise.
8180 (BLKTYPE): Likewise.
8181 (DIRTYPE): Likewise.
8182 (FIFOTYPE): Likewise.
8183 (CONTTYPE): Likewise.
8184 (TSUID): Likewise.
8185 (TSGID): Likewise.
8186 (TSVTX): Likewise.
8187 (TUREAD): Likewise.
8188 (TUWRITE): Likewise.
8189 (TUEXEC): Likewise.
8190 (TGREAD): Likewise.
8191 (TGWRITE): Likewise.
8192 (TGEXEC): Likewise.
8193 (TOREAD): Likewise.
8194 (TOWRITE): Likewise.
8195 (TOEXEC): Likewise.
8196 [POSIX] (TSVTX): Expect constant.
8197
aa97dee1
JM
81982014-03-06 Joseph Myers <joseph@codesourcery.com>
8199
f214606a
JM
8200 * Makefile (tests): Change dependencies to ....
8201 (tests-special): ... additions to this variable.
8202 (tests): Depend on $(tests-special).
8203 * Makerules (check-abi-list): New variable.
8204 (check-abi): Depend on $(check-abi-list).
8205 [$(subdir) = elf] (tests-special): Add
8206 $(objpfx)check-abi-libc.out.
8207 [$(build-shared) = yes && subdir] (tests-special): Add
8208 $(check-abi-list).
8209 [$(build-shared) = yes && subdir] (tests): Do not depend on
8210 check-abi.
8211 * Rules (tests): Depend on $(tests-special).
8212 (xtests): Depend on $(xtests-special).
8213 * catgets/Makefile (tests): Change dependencies to ....
8214 (tests-special): ... additions to this variable.
8215 * conform/Makefile (tests): Change dependencies to ....
8216 (tests-special): ... additions to this variable.
8217 * elf/Makefile (tests): Change dependencies to ....
8218 (tests-special): ... additions to this variable.
8219 * grp/Makefile (tests): Change dependencies to ....
8220 (tests-special): ... additions to this variable.
8221 * iconv/Makefile (xtests): Change dependencies to ....
8222 (xtests-special): ... additions to this variable.
8223 * iconvdata/Makefile (tests): Change dependencies to ....
8224 (tests-special): ... additions to this variable.
8225 * intl/Makefile (tests): Change dependencies to ....
8226 (tests-special): ... additions to this variable. Also add
8227 $(objpfx)tst-gettext.out.
8228 * io/Makefile (tests): Change dependencies to ....
8229 (tests-special): ... additions to this variable.
8230 * libio/Makefile (tests): Change dependencies to ....
8231 (tests-special): ... additions to this variable.
8232 * malloc/Makefile (tests): Change dependencies to ....
8233 (tests-special): ... additions to this variable.
8234 * misc/Makefile (tests): Change dependencies to ....
8235 (tests-special): ... additions to this variable.
8236 * nptl/Makefile (tests): Change dependencies to ....
8237 (tests-special): ... additions to this variable.
8238 * nptl_db/Makefile (tests): Change dependencies to ....
8239 (tests-special): ... additions to this variable.
8240 * posix/Makefile (tests): Change dependencies to ....
8241 (tests-special): ... additions to this variable.
8242 (xtests): Change dependencies to ....
8243 (xtests-special): ... additions to this variable.
8244 * resolv/Makefile (tests): Change dependencies to ....
8245 (tests-special): ... additions to this variable.
8246 (xtests): Change dependencies to ....
8247 (xtests-special): ... additions to this variable.
8248 * stdio-common/Makefile (tests): Change dependencies to ....
8249 (tests-special): ... additions to this variable.
8250 (do-tst-unbputc): Remove target.
8251 (do-tst-printf): Likewise.
8252 * stdlib/Makefile (tests): Change dependencies to ....
8253 (tests-special): ... additions to this variable.
8254 * string/Makefile (tests): Change dependencies to ....
8255 (tests-special): ... additions to this variable.
8256 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8257 (tests-special): ... additions to this variable.
8258
81700b53
JM
8259 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8260 whole file.
8261 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8262 whole file.
8263 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8264 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8265
2ea18461
JM
8266 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8267 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8268 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8269 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8270 * conform/data/libgen.h-data [XPG3]: Likewise.
8271 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8272 * conform/data/ndbm.h-data [XPG3]: Likewise.
8273 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8274 * conform/data/netdb.h-data [XPG3]: Likewise.
8275 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8276 * conform/data/poll.h-data [XPG3]: Likewise.
8277 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8278 * conform/data/strings.h-data [XPG3]: Likewise.
8279 * conform/data/stropts.h-data [XPG3]: Likewise.
8280 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8281 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8282 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8283 Likewise.
8284 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8285 * conform/data/sys/time.h-data [XPG3]: Likewise.
8286 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8287 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8288 * conform/data/sys/un.h-data [XPG3]: Likewise.
8289 * conform/data/syslog.h-data [XPG3]: Likewise.
8290 * conform/data/ucontext.h-data [XPG3]: Likewise.
8291 * conform/data/utmpx.h-data [XPG3]: Likewise.
8292 * conform/data/varargs.h-data [UNIX98]: Enable file.
8293
355bc986
JM
8294 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8295
215db402
JM
8296 * math/libm-test.inc (struct test_f_f_data): Move expected results
8297 into structure for each rounding mode.
8298 (struct test_ff_f_data): Likewise.
8299 (struct test_ff_f_data_nexttoward): Likewise.
8300 (struct test_fi_f_data): Likewise.
8301 (struct test_fl_f_data): Likewise.
8302 (struct test_if_f_data): Likewise.
8303 (struct test_fff_f_data): Likewise.
8304 (struct test_c_f_data): Likewise.
8305 (struct test_f_f1_data): Likewise.
8306 (struct test_fF_f1_data): Likewise.
8307 (struct test_ffI_f1_data): Likewise.
8308 (struct test_c_c_data): Likewise.
8309 (struct test_cc_c_data): Likewise.
8310 (struct test_f_i_data): Likewise.
8311 (struct test_ff_i_data): Likewise.
8312 (struct test_f_l_data): Likewise.
8313 (struct test_f_L_data): Likewise.
8314 (struct test_fFF_11_data): Likewise.
8315 (RM_): New macro.
8316 (RM_FE_DOWNWARD): Likewise.
8317 (RM_FE_TONEAREST): Likewise.
8318 (RM_FE_TOWARDZERO): Likewise.
8319 (RM_FE_UPWARD): Likewise.
8320 (RUN_TEST_LOOP_f_f): Update references to expected results.
8321 (RUN_TEST_LOOP_2_f): Likewise.
8322 (RUN_TEST_LOOP_fff_f): Likewise.
8323 (RUN_TEST_LOOP_c_f): Likewise.
8324 (RUN_TEST_LOOP_f_f1): Likewise.
8325 (RUN_TEST_LOOP_fF_f1): Likewise.
8326 (RUN_TEST_LOOP_fI_f1): Likewise.
8327 (RUN_TEST_LOOP_ffI_f1): Likewise.
8328 (RUN_TEST_LOOP_c_c): Likewise.
8329 (RUN_TEST_LOOP_cc_c): Likewise.
8330 (RUN_TEST_LOOP_f_i): Likewise.
8331 (RUN_TEST_LOOP_f_i_tg): Likewise.
8332 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8333 (RUN_TEST_LOOP_f_b): Likewise.
8334 (RUN_TEST_LOOP_f_b_tg): Likewise.
8335 (RUN_TEST_LOOP_f_l): Likewise.
8336 (RUN_TEST_LOOP_f_L): Likewise.
8337 (RUN_TEST_LOOP_fFF_11): Likewise.
8338 * math/gen-libm-test.pl (parse_args): Output four copies of
8339 expected results for each test.
8340
67737b8f
JM
8341 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8342 (__ASSUME_UTIMES): Remove.
8343 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8344 (__ASSUME_UTIMES): Likewise.
8345
aa97dee1
JM
8346 * math/gen-auto-libm-tests.c: Update comment on output format.
8347 (output_for_one_input_case): Generate before-rounding and
8348 after-rounding information as conditions on output flags not
8349 floating-point format.
8350 * math/auto-libm-test-out: Regenerated.
8351 * math/gen-libm-test.pl (cond_value): New function.
8352 (or_cond_value): Use cond_value.
8353 (generate_testfile): Handle conditional exceptions.
8354
e6b6a857
JM
83552014-03-05 Joseph Myers <joseph@codesourcery.com>
8356
2f0a0f44
JM
8357 * math/libm-test.inc (max_valid_error): New variable.
8358 (init_max_error): Take new argument specifying whether function
8359 results are exactly determined. Set max_valid_error and bound
8360 other variables for errors based on this argument.
8361 (set_max_error): Do not record results above max_valid_error.
8362 (check_float_internal): Only accept errors of up to 0.5ulps if
8363 also at most max_valid_error.
8364 (START): Take new argument EXACT and pass it to init_max_error.
8365 (acos_test): Update call to START.
8366 (acos_test_tonearest): Likewise.
8367 (acos_test_towardzero): Likewise.
8368 (acos_test_downward): Likewise.
8369 (acos_test_upward): Likewise.
8370 (acosh_test): Likewise.
8371 (asin_test): Likewise.
8372 (asin_test_tonearest): Likewise.
8373 (asin_test_towardzero): Likewise.
8374 (asin_test_downward): Likewise.
8375 (asin_test_upward): Likewise.
8376 (asinh_test): Likewise.
8377 (atan_test): Likewise.
8378 (atanh_test): Likewise.
8379 (atan2_test): Likewise.
8380 (cabs_test): Likewise.
8381 (cacos_test): Likewise.
8382 (cacosh_test): Likewise.
8383 (carg_test): Likewise.
8384 (casin_test): Likewise.
8385 (casinh_test): Likewise.
8386 (catan_test): Likewise.
8387 (catanh_test): Likewise.
8388 (cbrt_test): Likewise.
8389 (ccos_test): Likewise.
8390 (ccosh_test): Likewise.
8391 (ceil_test): Likewise.
8392 (cexp_test): Likewise.
8393 (cimag_test): Likewise.
8394 (clog_test): Likewise.
8395 (clog10_test): Likewise.
8396 (conj_test): Likewise.
8397 (copysign_test): Likewise.
8398 (cos_test): Likewise.
8399 (cos_test_tonearest): Likewise.
8400 (cos_test_towardzero): Likewise.
8401 (cos_test_downward): Likewise.
8402 (cos_test_upward): Likewise.
8403 (cosh_test): Likewise.
8404 (cosh_test_tonearest): Likewise.
8405 (cosh_test_towardzero): Likewise.
8406 (cosh_test_downward): Likewise.
8407 (cosh_test_upward): Likewise.
8408 (cpow_test): Likewise.
8409 (cproj_test): Likewise.
8410 (creal_test): Likewise.
8411 (csin_test): Likewise.
8412 (csinh_test): Likewise.
8413 (csqrt_test): Likewise.
8414 (ctan_test): Likewise.
8415 (ctan_test_tonearest): Likewise.
8416 (ctan_test_towardzero): Likewise.
8417 (ctan_test_downward): Likewise.
8418 (ctan_test_upward): Likewise.
8419 (ctanh_test): Likewise.
8420 (ctanh_test_tonearest): Likewise.
8421 (ctanh_test_towardzero): Likewise.
8422 (ctanh_test_downward): Likewise.
8423 (ctanh_test_upward): Likewise.
8424 (erf_test): Likewise.
8425 (erfc_test): Likewise.
8426 (exp_test): Likewise.
8427 (exp_test_tonearest): Likewise.
8428 (exp_test_towardzero): Likewise.
8429 (exp_test_downward): Likewise.
8430 (exp_test_upward): Likewise.
8431 (exp10_test): Likewise.
8432 (exp10_test_tonearest): Likewise.
8433 (exp10_test_towardzero): Likewise.
8434 (exp10_test_downward): Likewise.
8435 (exp10_test_upward): Likewise.
8436 (pow10_test): Likewise.
8437 (exp2_test): Likewise.
8438 (expm1_test): Likewise.
8439 (expm1_test_tonearest): Likewise.
8440 (expm1_test_towardzero): Likewise.
8441 (expm1_test_downward): Likewise.
8442 (expm1_test_upward): Likewise.
8443 (fabs_test): Likewise.
8444 (fdim_test): Likewise.
8445 (floor_test): Likewise.
8446 (fma_test): Likewise.
8447 (fma_test_towardzero): Likewise.
8448 (fma_test_downward): Likewise.
8449 (fma_test_upward): Likewise.
8450 (fmax_test): Likewise.
8451 (fmin_test): Likewise.
8452 (fmod_test): Likewise.
8453 (fpclassify_test): Likewise.
8454 (frexp_test): Likewise.
8455 (hypot_test): Likewise.
8456 (ilogb_test): Likewise.
8457 (isfinite_test): Likewise.
8458 (finite_test): Likewise.
8459 (isgreater_test): Likewise.
8460 (isgreaterequal_test): Likewise.
8461 (isinf_test): Likewise.
8462 (isless_test): Likewise.
8463 (islessequal_test): Likewise.
8464 (islessgreater_test): Likewise.
8465 (isnan_test): Likewise.
8466 (isnormal_test): Likewise.
8467 (issignaling_test): Likewise.
8468 (isunordered_test): Likewise.
8469 (j0_test): Likewise.
8470 (j1_test): Likewise.
8471 (jn_test): Likewise.
8472 (ldexp_test): Likewise.
8473 (lgamma_test): Likewise.
8474 (gamma_test): Likewise.
8475 (lrint_test): Likewise.
8476 (lrint_test_tonearest): Likewise.
8477 (lrint_test_towardzero): Likewise.
8478 (lrint_test_downward): Likewise.
8479 (lrint_test_upward): Likewise.
8480 (llrint_test): Likewise.
8481 (llrint_test_tonearest): Likewise.
8482 (llrint_test_towardzero): Likewise.
8483 (llrint_test_downward): Likewise.
8484 (llrint_test_upward): Likewise.
8485 (log_test): Likewise.
8486 (log10_test): Likewise.
8487 (log1p_test): Likewise.
8488 (log2_test): Likewise.
8489 (logb_test): Likewise.
8490 (logb_test_downward): Likewise.
8491 (lround_test): Likewise.
8492 (llround_test): Likewise.
8493 (modf_test): Likewise.
8494 (nearbyint_test): Likewise.
8495 (nextafter_test): Likewise.
8496 (nexttoward_test): Likewise.
8497 (pow_test): Likewise.
8498 (pow_test_tonearest): Likewise.
8499 (pow_test_towardzero): Likewise.
8500 (pow_test_downward): Likewise.
8501 (pow_test_upward): Likewise.
8502 (remainder_test): Likewise.
8503 (drem_test): Likewise.
8504 (remainder_test_tonearest): Likewise.
8505 (drem_test_tonearest): Likewise.
8506 (remainder_test_towardzero): Likewise.
8507 (drem_test_towardzero): Likewise.
8508 (remainder_test_downward): Likewise.
8509 (drem_test_downward): Likewise.
8510 (remainder_test_upward): Likewise.
8511 (drem_test_upward): Likewise.
8512 (remquo_test): Likewise.
8513 (rint_test): Likewise.
8514 (rint_test_tonearest): Likewise.
8515 (rint_test_towardzero): Likewise.
8516 (rint_test_downward): Likewise.
8517 (rint_test_upward): Likewise.
8518 (round_test): Likewise.
8519 (scalb_test): Likewise.
8520 (scalbn_test): Likewise.
8521 (scalbln_test): Likewise.
8522 (signbit_test): Likewise.
8523 (sin_test): Likewise.
8524 (sin_test_tonearest): Likewise.
8525 (sin_test_towardzero): Likewise.
8526 (sin_test_downward): Likewise.
8527 (sin_test_upward): Likewise.
8528 (sincos_test): Likewise.
8529 (sinh_test): Likewise.
8530 (sinh_test_tonearest): Likewise.
8531 (sinh_test_towardzero): Likewise.
8532 (sinh_test_downward): Likewise.
8533 (sinh_test_upward): Likewise.
8534 (sqrt_test): Likewise.
8535 (sqrt_test_tonearest): Likewise.
8536 (sqrt_test_towardzero): Likewise.
8537 (sqrt_test_downward): Likewise.
8538 (sqrt_test_upward): Likewise.
8539 (tan_test): Likewise.
8540 (tan_test_tonearest): Likewise.
8541 (tan_test_towardzero): Likewise.
8542 (tan_test_downward): Likewise.
8543 (tan_test_upward): Likewise.
8544 (tanh_test): Likewise.
8545 (tgamma_test): Likewise.
8546 (trunc_test): Likewise.
8547 (y0_test): Likewise.
8548 (y1_test): Likewise.
8549 (yn_test): Likewise.
8550 (significand_test): Likewise.
8551
e6b6a857
JM
8552 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8553 individual tests in comment.
8554 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8555 (prev_max_error): New variable.
8556 (prev_real_max_error): Likewise.
8557 (prev_imag_max_error): Likewise.
8558 (compare_ulp_data): Don't refer to test names in comment.
8559 (find_test_ulps): Remove function.
8560 (find_function_ulps): Likewise.
8561 (find_complex_function_ulps): Likewise.
8562 (init_max_error): Take function name as argument. Look up ulps
8563 for that function.
8564 (print_ulps): Remove function.
8565 (print_max_error): Use prev_max_error instead of calling
8566 find_function_ulps.
8567 (print_complex_max_error): Use prev_real_max_error and
8568 prev_imag_max_error instead of calling find_complex_function_ulps.
8569 (check_float_internal): Take max_ulp parameter instead of calling
8570 find_test_ulps. Don't call print_ulps.
8571 (check_float): Update call to check_float_internal.
8572 (check_complex): Update calls to check_float_internal.
8573 (START): Pass argument to init_max_error.
8574 * math/gen-libm-test.pl (%results): Don't include "kind"
8575 information.
8576 (parse_ulps): Don't handle ulps of individual tests.
8577 (print_ulps_file): Likewise.
8578 (output_ulps): Likewise.
8579 * math/README.libm-test: Update.
8580 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8581 individual tests.
8582 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8583 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8584 * sysdeps/arm/libm-test-ulps: Likewise.
8585 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8586 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8587 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8588 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8589 * sysdeps/microblaze/libm-test-ulps: Likewise.
8590 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8591 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8592 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8593 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8594 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8595 * sysdeps/sh/libm-test-ulps: Likewise.
8596 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8597 * sysdeps/tile/libm-test-ulps: Likewise.
8598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8599
45adef3c
JM
86002014-03-04 Joseph Myers <joseph@codesourcery.com>
8601
8602 * math/libm-test.inc (print_complex_max_error): Check separately
8603 whether real and imaginary errors are within allowed range and
8604 pass 0 to print_complex_function_ulps instead of value within
8605 allowed range.
8606
000232b9
SP
86072014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8608
d4b17258
SP
8609 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8610 formatting.
8611 (get_handles_fopen): Likewise.
8612 (do_write_test): Likewise.
8613
091eff71
SP
8614 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8615
fa3cd248
SP
8616 * libio/fileops.c (do_ftell): Use cached offset when
8617 available.
8618 * libio/iofwide.c (do_ftell_wide): Likewise.
8619 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8620 _IO_file_attach.
8621 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8622
000232b9
SP
8623 [BZ #16532]
8624 * libio/libioP.h (get_file_offset): New function.
8625 * libio/fileops.c (get_file_offset): Likewise.
8626 (do_ftell): Likewise.
8627 (_IO_new_file_seekoff): Split out ftell logic.
8628 * libio/wfileops.c (do_ftell_wide): Likewise.
8629 (_IO_wfile_seekoff): Split out ftell logic.
8630 * libio/tst-ftell-active-handler.c: New test case.
8631 * libio/Makefile (tests): Add it.
8632
116f4d1a
RM
86332014-03-03 Roland McGrath <roland@hack.frob.com>
8634
8635 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8636 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8637
532a6035
SP
86382014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8639
8640 [BZ #16639]
8641 * nscd/connections.c (nscd_init): Call do_exit.
8642 (start_threads): Call do_exit and notify_parent.
8643 (begin_drop_privileges): Call do_exit.
8644 (finish_drop_privileges): Likewise.
8645 * nscd/selinux.c (preserve_capabilities): Likewise.
8646 (install_real_capabilities): Likewise.
8647 (nscd_selinux_enabled): Likewise.
8648 (avc_create_thread): Likewise.
8649 (avc_alloc_lock): Likewise.
8650 (nscd_avc_init): Likewise.
8651 * nscd/nscd.c (parent_fd): New static variable.
8652 (main): Create a pipe between parent and child processes.
8653 Skip closing parent_fd.
8654 (monitor_child): New function.
8655 (do_exit): Likewise.
8656 (notify_parent): Likewise.
8657 * nscd/nscd.h (notify_parent): Likewise.
8658 (do_exit): Likewise.
8659
d6285c9f
CD
86602014-03-03 Carlos O'Donell <carlos@redhat.com>
8661
8662 * malloc/malloc.c (__libc_calloc): Revert last change.
8663
2b85d2a0
AZ
86642014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8665
8666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8667
c7debbdf
RS
86682014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8669
8670 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8672 implementation.
8673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8674 (__libc_ifunc_impl_list): Likewise.
8675 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8676 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8677 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8678 * string/strrchr.c: Define STRRCHR.
8679
235eed86
OB
86802014-02-28 Ondřej Bílka <neleai@seznam.cz>
8681
8682 * benchtest/bench-strtok.c (simple_strtok): Delete.
8683 (strtok_string): Use as benchmark.
8684 * string/strtok (STRTOK): New macro.
8685
8e25d1e7
CD
86862014-02-28 Carlos O'Donell <carlos@redhat.com>
8687
ef563f92
CD
8688 * manual/threads.texi: Add header and standard comments to all
8689 functions.
8690
8e25d1e7
CD
8691 * elf/dl-lookup.c (check_match): New function.
8692 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8693 (do_lookup_x): Remove nested function check_match. Use non-nested
8694 function check_match.
8695
ff71cc37
RM
86962014-02-28 Roland McGrath <roland@hack.frob.com>
8697
f08e9a26
RM
8698 * csu/Makefile (generated, before-compile): Use += rather than =.
8699 * catgets/Makefile (generated, generated-dirs): Likewise.
8700 * debug/Makefile (generated): Likewise.
8701 * dlfcn/Makefile (generated): Likewise.
8702 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8703 * iconvdata/Makefile (before-compile, generated): Likewise.
8704 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8705 * libio/Makefile (generated): Likewise.
8706 * malloc/Makefile (generated): Likewise.
8707 * manual/Makefile (generated, generated-dirs): Likewise.
8708 * misc/Makefile (generated): Likewise.
8709 * posix/Makefile (generated): Likewise.
8710 * resolv/Makefile (generated): Likewise.
8711 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8712 * timezone/Makefile (generated, generated-dirs): Likewise.
8713
ff71cc37
RM
8714 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8715
fe13a20c
AZ
87162014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8717
57f41c40
AS
8718 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8719 power8 implementation.
8720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8721 file: POWER8 llround ifunc implementation.
8722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8723 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8724 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8725 POWER8 llround implementation.
8726
57f41c40
AS
8727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8728 power8 implementation.
8729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8730 file: POWER8 llrint ifunc implementation.
8731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8732 Add POWER8 implementation.
1ad8950a
AZ
8733 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8734 POWER8 llrint implementation.
8735
57f41c40
AS
8736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8737 power8 implementation.
8738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8739 file: POWER8 finite ifunc implementation.
8740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8741 Add POWER8 implementation.
cac626d6
AZ
8742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8743 Likewise.
8744 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8745 POWER8 finite implementation.
8746 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8747
57f41c40
AS
8748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8749 power8 implementation.
8750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8751 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8753 POWER8 implementation.
8754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8755 Likewise.
57f41c40
AS
8756 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8757 isinf implementation.
4393fc11
AZ
8758 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8759
57f41c40
AS
8760 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8761 (INIT_ARCH): Add hwcap2 initialization.
8762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8763 power8 implementation.
8764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8765 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8767 POWER8 implementation.
8768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8769 Likewise.
57f41c40
AS
8770 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8771 isnan implementation.
487972ae
AZ
8772 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8773
7d92b787
JY
87742014-02-27 Joey Ye <joey.ye@arm.com>
8775
8776 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8777 (_FP_NANFRAC_Q): Set to zero.
8778
1cadc858
SP
87792014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8780
8781 [BZ #16623]
8782 * math/auto-libm-test-in: New test inputs.
8783 * math/auto-libm-test-out: Regenerate.
8784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8785 and DA.
8786 (__cos): Likewise.
8787 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8788
f8c17e79
JM
87892014-02-27 Joseph Myers <joseph@codesourcery.com>
8790
8791 * scripts/evaluate-test.sh: Take new argument indicating whether
8792 failure is expected.
8793 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8794 indicating whether failure is expected.
8795 * conform/Makefile (test-xfail-run-conformtest): New variable.
8796 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8797 level.
8798 * posix/Makefile (test-xfail-annexc): New variable.
8799 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8800
a5f891ac
JM
88012014-02-26 Joseph Myers <joseph@codesourcery.com>
8802
8803 * argp/Makefile: Include Makeconfig immediately after defining
8804 subdir.
8805 * assert/Makefile: Likewise.
8806 * benchtests/Makefile: Likewise.
8807 * catgets/Makefile: Likewise.
8808 * conform/Makefile: Likewise.
8809 * crypt/Makefile: Likewise.
8810 * csu/Makefile: Likewise.
8811 (all): Remove target.
8812 * ctype/Makefile: Include Makeconfig immediately after defining
8813 subdir.
8814 * debug/Makefile: Likewise.
8815 * dirent/Makefile: Likewise.
8816 * dlfcn/Makefile: Likewise.
8817 * gmon/Makefile: Likewise.
8818 * gnulib/Makefile: Likewise.
8819 * grp/Makefile: Likewise.
8820 * gshadow/Makefile: Likewise.
8821 * hesiod/Makefile: Likewise.
8822 * hurd/Makefile: Likewise.
8823 (all): Remove target.
8824 * iconvdata/Makefile: Include Makeconfig immediately after
8825 defining subdir.
8826 * inet/Makefile: Likewise.
8827 * intl/Makefile: Likewise.
8828 * io/Makefile: Likewise.
8829 * libio/Makefile: Likewise.
8830 (all): Remove target.
8831 * locale/Makefile: Include Makeconfig immediately after defining
8832 subdir.
8833 * login/Makefile: Likewise.
8834 * mach/Makefile: Likewise.
8835 (all): Remove target.
8836 * malloc/Makefile: Include Makeconfig immediately after defining
8837 subdir.
8838 (all): Remove target.
8839 * manual/Makefile: Include Makeconfig immediately after defining
8840 subdir.
8841 * math/Makefile: Likewise.
8842 * misc/Makefile: Likewise.
8843 * nis/Makefile: Likewise.
8844 * nss/Makefile: Likewise.
8845 * po/Makefile: Likewise.
8846 (all): Remove target.
8847 * posix/Makefile: Include Makeconfig immediately after defining
8848 subdir.
8849 * pwd/Makefile: Likewise.
8850 * resolv/Makefile: Likewise.
8851 * resource/Makefile: Likewise.
8852 * rt/Makefile: Likewise.
8853 * setjmp/Makefile: Likewise.
8854 * shadow/Makefile: Likewise.
8855 * signal/Makefile: Likewise.
8856 * socket/Makefile: Likewise.
8857 * soft-fp/Makefile: Likewise.
8858 * stdio-common/Makefile: Likewise.
8859 * stdlib/Makefile: Likewise.
8860 * streams/Makefile: Likewise.
8861 * string/Makefile: Likewise.
8862 * sunrpc/Makefile: Likewise.
8863 (all): Remove target.
8864 * sysvipc/Makefile: Include Makeconfig immediately after defining
8865 subdir.
8866 * termios/Makefile: Likewise.
8867 * time/Makefile: Likewise.
8868 * timezone/Makefile: Likewise.
8869 (all): Remove target.
8870 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8871 subdir.
8872 * wctype/Makefile: Likewise.
8873
5b456e9d
SE
88742014-02-26 Steve Ellcey <sellcey@mips.com>
8875
8876 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8877 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8878 (libc_feholdexcept_setround_mips): Ditto.
8879 (libc_feholdsetround): New.
8880 (libc_feholdsetroundf): New.
8881 (libc_feholdsetroundl): New.
8882 (libc_feupdateenv_test_mips): New.
8883 (libc_feupdateenv_test): New.
8884 (libc_feupdateenv_testf): New.
8885 (libc_feupdateenv_testl): New.
8886 (libc_feresetround): New.
8887 (libc_feresetroundf): New.
8888 (libc_feresetroundl): New.
8889 (libc_fetestexcept_mips): New.
8890 (libc_fetestexcept): New.
8891 (libc_fetestexceptf): New.
8892 (libc_fetestexceptl): New.
8893 (HAVE_RM_CTX): New.
8894 (libc_feholdexcept_setround_mips_ctx): New.
8895 (libc_feholdexcept_setround_ctx): New.
8896 (libc_feholdexcept_setroundf_ctx): New.
8897 (libc_feholdexcept_setroundl_ctx): New.
8898 (libc_fesetenv_mips_ctx): New.
8899 (libc_fesetenv_ctx): New.
8900 (libc_fesetenv_ctxf): New.
8901 (libc_fesetenv_ctxl): New.
8902 (libc_feupdateenv_mips_ctx): New.
8903 (libc_feupdateenv_ctx): New.
8904 (libc_feupdateenvf_ctx): New.
8905 (libc_feupdateenvl_ctx): New.
8906 (libc_feholdsetround_mips_ctx): New.
8907 (libc_feholdsetround_ctx): New.
8908 (libc_feholdsetroundf_ctx): New.
8909 (libc_feholdsetroundl_ctx): New.
8910 (libc_feresetround_mips_ctx): New.
8911 (libc_feresetround_ctx): New.
8912 (libc_feresetroundf_ctx): New.
8913 (libc_feresetroundl_ctx): New.
8914
085d0e35
CD
89152014-02-26 Carlos O'Donell <carlos@redhat.com>
8916
f067bf1f
CD
8917 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8918
085d0e35
CD
8919 * manual/ipc.texi: New file.
8920 * manual/Makefile (chapters): Add ipc.
8921 * manual/job.texi: Add "Inter-Process Communication" to next.
8922 * manual/process.texi: Add "Inter-Process Communication" to prev.
8923
86e58c08
AZ
89242014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8925
8926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8927
4248f0da
OB
89282014-02-26 Ondřej Bílka <neleai@seznam.cz>
8929
8930 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8931
cf822e3c
OB
8932 * manual/arith.texi: Fix spaces after sentences.
8933 * manual/charset.texi: Likewise.
8934 * manual/errno.texi: Likewise.
8935 * manual/install.texi: Likewise.
8936 * manual/llio.texi: Likewise.
8937 * manual/locale.texi: Likewise.
8938 * manual/maint.texi: Likewise.
8939 * manual/math.texi: Likewise.
8940 * manual/memory.texi: Likewise.
8941 * manual/message.texi: Likewise.
8942 * manual/probes.texi: Likewise.
8943 * manual/resource.texi: Likewise.
8944 * manual/signal.texi: Likewise.
8945 * manual/socket.texi: Likewise.
8946 * manual/stdio.texi: Likewise.
8947 * manual/string.texi: Likewise.
8948 * manual/time.texi: Likewise.
8949 * manual/users.texi: Likewise.
8950
ade40b10
CD
89512014-02-25 Carlos O'Donell <carlos@redhat.com>
8952
8953 [BZ #16632]
8954 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8955 _DEFAULT_SOURCE is defined.
8956
d0503676
CD
89572014-02-25 Ulrich Drepper <drepper@gmail.com>
8958 Carlos O'Donell <carlos@redhat.com>
8959
8960 [BZ #16613]
8961 * elf/dl-tls.c (_dl_count_modids): New function.
8962 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8963 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8964 audit library and increment generation counter.
8965 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8966 * elf/tst-audit9.c: New file.
8967 * elf/tst-auditmod9a.c: New file.
8968 * elf/tst-auditmod9b.c: New file.
8969 * elf/Makefile: Add rules to build and run tst-audit9.
8970
4cbf380c
FW
89712014-02-25 Florian Weimer <fweimer@redhat.com>
8972
8973 [BZ #15347]
8974 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8975
80a56cc3
WN
89762014-02-25 Will Newton <will.newton@linaro.org>
8977
8978 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8979 (__longjmp): Restore sp and lr before restoring callee
8980 saved registers. Add longjmp and longjmp_target
8981 SystemTap probe point.
8982 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8983 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8984 Define to zero to match jmpbuf layout.
8985 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8986 (__sigsetjmp): Save sp and lr before saving callee
8987 saved registers. Add setjmp SystemTap probe point.
8988
3ea0f74e
SL
89892014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8990
8991 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8992
b04acb26
AS
89932014-02-24 Andreas Schwab <schwab@suse.de>
8994
8995 [BZ #15804]
8996 * elf/pldd.c (wait_for_ptrace_stop): New function.
8997 (main): Call it after attaching.
8998
098ad55c
RM
89992014-02-22 Roland McGrath <roland@hack.frob.com>
9000
d4ec6ae1
RM
9001 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9002 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9003 Versions files is now verboten.
9004 * hurd/Versions (libc: GLIBC_2.0):
9005 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9006 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9007 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9008 * mach/Versions: Likewise.
9009
098ad55c
RM
9010 * csu/Versions: Remove unused %include.
9011 * resolv/Versions: Likewise.
9012
acd7f096
JM
90132014-02-21 Joseph Myers <joseph@codesourcery.com>
9014
f0881698
JM
9015 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9016 ($(objpfx)check-local-headers.out): Likewise.
9017 ($(objpfx)begin-end-check.out): Likewise.
9018 * Makerules (check-abi-%.out): Likewise.
9019 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9020 ($(objpfx)test2.cat): Likewise.
9021 ($(objpfx)de/libc.cat): Likewise.
9022 ($(objpfx)test-gencat.out): Likewise.
9023 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9024 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9025 ($(objpfx)noload-mem): Likewise.
9026 ($(objpfx)tst-pathopt.out): Likewise.
9027 ($(objpfx)tst-rtld-load-self.out): Likewise.
9028 ($(objpfx)tst-array1-cmp.out): Likewise.
9029 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9030 ($(objpfx)tst-array2-cmp.out): Likewise.
9031 ($(objpfx)tst-array3-cmp.out): Likewise.
9032 ($(objpfx)tst-array4-cmp.out): Likewise.
9033 ($(objpfx)tst-array5-cmp.out): Likewise.
9034 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9035 ($(objpfx)check-textrel.out): Likewise.
9036 ($(objpfx)check-execstack.out): Likewise.
9037 ($(objpfx)check-localplt.out): Likewise.
9038 ($(objpfx)order2-cmp.out): Likewise.
9039 ($(objpfx)tst-leaks1-mem): Likewise.
9040 ($(objpfx)tst-leaks1-static-mem): Likewise.
9041 ($(objpfx)tst-initorder-cmp.out): Likewise.
9042 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9043 ($(objpfx)tst-unused-dep.out): Likewise.
9044 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9045 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9046 * iconv/Makefile (test-iconvconfig): Likewise.
9047 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9048 ($(objpfx)iconv-test.out): Likewise.
9049 ($(objpfx)tst-tables.out): Likewise.
9050 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9051 ($(objpfx)tst-gettext.out): Likewise.
9052 ($(objpfx)tst-translit.out): Likewise.
9053 ($(objpfx)tst-gettext2.out): Likewise.
9054 ($(objpfx)tst-gettext4.out): Likewise.
9055 ($(objpfx)tst-gettext6.out): Likewise.
9056 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9057 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9058 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9059 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9060 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9061 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9062 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9063 ($(objpfx)wordexp-tst.out): Likewise.
9064 ($(objpfx)annexc.out): Likewise.
9065 ($(objpfx)tst-fnmatch-mem): Likewise.
9066 ($(objpfx)bug-regex2-mem): Likewise.
9067 ($(objpfx)bug-regex14-mem): Likewise.
9068 ($(objpfx)bug-regex21-mem): Likewise.
9069 ($(objpfx)bug-regex31-mem): Likewise.
9070 ($(objpfx)tst-vfork3-mem): Likewise.
9071 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9072 ($(objpfx)tst-pcre-mem): Likewise.
9073 ($(objpfx)tst-boost-mem): Likewise.
9074 ($(objpfx)tst-getconf.out): Likewise.
9075 ($(objpfx)bug-ga2-mem): Likewise.
9076 ($(objpfx)bug-glob2-mem): Likewise.
9077 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9078 ($(objpfx)mtrace-tst-leaks2): Likewise.
9079 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9080 ($(objpfx)tst-printf.out): Likewise.
9081 ($(objpfx)tst-setvbuf1.out): Likewise.
9082 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9083 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9084 ($(objpfx)tst-fmtmsg.out): Likewise.
9085 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9086 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9087
acd7f096
JM
9088 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9089 * bits/sigaction.h [__USE_MISC]: Likewise.
9090 * bits/waitstatus.h: Update #endif comments.
9091 * ctype/ctype.h: Likewise.
9092 * dirent/dirent.h: Likewise.
9093 [__USE_MISC]: Remove redundant conditionals.
9094 * grp/grp.h: Update #endif comments.
9095 [__USE_GNU]: Remove redundant conditionals.
9096 [__USE_MISC]: Likewise.
9097 * inet/netinet/in.h [__USE_GNU]: Likewise.
9098 * io/sys/stat.h [__USE_MISC]: Likewise.
9099 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9100 * libio/bits/stdio.h: Update #endif comments.
9101 [__USE_MISC]: Remove redundant conditionals.
9102 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9103 * libio/stdio.h: Update #endif comments.
9104 [__USE_MISC]: Remove redundant conditionals.
9105 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9106 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9107 * math/math.h: Update #else and #endif comments.
9108 [__USE_MISC]: Remove redundant conditionals.
9109 * misc/sys/uio.h: Update #endif comments.
9110 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9111 * posix/glob.h [__USE_MISC]: Likewise.
9112 * posix/sys/types.h: Update #endif comments.
9113 [__USE_MISC]: Remove redundant conditionals.
9114 * posix/sys/wait.h: Update #endif comments.
9115 [__USE_MISC]: Remove redundant conditionals.
9116 * posix/unistd.h: Update #endif comments.
9117 [__USE_MISC]: Remove redundant conditionals.
9118 * pwd/pwd.h [__USE_GNU]: Likewise.
9119 [__USE_MISC]: Likewise.
9120 * resolv/netdb.h [__USE_GNU]: Likewise.
9121 * signal/signal.h: Update #endif comments.
9122 [__USE_MISC]: Remove redundant conditionals.
9123 * stdlib/stdlib.h: Update #else and #endif comments.
9124 [__USE_MISC]: Remove redundant conditionals.
9125 [__USE_GNU]: Likewise.
9126 * string/bits/string2.h [__USE_MISC]: Likewise.
9127 * string/string.h: Update #endif comments.
9128 [__USE_MISC]: Remove redundant conditionals.
9129 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9130 Likewise.
9131 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9132 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9133 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9134 Likewise.
9135 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9136 Likewise.
9137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9138 comments.
9139 [__USE_MISC]: Remove redundant conditionals.
9140 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9141 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9142 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9143 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9144 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9145 Likewise.
9146 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9147 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9148 Likewise.
9149 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9150 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9151 Likewise.
9152 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9153 Likewise.
9154 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9155 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9156 Likewise.
9157 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9158 Likewise.
9159 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9160 * sysdeps/x86/bits/string.h: Update #endif comments.
9161 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9162 conditionals.
9163 * time/sys/time.h: Update #endif comments.
9164 * time/time.h: Likewise.
9165 [__USE_MISC]: Remove redundant conditionals.
9166
a5d82e4e
YG
91672014-02-21 Yury Gribov <y.gribov@samsung.com>
9168
9169 [BZ #16600]
9170 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9171
9a80491d
AS
91722014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9173
9174 * Versions.def (librt): Add GLIBC_2.17.
9175
105fa381
AC
91762014-02-21 Adam Conrad <adconrad@0c3.net>
9177
9178 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9179 synonym for _SYS_AUXV_H to allow direct inclusion.
9180 * sysdeps/sparc/bits/hwcap.h: Likewise.
9181 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9182 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9183 * sysdeps/sparc/sysdep.h: Likewise.
9184
b8cd1c4e
SP
91852014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9186
9187 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9188
bd939d23
RS
91892014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9190
9191 * benchtests/bench-strrchr.c: Print length instead of position.
9192
5d7b57ca
JM
91932014-02-20 Joseph Myers <joseph@codesourcery.com>
9194
bc688c10
JM
9195 [BZ #16611]
9196 * sysdeps/unix/sysv/linux/kernel-features.h
9197 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9198 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9199 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9200 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9201 Likewise.
9202 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9203 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9204 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9205 (__ASSUME_SENDMMSG): Define instead of using previous
9206 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9207 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9208 (__ASSUME_SENDMMSG_SYSCALL): Define.
9209 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9210 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9211 Likewise.
9212 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9213 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9214 Likewise.
9215 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9216 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9217 Likewise.
9218 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9219 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9220 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9221 [__ASSUME_SENDMMSG]: Change conditionals to
9222 [__ASSUME_SENDMMSG_SOCKETCALL].
9223 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9224 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9225 Define.
9226 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9227 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9228 Likewise.
9229 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9230 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9231 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9232 [!__ASSUME_SENDMMSG]: Change conditional to
9233 [!__ASSUME_SENDMMSG_SOCKETCALL].
9234 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9235 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9236 Define.
9237
0e31b18c
JM
9238 [BZ #16610]
9239 * sysdeps/unix/sysv/linux/kernel-features.h
9240 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9241 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9242 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9243 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9244 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9245 [__i386__ || __sparc__]
9246 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9247 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9248 (__ASSUME_RECVMMSG): Define instead of using previous
9249 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9250 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9251 (__ASSUME_RECVMMSG_SYSCALL): Define.
9252 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9253 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9254 Likewise.
9255 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9256 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9257 Likewise.
9258 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9259 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9260 Likewise.
9261 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9262 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9263 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9264 [__ASSUME_RECVMMSG]: Change condition to
9265 [__ASSUME_RECVMMSG_SOCKETCALL].
9266 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9267 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9268 Define.
9269 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9270 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9271 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9272 Likewise.
9273 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9274 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9275 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9276 [!__ASSUME_RECVMMSG]: Change condition to
9277 [!__ASSUME_RECVMMSG_SOCKETCALL].
9278 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9279 (__ASSUME_RECVMMSG_SYSCALL): Define.
9280
dd481ccf
JM
9281 [BZ #16609]
9282 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9283 __powerpc__ || __s390__ || __sh__ || __sparc__]
9284 (__ASSUME_SOCKETCALL): Define.
9285 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9286 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9287 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9288 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9289 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9290 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9291 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9292 (__ASSUME_ACCEPT4): Define instead of using previous
9293 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9294 __powerpc__ || __sparc__ || __s390__)] condition.
9295 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9296 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9297 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9298 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9299 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9300 [!__ASSUME_ACCEPT4]: Change condition to
9301 [!__ASSUME_ACCEPT4_SOCKETCALL].
9302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9303 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9304 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9306 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9307 __ASSUME_ACCEPT4_SYSCALL.
9308 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9309 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9310 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9311 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9312 __ASSUME_ACCEPT4_SYSCALL.
9313 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9314 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9315 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9316 [__ASSUME_ACCEPT4]: Change condition to
9317 [__ASSUME_ACCEPT4_SOCKETCALL].
9318 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9319 (__ASSUME_SOCKETCALL): Define.
9320 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9321 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9322 (__ASSUME_SOCKETCALL): Define.
9323 (__ASSUME_ACCEPT4): Remove.
9324 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9325 Define.
9326 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9327 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9328 Likewise.
9329 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9330 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9331
5d7b57ca
JM
9332 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9333 macro.
9334 (HWCAP_ARM_LPAE): Likewise.
9335 (HWCAP_ARM_EVTSTRM): Likewise.
9336 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9337 Add vpfd32, lpae and evtstrm.
9338 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9339 Increase to 22.
9340
63689d61
JM
93412014-02-19 Joseph Myers <joseph@codesourcery.com>
9342
9343 * math/auto-libm-test-in: Add tests of clog10.
9344 * math/auto-libm-test-out: Regenerated.
9345 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9346 * sysdeps/i386/fpu/libm-test-ulps: Update.
9347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9348
ab09bf61
AS
93492014-02-18 Andreas Schwab <schwab@suse.de>
9350
9351 [BZ #16574]
9352 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9353 Store non-zero if the second buffer was newly allocated.
9354 (send_dg): Likewise.
9355 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9356 to send_vc and send_dg.
9357 (res_nsend): Pass NULL for ansp2_malloced.
9358 * resolv/res_query.c (__libc_res_nquery): Add parameter
9359 answerp2_malloced and pass it down to __libc_res_nsend.
9360 (res_nquery): Pass additional NULL to __libc_res_nquery.
9361 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9362 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9363 second answer buffer if answerp2_malloced was set.
9364 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9365 (__libc_res_nquerydomain): Add parameter
9366 answerp2_malloced and pass it down to __libc_res_nquery.
9367 (res_nquerydomain): Pass additional NULL to
9368 __libc_res_nquerydomain.
9369 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9370 additional NULL to __libc_res_nsend and __libc_res_nquery.
9371 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9372 additional NULL to __libc_res_nsearch.
9373 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9374 parameter of __libc_res_nsearch to check for separately allocated
9375 second buffer.
9376 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9377 __libc_res_nquery.
9378 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9379 additional NULL to __libc_res_nquery.
9380 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9381 __libc_res_nsearch.
9382 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9383 * include/resolv.h: Update prototypes of __libc_res_nquery,
9384 __libc_res_nsearch, __libc_res_nsend.
9385
a4fb7861
JM
93862014-02-18 Joseph Myers <joseph@codesourcery.com>
9387
c6af2d89
JM
9388 * math/auto-libm-test-in: Add tests of fma.
9389 * math/auto-libm-test-out: Regenerated.
9390 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9391 (fma_towardzero_test_data): Likewise.
9392 (fma_downward_test_data): Likewise.
9393 (fma_upward_test_data): Likewise.
9394 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9395 mpc_mode.
9396 (rounding_modes): Add values for new field.
9397 (func_calc_method): Add value mpfr_fff_f.
9398 (func_calc_desc): Add mpfr_fff_f union field.
9399 (test_function): Add field exact_args.
9400 (FUNC): Add macro argument EXACT_ARGS.
9401 (FUNC_mpfr_f_f): Update call to FUNC.
9402 (FUNC_mpfr_f_f): Likewise.
9403 (FUNC_mpfr_ff_f): Likewise.
9404 (FUNC_mpfr_if_f): Likewise.
9405 (FUNC_mpc_c_f): Likewise.
9406 (FUNC_mpc_c_c): Likewise.
9407 (test_functions): Add fma. Update calls to FUNC.
9408 (handle_input_arg): Add argument exact_args.
9409 (add_test): Update call to handle_input_arg.
9410 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9411 (output_for_one_input_case): Update call to calc_generic_results.
9412 Recalculate exact zero results in each rounding mode.
9413
a4fb7861
JM
9414 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9415 non-negative before setting low bit.
9416 * math/auto-libm-test-in: Mark one asin test possibly having
9417 spurious underflow.
9418 * math/auto-libm-test-out: Regenerated.
9419 * sysdeps/i386/fpu/libm-test-ulps: Update.
9420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9421
ef114eaf
DH
94222014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9423
2b7f4f2c
SP
9424 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9425 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9426 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
9427 * README: Add missing listing for microblaze*-*-linux-gnu.
9428
c70a4b1d
MF
94292014-02-16 Mike Frysinger <vapier@gentoo.org>
9430
9431 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9432 * sysdeps/unix/sysv/linux/ia64: Move directory from
9433 ports/sysdeps/unix/sysv/linux/ia64.
9434 * README: Update listing for ia64-*-linux-gnu.
9435
591aeaf7
TD
94362014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9437 Joseph Myers <joseph@codesourcery.com>
9438
9439 * Makeconfig (test-name): New variable.
9440 (evaluate-test): Likewise.
9441 * Makerules (do-test-clean): Remove .test-result files.
9442 (common-mostlyclean): Likewise.
9443 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9444 * scripts/evaluate-test.sh: New file.
9445
6e89caf1
JM
94462014-02-14 Joseph Myers <joseph@codesourcery.com>
9447
7f98f180
JM
9448 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9449 separate $(objpfx)tst-fopenloc-cmp.out and
9450 $(objpfx)tst-fopenloc-mem.out targets.
9451 (tests): Update dependencies.
9452 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9453 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9454 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9455 (tst-rxspencer-no-utf8-ARGS): New variable.
9456 (tst-rxspencer-no-utf8-ENV): Likewise.
9457 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9458 instead of $(objpfx)tst-rxspencer-mem.
9459 ($(objpfx)tst-rxspencer-mem): Change target to
9460 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9461 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9462 * posix/tst-rxspencer-no-utf8.c: New file.
9463
6e89caf1
JM
9464 * elf/Makefile ($(objpfx)order.out): Remove rule.
9465 [$(run-built-tests) = yes] (tests): Depend on
9466 $(objpfx)order-cmp.out.
9467 ($(objpfx)order-cmp.out): New rule.
9468 [$(run-built-tests) = yes] (tests): Depend on
9469 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9470 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9471 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9472 $(objpfx)tst-array5-static-cmp.out.
9473 ($(objpfx)tst-array1.out): Remove rule.
9474 ($(objpfx)tst-array1-cmp.out): New rule.
9475 ($(objpfx)tst-array1-static.out): Remove rule.
9476 ($(objpfx)tst-array1-static-cmp.out): New rule.
9477 ($(objpfx)tst-array2.out): Remove rule.
9478 ($(objpfx)tst-array2-cmp.out): New rule.
9479 ($(objpfx)tst-array3.out): Remove rule.
9480 ($(objpfx)tst-array3-cmp.out): New rule.
9481 ($(objpfx)tst-array4.out): Remove rule.
9482 ($(objpfx)tst-array4-cmp.out): New rule.
9483 ($(objpfx)tst-array5.out): Remove rule.
9484 ($(objpfx)tst-array5-cmp.out): New rule.
9485 ($(objpfx)tst-array5-static.out): Remove rule.
9486 ($(objpfx)tst-array5-static-cmp.out): New rule.
9487 [$(run-built-tests) = yes] (tests): Depend on
9488 $(objpfx)order2-cmp.out.
9489 ($(objpfx)order2.out): Remove rule.
9490 ($(objpfx)order2-cmp.out): New rule.
9491 ($(objpfx)tst-initorder.out): Remove rule.
9492 [$(run-built-tests) = yes] (tests): Depend on
9493 $(objpfx)tst-initorder-cmp.out.
9494 ($(objpfx)tst-initorder-cmp.out): New rule.
9495 ($(objpfx)tst-initorder2.out): Remove rule.
9496 [$(run-built-tests) = yes] (tests): Depend on
9497 $(objpfx)tst-initorder2-cmp.out.
9498 ($(objpfx)tst-initorder2-cmp.out): New rule.
9499 [$(run-built-tests) = yes] (tests): Depend on
9500 $(objpfx)tst-unused-dep-cmp.out.
9501 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9502 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9503 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9504 on $(objpfx)tst-setvbuf1-cmp.out.
9505 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9506 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9507 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9508 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9509 ($(objpfx)tst-svc.out): Remove rule.
9510 ($(objpfx)tst-svc-cmp.out): New rule.
9511
ed9a38e2
JM
95122014-02-13 Joseph Myers <joseph@codesourcery.com>
9513
9514 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9515 * ctype/ctype.h [__USE_MISC]: Likewise.
9516 * dirent/dirent.h [__USE_MISC]: Likewise.
9517 * grp/grp.h [__USE_MISC]: Likewise.
9518 * io/fcntl.h [__USE_MISC]: Likewise.
9519 * io/sys/stat.h [__USE_MISC]: Likewise.
9520 * libio/stdio.h [__USE_MISC]: Likewise.
9521 * posix/unistd.h [__USE_MISC]: Likewise.
9522 * pwd/pwd.h [__USE_MISC]: Likewise.
9523 * stdlib.h [__USE_MISC]: Likewise.
9524 * string/bits/string2.h [__USE_MISC]: Likewise.
9525 * string/string.h [__USE_MISC]: Likewise.
9526 * time/time.h [__USE_MISC]: Likewise.
9527
d6680619
AS
95282014-02-13 Andreas Schwab <schwab@suse.de>
9529
9530 [BZ #16574]
9531 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9532 second answer buffer if it was separately allocated.
9533
ace614b8
JM
95342014-02-12 Joseph Myers <joseph@codesourcery.com>
9535
743151ae
JM
9536 * sysdeps/mips/math-tests.h: Include <features.h>.
9537 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9538 (ROUNDING_TESTS_long_double): Do not define.
9539 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9540 (EXCEPTION_TESTS_long_double): Likewise.
9541 * sysdeps/mips/mips64/libm-test-ulps: Update.
9542
498afc54
JM
9543 * include/features.h (__USE_BSD): Remove macro definitions.
9544 (__USE_SVID): Likewise.
9545 (_BSD_SOURCE): Likewise.
9546 (_SVID_SOURCE): Likewise.
9547 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9548 from definition of _DEFAULT_SOURCE.
9549 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9550 [_DEFAULT_SOURCE].
9551 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9552 * bits/mman.h [__USE_BSD]: Likewise.
9553 * bits/termios.h [__USE_BSD]: Likewise.
9554 * bits/waitstatus.h [__USE_BSD]: Likewise.
9555 * ctype/ctype.h [__USE_SVID]: Likewise.
9556 * dirent/dirent.h [__USE_BSD]: Likewise.
9557 * grp/grp.h [__USE_SVID]: Likewise.
9558 [__USE_BSD]: Likewise.
9559 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9560 * io/fcntl.h [__USE_BSD]: Likewise.
9561 * io/ftw.h [__USE_BSD]: Likewise.
9562 * io/sys/stat.h [__USE_BSD]: Likewise.
9563 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9564 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9565 * libio/stdio.h [__USE_SVID]: Likewise.
9566 [__USE_BSD]: Likewise.
9567 * math/math.h [__USE_SVID]: Likewise.
9568 [__USE_BSD]: Likewise.
9569 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9570 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9571 * misc/search.h [__USE_SVID]: Likewise.
9572 * misc/sys/mman.h [__USE_BSD]: Likewise.
9573 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9574 * misc/sys/uio.h [__USE_BSD]: Likewise.
9575 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9576 * posix/glob.h [__USE_BSD]: Likewise.
9577 * posix/regex.h [__USE_BSD]: Likewise.
9578 * posix/sys/types.h [__USE_BSD]: Likewise.
9579 [__USE_SVID]: Likewise.
9580 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9581 * posix/sys/wait.h [__USE_BSD]: Likewise.
9582 [__USE_SVID]: Likewise.
9583 * posix/unistd.h [__USE_BSD]: Likewise.
9584 [__USE_SVID]: Likewise.
9585 * pwd/pwd.h [__USE_SVID]: Likewise.
9586 * resolv/netdb.h [__USE_BSD]: Likewise.
9587 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9588 * signal/signal.h [__USE_BSD]: Likewise.
9589 [__USE_SVID]: Likewise.
9590 * socket/sys/socket.h [__USE_BSD]: Likewise.
9591 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9592 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9593 [__USE_SVID]: Likewise.
9594 * string/bits/string2.h [__USE_BSD]: Likewise.
9595 [__USE_SVID]: Likewise.
9596 * string/bits/string3.h [__USE_BSD]: Likewise.
9597 * string/endian.h [__USE_BSD]: Likewise.
9598 * string/string.h [__USE_SVID]: Likewise.
9599 [__USE_BSD]: Likewise.
9600 * string/strings.h [__USE_BSD]: Likewise.
9601 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9602 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9603 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9604 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9605 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9606 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9607 Likewise.
9608 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9609 Likewise.
9610 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9611 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9612 Likewise.
9613 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9614 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9615 Likewise.
9616 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9617 Likewise.
9618 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9619 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9620 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9621 Likewise.
9622 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9623 Likewise.
9624 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9625 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9626 * termios/termios.h [__USE_BSD]: Likewise.
9627 * time/sys/time.h [__USE_BSD]: Likewise.
9628 * time/time.h [__USE_BSD]: Likewise.
9629 [__USE_SVID]: Likewise.
9630
dd7b064c
JM
9631 * Makefile (subdir_targets): Remove subdir_lint.out.
9632
a2c4c199
JM
9633 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9634 (do-tst-printf): Likewise.
9635 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9636 $(objpfx)tst-printf.out.
9637
8756f740
JM
9638 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9639
1b6dd3f1
JM
9640 * Makerules (check-abi-%): Change target to
9641 $(objpfx)check-abi-%.out.
9642 (check-abi target): Update dependencies.
9643 (check-abi-pattern variable): Redirect output of diff to $@.
9644 (check-abi variable): Likewise.
9645 * elf/Makefile (check-abi): Update dependencies.
9646
ace614b8
JM
9647 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9648 unused.
9649 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9650 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9651 subnormal range.
9652 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9653 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9654 value has largest subnormal exponent.
9655 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9656 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9657 * sysdeps/aarch64/soft-fp/sfp-machine.h
9658 (_FP_TININESS_AFTER_ROUNDING): New macro.
9659 * sysdeps/alpha/soft-fp/sfp-machine.h
9660 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9661 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9662 Likewise.
9663 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9664 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9665 * sysdeps/mips/soft-fp/sfp-machine.h
9666 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9667 * sysdeps/powerpc/soft-fp/sfp-machine.h
9668 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9669 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9670 Likewise.
9671 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9672 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9673 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9674 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9675 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9676 Likewise.
9677
fbfdf9cb
DAS
96782014-02-12 Dylan Alex Simon <dylan@dylex.net>
9679
9680 [BZ #16545]
9681 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9682 model 1.
9683
68b7efaa
RH
96842014-02-12 Richard Henderson <rth@redhat.com>
9685
c70a4b1d 9686 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9687 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9688 * sysdeps/unix/sysv/linux/alpha: Move directory from
9689 ports/sysdeps/unix/sysv/linux/alpha.
9690 * README: Update listing for alpha-*-linux-gnu.
9691
cb4a2928
JM
96922014-02-11 Joseph Myers <joseph@codesourcery.com>
9693
c941736c
JM
9694 * include/features.h: Update comment documenting feature test
9695 macros.
9696 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9697 _DEFAULT_SOURCE.
9698 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9699 (_SVID_SOURCE): Likewise.
9700 (_DEFAULT_SOURCE): Update description of default features.
9701 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9702 with _GNU_SOURCE.
9703 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9704 (S_ISVTX): Likewise.
9705 * manual/math.texi (Mathematical Constants): Likewise.
9706 * manual/signal.texi (Interrupted Primitives): Likewise.
9707 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9708 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9709 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9710 Don't refer to _SVID_SOURCE in warning text.
9711
e8d8d7ec
JM
9712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9713
cb4a2928
JM
9714 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9715 already defined.
9716 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9717 * sysdeps/mips/dl-lookup.c: Remove.
9718 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9719
7e6424e3
AK
97202014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9721
9722 [BZ #16447]
9723 * math/auto-libm-test-in: Add testcase for expl.
9724 * math/auto-libm-test-out: Regenerate.
9725 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9726 calculation of unsafe.
9727 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9728
75eff3fe
MS
97292014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9730
9731 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9732 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9733 ports/sysdeps/unix/sysv/linux/aarch64.
9734 * README: Update listing for aarch64*-*-linux-gnu.
9735
d35f1e80
WN
97362014-02-11 Will Newton <will.newton@linaro.org>
9737
9738 * manual/probes.texi (Mathematical Function Probes): Use
9739 "triggered" instead of "hit".
9740
7b3436d4
WN
9741 * manual/probes.texi (Internal Probes): Add documentation
9742 of setjmp, longjmp and longjmp_target probes.
9743
b4f12ca3
WN
9744 * include/stap-probe.h: Add comment about probe argument
9745 format.
9746
c13a72b7
WN
9747 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9748 definition. (tr_where, tr_freehook, tr_mallochook,
9749 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9750
195b8165
DM
97512014-02-11 David S. Miller <davem@davemloft.net>
9752
9753 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9754 processing int_tests.
9755
2ad7600b
JM
97562014-02-10 Joseph Myers <joseph@codesourcery.com>
9757
9758 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9759 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9760 * sysdeps/unix/sysv/linux/mips: Move directory from
9761 ports/sysdeps/unix/sysv/linux/mips.
9762 * README: Update listing for mips-*-linux-gnu and
9763 mips64-*-linux-gnu.
9764
73588a72
AS
97652014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9766
9767 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9768 * sysdeps/unix/sysv/linux/m68k: Move directory from
9769 ports/sysdeps/unix/sysv/linux/m68k.
9770 * README: Update listing for m68k-*-linux-gnu.
9771
4372980f
CM
97722014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9773
9774 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9775 * sysdeps/unix/sysv/linux/generic: Move directory from
9776 ports/sysdeps/unix/sysv/linux/generic.
9777 * sysdeps/unix/sysv/linux/tile: Move directory from
9778 ports/sysdeps/unix/sysv/linux/tile.
9779 * README: Update listing for tile*-*-linux-gnu.
9780
a1ffb40e
OB
97812014-02-10 Ondřej Bílka <neleai@seznam.cz>
9782
57f41c40
AS
9783 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9784 __builtin_expect.
a1ffb40e
OB
9785 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9786 * catgets/open_catalog.c (__open_catalog): Likewise.
9787 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9788 * debug/confstr_chk.c: Likewise.
9789 * debug/fread_chk.c (__fread_chk): Likewise.
9790 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9791 * debug/getgroups_chk.c: Likewise.
9792 * debug/mbsnrtowcs_chk.c: Likewise.
9793 * debug/mbsrtowcs_chk.c: Likewise.
9794 * debug/mbstowcs_chk.c: Likewise.
9795 * debug/memcpy_chk.c: Likewise.
9796 * debug/memmove_chk.c: Likewise.
9797 * debug/mempcpy_chk.c: Likewise.
9798 * debug/memset_chk.c: Likewise.
9799 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9800 * debug/strcat_chk.c (__strcat_chk): Likewise.
9801 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9802 * debug/strncat_chk.c (__strncat_chk): Likewise.
9803 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9804 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9805 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9806 * debug/wcpncpy_chk.c: Likewise.
9807 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9808 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9809 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9810 * debug/wcsncpy_chk.c: Likewise.
9811 * debug/wcsnrtombs_chk.c: Likewise.
9812 * debug/wcsrtombs_chk.c: Likewise.
9813 * debug/wcstombs_chk.c: Likewise.
9814 * debug/wmemcpy_chk.c: Likewise.
9815 * debug/wmemmove_chk.c: Likewise.
9816 * debug/wmempcpy_chk.c: Likewise.
9817 * debug/wmemset_chk.c: Likewise.
9818 * dirent/scandirat.c (SCANDIRAT): Likewise.
9819 * dlfcn/dladdr1.c (dladdr1): Likewise.
9820 * dlfcn/dladdr.c (dladdr): Likewise.
9821 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9822 * dlfcn/dlerror.c (__dlerror): Likewise.
9823 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9824 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9825 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9826 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9827 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9828 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9829 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9830 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9831 Likewise.
9832 * elf/dl-conflict.c: Likewise.
9833 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9834 * elf/dl-dst.h: Likewise.
9835 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9836 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9837 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9838 * elf/dl-init.c (call_init, _dl_init): Likewise.
9839 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9840 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9841 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9842 Likewise.
a1ffb40e
OB
9843 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9844 Likewise.
9845 * elf/dl-minimal.c (__libc_memalign): Likewise.
9846 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9847 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9848 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9849 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9850 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9851 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9852 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9853 * elf/dl-writev.h (_dl_writev): Likewise.
9854 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9855 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9856 (dl_main): Likewise.
a1ffb40e
OB
9857 * elf/setup-vdso.h (setup_vdso): Likewise.
9858 * grp/compat-initgroups.c (compat_call): Likewise.
9859 * grp/fgetgrent.c (fgetgrent): Likewise.
9860 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9861 * grp/putgrent.c (putgrent): Likewise.
9862 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9863 Likewise.
9864 * hurd/hurdinit.c: Likewise.
9865 * iconvdata/8bit-gap.c (struct): Likewise.
9866 * iconvdata/ansi_x3.110.c : Likewise.
9867 * iconvdata/big5.c : Likewise.
9868 * iconvdata/big5hkscs.c : Likewise.
9869 * iconvdata/cp1255.c: Likewise.
9870 * iconvdata/cp1258.c : Likewise.
9871 * iconvdata/cp932.c : Likewise.
9872 * iconvdata/euc-cn.c: Likewise.
9873 * iconvdata/euc-jisx0213.c : Likewise.
9874 * iconvdata/euc-jp.c: Likewise.
9875 * iconvdata/euc-jp-ms.c : Likewise.
9876 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9877 * iconvdata/gb18030.c : Likewise.
9878 * iconvdata/gbbig5.c (const): Likewise.
9879 * iconvdata/gbgbk.c: Likewise.
9880 * iconvdata/gbk.c : Likewise.
9881 * iconvdata/ibm1364.c : Likewise.
9882 * iconvdata/ibm930.c : Likewise.
9883 * iconvdata/ibm932.c: Likewise.
9884 * iconvdata/ibm933.c : Likewise.
9885 * iconvdata/ibm935.c : Likewise.
9886 * iconvdata/ibm937.c : Likewise.
9887 * iconvdata/ibm939.c : Likewise.
9888 * iconvdata/ibm943.c: Likewise.
9889 * iconvdata/iso_11548-1.c: Likewise.
9890 * iconvdata/iso-2022-cn.c : Likewise.
9891 * iconvdata/iso-2022-cn-ext.c : Likewise.
9892 * iconvdata/iso-2022-jp-3.c: Likewise.
9893 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9894 * iconvdata/iso-2022-kr.c : Likewise.
9895 * iconvdata/iso646.c (gconv_end): Likewise.
9896 * iconvdata/iso_6937-2.c : Likewise.
9897 * iconvdata/iso_6937.c : Likewise.
9898 * iconvdata/iso8859-1.c: Likewise.
9899 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9900 * iconvdata/shift_jisx0213.c : Likewise.
9901 * iconvdata/sjis.c : Likewise.
9902 * iconvdata/t.61.c : Likewise.
9903 * iconvdata/tcvn5712-1.c : Likewise.
9904 * iconvdata/tscii.c: Likewise.
9905 * iconvdata/uhc.c : Likewise.
9906 * iconvdata/unicode.c (gconv_end): Likewise.
9907 * iconvdata/utf-16.c (gconv_end): Likewise.
9908 * iconvdata/utf-32.c (gconv_end): Likewise.
9909 * iconvdata/utf-7.c (base64): Likewise.
9910 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9911 * iconv/gconv_close.c (__gconv_close): Likewise.
9912 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9913 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9914 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9915 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9916 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9917 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9918 * iconv/iconv.c (iconv): Likewise.
9919 * iconv/iconv_close.c: Likewise.
9920 * iconv/loop.c (SINGLE): Likewise.
9921 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9922 * include/atomic.h: Likewise.
9923 * inet/inet6_option.c (option_alloc): Likewise.
9924 * intl/bindtextdom.c (set_binding_values): Likewise.
9925 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9926 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9927 * intl/localealias.c (read_alias_file): Likewise.
9928 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9929 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9930 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9931 * libio/fmemopen.c (fmemopen): Likewise.
9932 * libio/iofgets.c (_IO_fgets): Likewise.
9933 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9934 * libio/iofgetws.c (fgetws): Likewise.
9935 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9936 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9937 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9938 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9939 * locale/findlocale.c (_nl_find_locale): Likewise.
9940 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9941 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9942 Likewise.
9943 * locale/setlocale.c (setlocale): Likewise.
9944 * login/programs/pt_chown.c (main): Likewise.
9945 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9946 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9947 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9948 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9949 * math/e_exp2l.c: Likewise.
9950 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9951 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9952 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9953 * math/s_catan.c (__catan): Likewise.
9954 * math/s_catanf.c (__catanf): Likewise.
9955 * math/s_catanh.c (__catanh): Likewise.
9956 * math/s_catanhf.c (__catanhf): Likewise.
9957 * math/s_catanhl.c (__catanhl): Likewise.
9958 * math/s_catanl.c (__catanl): Likewise.
9959 * math/s_ccosh.c (__ccosh): Likewise.
9960 * math/s_ccoshf.c (__ccoshf): Likewise.
9961 * math/s_ccoshl.c (__ccoshl): Likewise.
9962 * math/s_cexp.c (__cexp): Likewise.
9963 * math/s_cexpf.c (__cexpf): Likewise.
9964 * math/s_cexpl.c (__cexpl): Likewise.
9965 * math/s_clog10.c (__clog10): Likewise.
9966 * math/s_clog10f.c (__clog10f): Likewise.
9967 * math/s_clog10l.c (__clog10l): Likewise.
9968 * math/s_clog.c (__clog): Likewise.
9969 * math/s_clogf.c (__clogf): Likewise.
9970 * math/s_clogl.c (__clogl): Likewise.
9971 * math/s_csin.c (__csin): Likewise.
9972 * math/s_csinf.c (__csinf): Likewise.
9973 * math/s_csinh.c (__csinh): Likewise.
9974 * math/s_csinhf.c (__csinhf): Likewise.
9975 * math/s_csinhl.c (__csinhl): Likewise.
9976 * math/s_csinl.c (__csinl): Likewise.
9977 * math/s_csqrt.c (__csqrt): Likewise.
9978 * math/s_csqrtf.c (__csqrtf): Likewise.
9979 * math/s_csqrtl.c (__csqrtl): Likewise.
9980 * math/s_ctan.c (__ctan): Likewise.
9981 * math/s_ctanf.c (__ctanf): Likewise.
9982 * math/s_ctanh.c (__ctanh): Likewise.
9983 * math/s_ctanhf.c (__ctanhf): Likewise.
9984 * math/s_ctanhl.c (__ctanhl): Likewise.
9985 * math/s_ctanl.c (__ctanl): Likewise.
9986 * math/w_pow.c: Likewise.
9987 * math/w_powf.c: Likewise.
9988 * math/w_powl.c: Likewise.
9989 * math/w_scalb.c (sysv_scalb): Likewise.
9990 * math/w_scalbf.c (sysv_scalbf): Likewise.
9991 * math/w_scalbl.c (sysv_scalbl): Likewise.
9992 * misc/error.c (error_tail): Likewise.
9993 * misc/pselect.c (__pselect): Likewise.
9994 * nis/nis_callback.c (__nis_create_callback): Likewise.
9995 * nis/nis_call.c (__nisfind_server): Likewise.
9996 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9997 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9998 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9999 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10000 * nis/nis_lookup.c (nis_lookup): Likewise.
10001 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10002 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10003 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10004 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10005 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10006 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10007 * nis/nss_compat/compat-initgroups.c (add_group)
10008 (internal_getgrent_r): Likewise.
10009 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10010 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10011 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10012 (internal_getspnam_r): Likewise.
10013 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10014 (_nss_nis_getaliasbyname_r): Likewise.
10015 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10016 (_nss_nis_getntohost_r): Likewise.
10017 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10018 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10019 (_nss_nis_getgrgid_r): Likewise.
10020 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10021 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10022 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10023 (_nss_nis_gethostbyname4_r): Likewise.
10024 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10025 (initgroups_netid): Likewise.
a1ffb40e 10026 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10027 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10028 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10029 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10030 (_nss_nis_getprotobynumber_r): Likewise.
10031 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10032 (_nss_nis_getsecretkey): Likewise.
10033 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10034 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10035 (_nss_nis_getpwuid_r): Likewise.
10036 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10037 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10038 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10039 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10040 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10041 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10042 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10043 Likewise.
57f41c40
AS
10044 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10045 (_nss_nisplus_getntohost_r): Likewise.
10046 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10047 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10048 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10049 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10050 Likewise.
57f41c40
AS
10051 * nis/nss_nisplus/nisplus-initgroups.c
10052 (_nss_nisplus_initgroups_dyn): Likewise.
10053 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10054 (_nss_nisplus_getnetbyaddr_r): Likewise.
10055 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10056 (_nss_nisplus_getprotobynumber_r): Likewise.
10057 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10058 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10059 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10060 Likewise.
57f41c40
AS
10061 * nis/nss_nisplus/nisplus-service.c
10062 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10063 (_nss_nisplus_getservbyport_r): Likewise.
10064 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10065 (_nss_nisplus_getspnam_r): Likewise.
10066 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10067 Likewise.
a1ffb40e
OB
10068 * nscd/aicache.c (addhstaiX): Likewise.
10069 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10070 * nscd/connections.c (register_traced_file, send_ro_fd)
10071 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10072 (main_loop_epoll): Likewise.
a1ffb40e
OB
10073 * nscd/grpcache.c (addgrbyX): Likewise.
10074 * nscd/hstcache.c (addhstbyX): Likewise.
10075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10076 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10077 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10078 (addinnetgrX): Likewise.
10079 * nscd/nscd-client.h (__nscd_acquire_maplock)
10080 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10081 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10082 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10083 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10084 Likewise.
10085 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10086 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10087 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10088 (__nscd_get_map_ref): Likewise.
a1ffb40e 10089 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10090 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10091 Likewise.
a1ffb40e
OB
10092 * nscd/pwdcache.c (addpwbyX): Likewise.
10093 * nscd/selinux.c (preserve_capabilities): Likewise.
10094 * nscd/servicescache.c (addservbyX): Likewise.
10095 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10096 * posix/fnmatch.c (fnmatch): Likewise.
10097 * posix/getopt.c (_getopt_internal_r): Likewise.
10098 * posix/glob.c (glob, glob_in_dir): Likewise.
10099 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10100 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10101 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10102 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10103 * resolv/res_init.c: Likewise.
10104 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10105 * resolv/res_query.c (__libc_res_nquery): Likewise.
10106 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10107 Likewise.
10108 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10109 * stdio-common/perror.c (perror): Likewise.
10110 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10111 * stdio-common/tmpnam.c (tmpnam): Likewise.
10112 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10113 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10114 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10115 Likewise.
a1ffb40e
OB
10116 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10117 * stdlib/putenv.c (putenv): Likewise.
10118 * stdlib/setenv.c (__add_to_environ): Likewise.
10119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10120 * stdlib/strtol_l.c (INTERNAL): Likewise.
10121 * string/memmem.c (memmem): Likewise.
10122 * string/strerror.c (strerror): Likewise.
10123 * string/strnlen.c (__strnlen): Likewise.
10124 * string/test-memmem.c (simple_memmem): Likewise.
10125 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10126 * sunrpc/pm_getport.c (__get_socket): Likewise.
10127 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10128 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10129 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10130 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10131 Likewise.
10132 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10133 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10134 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10135 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10136 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10137 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10138 Likewise.
10139 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10140 Likewise.
a1ffb40e
OB
10141 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10142 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10143 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10144 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10145 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10147 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10148 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10149 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10150 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10151 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10152 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10153 Likewise.
10154 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10155 Likewise.
10156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10157 Likewise.
10158 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10160 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10161 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10162 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10163 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10164 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10165 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10167 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10171 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10173 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10174 Likewise.
a1ffb40e
OB
10175 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10176 Likewise.
10177 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10178 Likewise.
10179 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10180 Likewise.
10181 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10182 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10183 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10184 Likewise.
10185 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10186 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10187 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10188 * sysdeps/posix/sleep.c: Likewise.
10189 * sysdeps/posix/tempname.c: Likewise.
10190 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10191 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10192 Likewise.
57f41c40
AS
10193 * sysdeps/powerpc/powerpc32/dl-machine.h
10194 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10195 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10197 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10198 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10199 Likewise.
10200 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10201 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10202 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10203 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10204 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10205 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10206 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10207 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10208 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10209 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10210 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10211 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10212 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10214 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10215 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10216 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10217 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10218 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10219 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10220 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10221 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10223 Likewise.
10224 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10225 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10226 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10227 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10228 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10229 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10230 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10231 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10232 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10233 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10234 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10235 Likewise.
10236 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10237 (__posix_fallocate64_l64): Likewise.
10238 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10239 (posix_fallocate): Likewise.
57f41c40
AS
10240 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10241 Likewise.
a1ffb40e 10242 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10243 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10244 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10245 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10246 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10247 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10248 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10249 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10250 (__posix_fallocate64_l64): Likewise.
10251 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10252 Likewise.
10253 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10254 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10255 (__get_clockfreq): Likewise.
a1ffb40e
OB
10256 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10257 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10258 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10260 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10261 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10262 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10263 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10264 Likewise.
10265 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10266 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10267 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10268 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10269 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10270 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10271 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10272 Likewise.
10273 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10274 (posix_fallocate): Likewise.
10275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10276 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10277 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10278 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10279 (elf_machine_rela, elf_machine_rela_relative)
10280 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10281 * time/asctime.c (asctime_internal): Likewise.
10282 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10283 * time/tzset.c (__tzset_parse_tz): Likewise.
10284 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10285 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10286 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10287 * wcsmbs/wcsmbsload.h: Likewise.
10288
f3d338c9
OB
10289 [BZ #15894]
10290 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10291
57f41c40
AS
10292 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10293 (arena_get2): Remove THREAD_STATS conditionals.
10294 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10295 (__malloc_stats, int): Likewise.
bdfe308a 10296
d674667c
MF
102972014-02-08 Mike Frysinger <vapier@gentoo.org>
10298
10299 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10300 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10301
6349768c
MF
10302 * manual/setjmp.texi: Fix typos/grammar errors.
10303
0b7c7473
MF
10304 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10305 Only return early when n is <= 0. Delete unused return statement.
10306
ac8cc9e3
MF
10307 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10308 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10309 * debug/tst-longjmp_chk3.c: New file.
10310
c5bb8e23
MF
10311 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10312 (test_main): Replace code with set_fortify_handler call.
10313 * debug/test-strcpy_chk.c: Likewise.
10314 * debug/tst-chk1.c: Likewise.
10315 * debug/tst-longjmp_chk.c: Likewise.
10316 * test-skeleton.c: Include fcntl.h & paths.h
10317 (set_fortify_handler): Define.
10318
10444e42
MF
10319 * debug/tst-longjmp_chk.c: Add header comment and include
10320 ../test-skeleton.c.
10321 (do_test): Mark static.
10322 (TEST_FUNCTION): Define.
10323
1e805e8d
MF
10324 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10325 (IP_PMTUDISC_INTERFACE): Likewise.
10326 (IP_MULTICAST_IF): Likewise.
10327 (IP_MULTICAST_TTL): Likewise.
10328 (IP_MULTICAST_LOOP): Likewise.
10329 (IP_ADD_MEMBERSHIP): Likewise.
10330 (IP_DROP_MEMBERSHIP): Likewise.
10331 (IP_UNBLOCK_SOURCE): Likewise.
10332 (IP_BLOCK_SOURCE): Likewise.
10333 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10334 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10335 (IP_MSFILTER): Likewise.
10336 (MCAST_JOIN_GROUP): Likewise.
10337 (MCAST_BLOCK_SOURCE): Likewise.
10338 (MCAST_UNBLOCK_SOURCE): Likewise.
10339 (MCAST_LEAVE_GROUP): Likewise.
10340 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10341 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10342 (MCAST_MSFILTER): Likewise.
10343 (IP_MULTICAST_ALL): Likewise.
10344 (IP_UNICAST_IF): Likewise.
10345
73f79bb7
MF
10346 * timezone/Makefile: Delete $(have-ksh) check.
10347 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10348 * timezone/tzselect.ksh: Add +x mode bits.
10349
8da79b60
MF
10350 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10351 (ANON_INODE_FS_MAGIC): Likewise.
10352 (BDEVFS_MAGIC): Likewise.
10353 (BINFMTFS_MAGIC): Likewise.
10354 (BTRFS_TEST_MAGIC): Likewise.
10355 (CRAMFS_MAGIC_WEND): Likewise.
10356 (DEBUGFS_MAGIC): Likewise.
10357 (ECRYPTFS_SUPER_MAGIC): Likewise.
10358 (EXT3_SUPER_MAGIC): Likewise.
10359 (EXT4_SUPER_MAGIC): Likewise.
10360 (FUTEXFS_SUPER_MAGIC): Likewise.
10361 (HOSTFS_SUPER_MAGIC): Likewise.
10362 (HUGETLBFS_MAGIC): Likewise.
10363 (MINIX3_SUPER_MAGIC): Likewise.
10364 (MTD_INODE_FS_MAGIC): Likewise.
10365 (NILFS_SUPER_MAGIC): Likewise.
10366 (OPENPROM_SUPER_MAGIC): Likewise.
10367 (PIPEFS_MAGIC): Likewise.
10368 (PSTOREFS_MAGIC): Likewise.
10369 (QNX6_SUPER_MAGIC): Likewise.
10370 (RAMFS_MAGIC): Likewise.
10371 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10372 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10373 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10374 (SECURITYFS_MAGIC): Likewise.
10375 (SELINUX_MAGIC): Likewise.
10376 (SMACK_MAGIC): Likewise.
10377 (SOCKFS_MAGIC): Likewise.
10378 (SQUASHFS_MAGIC): Likewise.
10379 (STACK_END_MAGIC): Likewise.
10380 (TMPFS_MAGIC): Likewise.
10381 (USBDEVICE_SUPER_MAGIC): Likewise.
10382 (V9FS_MAGIC): Likewise.
10383 (XENFS_SUPER_MAGIC): Likewise.
10384 (CRAMFS_MAGIC): Fix typo in comment.
10385 (EXT2_SUPER_MAGIC): Update comment.
10386 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10387
464263cc
JM
103882014-02-08 Joseph Myers <joseph@codesourcery.com>
10389
c6bfe5c4
JM
10390 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10391 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10392 * sysdeps/unix/sysv/linux/arm: Move directory from
10393 ports/sysdeps/unix/sysv/linux/arm.
10394 * README: Update listing for arm-*-linux-gnueabi.
10395
464263cc
JM
10396 * README: Remove mention of am33.
10397
32749f6c
RM
103982014-02-07 Roland McGrath <roland@hack.frob.com>
10399
10400 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10401 than the comma operator, to avoid "rhs of comma has no effect"
10402 compiler warnings.
10403 (__sigfillset, __sigandset, __sigorset): Likewise.
10404 * include/signal.h (__sigemptyset): Likewise.
10405 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10406
d5b396c1
AM
104072014-02-07 Allan McRae <allan@archlinux.org>
10408
10409 * version.h (RELEASE): Set to "development".
10410 (VERSION): Set to "2.19.90"
10411 * NEWS: Add 2.20 section.
10412
3bfff2ed
CD
104132014-02-06 Carlos O'Donell <carlos@redhat.com>
10414
10415 [BZ #16529]
10416 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10417
ee7cc385
SP
104182014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10419
10420 * manual/contrib.texi: Update entry for Carlos O'Donell,
10421 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10422
f877c4f2
CD
104232014-02-05 Carlos O'Donell <carlos@rehdat.com>
10424
27e839f6
CD
10425 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10426
f877c4f2
CD
10427 * sysdeps/unix/sysv/linux/kernel-features.h
10428 [__LINUX_KERNEL_VERSION >= 0x020621]
10429 (__ASSUME_PROC_PID_TASK_COMM): Define.
10430
68159946
SP
104312014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10432
ba17cdbd
SP
10433 [BZ #16398]
10434 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10435 conversion when destination buffer does not have enough space.
10436 * libio/tst-ftell-partial-wide.c: New test case.
10437 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10438
68159946
SP
10439 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10440 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10441 Leonard and Allan McRae.
10442
2b528732
DM
104432014-02-04 David S. Miller <davem@davemloft.net>
10444
10445 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10446 32-bit.
10447
0ff82463
AZ
104482014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10449
57f41c40
AS
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10451 New file
c01603f7
AZ
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10453 New file
57f41c40
AS
10454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10455 New file.
10456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10457 New file.
c01603f7
AZ
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10459 New file.
57f41c40
AS
10460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10461 New file.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10463 New file.
c01603f7
AZ
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10465 New file.
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10467 New file.
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10469 New file.
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10471 New file.
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10473 New file.
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10475 New file.
10476
104772014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10478
0ff82463
AZ
10479 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10480 * shlib-versions: Likewise.
10481
1695c773
AZ
104822014-02-04 Roland McGrath <roland@hack.frob.com>
10483 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10484
10485 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10486 (abilist-pattern): New variable, set to %-le.abilist.
10487
10488 * Makerules (abilist-pattern): New variable.
10489 (vpath): Use $(abilist-pattern) in place of %.abilist.
10490 (check-abi-% pattern rule): Likewise.
10491 (check-abi, update-abi): Likewise.
10492
6c0ce4b4
EW
104932014-02-04 Eric Wong <normalperson@yhbt.net>
10494
10495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10496
481e3524
CD
104972014-02-03 Carlos O'Donell <carlos@redhat.com>
10498
10499 * manual/startup.texi: Add next, previous, and top entries for
10500 the `Program Arguments' and `Environment Variables' nodes.
10501
375592d3
AO
105022014-02-03 Alexandre Oliva <aoliva@redhat.com>
10503
10504 * manual/macros.texi: Add comments before MTASC-safety macros.
10505
f54838ba
AO
10506 * manual/users.texi: Document MTASC-safety properties.
10507
57f41c40
AS
10508 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10509 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
10510 @deftypefun, and add @safety note.
10511 * manual/signal.texi: Move comments that analyze the above
10512 functions to their home place.
10513
fd3daba4
AM
105142014-02-03 Allan McRae <allan@archlinux.org>
10515
10516 * po/sl.po: Update Slovenian translation from translation project.
10517
597636d7
AO
105182014-02-02 Alexandre Oliva <aoliva@redhat.com>
10519
10520 * manual/time.texi (timegm): Add missing blank after @c.
10521 Reported by Joseph Myers <joseph@codesourcery.com>.
10522
ee196e3c
AO
105232014-02-01 Alexandre Oliva <aoliva@redhat.com>
10524
10525 * manual/check-safety.sh: New.
10526 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10527
f8d529d5
AO
10528 * manual/terminal.texi: Document MTASC-safety properties.
10529
de55fdf4
AO
10530 * manual/filesys.texi: Document MTASC-safety properties.
10531
c3299c08
AO
10532 * manual/errno.texi: Document MTASC-safety properties.
10533
06e90b14
AO
10534 * manual/intro.texi: Document safety identifiers and
10535 conditionals.
10536
1acd4371
AO
10537 * manual/string.texi (wcstok): Fix prototype.
10538 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10539
23e5b8cb
AO
10540 * manual/time.texi: Document MTASC-safety properties.
10541
11087373
AO
10542 * manual/string.texi: Document MTASC-safety properties.
10543
5da2c93d
AO
10544 * manual/threads.texi: Document MTASC-safety properties.
10545
171e9210
AO
10546 * manual/stdio.texi: Document MTASC-safety properties.
10547
d9e02532
AO
10548 * manual/syslog.texi: Document MTASC-safety properties.
10549
6af8bab7
AO
10550 * manual/sysinfo.texi: Document MTASC-safety properties.
10551
663b02d7
AO
10552 * manual/startup.texi: Document MTASC-safety properties.
10553
973f180b
AO
10554 * manual/socket.texi: Document MTASC-safety properties.
10555
8f3c25c8
AO
10556 * manual/signal.texi: Document MTASC-safety properties.
10557
542210fb
AO
105582014-01-31 Alexandre Oliva <aoliva@redhat.com>
10559
10560 * manual/setjmp.texi: Document MTASC-safety properties.
10561
433c45a2
AO
10562 * manual/search.texi: Document MTASC-safety properties.
10563
c8ce789c
AO
10564 * manual/resource.texi: Document MTASC-safety properties.
10565
19f5d29c
AO
10566 * manual/process.texi: Document MTASC-safety properties.
10567
e2dfb7f4
AO
10568 * manual/platform.texi: Document MTASC-safety properties.
10569
8c1413f5
AO
10570 * manual/pipe.texi: Document MTASC-safety properties.
10571
03483ada
AO
10572 * manual/pattern.texi: Document MTASC-safety properties.
10573
29e7e2df
AO
10574 * manual/message.texi: Document MTASC-safety properties.
10575
9f529d7c
AO
10576 [BZ #12751]
10577 * manual/memory.texi: Document MTASC-safety properties.
10578
27aaa791
AO
10579 * manual/math.texi: Document MTASC-safety properties.
10580
f2d58726
AO
10581 * manual/locale.texi: Document MTASC-safety properties.
10582
2cc3615c
AO
10583 * manual/llio.texi: Document MTASC-safety properties.
10584
d9f0ec97
AO
10585 * manual/libdl.texi: New.
10586
e7c4409a
AO
10587 * manual/lang.texi: Document MTASC-safety properties.
10588
27bdc63c
AO
10589 * manual/job.texi: Document MTASC-safety properties.
10590
a7b90ea9
AO
10591 * manual/getopt.texi: Document MTASC-safety properties.
10592
c49130e3
AO
10593 * manual/ctype.texi: Document MTASC-safety properties.
10594
0d23a5c1
MR
105952014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10596
10597 [BZ #16046]
10598 * csu/libc-tls.c (static_map): Remove variable.
10599 (__libc_setup_tls): Use main executable's link map for TLS data.
10600 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10601 casing for LM_ID_BASE and GL(dl_nns).
10602 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10603 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10604 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10605 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10606 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10607 member.
10608 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10609 l_phnum members.
10610
0037bb60
AO
106112014-01-30 Alexandre Oliva <aoliva@redhat.com>
10612
10613 * manual/debug.texi: Document MTASC-safety properties.
10614
409e00bd
L
106152014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10616
10617 [BZ #16510]
10618 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10619 of __x86_64__ when disabling x87 inline functions.
10620
86e60666
AO
106212014-01-29 Alexandre Oliva <aoliva@redhat.com>
10622
10623 * manual/charset.texi: Document MTASC-safety properties.
10624
76167637
AO
10625 * manual/crypt.texi: Document MTASC-safety properties.
10626
e567f2a0
AO
10627 * manual/conf.texi: Document MTASC-safety properties.
10628
b719dafd
AO
10629 * manual/arith.texi: Document MTASC-safety properties.
10630
4a16c662
AO
10631 * manual/argp.texi: Document MTASC-safety properties.
10632
0a57b83e
AO
10633 * manual/macros.texi: Introduce macros to document multi
10634 thread, asynchronous signal and asynchronous cancellation
10635 safety properties.
10636 * manual/intro.texi: Introduce the properties themselves.
10637
feab2397
KK
106382014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10639
10640 * sysdeps/sh/sh4/Makefile: New file.
10641
1c0d11bc
AS
106422014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10643
10644 * math/gen-libm-test.pl ($srcdir): New variable.
10645 ($auto_input): Use it.
10646
af37a8a3
SP
106472014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10648
d7b00f98
SP
10649 [BZ #16506]
10650 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10651 access beyond array bounds when parsing netgroups file.
10652
af37a8a3
SP
10653 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10654 the old buffer before realloc.
10655
0c00f062
AM
106562014-01-27 Allan McRae <allan@archlinux.org>
10657
10658 * po/fr.po: Update French translation from translation project.
10659
7d69a1b0
KK
106602014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10661
10662 * sysdeps/sh/libm-test-ulps: Regenerate.
10663
6e697ff7
DM
106642014-01-24 David S. Miller <davem@davemloft.net>
10665
10666 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10667
9cadb35c
KK
106682014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10669
10670 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10671 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10672
5d41dadf
SP
106732013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10674
10675 [BZ #16474]
10676 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10677 string pointers after reallocation.
10678
0bad441c
KK
106792014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10680
10681 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10682 __SH4A__ instead of __SH_FPU_ANY__.
10683
7007c661
KK
106842014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10685
10686 * sysdeps/sh/fpu_control.h: New file.
10687 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10688 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10689 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10690 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10691 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10692 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10693 * sysdeps/sh/sys/ucontext.h: Remove.
10694 * sysdeps/sh/sys: Remove directory.
10695
0f0c35e4
AK
106962014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10697
10698 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10699 s390/sys/ucontext.h.
10700 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10701 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10702
4959e284
L
107032014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10704
10705 [BZ #15605]
10706 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10707
d98720e0
AZ
107082014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10709
10710 [BZ#16431]
10711 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10712 Adjust the vDSO correctly for internal calls.
10713 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10714
91cbd0bc
AM
107152014-01-20 Allan McRae <allan@archlinux.org>
10716
10717 * po/ca.po: Update Catalan translation from translation project.
10718
7a02cfad
MF
107192014-01-16 Mike Frysinger <vapier@gentoo.org>
10720
10721 * sysdeps/s390/sotruss-lib.c: New file.
10722
736c304a
AZ
107232014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10724
10725 [BZ#16430]
6e077ee5 10726 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10727 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10728 local calls issues by not having a PLT stub required for IFUNC calls.
10729 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10730
94d0cea0
JM
107312014-01-16 Joseph Myers <joseph@codesourcery.com>
10732
10733 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10734 * math/test-fpucw-static.c: Likewise.
10735
980cb518
SP
107362013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10737
10738 [BZ #16453]
10739 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10740
2393fc01
AZ
107412014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10742
10743 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10744 implementation for powerpc.
10745
d359bcc2
OB
107462014-01-15 Ondřej Bílka <neleai@seznam.cz>
10747
10748 [BZ #14782]
10749 * sysdeps/posix/system.c (__libc_system): Do not enable
10750 asynchronous cancellation.
10751
7beb48cb
AK
107522014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10753
10754 [BZ #16427]
10755 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10756 handling only for numbers special also in the IEEE case.
10757
c20d5bf5
AK
107582014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10759
10760 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10761
e83bd4ee
AM
107622014-01-11 Allan McRae <allan@archlinux.org>
10763
76d0ea69
AM
10764 * po/bg.po: Update Bulgarian translation from translation project.
10765
e83bd4ee
AM
10766 * po/de.po: Update German translation from translation project.
10767
bc2ba20a
RM
107682014-01-10 Roland McGrath <roland@hack.frob.com>
10769
10770 * sysdeps/generic/gcc-compat.h: New file.
10771
649ecea2
SP
107722014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10773
10774 * benchtests/asin-inputs: Correct slow inputs.
10775 * benchtests/acos-inputs: Likewise.
10776
1b19c006
AM
107772014-01-10 Allan McRae <allan@archlinux.org>
10778
a46dab08
AM
10779 * po:sv.po: Update Swedish translation from translation project.
10780
421df74a
AM
10781 * po/vi.po: Update Vietnamese translation from translation project.
10782
d61c51a7
AM
10783 * po/eo.po: Update Esperanto translation from translation project.
10784
0339a319
AM
10785 * po/cs.po: Update Czech translation from translation project.
10786
94ad3e99
AM
10787 * po/nl.po: Update Dutch translation from translation project.
10788
e349ca71
AM
10789 * po/pl.po: Update Polish translation from translation project.
10790
ddf930c1
AM
10791 * po/ru.po: Update Russian translation from translation project.
10792
1b19c006
AM
10793 * po/uk.po: Update Ukrainian translation from translation project.
10794
9f236c49
BM
107952014-01-08 Brooks Moses <bmoses@google.com>
10796
10797 * elf/dl-load.c: Fix comment typo.
10798
cd6701cf
CD
107992014-01-08 Carlos O'Donell <carlos@redhat.com>
10800
10801 * po/header.pot: Rename to...
10802 * po/pot.header: ... this.
10803 * po/Makefile: Use pot.header.
10804
66671c84
YK
108052014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10806 Maxim Kuvyrkov <maxim@kugelworks.com>
10807
10808 [BZ #16394]
cd6701cf
CD
10809 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10810 SRC and DEST against LEN.
66671c84 10811
38f34581
AZ
108122014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10813
10814 [BZ #16414]
10815 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10816 implementation.
10817 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10818
108192014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10820
10821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10822
4c327f2a
JM
108232014-01-08 Joseph Myers <joseph@codesourcery.com>
10824
10825 [BZ #16408]
10826 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10827 for large positive arguments.
10828
b821f414
JM
108292014-01-07 Joseph Myers <joseph@codesourcery.com>
10830
1f0f2067
JM
10831 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10832
a5a326f6
JM
10833 * math/auto-libm-test-in: Mark various tests with
10834 xfail-rounding:ldbl-128ibm.
10835 * math/auto-libm-test-out: Regenerated.
10836
b821f414
JM
10837 [BZ #16407]
10838 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10839 Increase overflow threshold.
10840
94c8a4bc
OB
108412014-01-07 Ondřej Bílka <neleai@seznam.cz>
10842
10843 [BZ #14286]
10844 * stdio-common/vfprintf.c: Check for integer overflow.
10845
87ded0c3
AK
108462014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10847
10848 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10849 the first argument and return value of __tls_get_addr_internal.
10850
c5eebdd0
AK
108512014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10852
10853 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10854 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10855
05d138ef
AK
108562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10857
10858 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10859 * sysdeps/s390/rtld-global-offsets.sym: New file.
10860 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10861 GLIBC_2.19 symbol.
10862 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10863 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10864 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10865 ... this.
10866 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10867 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10868 ... this.
10869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10870 Regenerate.
10871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10872 Regenerate.
10873 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10874 halfs of GPRs for high_gprs contexts.
10875 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10876 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10877 field.
10878 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10879 uc_flags field.
10880 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10881 64 bit versions:
10882 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10883 for high GPRs (uc_high_gprs) and for future extensions
10884 (__reserved).
10885 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10886 for future extensions (__reserved).
10887 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10888 64 bit versions:
10889 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10890 SC_HIGHGPRS offset definition.
10891 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10892 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10893
93a45ff1
AK
10894 * Versions.def: Add GLIBC_2.19 for libpthread.
10895 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10896 siglongjmp for libpthread with GLIBC_2.19 symver.
10897 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10898 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10899 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10900 * sysdeps/s390/__longjmp.c: New file.
10901 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10902 * sysdeps/s390/longjmp.c: New file.
10903 * sysdeps/s390/setjmp.S: New file.
10904 * sysdeps/s390/sigjmp.S: New file.
10905 * sysdeps/s390/v1-longjmp.c: New file.
10906 * sysdeps/s390/v1-setjmp.h: New file.
10907 * sysdeps/s390/v1-sigjmp.c: New file.
10908 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10909 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10910 GLIBC_2.19 version.
10911 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10912 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10913 versioned symbols for ____longjmp_chk.
10914 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10915 Likewise.
10916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10917 Regenerate.
10918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10919 Regenerate.
10920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10921 Regenerate.
10922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10923 Regenerate.
10924 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10925 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10926 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10927 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10928 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10929 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10930 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10931 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10932 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10933 * sysdeps/s390/rtld-__longjmp.c: New file.
10934 * sysdeps/s390/rtld-setjmp.S: New file.
10935
eb3fc44b
JM
109362014-01-06 Joseph Myers <joseph@codesourcery.com>
10937
10938 [BZ #16400]
10939 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10940 Return -__logl (x) for small positive arguments without evaluating
10941 a polynomial.
10942
9341dde4
MF
109432014-01-06 Mike Frysinger <vapier@gentoo.org>
10944
10945 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10946 Rename to ...
10947 (__ptrace_peeksiginfo_args): ... this.
10948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10949 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10950 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10951
4cff0293
AM
109522014-01-06 Allan McRae <allan@archlinux.org>
10953
10954 * inet/netinet/in.h: Fix typo in comment.
10955
75595dcf
AJ
109562014-01-05 Andreas Jaeger <aj@suse.de>
10957
10958 * sysdeps/i386/fpu/libm-test-ulps: Update.
10959
79c1e109
AM
109602014-01-05 Allan McRae <allan@archlinux.org>
10961
dd804818
AM
10962 * po/libc.pot: Regenerated.
10963
79c1e109
AM
10964 * malloc/memusagestat.c: Fix gettext call formatting.
10965
0c813d1f
SK
109662014-01-04 Sami Kerola <kerolasa@iki.fi>
10967
10968 * nscd/nscd.c: Improve usage() output.
10969
20f4a8d9
MF
109702014-01-04 Mike Frysinger <vapier@gentoo.org>
10971
10972 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10973 * sysdeps/unix/sysv/linux/configure: Regenerated.
10974 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10975 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10976
22562bb2
JM
109772014-01-03 Joseph Myers <joseph@codesourcery.com>
10978
10979 [BZ #16390]
10980 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10981 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10982
d7ad2d9b
AZ
109832014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10984
10985 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10986 extra tokens at end of #undef directive.
10987 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10988 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10989 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10990
7dd009d8
JM
109912014-01-03 Joseph Myers <joseph@codesourcery.com>
10992
24db925a
JM
10993 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10994
7dd009d8
JM
10995 * math/auto-libm-test-in: Mark various tests with
10996 xfail-rounding:ldbl-128ibm.
10997 * math/auto-libm-test-out: Regenerated.
10998
396e3ecf
JM
109992014-01-02 Joseph Myers <joseph@codesourcery.com>
11000
819e5d50
JM
11001 [BZ #16386]
11002 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11003 numbers with subnormal high part when calculating exponent.
11004
90b6a1e5
JM
11005 [BZ #16385]
11006 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11007 fabs.
11008
396e3ecf
JM
11009 [BZ #16384]
11010 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11011 M_LN2l.
11012 (__ieee754_acoshl): Use __log1pl not __log1p.
11013
6c8dbf00
OB
110142013-01-02 Ondřej Bílka <neleai@seznam.cz>
11015
57f41c40
AS
11016 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11017 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11018 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11019 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11020 (reused_arena, arena_get2): Convert to GNU style.
11021 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11022 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11023 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11024 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11025 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11026 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11027 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11028 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11029 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11030 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11031 * malloc/malloc.h: Likewise.
57f41c40
AS
11032 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11033 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11034 * malloc/mcheck.h: Likewise.
57f41c40
AS
11035 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11036 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11037 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11038 * malloc/morecore.c (__default_morecore): Likewise.
11039 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11040 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11041 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11042 (print_and_abort): Likewise.
6c8dbf00
OB
11043 * malloc/obstack.h: Likewise.
11044 * malloc/set-freeres.c (__libc_freeres): Likewise.
11045 * malloc/tst-mallocstate.c (main): Likewise.
11046 * malloc/tst-mtrace.c (main): Likewise.
11047 * malloc/tst-realloc.c (do_test): Likewise.
11048
d4124212
SP
110492013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11050
9a3c6a6f
SP
11051 [BZ #16366]
11052 * nscd/netgroupcache.c (do_notfound): New function.
11053 (addgetnetgrentX): Use it.
11054
d4124212
SP
11055 [BZ # 16365]
11056 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11057 NSS_STATUS_NOTFOUND.
11058
97b9a009
JM
110592014-01-01 Joseph Myers <joseph@codesourcery.com>
11060
11061 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11063
d4697bc9
AM
110642014-01-01 Allan McRae <allan@archlinux.org>
11065
ddb3687f
AM
11066 * scripts/update-copyrights: Update configure input file suffix.
11067
88726d48
AM
11068 * NEWS: Update copyright year.
11069 * catgets/gencat.c: Likewise.
11070 * csu/version.c: Likewise.
11071 * debug/catchsegv.sh: Likewise.
11072 * debug/pcprofiledump.c: Likewise.
11073 * debug/xtrace.sh: Likewise.
11074 * elf/ldconfig.c: Likewise.
11075 * elf/ldd.bash.in: Likewise.
11076 * elf/pldd.c: Likewise.
11077 * elf/sotruss.ksh: Likewise.
11078 * elf/sprof.c: Likewise.
11079 * iconv/iconv_prog.c: Likewise.
11080 * iconv/iconvconfig.c: Likewise.
11081 * locale/programs/locale.c: Likewise.
11082 * locale/programs/localedef.c: Likewise.
11083 * login/programs/pt_chown.c: Likewise.
11084 * malloc/memusage.sh: Likewise.
11085 * malloc/memusagestat.c: Likewise.
11086 * malloc/mtrace.pl: Likewise.
11087 * manual/libc.texinfo: Likewise.
11088 * nscd/nscd.c: Likewise.
11089 * nss/getent.c: Likewise.
11090 * nss/makedb.c: Likewise.
11091 * posix/getconf.c: Likewise.
11092 * scripts/test-installation.pl: Likewise.
11093
d4697bc9
AM
11094 * All files with FSF copyright notices: Update copyright dates
11095 using scripts/update-copyrights.
11096 * intl/plural.c: Regenerated.
11097 * locale/programs/charmap-kw.h: Likewise.
11098 * locale/programs/locfile-kw.h: Likewise.
11099
c8590f9d
MF
111002013-12-31 Mike Frysinger <vapier@gentoo.org>
11101
11102 * sysdeps/unix/sysv/linux/configure: Regenerated.
11103 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11104 the linux/fanotify.h header.
11105 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11106 HAVE_LINUX_FANOTIFY_H is defined.
11107
b19221b9
SP
111082013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11109
dd1d85e5
SP
11110 * benchtests/cos-inputs: New inputs.
11111 * benchtests/sin-inputs: Likewise.
11112
1acbb90f
SP
11113 * benchtests/atan-inputs: New inputs. Fix name of multiple
11114 precision fallback inputs.
11115
4c012ed3
SP
11116 * benchtests/atanh-inputs: New inputs.
11117 * benchtests/tanh-inputs: Likewise.
11118
eff98324
SP
11119 * benchtests/acosh-inputs: New inputs.
11120 * benchtests/asinh-inputs: Likewise.
11121
ce641152
SP
11122 * benchtests/cosh-inputs: New inputs.
11123 * benchtests/sinh-inputs: Likewise.
11124
b19221b9
SP
11125 * benchtests/acos-inputs: Add more inputs.
11126 * benchtests/asin-inputs: Likewise.
11127
030a4976 111282013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11129
030a4976 11130 [BZ #16375]
9dcc8f11
VS
11131 * manual/arith.texi: Fix spelling.
11132 * manual/charset.texi: Likewise.
11133 * manual/errno.texi: Likewise.
11134 * manual/filesys.texi: Likewise.
11135 * manual/lang.texi: Likewise.
11136 * manual/llio.texi: Likewise.
11137 * manual/locale.texi: Likewise.
11138 * manual/message.texi: Likewise.
11139 * manual/resource.texi: Likewise.
11140 * manual/search.texi: Likewise.
11141 * manual/setjmp.texi: Likewise.
11142 * manual/stdio.texi: Likewise.
11143 * manual/string.texi: Likewise.
11144 * manual/sysinfo.texi: Likewise.
11145 * manual/time.texi: Likewise.
11146
11520a57
CD
111472013-12-27 Carlos O'Donell <carlos@redhat.com>
11148
11149 * po/sl.po: New file.
11150
471103ae
MF
111512013-12-27 Mike Frysinger <vapier@gentoo.org>
11152
11153 * .gitignore: Add core/.gdbinit/.gdb_history.
11154
6c9642ed
AM
111552013-12-27 Allan McRae <allan@archlinux.org>
11156
11157 [BZ #16369]
11158 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11159 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11160
3f637079
BM
111612013-12-24 Brooks Moses <bmoses@google.com>
11162
11163 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11164 all compilers that claim C++98 compliance, not just GCC.
11165 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11166 Likewise.
11167
abc26e99
MK
111682013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11169
11170 * NEWS: Restore accidentally deleted bug-fix entries.
11171
362b47fe
MK
111722013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11173 Ondřej Bílka <neleai@seznam.cz>
11174
11175 [BZ #15073]
11176 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11177 have_lock.
362b47fe 11178
b9bcbbcb
OB
111792013-12-23 Ondřej Bílka <neleai@seznam.cz>
11180
11181 [BZ #12986]
11182 * manual/stdio.texi (String Input Conversions): Clarify that character
11183 classes are not supported.
11184
fb55fcd2
AZ
111852013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11186
11187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11188
ef7344f0
JM
111892013-12-22 Joseph Myers <joseph@codesourcery.com>
11190
4f40e4b3
JM
11191 [BZ #16337]
11192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11193 Calculate results for small negative arguments directly rather
11194 than using reflection formula with special underflow handling.
11195
ef7344f0
JM
11196 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11197 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11198 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11199 (fchflags): Likewise.
11200 (revoke): Likewise.
11201 (setlogin): Likewise.
11202 (sigaltstack): Likewise.
11203 (wait4): Likewise.
11204 (sigblock): Remove.
11205 (sigsetmask): Likewise.
11206 (wait3): Likewise.
11207 (waitpid): Likewise.
11208 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11209 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11210 file.
11211 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11212 * sysdeps/unix/bsd/Makefile: ... here.
11213 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11214 * sysdeps/unix/bsd/Versions: ... here.
11215 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11216 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11217 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11218 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11219 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11220 * sysdeps/unix/bsd/sigblock.c: ... here.
11221 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11222 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11223 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11224 * sysdeps/unix/bsd/sigvec.c: ... here.
11225 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11226 * sysdeps/unix/bsd/tcdrain.c: ... here.
11227 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11228 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11229 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11230 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11231 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11232 * sysdeps/unix/bsd/wait.c: ... here.
11233 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11234 * sysdeps/unix/bsd/wait3.c: ... here.
11235 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11236 * sysdeps/unix/bsd/waitpid.c: ... here.
11237
5b0626b9
JM
112382013-12-21 Joseph Myers <joseph@codesourcery.com>
11239
11240 [BZ #16356]
11241 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11242 round-to-nearest for [!USE_AS_EXPM1L].
11243 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11244 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11245 more tests of exp and exp10. Expect some exp10 tests to miss
11246 exceptions or fail in directed rounding modes.
11247 * math/auto-libm-test-out: Regenerated.
11248 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11249 (exp10_test_tonearest): New function.
11250 (exp10_towardzero_test_data): New array.
11251 (exp10_test_towardzero): New function.
11252 (exp10_downward_test_data): New array.
11253 (exp10_test_downward): New function.
11254 (exp10_upward_test_data): New array.
11255 (exp10_test_upward): New function.
11256 (main): Call the new functions.
11257 * sysdeps/i386/fpu/libm-test-ulps: Update.
11258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11259
7fda5682
JM
112602013-12-20 Joseph Myers <joseph@codesourcery.com>
11261
31e3a405
JM
11262 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11263 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11264 * math/auto-libm-test-out: Regenerated.
11265 * math/libm-test.inc (acosh_test_data): Add more tests.
11266 (atanh_test_data): Likewise.
11267 (ceil_test_data): Likewise.
11268 (copysign_test_data): Likewise.
11269 * sysdeps/i386/fpu/libm-test-ulps: Update.
11270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11271
85bff96a
JM
11272 * timezone/checktab.awk: Update from tzcode 2013i.
11273 * timezone/private.h: Likewise.
11274 * timezone/scheck.c: Likewise.
11275 * timezone/tzfile.h: Likewise.
11276 * timezone/tzselect.ksh: Likewise.
11277 * timezone/zdump.c: Likewise.
11278 * timezone/zic.c: Likewise.
11279
b7867a3b
JM
11280 * math/auto-libm-test-in: Add tests of cpow.
11281 * math/auto-libm-test-out: Regenerated.
11282 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11283 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11284 mpc_cc_c.
11285 (func_calc_desc): Add mpc_cc_c union field.
11286 (test_functions): Add cpow.
11287 (special_fill_2pi): New function.
11288 (special_real_inputs): Add 2pi.
11289 (calc_generic_results): Handle mpc_cc_c.
11290 * sysdeps/i386/fpu/libm-test-ulps: Update.
11291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11292
7fda5682
JM
11293 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11294 csqrt, ctan and ctanh.
11295 * math/auto-libm-test-out: Regenerated.
11296 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11297 (TEST_COND_x86): Likewise.
11298 (ccos_test_data): Use AUTO_TESTS_c_c.
11299 (ccosh_test_data): Likewise.
11300 (cexp_test_data): Likewise.
11301 (clog_test_data): Likewise.
11302 (csqrt_test_data): Likewise.
11303 (ctan_test_data): Likewise.
11304 (ctan_tonearest_test_data): Likewise.
11305 (ctan_towardzero_test_data): Likewise.
11306 (ctan_downward_test_data): Likewise.
11307 (ctan_upward_test_data): Likewise.
11308 (ctanh_test_data): Likewise.
11309 (ctanh_tonearest_test_data): Likewise.
11310 (ctanh_towardzero_test_data): Likewise.
11311 (ctanh_downward_test_data): Likewise.
11312 (ctanh_upward_test_data): Likewise.
11313 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11314 mpc_c_c.
11315 (func_calc_desc): Add mpc_c_c union field.
11316 (FUNC_mpc_c_c): New macro.
11317 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11318 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11319 ctanh.
11320 (special_fill_min_subnorm_p120): New function.
11321 (special_real_inputs): Add min_subnorm_p120.
11322 (calc_generic_results): Handle mpc_c_c.
11323 * sysdeps/i386/fpu/libm-test-ulps: Update.
11324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11325
5ff8d60e
SP
113262013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11327
57f41c40
AS
11328 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11329 (do_sin_slow): New functions.
11330 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11331 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11332
84ba214c
SP
11333 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11334 Use M to change sign of result instead of X. Assume X is
11335 positive.
11336 (csloww1): Likewise.
11337 (__sin): Adjust.
11338 (__cos): Adjust.
11339
975195e4
SP
11340 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11341 arguments A and DA.
11342 (__sin): Adjust.
11343 (__cos): Likewise.
11344
5ff8d60e
SP
11345 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11346 (__cos): Likewise.
11347 (sloww1): Don't adjust sign of DX.
11348 (csloww1): Likewise.
11349 (sloww2): Use X directly and don't adjust sign of DX.
11350 (csloww2): Likewise.
11351
eb983568
JM
113522013-12-19 Joseph Myers <joseph@codesourcery.com>
11353
64a17f1a
JM
11354 * math/auto-libm-test-in: Add tests of cabs and carg.
11355 * math/auto-libm-test-out: Regenerated.
11356 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11357 (carg_test_data): Likewise.
11358 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11359 mpc_c_f.
11360 (func_calc_desc): Add mpc_c_f union field.
11361 (test_functions): Add cabs and carg.
11362 (calc_generic_results): Handle mpc_c_f.
11363
eb983568
JM
11364 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11365 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11366 as a macro and a compat symbol.
11367 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11368 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11369 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11370 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11371 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11372 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11373 not use .hidden.
11374 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11375 Likewise.
11376 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11377 Likewise.
11378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11379 Likewise.
11380 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11381 Likewise.
11382 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11383 Likewise.
11384 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11385 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11386 from GLIBC_2.3.2.
11387
6eeb678a
AZ
113882013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11389
11390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11391
6f6fc482
JM
113922013-12-19 Joseph Myers <joseph@codesourcery.com>
11393
21fea2e2
JM
11394 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11395 trailing whitespace removed.
11396 * scripts/config.guess: Update to version 2013-11-29.
11397 * scripts/config.sub: Update to version 2013-10-01.
11398
6f6fc482
JM
11399 * math/auto-libm-test-in: Add tests of sincos.
11400 * math/auto-libm-test-out: Regenerated.
11401 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11402 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11403 mpfr_f_11.
11404 (func_calc_desc): Add mpfr_f_11 union field.
11405 (test_functions): Add sincos.
11406 (calc_generic_results): Handle mpfr_f_11.
11407 * sysdeps/i386/fpu/libm-test-ulps: Update.
11408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11409
83f5c32d
AS
114102013-12-19 Andreas Schwab <schwab@suse.de>
11411
11412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11413 CALL_MCOUNT.
11414 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11415 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11416 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11417
c688b419
JM
114182013-12-19 Joseph Myers <joseph@codesourcery.com>
11419
335ee092
JM
11420 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11421 * sysdeps/i386/fpu/libm-test-ulps: Update.
11422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11423
f88acd39
JM
11424 [BZ #16293]
11425 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11426 round-to-nearest mode when using frndint.
11427 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11428 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11429 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11430 Likewise.
11431 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11432 sinh test to fail.
11433 * math/auto-libm-test-out: Regenerated.
11434 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11435 (TEST_COND_x86): Likewise.
11436 (expm1_tonearest_test_data): New array.
11437 (expm1_test_tonearest): New function.
11438 (expm1_towardzero_test_data): New array.
11439 (expm1_test_towardzero): New function.
11440 (expm1_downward_test_data): New array.
11441 (expm1_test_downward): New function.
11442 (expm1_upward_test_data): New array.
11443 (expm1_test_upward): New function.
11444 (main): Run the new test functions.
11445 * sysdeps/i386/fpu/libm-test-ulps: Update.
11446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11447
c688b419
JM
11448 * include/features.h: Update comment documenting feature test
11449 macros. Mention _DEFAULT_SOURCE in comment.
11450 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11451 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11452 _BSD_SOURCE and _SVID_SOURCE.
11453 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11454 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11455 !_SVID_SOURCE]: Likewise.
11456 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11457 (__USE_POSIX_IMPLICITLY): Define.
11458 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11459 (_POSIX_SOURCE): Undefine and redefine.
11460 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11461 (_POSIX_C_SOURCE): Likewise.
11462 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11463 (Feature Test Macros): Update documentation of default features.
11464
9f6e964c
RS
114652013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11466
11467 * benchtests/Makefile: Add bench-strtok.
11468 * benchtests/bench-strtok.c: New file: strtok benchtest.
11469
ee0a148a
AM
114702013-12-19 Allan McRae <allan@archlinux.org>
11471
11472 * manual/install.texi: Suppress menu for plain text output.
11473 * INSTALL: Regenerated.
11474
b9ab448f
BM
114752013-12-18 Brooks Moses <bmoses@google.com>
11476
11477 [BZ #15846]
11478 * misc/getauxval.c: Include errno.h.
11479 (__getauxval): Set errno to ENOENT if the requested type is not
11480 found.
11481 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11482 don't declare with __attribute_const__.
11483 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11484 * manual/startup.texi: Document that getauxval sets errno.
11485
23776487
JM
114862013-12-18 Joseph Myers <joseph@codesourcery.com>
11487
f889953b
JM
11488 * math/auto-libm-test-in: Add tests of jn and yn.
11489 * math/auto-libm-test-out: Regenerated.
11490 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11491 (yn_test_data): Likewise.
11492 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11493 mpfr_if_f.
11494 (func_calc_desc): Add mpfr_if_f union field.
11495 (FUNC_mpfr_if_f): New macro.
11496 (test_functions): Add jn and yn.
11497 (calc_generic_results): Assert type of second input for
11498 mpfr_ff_f. Handle mpfr_if_f.
11499 (output_for_one_input_case): Disable all checking for arguments
11500 fitting floating-point types in case of an integer argument.
11501 * sysdeps/i386/fpu/libm-test-ulps: Update.
11502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11503
23776487
JM
11504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11505 Don't expect fegetround reference in libm.so.
11506
cb756c6d
MS
115072013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11508
11509 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11510 $(config-cflags-nofma).
11511
2dec468f
JM
115122013-12-18 Joseph Myers <joseph@codesourcery.com>
11513
5953eb3a
JM
11514 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11515 * math/auto-libm-test-out: Regenerated.
11516
2dec468f
JM
11517 [BZ #16338]
11518 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11519 to determine exponent and adjust argument to have exponent of -1.
11520 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11521 log2.
11522 * math/auto-libm-test-out: Regenerated.
11523 * sysdeps/i386/fpu/libm-test-ulps: Update.
11524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11525
4d84e6ad
OB
115262013-12-18 Ondřej Bílka <neleai@seznam.cz>
11527
11528 * manual/probes.texi: Remove cases when per-thread arenas are
11529 disabled.
11530
1818483b
AS
115312013-12-18 Andreas Schwab <schwab@suse.de>
11532
11533 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11534 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11535 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11536 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11537 * sysdeps/i386/i686/multiarch/Makefile: Update.
11538 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11539
25de95bf
JM
115402013-12-17 Joseph Myers <joseph@codesourcery.com>
11541
11542 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11543 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11544
674762d9
PE
115452013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11546
ed27ed83 11547 [BZ #15968]
0748546f
PE
11548 Support TZ transition times < 00:00:00.
11549 This is needed for version-3 tz-format files; it supports time
11550 stamps past 2037 for America/Godthab (the only entry in the tz
11551 database for which this change is relevant).
11552 * manual/time.texi (TZ Variable): Document transition times
11553 from -167:59:59 through -00:00:01.
11554 * time/tzset.c (tz_rule): Time of day is now signed.
11555 (__tzset_parse_tz): Parse negative time of day.
11556
4480e934
PE
11557 Document TZ transition times >= 25:00:00.
11558 * manual/time.texi (TZ Variable): Document transition times from
11559 25:00:00 through 167:59:59. These are already supported, and this
11560 support will help with version-3 tz-format files.
11561
69947401
PE
11562 * manual/time.texi (TZ Variable): Modernize North America example
11563 to reflect current (i.e., 2007-and-later) daylight saving rules.
11564
674762d9
PE
11565 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11566
7011c262
JM
115672013-12-17 Joseph Myers <joseph@codesourcery.com>
11568
2fc6557e
JM
11569 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11570 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11573 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11574 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11575 * sysdeps/unix/bsd/clock.c: Likewise.
11576 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11577 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11578 * sysdeps/unix/bsd/init-posix.c: Likewise.
11579 * sysdeps/unix/bsd/poll.c: Likewise.
11580 * sysdeps/unix/bsd/ptsname.c: Likewise.
11581 * sysdeps/unix/bsd/seekdir.c: Likewise.
11582 * sysdeps/unix/bsd/setegid.c: Likewise.
11583 * sysdeps/unix/bsd/seteuid.c: Likewise.
11584 * sysdeps/unix/bsd/setgid.c: Likewise.
11585 * sysdeps/unix/bsd/setrgid.c: Likewise.
11586 * sysdeps/unix/bsd/setruid.c: Likewise.
11587 * sysdeps/unix/bsd/setsid.c: Likewise.
11588 * sysdeps/unix/bsd/setuid.c: Likewise.
11589 * sysdeps/unix/bsd/sigaction.c: Likewise.
11590 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11591 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11592 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11593 * sysdeps/unix/bsd/telldir.c: Likewise.
11594 * sysdeps/unix/bsd/times.c: Likewise.
11595 * sysdeps/unix/bsd/usleep.c: Likewise.
11596
029c7b25
JM
11597 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11598 ($(objpfx)libbsd-compat.a): Remove rule.
11599
7011c262
JM
11600 * include/features.h (__FAVOR_BSD): Do not define.
11601 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11602 features conflicting with POSIX.
11603 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11604 (_BSD_SOURCE): Remove description of not being a subset of other
11605 feature test macros.
11606 * manual/job.texi (getpgrp): Do not document BSD version.
11607 (getpgid): Do not document by reference to BSD getpgrp.
11608 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11609 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11610 * signal/signal.h [__FAVOR_BSD]: Likewise.
11611 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11612 instead of making contents conditional on [__FAVOR_BSD].
11613 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11614
affb6f78
AZ
116152013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11616
11617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11618
c88769dd
JM
116192013-12-17 Joseph Myers <joseph@codesourcery.com>
11620
6432a540
JM
11621 [BZ #16314]
11622 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11623 values below 2**-450, not 2**-500.
11624 * math/auto-libm-test-in: Don't allow spurious underflow from
11625 hypot.
11626 * math/auto-libm-test-out: Regenerated.
11627
c88769dd
JM
11628 [BZ #16316]
11629 [BZ #16330]
11630 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11631 values of ha and hb and sort them after adjusting subnormal
11632 arguments.
11633 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11634 Likewise.
11635 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11636 values of ea and eb and sort them after adjusting subnormal
11637 arguments.
11638 * math/auto-libm-test-in: Do not expect some hypot tests of
11639 subnormals to fail. Add more hypot tests.
11640 * math/auto-libm-test-out: Regenerated.
11641
29618f6b
KK
116422013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11643
11644 [BZ #13304]
11645 * sysdeps/sh/s_fma.c: New file.
11646 * sysdeps/sh/s_fmaf.c: New file.
11647 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11648 version.
11649 * sysdeps/sh/Implies: Add sh/soft-fp.
11650
eacfdfbf
RM
116512013-12-16 Roland McGrath <roland@hack.frob.com>
11652
11653 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11654 level of indirection to members `objname', `errstring', `malloced'.
11655 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11656 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11657 it as the __longjmp argument (just pass 1 instead).
11658 (_dl_catch_error): Initialize C with argument pointers and address of
11659 volatile local ERRCODE rather than copying values out of C at return.
11660
ff362e5b
JM
116612013-12-16 Joseph Myers <joseph@codesourcery.com>
11662
11663 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11664 * math/auto-libm-test-out: Regenerated.
11665 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11666 (hypot_test_data): Likewise.
11667 (pow_test_data): Likewise.
11668 (pow_tonearest_test_data): Likewise.
11669 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11670 mpfr_ff_f.
11671 (func_calc_desc): Add mpfr_ff_f union field.
11672 (FUNC_mpfr_ff_f): New macro.
11673 (test_functions): Add atan2, hypot and pow.
11674 (special_fill_min): New function.
11675 (special_fill_minus_min): Likewise.
11676 (special_fill_min_subnorm): Likewise.
11677 (special_fill_minus_min_subnorm): Likewise.
11678 (special_real_inputs): Add min, -min, min_subnorm and
11679 -min_subnorm.
11680 (calc_generic_results): Handle mpfr_ff_f.
11681 * sysdeps/i386/fpu/libm-test-ulps: Update.
11682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11683
5764c27f
WN
116842013-12-16 Will Newton <will.newton@linaro.org>
11685
11686 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11687 (Aligned Memory Blocks): Add documentation for aligned_alloc
11688 and suggest it as an alternative to posix_memalign.
11689 (Hooks for Malloc): Document __memalign_hook is also called
11690 for aligned_alloc. (Summary of Malloc): Add summary for
11691 aligned alloc. Document __memalign_hook is also called
11692 for aligned_alloc.
11693
0a096e44
WN
116942013-12-16 Will Newton <will.newton@linaro.org>
11695
11696 * manual/memory.texi (Malloc Examples): Clarify default
11697 alignment documentation. Suggest posix_memalign rather
11698 than memalign or valloc.
11699 (Aligned Memory Blocks): Remove suggestion to use memalign
11700 or valloc. Remove obsolete comment about BSD.
11701 Document memalign errno values and mark the function obsolete.
11702 Document posix_memalign returned error codes. Mark valloc
11703 as obsolete. (Hooks for Malloc): __memalign_hook is also
11704 called for posix_memalign and valloc.
11705 (Summary of Malloc): Add posix_memalign to function summary.
11706 __memalign_hook is also called for posix_memalign and valloc.
11707
8d561986
SP
117082013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11709
11710 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11711 TAYLOR_SIN.
11712 (__sin): Adjust.
11713 (__cos): Likewise.
11714 (sloww): Use mynumber union. Expand ternary operator into
11715 if-else statements.
11716 (cslow): use mynumber union.
11717
73616a74
AM
117182013-12-16 Allan McRae <allan@archlinux.org>
11719
9e8ac24b
AM
11720 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11721 * configure: Regenerated.
11722
6f8e37eb
AM
11723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11724
8894bad3
AM
11725 [BZ #14120]
11726 * configure.ac: Added --enable-maintainer-mode. Check for
11727 autoconf when enabled.
11728 * configure: Regenerated.
11729
73616a74
AM
11730 * nscd/nscd.service: New file.
11731 * nscd/nscd.tmpfiles: New file.
11732
584b18eb
OB
117332013-12-14 Ondřej Bílka <neleai@seznam.cz>
11734
11735 [BZ #12100]
11736 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11737 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11738 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11739 (strstr): Add __strstr_sse2_unaligned ifunc.
11740 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11741 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11742 (strcasestr): Remove __strcasestr_sse42 ifunc.
11743 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11746
8a5c7897
KK
117472013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11748
11749 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11750 * sysdeps/sh/bits/fenv.h: ... here.
11751 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11752
fd712ef3
AZ
117532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11754
11755 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11756
42fcb46c
AZ
11757 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11758 hypotf multiarch implementations.
11759 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11760 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11762 multiarch hypot for PPC64.
11763 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11764 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11765 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11766 multiarch hypotf for PPC64.
11767
83efded4
AZ
11768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11769 modff multiarch implementations.
11770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11773 multiarch modf for PPC64.
11774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11777 multiarch modff for PPC64.
11778
43e246d2
AZ
11779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11780 and logl multiarch implementations.
11781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11784 multiarch logb for PPC64.
11785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11788 multiarch logb for PPC64.
11789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11792 multiarch logb for PPC64.
11793
8fdad123
AZ
11794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11795 isinff multiarch implementation.
11796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11797 file.
11798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11800 multiarch isinf for PPC64.
11801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11802 file.
11803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11804 multiarch isinff for PPC64.
11805
1481d706
AZ
11806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11807 finitef multiarch implementation.
11808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11809 file.
11810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11812 multiarch finite for PPC64.
11813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11814 file.
11815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11816 multiarch finitef for PPC64.
11817
5ccd5fc8
AZ
11818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11819 lrint multiarch implementation.
11820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11821 file.
11822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11824 multiarch llrint for PPC64.
11825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11826 multiarch lrint for PPC64.
11827
2568f3fa
AZ
11828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11829 copysignf multiarch implementation.
11830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11831 file.
11832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11833 file.
11834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11835 multiarch copysign for PPC64.
11836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11837 multiarch copysignf for PPC64.
11838
1cb341fd
AZ
11839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11840 multiarch implementation.
11841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11842 file.
11843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11844 file.
11845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11846 file.
11847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11848 file.
11849 multiarch llround for PPC64.
11850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11851 multiarch trunc for PPC64.
11852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11853 multiarch truncf for PPC64.
11854
59a3e194
AZ
11855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11856 multiarch implementation.
11857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11858 file.
11859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11860 file.
11861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11862 file.
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11864 file.
11865 multiarch llround for PPC64.
11866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11867 multiarch round for PPC64.
11868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11869 multiarch roundf for PPC64.
11870
357fd3b4
AZ
11871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11872 multiarch implementation.
11873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11874 file.
11875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11876 file.
11877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11878 file.
11879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11880 file.
11881 multiarch llround for PPC64.
11882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11883 multiarch floor for PPC64.
11884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11885 multiarch floorf for PPC64.
11886
96770f12
AZ
11887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11888 multiarch implementation.
11889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11890 file.
11891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11892 file.
11893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11894 file.
11895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11896 file.
11897 multiarch llround for PPC64.
11898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11899 multiarch ceil for PPC64.
11900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11901 multiarch ceilf for PPC64.
11902
c3627f6e
AZ
11903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11904 multiarch implementation.
11905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11906 file.
11907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11908 file.
11909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11910 file.
11911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11912 multiarch llround for PPC64.
11913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11914 multiarch lround for PPC64.
11915
b2284ad7
AZ
11916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11917 multiarch implementation.
11918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11921 file.
11922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11925 multiarch isnan for PPC64.
11926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11927 multiarch isnanf for PPC64.
11928
69bbc63d
AZ
11929 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11930 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11931 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11932 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11933 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11935
c24517c9
AZ
11936 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11937 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11940
a52374e8
AZ
11941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11942 multiarch implementations.
11943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11944 (__libc_ifunc_impl_list): Likewise.
11945 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11946 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11947 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11948 multiarch stpcpy for PPC64.
11949
7f5ec113
AZ
11950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11951 multiarch implementations.
11952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11953 (__libc_ifunc_impl_list): Likewise.
11954 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11955 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11956 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11957 multiarch strcpy for PPC64.
11958
e28bcd42
AZ
11959 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11960 redefine function name.
11961 (_wordcopy_fwd_dest_aligned): Likewise.
11962 (_wordcopy_bwd_aligned): Likewise.
11963 (_wordcopy_bwd_dest_aligned): Likewise.
11964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11965 multiarch implementations.
11966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11967 (__libc_ifunc_impl_list): Likewise.
11968 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11969 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11970 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11971 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11972 multiarch wcscpy for PPC64.
11973
92cacfce
AZ
11974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11975 multiarch implementations.
11976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11977 (__libc_ifunc_impl_list): Likewise.
11978 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11979 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11980 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11981 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11982 multiarch wcscpy for PPC64.
11983
7b714620
AZ
11984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11985 multiarch implementations.
11986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11987 (__libc_ifunc_impl_list): Likewise.
11988 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11989 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11990 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11991 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11992 multiarch wcsrchr for PPC64.
11993
16fd2ae3
AZ
11994 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11995 multiarch implementations.
11996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11997 (__libc_ifunc_impl_list): Likewise.
11998 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11999 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12000 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12001 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12002 multiarch wcschr for PPC64.
12003
9ee2969b
AZ
12004 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12005 multiarch implementations.
12006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12007 (__libc_ifunc_impl_list): Likewise.
12008 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12009 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12010 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12011 multiarch strchrnul for PPC64.
12012
372dc060
AZ
12013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12014 implementations.
12015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12016 (__libc_ifunc_impl_list): Likewise.
12017 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12018 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12019 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12020 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12021 strchr for PPC64.
12022
24c2c3b9
AZ
12023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12024 implementations.
12025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12026 (__libc_ifunc_impl_list): Likewise.
12027 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12028 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12029 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12030 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12031 strncmp for PPC64.
12032
1c92d9a0
AZ
12033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12034 multiarch implementations.
12035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12036 (__libc_ifunc_impl_list): Likewise.
12037 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12038 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12039 strncasecmp for PPC64.
12040 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12041 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12042 multiarch strncasecmp_l for PPC64.
12043
17de3ee3
AZ
12044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12045 multiarch implementations.
12046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12047 (__libc_ifunc_impl_list): Likewise.
12048 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12049 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12050 multiarch strcasecmp for PPC64.
12051 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12052 file.
12053 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12054 multiarch strcasecmp_l for PPC64.
12055
62982bf9
AZ
12056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12057 implementations.
12058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12059 (__libc_ifunc_impl_list): Likewise.
12060 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12061 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12062 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12063 strnlen for PPC64.
12064
a65f4904
AZ
12065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12066 implementations.
12067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12068 (__libc_ifunc_impl_list): Likewise.
12069 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12070 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12071 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12072 strlen for PPC64.
12073
1fd005ad
AZ
12074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12075 implementations.
12076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12077 (__libc_ifunc_impl_list): Likewise.
12078 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12079 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12080 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12081 rawmemrchr for PPC64.
12082
cd05ba91
AZ
12083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12084 implementation.
12085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12086 (__libc_ifunc_impl_list): Likewise.
12087 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12088 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12089 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12090 memrchr for PPC64.
12091
870f8676
AZ
12092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12093 implementation.
12094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12095 (__libc_ifunc_impl_list): Likewise.
12096 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12097 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12098 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12099 memchr for PPC64.
12100
f00be62b
AZ
12101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12102 implementation.
12103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12104 (__libc_ifunc_impl_list): Likewise.
12105 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12106 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12107 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12108 mempcpy for PPC64.
12109
8a29a3d0
AZ
12110 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12111 avoid cretion of __bzero symbol.
12112 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12113 Likewise.
12114 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12115 Likewise.
12116 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12117 Likewise.
12118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12119 multiarch implementations.
12120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12121 (__libc_ifunc_impl_list): Likewise.
12122 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12123 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12124 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12125 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12126 bzero for PPC32.
12127 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12128 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12129 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12130 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12131 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12132 memset for PPC64.
12133 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12134
07253fcf
AZ
12135 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12137 implementations.
12138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12139 (__libc_ifunc_impl_list): Likewise.
12140 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12141 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12142 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12143 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12144 memcmp for PPC64.
12145
b5beafbc
AZ
12146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12147 multiarch for POWER/PPC64.
12148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12149 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12150 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12155 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12156 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12157 memcpy for PPC64.
12158
5e6a4d4b
AZ
12159 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12160 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12161 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12162 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12163 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12164 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12165 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12166 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12167 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12168 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12169 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12170 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12171 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12172 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12173 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12181
ddfab6dc
KK
121822013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12183
12184 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12185
19b5525e
SP
121862013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12187
12188 * benchtests/Makefile (bench): Add exp2 and log2.
12189 (LDLIBS-bench-exp2): Add -lm.
12190 (LDLIBS-bench-log2): Likewise.
12191 * benchtests/exp2-inputs: New inputs file.
12192 * benchtests/log2-inputs: New inputs file.
12193 * benchtests/log-inputs: Add new inputs.
12194 * benchtests/tan-inputs: Likewise.
12195
196f7f5d
SP
121962013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12197
7a74607f
SP
12198 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12199 definition...
57f41c40
AS
12200 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12201 (csloww2): ... from here.
7a74607f 12202
196f7f5d
SP
12203 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12204 instead of structures.
12205 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12206 (POLYNOMIAL): Likewise.
12207 (TAYLOR_SLOW): Likewise.
12208 (__sin): Likewise.
12209 (__cos): Likewise.
12210 (slow1): Likewise.
12211 (slow2): Likewise.
12212 (sloww): Likewise.
12213 (sloww1); Likewise.
12214 (sloww2): Likewise.
12215 (bsloww1): Likewise.
12216 (bsloww2): Likewise.
12217 (cslow2): Likewise.
12218 (csloww): Likewise.
12219 (csloww1): Likewise.
12220 (csloww2): Likewise.
12221
0dfa665c
OB
122222013-12-10 Ondřej Bílka <neleai@seznam.cz>
12223
12224 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12225 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12226 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12227 * malloc/hooks.c (realloc_check): Likewise.
12228
5782a80f
OB
12229 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12230 * malloc/arena.c: Remove PER_THREAD conditional.
12231 [!PER_THREAD]: Remove code.
12232 (ptmalloc_unlock_all2): Likewise.
12233 (ptmalloc_init): Likewise.
12234 (_int_new_arena): Likewise.
12235 (arena_get2): Likewise.
12236 * malloc/hooks.c (__malloc_get_state): Likewise.
12237 (__malloc_set_state): Likewise.
12238 * malloc/malloc.c: Likewise.
12239 (struct malloc_state): Likewise.
12240 (struct malloc_par): Likewise.
12241 (__libc_realloc): Likewise.
12242 (__libc_mallopt): Likewise.
12243
aeb95445
AZ
122442013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12245
12246 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12247
e8349efd
OB
122482013-12-09 Ondřej Bílka <neleai@seznam.cz>
12249
12250 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12251 macro to a function. Check for zero perturb_byte.
12252 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12253
f3eeb3fc 12254 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12255 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12256 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12257 force_reg by atomic_forced_read.
12258 * malloc/arena.c (ptmalloc_init): Likewise.
12259 * malloc/hooks.c (top_check): Likewise.
12260
be2f9009
AZ
122612013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12262
12263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12264
e7b914bd
MT
122652013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12266
12267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12268
9f0be4f8
JM
122692013-12-08 Joseph Myers <joseph@codesourcery.com>
12270
12271 * math/auto-libm-test-in: Add tests of lgamma.
12272 * math/auto-libm-test-out: Regenerated.
12273 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12274 (M_LOG_2_SQRT_PIl): Likewise.
12275 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12276 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12277 mpfr_f_f1.
12278 (func_calc_desc): Add mpfr_f_f1 union field.
12279 (ARGS1): New macro.
12280 (ARGS2): Likewise.
12281 (ARGS3): Likewise.
12282 (ARGS4): Likewise.
12283 (RET1): Likewise.
12284 (RET2): Likewise.
12285 (CALC): Likewise.
12286 (FUNC): Likewise.
12287 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12288 (test_functions): Add lgamma.
12289 (calc_generic_results): Handle mpfr_f_f1.
12290 * sysdeps/i386/fpu/libm-test-ulps: Update.
12291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12292
24eeafdb
AZ
122932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12294
12295 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12296 __mpn_add_n for PowerPC64/POWER7.
12297 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12298 __mpn_sub_n for PowerPC64/POWER7.
12299
4a2c0fd4
AZ
12300 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12301 __mpn_addmul_1 for PowerPC64.
12302 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12303 __mpn_submul_1 for PowerPC64.
12304 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12305 for PowerPC64.
12306 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12307 for PowerPC64.
12308
4b5b548c
FS
123092013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12310
12311 [BZ #15089]
12312 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12313
0a3ac0aa
AZ
123142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12315
12316 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12317
ccdc8438
AZ
12318 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12319 add multiarch folders.
12320 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12321 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12322 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12323 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12324 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12325 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12326 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12327 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12328 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12329 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12330 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12337
2e973d99
AZ
12338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12339 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12341 New file.
12342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12343 New file.
12344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12345 multiarch __ieee754_hypot for PowerPC32.
12346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12347 New file.
12348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12349 New file.
12350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12351 multiarch __ieee754_hypotf for PowerPC32.
12352
2d9470b2
AZ
12353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12354 long_double_symbol only if __logbl is defined.
12355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12356 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12357 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12358 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12359 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12360 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12361 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12362 path for implementation.
12363 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12364 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12366 logb, and logbl multiarch implementations for PowerPC32.
12367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12368 file.
12369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12370 file.
12371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12372 multiarch logb for PowerPC32.
12373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12374 file.
12375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12376 file.
12377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12378 multiarch logbf for PowerPC32.
12379 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12381 file.
12382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12383 multiarch logbl implementation for PowerPC32.
12384
5212ffce
AZ
12385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12386 and modff multiarch implementations.
12387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12388 New file.
12389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12390 New file.
12391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12392 multiarch modf for PowerPC32.
12393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12394 New file.
12395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12396 New file.
12397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12398 multiarch modff for PowerPC32.
12399
79dccf31
AZ
12400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12401 and lrintf multiarch implementations.
12402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12403 New file.
12404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12405 New file.
12406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12407 multiarch lrint for PowerPC32.
12408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12409 file: multiarch lrintf for PowerPC32.
12410
deb66480
AZ
12411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12412 and lroundf multiarch implementations.
12413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12414 New file.
12415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12416 New file.
12417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12418 New file.
12419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12420 multiarch lround for PowerPC32.
12421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12422 file: multiarch lroundf for PowerPC32.
12423
264b036b
AZ
12424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12425 copysign and copysignf multiarch implementations.
12426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12427 New file.
12428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12429 New file.
12430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12431 file: multiarch copysign for PowerPC32.
12432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12433 file: multiarch copysignf for PowerPC32.
12434
d47db6c9
AZ
12435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12436 and truncf multiarch implementations.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12438 New file.
12439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12440 file.
12441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12442 multiarch trunc for PowerPC32.
12443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12444 New file.
12445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12446 New file.
12447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12448 multiarch truncf for PowerPC32.
12449
ddb60b5a
AZ
12450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12451 and roundf multiarch implementations.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12453 New file.
12454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12455 file.
12456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12457 multiarch round for PowerPC32.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12459 New file.
12460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12461 New file.
12462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12463 multiarch roundf for PowerPC32.
12464
bedcf49b
AZ
12465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12466 and floorf multiarch implementations.
12467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12468 New file.
12469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12470 file.
12471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12472 multiarch floor for PowerPC32.
12473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12474 New file.
12475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12476 New file.
12477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12478 multiarch floorf for PowerPC32.
12479
35ae5b40
AZ
12480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12481 and ceilf multiarch implementations.
12482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12483 New file.
12484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12485 file.
12486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12487 multiarch ceil for PowerPC32.
12488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12489 New file.
12490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12491 file.
12492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12493 multiarch ceilf for PowerPC32.
12494
ae1a4cd9
AZ
12495 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12496 is defined.
12497 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12498 FINITEF is defined.
12499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12500 and finitef multiarch implementations.
12501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12502 New file.
12503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12504 file.
12505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12506 multiarch finite for PowerPC32.
12507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12508 New file.
12509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12510 file: multiarch finitef for PowerPC32.
12511
64fffd65
AZ
12512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12513 and isinff multiarch implementations.
12514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12515 file.
12516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12517 file.
12518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12519 multiarch isinf for PowerPC32.
12520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12521 New file.
12522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12523 multiarch isinff for PowerPC32.
12524
8e4e7ba2
AZ
12525 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12526 alias when __isnan is defined.
12527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12528 and isnanf multiarch implementations.
12529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12530 file.
12531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12532 file.
12533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12534 file.
12535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12536 file.
12537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12538 multiarch isnan for PowerPC32.
12539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12540 New file.
12541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12542 New file.
12543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12544 multiarch isnanf for PowerPC32.
12545
ddba588e
AZ
12546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12547 and sqrtf multiarch implementations.
12548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12549 file.
12550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12551 file.
12552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12553 multiarch sqrt for PowerPC32.
12554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12555 file.
12556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12557 file.
12558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12559 multiarch sqrtf for PowerPC32.
12560
0f96a2f0
AZ
12561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12562 and llroundf multiarch implementations.
12563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12564 New file.
12565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12566 New file.
12567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12568 New file.
12569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12570 file: multiarch llround for PowerPC32.
12571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12572 file: multiarch llroundf for PowerPC32.
12573
c9b5d79e
AZ
12574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12575 multiarch PowerPC32 fpu implementations.
12576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12577 New file.
12578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12579 New file.
12580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12581 multiarch llrint for PowerPC32.
12582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12583 New file.
12584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12585 New file.
12586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12587 file.
12588
9cbb3aab
AZ
12589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12590
ea5a72f8
AZ
12591 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12592 file.
12593 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12594 file.
12595 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12596 file.
12597 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12598 multiarch wordcopy for PPC32.
12599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12600 wordcopy objects.
12601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12602 (__libc_ifunc_impl_list): Likewise.
12603 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12604 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12605 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12606 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12607 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12608 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12609
93be09e7
AZ
12610 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12612 file.
12613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12614 file.
12615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12616 file.
12617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12618 multiarch wcscpy for PPC32.
12619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12620 multiarch objects.
12621 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12622 (__libc_ifunc_impl_list): Likewise.
12623 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12624 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12625 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12626 sysdeps/powerpc/power6/wcscpy.c.
12627
bb04e529
AZ
12628 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12629 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12630 file.
12631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12632 file.
12633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12634 file.
12635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12636 multiarch wcsrchr for PPC32.
12637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12638 multiarch objects.
12639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12640 (__libc_ifunc_impl_list): Likewise.
12641 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12642 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12643 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12644 sysdeps/powerpc/power6/wcsrchr.c.
12645
05b5cd1c
AZ
12646 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12647 file.
12648 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12649 file.
12650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12652 multiarch wcschr for PPc32.
12653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12654 multiarch objects.
12655 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12656 (__libc_ifunc_impl_list): Likewise.
12657 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12658 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12659 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12660 sysdeps/powerpc/power6/wcschr.c.
12661
ba964147
AZ
12662 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12663 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12664 file.
12665 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12666 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12667 file: multiarch strchr for PPC32.
12668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12669 multiarch objects.
12670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12671 (__libc_ifunc_impl_list): Likewise.
12672
31c81aaa
AZ
12673 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12674 name.
12675 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12676 file.
12677 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12678 file.
12679 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12680 multiarch strchrnul for PPC32.
12681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12682 multiarch objects.
12683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12684 (__libc_ifunc_impl_list): Likewise.
12685
0d0607d9
AZ
12686 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12687 file.
12688 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12689 multiarch strncasecmp for PPC32.
12690 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12691 file.
12692 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12693 multiarch strncasecmp_l for PPC32.
12694 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12695 strncasecmp multiarch objects.
12696 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12697 (__libc_ifunc_impl_list): Likewise.
12698
4dfd5c86
AZ
12699 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12700 file.
12701 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12702 multiarch strncasecmp for PPC32.
12703 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12704 New file.
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12706 multiarch strcasecmp_l for PPC32.
12707 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12708 multiarch objects.
12709 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12710 (__libc_ifunc_impl_list): Likewise.
12711
a19e01a3
AZ
12712 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12713 file.
12714 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12715 file.
12716 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12717 multiarch strncmp for PPC32.
12718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12719 multiarch objects.
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12721 (__libc_ifunc_impl_list): Likewise.
12722
ae9cf7a2
AZ
12723 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12724 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12725 file.
12726 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12727 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12729 multiarch objects.
12730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12731 (__libc_ifunc_impl_list): Likewise.
12732
3148bb7d
AZ
12733 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12734 file.
12735 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12736 file.
12737 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12739 multiarch objects.
12740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12741 (__libc_ifunc_impl_list): Likewise.
12742
7af8b946
AZ
12743 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12744 file.
12745 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12746 file.
12747 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12748 multiarch rawmemchr for PPC32.
12749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12750 multiarch objects.
12751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12752 (__libc_ifunc_impl_list): Likewise.
12753
03a6aa6a
AZ
12754 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12755 file.
12756 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12757 file.
12758 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12759 file: memrchr multiarch for PPC32.
12760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12761 multiarch objects.
12762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12763 (__libc_ifunc_impl_list): Likewise.
12764
1c62e6d9
AZ
12765 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12766 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12767 file.
12768 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12769 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12770 multiarch memchr for PPC32.
12771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12772 multiarch objects.
12773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12774 (__libc_ifunc_impl_list): Likewise.
12775
87da8bdb
AZ
12776 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12777 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12778 file.
12779 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12780 file.
12781 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12782 file: multiarch mempcpy for PPC32.
12783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12784 multiarch objects.
12785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12786 (__libc_ifunc_impl_list): Likewise.
12787
20ed4714
AZ
12788 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12789 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12791 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12792 multiarch bzero for PPC32.
12793 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12794 file.
12795 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12796 file.
12797 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12798 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12799 file: multiarch memset for PPC32.
12800 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12802 memset multiarch objects.
12803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12804 (__libc_ifunc_impl_list): Likewise.
12805
ab3e3a46
AZ
12806 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12807 file.
12808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12809 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12810 memcmp for PPC32.
12811 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12813 multiarch objects.
12814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12815 (__libc_ifunc_impl_list): Likewise.
12816
930de6f0
AZ
12817 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12819 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12820 file.
12821 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12822 file.
12823 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12824 file.
12825 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12826 multiarch memcpy for PPC32.
12827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12828 multiarch objects.
12829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12830 (__libc_ifunc_impl_list): Likewise.
12831
4c628e00
AZ
12832 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12833 support multiarch for POWER/PPC32.
12834 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12835 Likewise.
12836 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12838 Implies file to make multiarch folder appers before the fpu and
12839 default folder for power4 configuration.
12840
f4479220
SP
128412013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12842
12843 * scripts/bench.pl: Append volatile keyword to type.
12844
8517800f
KK
128452013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12846
12847 * sysdeps/sh/sotruss-lib.c: New file.
12848 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12849
180138f1
AZ
128502013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12851
12852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12853
bbf37bdc
JM
128542013-12-05 Joseph Myers <joseph@codesourcery.com>
12855
e47cc4e0
JM
12856 [BZ #6810]
12857 * math/w_tgamma.c: Include <errno.h>.
12858 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12859 * math/w_tgammaf.c: Include <errno.h>.
12860 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12861 * math/w_tgammal.c: Include <errno.h>.
12862 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12863 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12864 underflow. Add more tgamma tests.
12865 * math/auto-libm-test-out: Regenerated.
12866 * sysdeps/i386/fpu/libm-test-ulps: Update.
12867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12868
bbf37bdc
JM
12869 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12870 sin, sinh, tan, tanh, tgamma, y0 and y1.
12871 * math/auto-libm-test-out: Regenerated.
12872 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12873 (TEST_COND_x86): Likewise.
12874 (M_E2l): Remove macro.
12875 (M_E3l): Likewise.
12876 (M_2_SQRT_PIl): Likewise.
12877 (M_SQRT_PIl): Likewise.
12878 (M_1_DIV_El): Likewise.
12879 (log_test_data): Use AUTO_TESTS_f_f.
12880 (log10_test_data): Likewise.
12881 (log1p_test_data): Likewise.
12882 (log2_test_data): Likewise.
12883 (sin_test_data): Likewise.
12884 (sin_tonearest_test_data): Likewise.
12885 (sin_towardzero_test_data): Likewise.
12886 (sin_downward_test_data): Likewise.
12887 (sin_upward_test_data): Likewise.
12888 (sinh_test_data): Likewise.
12889 (sinh_tonearest_test_data): Likewise.
12890 (sinh_towardzero_test_data): Likewise.
12891 (sinh_downward_test_data): Likewise.
12892 (sinh_upward_test_data): Likewise.
12893 (tan_test_data): Likewise.
12894 (tan_tonearest_test_data): Likewise.
12895 (tan_towardzero_test_data): Likewise.
12896 (tan_downward_test_data): Likewise.
12897 (tan_upward_test_data): Likewise.
12898 (tanh_test_data): Likewise.
12899 (tgamma_test_data): Likewise.
12900 (y0_test_data): Likewise.
12901 (y1_test_data): Likewise.
12902 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12903 (special_real_inputs): Add pi/4.
12904 * sysdeps/i386/fpu/libm-test-ulps: Update.
12905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12906
eb5ad6b9
AZ
129072013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12908
12909 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12910 "longjmp_target" static probes.
12911 (__longjmp): Rename to __longjmp_symbol.
12912 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12913 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12914 on which longjmp to generate.
12915 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12916 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12917 probe.
12918 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12919 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12920 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12921 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12922 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12923 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12925 __longjmp_symbol based on which __longjmp to generate.
12926 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12927 probe.
12928 (setjmp): Rename to setjmp_symbol.
12929 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12930 (_setjmp): Rename to _setjmp_symbol.
12931 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12932 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12933 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12934 which setjmp to generate.
12935 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12936 "longjmp_target" static probes.
12937
d136c6dc
SP
129382013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12939
9298ecba
SP
12940 * benchtests/README: Add note about output arguments.
12941 * benchtests/bench-sincos.c: Remove file.
12942 * benchtests/sincos-inputs: New file.
12943 * scripts/bench.pl: Identify output arguments and define
12944 static variables for them.
12945
232983e9
SP
12946 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12947
d136c6dc
SP
12948 [BZ #15941]
12949 * Makefile (INSTALL): Add install-plain.texi as the primary
12950 dependency.
12951 * manual/install-plain.texi: New file.
12952 * manual/install.texi: Include node directive only for
12953 non-plaintext output.
12954
699ff837
JM
129552013-12-04 Joseph Myers <joseph@codesourcery.com>
12956
ab07cea8
JM
12957 * stdlib/longlong.h: Update from GCC.
12958
699ff837
JM
12959 [BZ #6807]
12960 [BZ #15901]
12961 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12962 * math/w_j0f.c (y0f): Likewise.
12963 * math/w_j0l.c (__y0l): Likewise.
12964 * math/w_j1.c (y1): Likewise.
12965 * math/w_j1f.c (y1f): Likewise.
12966 * math/w_j1l.c (__y1l): Likewise
12967 * math/w_jn.c (yn): Likewise.
12968 * math/w_jnf.c (ynf): Likewise.
12969 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12970 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12971 value for Bessel function domain errors outside _SVID_ mode.
12972 Adjust sign of return value for yn (negative integer, 0).
12973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12974 by zero in return for negative x and set sign appropriately for
12975 negative n.
12976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12977 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12978 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12979 expectations in error cases.
12980 (y1_test_data): Likewise.
12981 (yn_test_data): Likewise.
12982 * sysdeps/i386/fpu/libm-test-ulps: Update.
12983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12984
5b118558
UW
129852013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12986
12987 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12988 "64" to "64-v1". Add "64-v2".
12989 (abi-64-options): Rename to ...
12990 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12991 (abi-64-condition): Rename to ...
12992 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12993 (abi-64-ld-soname): Rename to ...
12994 (abi-64-v1-ld-soname): ... this.
12995 (abi-64-v2-options): Define.
12996 (abi-64-v2-condition): Likewise.
12997 (abi-64-v2-ld-soname): Likewise.
12998 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12999 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13003
61cd8fe4
UW
130042013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13005 Alan Modra <amodra@gmail.com>
13006
13007 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13008 New versions for use with the ELFv2 ABI.
13009 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13010 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13011 declaration.
13012 (struct La_ppc64v2_retval): Likewise.
13013 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13014 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13015 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13016 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13017 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13018 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13019 Do not save or restore CR.
13020 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13021 (_dl_profile_resolve): Do no save or restore CR. Support extended
13022 return values for ELFv2 ABI. Fix location of FPR return registers.
13023 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13024 updated values for _CALL_ELF == 2.
13025 (La_regs, La_retval, int_retval): Likewise.
13026
8b8a692c
UW
130272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13028
13029 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13030 (FRAME_MIN_SIZE_PARM): Likewise.
13031 (FRAME_BACKCHAIN): Likewise.
13032 (FRAME_CR_SAVE): Likewise.
13033 (FRAME_LR_SAVE): Likewise.
13034 (FRAME_TOC_SAVE): Likewise.
13035 (FRAME_PARM_SAVE): Likewise.
13036 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13037 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13038 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13039 (call_mcount_parm_offset): New macro.
13040 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13041 (PROF): Use symbolic stack frame offsets.
13042 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13043 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13044 Redefine in terms of FRAME_MIN_SIZE.
13045 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13046 (_dl_profile_resolve): Likewise. Update comment.
13047 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13048 symbols stack frame offsets.
13049 (__sigsetjmp): Likewise.
13050 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13051 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13052 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13053 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13054
13055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13056 (FRAME_BACKCHAIN): Remove.
13057 (FRAME_CR_SAVE): Likewise.
13058 (FRAME_LR_SAVE): Likewise.
13059 (FRAME_COMPILER_DW): Likewise.
13060 (FRAME_LINKER_DW): Likewise.
13061 (FRAME_TOC_SAVE): Likewise.
13062 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13063 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13064 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13065 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13067 (CHECK_SP): Use symbolic stack frame offsets.
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13069 zone" instead of caller's parameter save area for temp storage.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13071 Likewise. Also, use symbolic stack frame offsets.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13073 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13074 our own stack frame instead of the caller's.
13075 (__socket): Use symbolic stack frame offsets.
13076
122b66de
UW
130772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13078 Alan Modra <amodra@gmail.com>
13079
13080 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13081 Define.
57f41c40
AS
13082 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13083 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13084 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13085 New function.
13086 (elf_machine_fixup_plt): Call it.
13087 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13088 reloc arguments.
13089 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13090 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13091 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13092 r2 before calling target.
13093
696caf1d
UW
130942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13095 Alan Modra <amodra@gmail.com>
13096
13097 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13098 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13099 versions of macros to support ELFv2 ABI.
13100 (LOCALENTRY): New macro.
13101 (ENTRY, EALIGN): Use it.
13102 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13103 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13104 fall through into ENTRY entry point.
13105 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13106 Only define if _CALL_ELF != 2.
13107
13108 (elf_machine_matches_host): Verify ABI version matches.
13109 (RTLD_START): Use LOCALENTRY.
13110 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13111 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13112 (PLT_ENTRY_WORDS): New macro.
13113 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13114 (elf_machine_runtime_setup): Support ELFv2 ABI.
13115 (elf_machine_fixup_plt): Likewise.
13116 (elf_machine_plt_conflict): Likewise.
13117 (resolve_ifunc): Likewise.
13118 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13119 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13120 Likewise.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13122 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13124 (makecontext): Support ELFv2 ABI.
13125 * elf/elf.h (EF_PPC64_ABI): Define.
13126
d31beafa
UW
131272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13128
57f41c40
AS
13129 * sysdeps/powerpc/powerpc64/sysdep.h
13130 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13131 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13132 (ENTRY) [ASSEMBLER]: ... but instead here ...
13133 (EALIGN) [ASSEMBLER]: ... and here.
13134 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13135 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13136 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13137 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13138 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13139 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13140 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13141 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13143 Use PPC64_LOAD_FUNCPTR.
13144
b525166b
UW
13145 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13146
7ec07d9a
AM
131472013-12-04 Alan Modra <amodra@gmail.com>
13148
13149 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13150 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13151 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13152 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13153
13154 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13155 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13156 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13157 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13158 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13159 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13160
5162e7dd
UW
131612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13162
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13164 (__makecontext): Fix incorrect CFI when backtracing out of
13165 context created via makecontext.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13167 (__setcontext): Fix incorrect CFI during switch to new context.
13168 (__novec_setcontext): Likewise.
13169
19e3372b
OB
131702013-12-04 Ondřej Bílka <neleai@seznam.cz>
13171
13172 [BZ #4772]
13173 * time/strptime_l.c (__strptime_internal): Allow modifiers
13174 in strptime.
13175 * time/tst-strptime.c (day_tests): Add testcase.
13176
ecaf142d
SP
131772013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13178
13179 * scripts/bench.pl: Skip over blank lines.
13180
fbf964ae
PE
131812013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13182
13183 [BZ #926]
13184 * manual/time.texi (Calendar Time): Clarify what timezone functions
13185 use.
13186
fa60a674
AZ
131872013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13188
13189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13190
d674f0ef
OB
131912013-12-04 Ondřej Bílka <neleai@seznam.cz>
13192
13193 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13194 implementation.
13195 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13196 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13197 * debug/memset_chk.c (__memset_chk): Likewise.
13198 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13199 * debug/strncpy_chk.c: Likewise.
13200
17dea188
JM
132012013-12-03 Joseph Myers <joseph@codesourcery.com>
13202
749008ff
JM
13203 [BZ #15268]
13204 [BZ #15425]
13205 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13206 (__ieee754_exp): For possibly underflowing results, check size of
13207 result and force underflow exception if required.
13208 * math/auto-libm-test-in: Add more tests of exp.
13209 * math/auto-libm-test-out: Regenerated.
13210 * sysdeps/i386/fpu/libm-test-ulps: Update.
13211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13212
17dea188
JM
13213 [BZ #16283]
13214 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13215 * math/w_exp2f.c (__exp2f): Likewise.
13216 * math/w_exp2l.c (__exp2l): Likewise.
13217 * math/auto-libm-test-in: Do not allow missing errno on exp2
13218 underflow.
13219 * math/auto-libm-test-out: Regenerated.
13220
b20de2c3
OB
132212013-12-03 Ondřej Bílka <neleai@seznam.cz>
13222
13223 [BZ #16274]
13224 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13225 handle filename validation.
13226 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13227 (do_open): Delete.
13228
d8e2dbe3
JM
132292013-12-03 Joseph Myers <joseph@codesourcery.com>
13230
34e16df5
JM
13231 [BZ #6786]
13232 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13233 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13234 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13235 <float.h>.
13236 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13237 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13238 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13240 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13241 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13242 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13243 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13244 Add more erfc tests.
13245 * math/auto-libm-test-out: Regenerated.
13246 * sysdeps/i386/fpu/libm-test-ulps: Update.
13247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13248
d8e2dbe3
JM
13249 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13250 exp2, expm1, j0 and j1.
13251 * math/auto-libm-test-out: Regenerated.
13252 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13253 (erfc_test_data): Likewise.
13254 (exp_test_data): Likewise.
13255 (exp_tonearest_test_data): Likewise.
13256 (exp_towardzero_test_data): Likewise.
13257 (exp_downward_test_data): Likewise.
13258 (exp_upward_test_data): Likewise.
13259 (exp10_test_data): Likewise.
13260 (exp2_test_data): Likewise.
13261 (expm1_test_data): Likewise.
13262 (j0_test_data): Likewise.
13263 (j1_test_data): Likewise.
13264 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13265 (input_flag_type): Add flag_xfail_rounding.
13266 (input_flags): Add xfail-rounding.
13267 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13268 (output_for_one_input_case): Handle flag_xfail_rounding.
13269 * sysdeps/i386/fpu/libm-test-ulps: Update.
13270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13271
18d14251
AJ
132722013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13273
3d2e6075 13274 [BZ #16289]
18d14251
AJ
13275 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13276 division by 0.
13277
520d437b
SP
132782013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13279
13280 [BZ #16195]
13281 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13282 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13283 (STAP_PROBE0): New macro.
13284 (STAP_PROBE1): Likewise.
13285 (STAP_PROBE2): Likewise.
13286 (STAP_PROBE3): Likewise.
13287 (STAP_PROBE4): Likewise.
13288
416e0145
OB
132892013-12-02 Ondřej Bílka <neleai@seznam.cz>
13290
13291 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13292
9d17796a
SE
132932013-12-02 Steve Ellcey <sellcey@mips.com>
13294
13295 * benchtests/Makefile (bench): Add sqrt.
13296 (LDLIBS-bench-sqrt): New.
13297 * benchtests/sqrt-input: New.
13298
f524d6a8
PS
132992013-12-02 Pavel Simerda <psimerda@redhat.com>
13300
639a0ef8
PS
13301 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13302 (GAIH_EAI): Likewise.
13303 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13304 (gaih_inet): Likewise.
13305 (getaddrinfo): Don't use GAIH_EAI.
13306
f524d6a8
PS
13307 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13308 (struct gaih): Remove definition.
13309
df3aedaf
SP
133102013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13311
13312 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13313 Use HERRNOP directly.
13314
1ab19dec
AZ
133152013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13316
b42ad38d 13317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13318
176b0c79
JM
133192013-11-30 Joseph Myers <joseph@codesourcery.com>
13320
13321 * math/gen-auto-libm-tests.c (test_functions): Add more
13322 single-argument functions.
13323 (special_fill_pi_2): New function.
13324 (special_fill_minus_pi_2): Likewise.
13325 (special_fill_pi_6): Likewise.
13326 (special_fill_minus_pi_6): Likewise.
13327 (special_fill_pi_3): Likewise.
13328 (special_fill_2pi_3): Likewise.
13329 (special_fill_e): Likewise.
13330 (special_fill_1_e): Likewise.
13331 (special_fill_e_minus_1): Likewise.
13332 (special_real_inputs): Add more special inputs.
13333 (output_for_one_input_case): Do not require ERANGE on underflow to
13334 zero if round-to-nearest result does not underflow to zero, unless
13335 exact results required.
13336 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13337 atan, atanh, cbrt, cos and cosh.
13338 * math/auto-libm-test-out: Regenerated.
13339 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13340 (acos_tonearest_test_data): Likewise.
13341 (acos_towardzero_test_data): Likewise.
13342 (acos_downward_test_data): Likewise.
13343 (acos_upward_test_data): Likewise.
13344 (acosh_test_data): Likewise.
13345 (asin_test_data): Likewise.
13346 (asin_tonearest_test_data): Likewise.
13347 (asin_towardzero_test_data): Likewise.
13348 (asin_upward_test_data): Likewise.
13349 (asinh_test_data): Likewise.
13350 (atan_test_data): Likewise.
13351 (atanh_test_data): Likewise.
13352 (cbrt_test_data): Likewise.
13353 (cos_test_data): Likewise.
13354 (cos_tonearest_test_data): Likewise.
13355 (cos_towardzero_test_data): Likewise.
13356 (cos_downward_test_data): Likewise.
13357 (cos_upward_test_data): Likewise.
13358 (cosh_test_data): Likewise.
13359 (cosh_tonearest_test_data): Likewise.
13360 (cosh_towardzero_test_data): Likewise.
13361 (cosh_downward_test_data): Likewise.
13362 (cosh_upward_test_data): Likewise.
13363 * sysdeps/i386/fpu/libm-test-ulps: Update.
13364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13365
ffb536d0
JM
133662013-11-29 Joseph Myers <joseph@codesourcery.com>
13367
2a77a467
JM
13368 [BZ #6787]
13369 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13370 * math/w_exp10f.c (__exp10f): Likewise.
13371 * math/w_exp10l.c (__exp10l): Likewise.
13372 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13373 errno settings in existing tests.
13374
ea3bc4e8
JM
13375 [BZ #14032]
13376 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13377 precision control set to double precision.
13378 * sysdeps/i386/fpu/w_sqrt.c: New file.
13379 * math/auto-libm-test-in: Add more tests.
13380 * math/auto-libm-test-out: Update.
13381
0712c9d8
JM
13382 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13383 (sqrt_test_tonearest): New function.
13384 (sqrt_towardzero_test_data): New variable.
13385 (sqrt_test_towardzero): New function.
13386 (sqrt_downward_test_data): New variable.
13387 (sqrt_test_downward): New function.
13388 (sqrt_upward_test_data): New variable.
13389 (sqrt_test_upward): New function.
13390 (main): Call the new functions.
13391
ffb536d0
JM
13392 * math/gen-auto-libm-tests.c: New file.
13393 * math/auto-libm-test-in: Likewise.
13394 * math/auto-libm-test-out: New generated file.
13395 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13396 variables.
13397 (%beautify): Add generated representations of zero.
13398 (top level): Set $auto_input and call parse_auto_input.
13399 (beautify): Remove trailing "f" from hex float constants.
13400 (parse_args): Handle XFAIL_TEST.
13401 (convert_condition): New function.
13402 (or_value): Likewise.
13403 (or_cond_value): Likewise.
13404 (generate_testfile): Handle AUTO_TESTS_* lines.
13405 (parse_auto_input): New function.
13406 * math/libm-test.inc (XFAIL_TEST): New macro.
13407 (ERRNO_UNCHANGED): Update value.
13408 (ERRNO_EDOM): Likewise.
13409 (ERRNO_ERANGE): Likewise.
13410 (IGNORE_RESULT): Likewise.
13411 (TEST_COND_flt_32): New macro.
13412 (TEST_COND_dbl_64): Likewise.
13413 (TEST_COND_ldbl_96_intel): Likewise.
13414 (TEST_COND_ldbl_96_m68k): Likewise.
13415 (TEST_COND_ldbl_128): Likewise.
13416 (TEST_COND_ldbl_128ibm): Likewise.
13417 (TEST_COND_long32): Likewise.
13418 (TEST_COND_long64): Likewise.
13419 (TEST_COND_before_rounding): Likewise.
13420 (TEST_COND_after_rounding): Likewise.
13421 (enable_test): Handle XFAIL_TEST flag.
13422 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13423 with finite results.
13424 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13425 auto-libm-test-out.
13426
acd98a8e
AK
134272013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13428 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13429
13430 [BZ #16214]
13431 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13432 __tls_get_addr_internal instead of __tls_get_offset in order to
13433 avoid GOT pointer dependency. Make rtld export
13434 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13435 __tls_get_addr since we are a __tls_get_offset platform.
13436 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13437 GOT pointer being set up before.
13438 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13439
3c1c46a6
JM
134402013-11-28 Joseph Myers <joseph@codesourcery.com>
13441
7475aef5
JM
13442 * manual/math.texi (Errors in Math Functions): Document accuracy
13443 goals.
13444
8bca7cd8
JM
13445 [BZ #15004]
13446 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13447 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13450 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13452 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13462
91a1f3fe
JM
13463 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13464 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13465 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13466 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13467 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13468 Likewise.
13469 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13470 Likewise.
13471 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13472 Likewise.
13473 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13474 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13475 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13476 atomic-feupdateenv and flt-rounds.
13477 * sysdeps/powerpc/nofpu/Versions (libc): Add
13478 __atomic_feholdexcept, __atomic_feclearexcept,
13479 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13480 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13481 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13482 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13483 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13484 here.
13485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13486 Update.
13487
c5df7609
JM
13488 * manual/arith.texi (FP Exceptions): Document that exceptions may
13489 not be raised when matherr is used.
13490 (Math Error Reporting): Document overflow in directed rounding
13491 modes. Document that errno may not be set when finite values are
13492 returned on overflow. Document intent to set errno on underflow
13493 only for underflow to zero.
13494
3c1c46a6
JM
13495 [BZ #16271]
13496 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13497 round-to-nearest then adjust result for other rounding modes.
13498 * include/fenv.h (fegetround): Use libm_hidden_proto.
13499 * math/fegetround.c (fegetround): Use libm_hidden_def.
13500 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13501 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13502 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13503 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13504 Likewise.
13505 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13506 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13507 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13508 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13509
5a4c6d53
SP
135102013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13511
13512 [BZ #16077]
13513 * nss/Versions (libnss_files): Add
13514 _nss_files_gethostbyname3_r.
13515 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13516 New function.
13517 (HOST_DB_LOOKUP): Remove macro.
13518 (_nss_files_gethostbyname_r): Implement function without the
13519 HOST_DB_LOOKUP macro.
13520 (_nss_files_gethostbyname2_r): Likewise.
13521
897b98ba
OB
135222013-11-28 Ondřej Bílka <neleai@seznam.cz>
13523
13524 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13525
6f476861
UB
135262013-11-26 Uros Bizjak <ubizjak@gmail.com>
13527
13528 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13529 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13530 warning.
13531
bd12ab55
AZ
135322013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13533
13534 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13535 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13536 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13537 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13538 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13539 __fe_nomask_env_priv and attribute_hidden.
13540 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13541 (libc_feupdateenv_test_ppc): Likewise.
13542 (libc_feresetround_ppc): Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13544 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13545 compat_symbol macro.
13546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13547 (__fe_nomask_env): Likewise.
13548 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13549
52bb6543
OB
135502013-11-26 Ondřej Bílka <neleai@seznam.cz>
13551
13552 * string/Makefile: Remove ifunc tests.
13553 * string/test-string.h: Define TEST_IFUNC.
13554 * string/test-bcopy-ifunc.c: Remove.
13555 * string/test-bzero-ifunc.c: Likewise.
13556 * string/test-memccpy-ifunc.c: Likewise.
13557 * string/test-memchr-ifunc.c: Likewise.
13558 * string/test-memcmp-ifunc.c: Likewise.
13559 * string/test-memcpy-ifunc.c: Likewise.
13560 * string/test-memmem-ifunc.c: Likewise.
13561 * string/test-memmove-ifunc.c: Likewise.
13562 * string/test-mempcpy-ifunc.c: Likewise.
13563 * string/test-memrchr-ifunc.c: Likewise.
13564 * string/test-memset-ifunc.c: Likewise.
13565 * string/test-rawmemchr-ifunc.c: Likewise.
13566 * string/test-stpcpy-ifunc.c: Likewise.
13567 * string/test-stpncpy-ifunc.c: Likewise.
13568 * string/test-strcasecmp-ifunc.c: Likewise.
13569 * string/test-strcasestr-ifunc.c: Likewise.
13570 * string/test-strcat-ifunc.c: Likewise.
13571 * string/test-strchr-ifunc.c: Likewise.
13572 * string/test-strchrnul-ifunc.c: Likewise.
13573 * string/test-strcmp-ifunc.c: Likewise.
13574 * string/test-strcpy-ifunc.c: Likewise.
13575 * string/test-strcspn-ifunc.c: Likewise.
13576 * string/test-strlen-ifunc.c: Likewise.
13577 * string/test-strncasecmp-ifunc.c: Likewise.
13578 * string/test-strncat-ifunc.c: Likewise.
13579 * string/test-strncmp-ifunc.c: Likewise.
13580 * string/test-strncpy-ifunc.c: Likewise.
13581 * string/test-strnlen-ifunc.c: Likewise.
13582 * string/test-strpbrk-ifunc.c: Likewise.
13583 * string/test-strrchr-ifunc.c: Likewise.
13584 * string/test-strspn-ifunc.c: Likewise.
13585 * string/test-strstr-ifunc.c: Likewise.
13586
ab260039 135872013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13588
13589 * benchtests/Makefile: Remove ifunc tests.
13590 * benchtests/bench-string.h: Define TEST_IFUNC.
13591 * benchtests/bench-bcopy-ifunc.c: Remove.
13592 * benchtests/bench-bzero-ifunc.c: Likewise.
13593 * benchtests/bench-memccpy-ifunc.c: Likewise.
13594 * benchtests/bench-memchr-ifunc.c: Likewise.
13595 * benchtests/bench-memcmp-ifunc.c: Likewise.
13596 * benchtests/bench-memcpy-ifunc.c: Likewise.
13597 * benchtests/bench-memmem-ifunc.c: Likewise.
13598 * benchtests/bench-memmove-ifunc.c: Likewise.
13599 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13600 * benchtests/bench-memrchr-ifunc.c: Likewise.
13601 * benchtests/bench-memset-ifunc.c: Likewise.
13602 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13603 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13604 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13605 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13606 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13607 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13608 * benchtests/bench-strcat-ifunc.c: Likewise.
13609 * benchtests/bench-strchr-ifunc.c: Likewise.
13610 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13611 * benchtests/bench-strcmp-ifunc.c: Likewise.
13612 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13613 * benchtests/bench-strcpy-ifunc.c: Likewise.
13614 * benchtests/bench-strcspn-ifunc.c: Likewise.
13615 * benchtests/bench-strlen-ifunc.c: Likewise.
13616 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13617 * benchtests/bench-strncat-ifunc.c: Likewise.
13618 * benchtests/bench-strncmp-ifunc.c: Likewise.
13619 * benchtests/bench-strncpy-ifunc.c: Likewise.
13620 * benchtests/bench-strnlen-ifunc.c: Likewise.
13621 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13622 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13623 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13624 * benchtests/bench-strspn-ifunc.c: Likewise.
13625 * benchtests/bench-strstr-ifunc.c: Likewise.
13626
136272013-11-26 Ondřej Bílka <neleai@seznam.cz>
13628
ab260039
OB
13629 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13630
d1d9eaf4 136312013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13632
d1d9eaf4
OB
13633 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13634 * rt/aio.h: Likewise.
13635 * sysdeps/gnu/bits/utmp.h: Likewise.
13636 * sysdeps/gnu/bits/utmpx.h: Likewise.
13637 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13638 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13639 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13640 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13641 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13642 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13643 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13644 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13645 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13646 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13647 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13648 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13649 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13651 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13652 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13653 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13654 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13655 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13656 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13657 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13658 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13659 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13660 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13661 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13663 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13664 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13665 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13666 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13667 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13669 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13670 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13671 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13672 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13673 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13674 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13675 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13676 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13677 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13678 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13679
a7624ed9
CD
136802013-11-25 Carlos O'Donell <carlos@redhat.com>
13681
13682 [BZ #16245]
13683 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13684 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13685
63cfe52b
JM
136862013-11-25 Joseph Myers <joseph@codesourcery.com>
13687
13688 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13689 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13690 Likewise.
13691
41e8926a
AZ
136922013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13693
13694 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13695 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13696 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13697 (__fesetround): Remove define.
13698 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13699 rounding and exceptions handling.
13700 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13701 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13702 (__fe_nomask_env): Likewise.
13703 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13704 __fegetround instead of fegetround.
13705 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13707
6851bd4d
RM
137082013-11-21 Roland McGrath <roland@hack.frob.com>
13709
070906ff
RM
13710 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13711 it's there.
13712
6851bd4d
RM
13713 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13714
84ae135d
MI
137152013-11-21 Meador Inge <meadori@codesourcery.com>
13716
13717 [BZ #11157]
13718 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13719 (encrypt_r): Likewise.
13720 * malloc/obstack.h (obstack_free): Likewise.
13721 * posix/unistd.h (encrypt): Likewise.
13722
daf75146
GM
137232013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13724
13725 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13726 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13727 DL_CALL_DT_FINI() that call the functions directly.
13728 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13729 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13730 * elf/dl-fini.c: Likewise.
13731
10ad46bc
OB
137322013-11-20 Ondřej Bílka <neleai@seznam.cz>
13733
13734 * malloc/hooks.c (memalign_check): Add alignment rounding.
13735 * malloc/malloc.c (_mid_memalign): New function.
13736 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13737 Implement by calling _mid_memalign.
13738 * manual/probes.texi (Memory Allocation Probes): Remove
13739 memory_valloc_retry and memory_pvalloc_retry.
13740
f3fd2628
SP
137412013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13742
4712799f
SP
13743 * locale/programs/locarchive.c (open_archive): Add const
13744 qualifier to ARCHIVEFNAME and copy default fname to
13745 DEFAULT_FNAME.
13746
0417b20f
SP
13747 [BZ #15601]
13748 * libio/tst-widetext.input: Rename Oriya to Odia.
13749 * locale/iso-639.def: Likewise.
13750
f3fd2628
SP
13751 * manual/probes.texi (Mathematical Function Probes): Add
13752 documentation for sin, cos, asin and acos probes.
13753 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13754 (__sin32): Add slowasin probe.
13755 (__cos32): Add slowacos probe.
13756 (__mpsin): Add slowsin probe.
13757 (__mpcos): Add slowcos probe.
13758
73c1ce4f
JM
137592013-11-19 Joseph Myers <joseph@codesourcery.com>
13760
13761 [BZ #15483]
13762 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13763 thread-local __sim_exceptions_thread and global
13764 __sim_exceptions_global.
13765 (__sim_disabled_exceptions): Change to thread-local
13766 __sim_disabled_exceptions_thread and global
13767 __sim_disabled_exceptions_global.
13768 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13769 and global __sim_round_mode_global.
13770 (__simulate_exceptions): Use thread-local floating-point state and
13771 set global state from it as needed.
13772 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13773 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13774 __sim_round_mode_thread.
13775 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13776 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13777 and global __sim_exceptions_global.
13778 (__sim_disabled_exceptions): Change to thread-local
13779 __sim_disabled_exceptions_thread and global
13780 __sim_disabled_exceptions_global.
13781 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13782 and global __sim_round_mode_global.
13783 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13784 (SIM_SET_GLOBAL): Likewise.
13785 * sysdeps/powerpc/soft-fp/sfp-machine.h
13786 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13787 __sim_round_mode_thread.
13788 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13789 __sim_disabled_exceptions_thread.
13790 (__sim_exceptions): Change to __sim_exceptions_thread.
13791 (__sim_disabled_exceptions): Change to
13792 __sim_disabled_exceptions_thread.
13793 (__sim_round_mode): Change to __sim_round_mode_thread.
13794 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13795 thread-local floating-point state and set global state from it as
13796 needed.
13797 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13798 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13799 (__sim_disabled_exceptions): Remove extern declaration.
13800 (feenableexcept): Use thread-local floating-point state and set
13801 global state from it as needed.
13802 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13803 extern declaration.
13804 (__sim_disabled_exceptions): Likewise.
13805 (__sim_round_mode): Likewise.
13806 (__fegetenv): Use thread-local floating-point state.
13807 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13808 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13809 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13810 floating-point state and set global state from it as needed.
13811 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13812 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13813 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13814 Likewise.
13815 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13816 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13817 Likewise.
13818 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13819 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13820 Use __sim_round_mode_thread.
13821 * math/test-fenv-tls.c: New file.
13822 * math/Makefile (tests): Add test-fenv-tls.
13823 ($(objpfx)test-fenv-tls): Depend on
13824 $(common-objpfx)nptl/libpthread.so.
13825
b5449b12
AS
138262013-11-19 Andreas Schwab <schwab@suse.de>
13827
13828 * locale/programs/locale.c (show_info): Decode wordarray elements.
13829 * locale/categories.def (LC_MONETARY): Add element for
13830 _NL_MONETARY_CRNCYSTR.
13831 * locale/C-monetary.c (conversion_rate): New variable.
13832 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13833 element.
13834
e186536b
CM
138352013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13836
13837 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13838 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13839
5c349950
PP
138402013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13841
13842 * elf/Makefile (tst-auxv): New test.
13843 * elf/tst-auxv.c: New
13844 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13845
699df45b
JM
138462013-11-18 Joseph Myers <joseph@codesourcery.com>
13847
13848 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13849 (hidden_proto): Caller changed.
13850 (hidden_tls_proto): New macro.
13851 (libc_hidden_tls_proto): Likewise.
13852 (rtld_hidden_tls_proto): Likewise.
13853 (libm_hidden_tls_proto): Likewise.
13854 (libresolv_hidden_tls_proto): Likewise.
13855 (librt_hidden_tls_proto): Likewise.
13856 (libdl_hidden_tls_proto): Likewise.
13857 (libnss_files_hidden_tls_proto): Likewise.
13858 (libnsl_hidden_tls_proto): Likewise.
13859 (libnss_nisplus_hidden_tls_proto): Likewise.
13860 (libutil_hidden_tls_proto): Likewise.
13861
b7589107
OB
138622013-11-18 Ondřej Bílka <neleai@seznam.cz>
13863
13864 [BZ #10253]
13865 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13866 (decompose_rpath): Defer expansion to fillin_rpath.
13867 (_dl_init_paths): Pass linkmap to fillin_rpath.
13868
250c23bd
RS
138692013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13870
13871 * benchtests/Makefile: Add strsep.
13872 * benchtests/bench-strsep.c: New file: strsep benchtest.
13873 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13874
a7931fcf
AS
138752013-11-18 Andreas Schwab <schwab@suse.de>
13876
13877 * locale/programs/locale.c (show_info) [case byte]: Check for
13878 '\377' instead of '\177'.
13879 * locale/C-monetary.c (not_available): Always use "\377".
13880 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13881 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13882 detect unavailable sign_posn locale elements.
13883 * locale/localeconv.c (__localeconv): For grouping and
13884 mon_grouping handle "\177" and "\377" like no grouping.
13885 (INT_ELEM): New macro. Use it to set all numeric members.
13886 * locale/programs/ld-monetary.c (monetary_read)
13887 <tok_mon_grouping>: Normalize single -1 to the empty string.
13888 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13889 Likewise.
13890
728dab0e
OB
138912013-11-07 Ondřej Bílka <neleai@seznam.cz>
13892
13893 [BZ #16055]
13894 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13895 when we match (nil).
13896 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13897
66294491
JM
138982013-11-16 Joseph Myers <joseph@codesourcery.com>
13899
ce665817
JM
13900 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13901 (NO_TEST_INLINE): Update value.
13902 (ERRNO_UNCHANGED): Likewise.
13903 (ERRNO_EDOM): Likewise.
13904 (ERRNO_ERANGE): Likewise.
13905 (IGNORE_RESULT): Likewise.
13906 (check_float_internal): Check signs of NaN results if
13907 TEST_NAN_SIGN used.
13908 (check_complex): Pass TEST_NAN_SIGN flag through to second
13909 check_float_internal call.
13910 (copysign_test_data): Add tests with quiet NaNs as second
13911 argument. Use TEST_NAN_SIGN.
13912 (fabs_test_data): Add test of negative quiet NaN argument. Use
13913 TEST_NAN_SIGN.
13914 (signbit_test_data): Add tests of quiet NaN argument.
13915 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13916
ee1466a9
JM
13917 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13918 $ignore_result.
13919 (parse_args): Handle function results specified as IGNORE.
13920 * math/libm-test.inc (IGNORE_RESULT): New macro.
13921 (check_float_internal): Do not check numerical result if flag
13922 IGNORE_RESULT set.
13923 (check_complex): Pass through IGNORE_RESULT to second
13924 check_float_internal call.
13925 (check_int): Do not check numerical result if flag IGNORE_RESULT
13926 set.
13927 (check_long): Likewise.
13928 (check_bool): Likewise.
13929 (check_longlong): Likewise.
13930 (lrint_test_data): Add tests of infinite and NaN arguments.
13931 (lrint_tonearest_test_data): Likewise.
13932 (lrint_towardzero_test_data): Likewise.
13933 (lrint_downward_test_data): Likewise.
13934 (lrint_upward_test_data): Likewise.
13935 (llrint_test_data): Likewise.
13936 (llrint_tonearest_test_data): Likewise.
13937 (llrint_towardzero_test_data): Likewise.
13938 (llrint_downward_test_data): Likewise.
13939 (llrint_upward_test_data): Likewise.
13940 (lround_test_data): Likewise.
13941 (llround_test_data): Likewise.
13942
14407b7e
JM
13943 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13944 (ERRNO_UNCHANGED): Update value.
13945 (ERRNO_EDOM): Likewise.
13946 (ERRNO_ERANGE): Likewise.
13947 (NO_TEST_INLINE_FLOAT): New macro.
13948 (NO_TEST_INLINE_DOUBLE): Likewise.
13949 (enable_test): New function.
13950 (RUN_TEST_f_f): Check enable_test before running test.
13951 (RUN_TEST_2_f): Likewise.
13952 (RUN_TEST_fff_f): Likewise.
13953 (RUN_TEST_c_f): Likewise.
13954 (RUN_TEST_f_f1): Likewise.
13955 (RUN_TEST_fF_f1): Likewise.
13956 (RUN_TEST_fI_f1): Likewise.
13957 (RUN_TEST_ffI_f1): Likewise.
13958 (RUN_TEST_c_c): Likewise.
13959 (RUN_TEST_cc_c): Likewise.
13960 (RUN_TEST_f_i): Likewise.
13961 (RUN_TEST_f_i_tg): Likewise.
13962 (RUN_TEST_ff_i_tg): Likewise.
13963 (RUN_TEST_f_b): Likewise.
13964 (RUN_TEST_f_b_tg): Likewise.
13965 (RUN_TEST_f_l): Likewise.
13966 (RUN_TEST_f_L): Likewise.
13967 (RUN_TEST_fFF_11): Likewise.
13968 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13969 conditionals.
13970 (cosh_test_data): Likewise.
13971 (exp_test_data): Likewise.
13972 (expm1_test_data): Likewise.
13973 (hypot_test_data): Likewise.
13974 (pow_test_data): Likewise.
13975 (sinh_test_data): Likewise.
13976 (tanh_test_data): Likewise.
13977 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13978 flags argument.
13979
ca07f197
JM
13980 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13981 tests with quiet NaN input and output.
13982 (acosh_test_data): Likewise.
13983 (asin_test_data): Likewise.
13984 (asinh_test_data): Likewise.
13985 (atan_test_data): Likewise.
13986 (atanh_test_data): Likewise.
13987 (atan2_test_data): Likewise.
13988 (cbrt_test_data): Likewise.
13989 (cos_test_data): Likewise.
13990 (cosh_test_data): Likewise.
13991 (erf_test_data): Likewise.
13992 (erfc_test_data): Likewise.
13993 (exp_test_data): Likewise.
13994 (exp10_test_data): Likewise.
13995 (exp2_test_data): Likewise.
13996 (expm1_test_data): Likewise.
13997 (hypot_test_data): Likewise.
13998 (j0_test_data): Likewise.
13999 (j1_test_data): Likewise.
14000 (jn_test_data): Likewise.
14001 (lgamma_test_data): Likewise.
14002 (log_test_data): Likewise.
14003 (log10_test_data): Likewise.
14004 (log1p_test_data): Likewise.
14005 (log2_test_data): Likewise.
14006 (pow_test_data): Likewise.
14007 (scalb_test_data): Likewise.
14008 (sin_test_data): Likewise.
14009 (sincos_test_data): Likewise.
14010 (sinh_test_data): Likewise.
14011 (tan_test_data): Likewise.
14012 (tanh_test_data): Likewise.
14013 (tgamma_test_data): Likewise.
14014 (y0_test_data): Likewise.
14015 (y1_test_data): Likewise.
14016 (yn_test_data): Likewise.
14017
66294491
JM
14018 [BZ #16167]
14019 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14020 argument being NaN and avoid computations with second argument in
14021 that case.
14022 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14023 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14024 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14025
1820b143
CL
140262013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14027
14028 * locale/iso-639.def: Add Chitwani Tharu (the).
14029
714bd261
AS
140302013-11-14 Andreas Schwab <schwab@suse.de>
14031
14032 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14033 word instead of empty string.
14034
7ab44563
AZ
140352013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14036
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14038 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14040 (__fe_nomask_env): Likewise.
14041
e8470ea2
SE
140422013-11-13 Steve Ellcey <sellcey@mips.com>
14043
14044 * benchtests/bench-timing.h: Include time.h.
14045
17c1d9f0
L
140462013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14047
14048 [BZ #15997]
14049 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14050 to 3.4.0 for x32.
14051 * sysdeps/unix/sysv/linux/configure: Regenerated.
14052
9310c284
JM
140532013-11-13 Joseph Myers <joseph@codesourcery.com>
14054
14055 [BZ #16151]
14056 * stdlib/strtod_l.c (round_and_return): Do not consider
14057 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14058 exponent one less than half the least subnormal exponent.
14059 * stdlib/test-strtod-round-data: Add more tests.
14060 * stdlib/tst-strtod-round.c (tests): Regenerated.
14061
7a2ad8cf
AZ
140622013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14063
14064 [BZ #14143]
14065 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14066 (__fe_mask_env): Likewise.
14067 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14068 libm_hidden_proto and add function prototype.
14069 (__fe_mask_env): Add function prototype.
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14071 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14073 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14075 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14076
50727aa7
MS
140772013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14078
b2f386c1 14079 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14080 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14081
a615be46
MS
140822013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14083
14084 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14085 of htab_find_slot().
14086
7ddace62
DM
140872013-11-11 David S. Miller <davem@davemloft.net>
14088
14089 [BZ #16150]
14090 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14091 symbol in the non-vis3 case in static builds.
14092 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14093 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14094 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14095 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14096
9182aa67
JK
140972013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14098
14099 [BZ #387]
14100 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14101 it is empty.
14102
450a2e2d
AZ
141032013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14104
b2f386c1
SP
14105 * benchtests/Makefile: Add bench-strtod.
14106 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14107
8ec3f656
AS
141082013-11-11 Andreas Schwab <schwab@suse.de>
14109
14110 [BZ #16153]
14111 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14112 terminating NUL in key length.
14113
76a9b998
AZ
141142013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14115
14116 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14117 Add artificial ODP entry for vDSO symbol for PPC64.
14118 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14119 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14120
e4368156
OB
141212013-11-07 Ondřej Bílka <neleai@seznam.cz>
14122
14123 [BZ #15374]
14124 * nss/getent.c (services_keys): Recognize services starting with digit.
14125
8d6bb57c
DM
141262013-11-06 David S. Miller <davem@davemloft.net>
14127
14128 [BZ #15985]
14129 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14130 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14131
e256c421
WN
141322013-11-06 Will Newton <will.newton@linaro.org>
14133
14134 * manual/memory.texi (Malloc Examples): Remove register
14135 keyword from examples.
14136
f6e12daa 141372013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14138
f6e12daa 14139 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14140
9d880655
AS
141412013-11-04 Joseph Myers <joseph@codesourcery.com>
14142
fd2f9486 14143 [BZ #6981]
9d880655
AS
14144 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14145 depending on [__GCC_IEC_559 > 0].
14146 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14147 depending on [__GCC_IEC_559_COMPLEX > 0].
14148
ae129d3c
CL
141492013-11-03 Chris Leonard <cjl@sugarlabs.org>
14150
14151 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14152 to iso-639.def.
14153
4a15c2a4 141542013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14155
14156 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14157
8b35e35d
OB
141582013-11-01 Ondřej Bílka <neleai@seznam.cz>
14159
14160 [BZ #16112]
14161 * malloc/malloc (malloc_info): Do not handle first bin as
14162 special case.
14163
1d70fd6c
CL
141642013-11-01 Chris Leonard <cjl@sugarlabs.org>
14165
14166 * locale/iso-639.def: Add Central Nahuatl (nhn).
14167
8c5c2600
BH
141682013-11-01 Bruno Haible <bruno@clisp.org>
14169
14170 [BZ #7003]
14171 * manual/math.texi (BSD Random): Specify range upper bound as
14172 in POSIX.
14173
da5579c2
CL
141742013-10-31 Chris Leonard <cjl@sugarlabs.org>
14175
14176 * locale/iso-639.def: Add Meadow Mari (mhr).
14177
5d30d853
OB
141782013-10-31 Ondřej Bílka <neleai@seznam.cz>
14179
14180 [BZ #14752], [BZ #15763]
14181 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14182 Validate name.
14183 * rt/tst_shm.c: Add test for escaping directory.
14184
a4966c61
AS
141852013-10-31 Andreas Schwab <schwab@suse.de>
14186
8a43e768 14187 [BZ #15917]
a4966c61
AS
14188 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14189 followed by 'x' as part of digit sequence.
14190 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14191
28d708c4
MAP
141922013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14193
14194 [BZ #16037]
14195 * configure.ac: allow GNU Make 4.0 and greater.
14196 * configure: Regenerated.
14197
a56ee40b
WN
141982013-10-30 Will Newton <will.newton@linaro.org>
14199
14200 [BZ #16038]
14201 * malloc/hooks.c (memalign_check): Limit alignment to the
14202 maximum representable power of two.
14203 * malloc/malloc.c (__libc_memalign): Likewise.
14204 * malloc/tst-memalign.c (do_test): Add test for very
14205 large alignment values.
14206 * malloc/tst-posix_memalign.c (do_test): Likewise.
14207
c6e4925d
OB
142082013-10-30 Ondřej Bílka <neleai@seznam.cz>
14209
14210 [BZ #11087]
14211 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14212 (munmap_chunk): Likewise.
14213 (mremap_chunk): Likewise.
14214
142152013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14216
8a43e768 14217 [BZ #15799]
bbea82f7
OB
14218 * stdlib/div.c (div): Remove obsolete code.
14219 * stdlib/ldiv.c (ldiv): Likewise.
14220 * stdlib/lldiv.c (lldiv): Likewise.
14221
977f4b31
SP
142222013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14223
14224 [BZ #16071]
14225 * nss/nss_files/files-XXX.c (get_contents_ret): New
14226 enumerator.
14227 (get_contents): New function.
14228 (internal_getent): Use it. Expand size of LINEBUFLEN.
14229
cb8a6dbd
MF
142302013-10-30 Mike Frysinger <vapier@gentoo.org>
14231
14232 * configure.in: Moved to ...
14233 * configure.ac: ... here. Change reference to configure.in
14234 to configure.ac.
14235 * sysdeps/arm/preconfigure.ac: ... here.
14236 configure.in to configure.ac.
14237 * sysdeps/gnu/configure.in: Moved to ...
14238 * sysdeps/gnu/configure.ac: ... here.
14239 * sysdeps/i386/configure.in: Moved to ...
14240 * sysdeps/i386/configure.ac: ... here.
14241 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14242 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14243 * sysdeps/mach/configure.in: Moved to ...
14244 * sysdeps/mach/configure.ac: ... here.
14245 * sysdeps/mach/hurd/configure.in: Moved to ...
14246 * sysdeps/mach/hurd/configure.ac: ... here.
14247 * sysdeps/powerpc/configure.in: Moved to ...
14248 * sysdeps/powerpc/configure.ac: ... here.
14249 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14250 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14251 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14252 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14253 * sysdeps/s390/s390-32/configure.in: Moved to ...
14254 * sysdeps/s390/s390-32/configure.ac: ... here.
14255 * sysdeps/s390/s390-64/configure.in: Moved to ...
14256 * sysdeps/s390/s390-64/configure.ac: ... here.
14257 * sysdeps/sh/configure.in: Moved to ...
14258 * sysdeps/sh/configure.ac: ... here.
14259 * sysdeps/sparc/configure.in: Moved to ...
14260 * sysdeps/sparc/configure.ac: ... here.
14261 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14262 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14263 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14264 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14265 * sysdeps/x86_64/configure.in: Moved to ...
14266 * sysdeps/x86_64/configure.ac: ... here.
14267 * sysdeps/x86_64/preconfigure.in: Moved to ...
14268 * sysdeps/x86_64/preconfigure.ac: ... here.
14269 * aclocal.m4: Change reference to configure.in to configure.ac.
14270 * config.h.in: Likewise.
14271 * manual/install.texi: Likewise.
14272 * manual/maint.texi: Likewise.
14273 * Makefile: Likewise.
14274 * malloc/Makefile: Likewise.
14275 * nscd/Makefile: Likewise.
14276 * Makeconfig: Change reference to configure.in and
14277 preconfigure.in to configure.ac and preconfigure.ac
14278 respectively.
14279 * INSTALL: Regenerated.
14280 * configure: Likewise.
14281 * sysdeps/gnu/configure: Likewise.
14282 * sysdeps/i386/configure: Likewise.
14283 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14284 * sysdeps/mach/configure: Likewise.
14285 * sysdeps/mach/hurd/configure: Likewise.
14286 * sysdeps/powerpc/configure: Likewise.
14287 * sysdeps/powerpc/powerpc32/configure: Likewise.
14288 * sysdeps/powerpc/powerpc64/configure: Likewise.
14289 * sysdeps/s390/s390-32/configure: Likewise.
14290 * sysdeps/s390/s390-64/configure: Likewise.
14291 * sysdeps/sh/configure: Likewise.
14292 * sysdeps/sparc/configure: Likewise.
14293 * sysdeps/unix/sysv/linux/configure: Likewise.
14294 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14295 * sysdeps/x86_64/configure: Likewise.
14296 * sysdeps/x86_64/preconfigure: Likewise.
14297
36a4953a
AS
142982013-10-29 Andreas Schwab <schwab@suse.de>
14299
14300 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14301
c79a1204
SP
143022013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14303
dfa1b402
SP
14304 * benchtests/pow-inputs: Add new inputs.
14305
54f73d9c
SP
14306 * benchtests/exp-inputs: Add new inputs.
14307
c79a1204
SP
14308 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14309 conditional check for return value.
14310 (__cos32): Likewise.
14311
67beb545 143122013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14313
14314 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14315 to provide a boost for large inputs with word alignment.
14316 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14317 implementation based on optimized PPC64 strcpy.
14318 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14319 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14320 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14321 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14322
151659f6
OB
143232013-10-25 Ondřej Bílka <neleai@seznam.cz>
14324
482a077e 14325 [BZ #2801]
151659f6
OB
14326 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14327
10b0f26b
OB
143282013-10-25 Ondřej Bílka <neleai@seznam.cz>
14329
14330 [BZ #14876]
14331 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14332 * time/tst-strptime.c (day_tests): Add testcase.
14333
ca42d35e
OB
143342013-10-25 Ondřej Bílka <neleai@seznam.cz>
14335
482a077e 14336 [BZ #14029]
ca42d35e
OB
14337 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14338
52e6d801
FB
143392013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14340
14341 [BZ #16074]
14342 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14343 MAP_FAILED on error.
14344
7cbcdb36
SP
143452013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14346
14347 [BZ #16072]
14348 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14349 heap for large requests.
14350
894f3f10
AM
143512013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14352
14353 [BZ #9954]
14354 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14355 result if the result has no associated interface.
14356 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14357 interface for all 127.X.Y.Z addresses.
14358
b85545a6
CL
143592013-10-24 Chris Leonard <cjl@sugarlabs.org>
14360
14361 * locale/iso-639.def: Add Ligurian (lij)
14362
d1f23d46
OB
143632013-10-21 Ondřej Bílka <neleai@seznam.cz>
14364
14365 [BZ #15825]
14366 * sunrpc/rpc_main.c: Document rpcgen -5.
14367
4db5b08f
MS
143682013-10-19 Michael Stahl <mstahl@redhat.com>
14369
14370 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14371
a471e96a
OB
143722013-10-19 Ondřej Bílka <neleai@seznam.cz>
14373
d1f23d46 14374 [BZ #10278]
a471e96a
OB
14375 * posix/glob.c: Match only directories when trailing slash is present.
14376 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14377 (main): Add testcase.
14378
45c30c61
OB
143792013-10-19 Ondřej Bílka <neleai@seznam.cz>
14380
14381 [BZ #15670]
14382 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14383
484c12fb
CD
143842013-10-18 Carlos O'Donell <carlos@redhat.com>
14385
3d7dc513
CD
14386 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14387 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14388 AUTH_DES and cindex for FIPS 140-2.
14389 (DES Encryption): Add cindex FIPS 46-3.
14390
484c12fb
CD
14391 * locale/locarchive.h (struct locarhandle): Add fname.
14392 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14393 if an optional argument was specified to --list-archive,
14394 otherwise NULL.
14395 * locale/programs/locarchive.c (show_archive_content): Take new
14396 argument fname and pass it via ah.fname to open_archive.
14397 * locale/programs/localedef.h: Update decl.
14398 (open_archive): If AH->fname is non-null, open that file
14399 rather than the default file name, and don't ignore ENOENT.
14400 (create_archive): Set AH.fname to NULL.
14401 (delete_locales_from_archive): Likewise.
14402 (add_locales_to_archive): Likewise.
14403 * locale/programs/locfile.c (write_all_categories): Likewise.
14404
3c8325fb
JM
144052013-10-18 Joseph Myers <joseph@codesourcery.com>
14406 Aldy Hernandez <aldyh@redhat.com>
14407
14408 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14409 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14410 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14411 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14412 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14413 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14414 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14415 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14416 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14417 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14418 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14419 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14420 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14421 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14422 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14423 Likewise.
14424 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14425 Likewise.
14426 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14427 Likewise.
14428 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14429 Likewise.
14430 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14431 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14432 Likewise.
14433 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14434 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14435 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14436 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14437 Likewise.
14438 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14439 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14440 * sysdeps/powerpc/preconfigure: Likewise.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14442 Likewise.
14443 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14444 Replace contents of file by #include of <fenv_libc.h>.
14445 * sysdeps/powerpc/soft-fp/sfp-machine.h
14446 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14447 and <sys/prctl.h>.
14448 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14449 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14450 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14453 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14455 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14456 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14457 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14458 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14459 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14461 Allow copysignl PLT reference to be missing.
14462
5abe0682
RS
144632013-10-18 Richard Sandiford <richard@codesourcery.com>
14464 Joseph Myers <joseph@codesourcery.com
14465
14466 [BZ #15948]
14467 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14468 single character.
14469 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14470
c7738d08
SP
144712013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14472
14473 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14474 * elf/tst-tls1.c: Likewise.
14475 * elf/tst-tls10.h: Likewise.
14476 * elf/tst-tls14.c: Likewise.
14477 * elf/tst-tls2.c: Likewise.
14478 * elf/tst-tls3.c: Likewise.
14479 * elf/tst-tls4.c: Likewise.
14480 * elf/tst-tls5.c: Likewise.
14481 * elf/tst-tls6.c: Likewise.
14482 * elf/tst-tls7.c: Likewise.
14483 * elf/tst-tls8.c: Likewise.
14484 * elf/tst-tls9.c: Likewise.
14485 * elf/tst-tlsmod1.c: Likewise.
14486 * elf/tst-tlsmod13.c: Likewise.
14487 * elf/tst-tlsmod13a.c: Likewise.
14488 * elf/tst-tlsmod14a.c: Likewise.
14489 * elf/tst-tlsmod16a.c: Likewise.
14490 * elf/tst-tlsmod16b.c: Likewise.
14491 * elf/tst-tlsmod2.c: Likewise.
14492 * elf/tst-tlsmod3.c: Likewise.
14493 * elf/tst-tlsmod4.c: Likewise.
14494 * elf/tst-tlsmod5.c: Likewise.
14495 * elf/tst-tlsmod6.c: Likewise.
14496
0bfcf2c7
OB
144972013-10-18 Ondřej Bílka <neleai@seznam.cz>
14498
14499 [BZ #12486]
14500 * malloc/malloc.c: remove checks for statistics.
14501
264aad1e
OB
145022013-10-17 Ondřej Bílka <neleai@seznam.cz>
14503
14504 [BZ #15277]
14505 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14506 * inet/tst-network.c: Add testcase.
14507
b957ced8
AS
145082013-10-17 Andreas Schwab <schwab@suse.de>
14509
14510 [BZ #15218]
14511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14512 to determine canonical name.
14513
c5d5d574
OB
145142013-10-17 Ondřej Bílka <neleai@seznam.cz>
14515
14516 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14517 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14518 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14519 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14529 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14536 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14540 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14541 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14542 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14543 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14544 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14545 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14546 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14547 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14549 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14551 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14552 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14553 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14554 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14556 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14560 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14562 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14566 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14568 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14571 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14574
e5c2c2d0
JM
145752013-10-17 Joseph Myers <joseph@codesourcery.com>
14576
14577 [BZ #16041]
14578 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14579 make result into a quiet NaN.
14580
51ca9e29
JM
145812013-10-16 Joseph Myers <joseph@codesourcery.com>
14582
14583 * soft-fp/adddf3.c: Fix horizontal whitespace.
14584 * soft-fp/addsf3.c: Likewise.
14585 * soft-fp/addtf3.c: Likewise.
14586 * soft-fp/divdf3.c: Likewise.
14587 * soft-fp/divsf3.c: Likewise.
14588 * soft-fp/divtf3.c: Likewise.
14589 * soft-fp/double.h: Likewise.
14590 * soft-fp/eqdf2.c: Likewise.
14591 * soft-fp/eqsf2.c: Likewise.
14592 * soft-fp/eqtf2.c: Likewise.
14593 * soft-fp/extenddftf2.c: Likewise.
14594 * soft-fp/extended.h: Likewise.
14595 * soft-fp/extendsfdf2.c: Likewise.
14596 * soft-fp/extendsftf2.c: Likewise.
14597 * soft-fp/extendxftf2.c: Likewise.
14598 * soft-fp/fixdfdi.c: Likewise.
14599 * soft-fp/fixdfsi.c: Likewise.
14600 * soft-fp/fixdfti.c: Likewise.
14601 * soft-fp/fixsfdi.c: Likewise.
14602 * soft-fp/fixsfsi.c: Likewise.
14603 * soft-fp/fixsfti.c: Likewise.
14604 * soft-fp/fixtfdi.c: Likewise.
14605 * soft-fp/fixtfsi.c: Likewise.
14606 * soft-fp/fixtfti.c: Likewise.
14607 * soft-fp/fixunsdfdi.c: Likewise.
14608 * soft-fp/fixunsdfsi.c: Likewise.
14609 * soft-fp/fixunsdfti.c: Likewise.
14610 * soft-fp/fixunssfdi.c: Likewise.
14611 * soft-fp/fixunssfsi.c: Likewise.
14612 * soft-fp/fixunssfti.c: Likewise.
14613 * soft-fp/fixunstfdi.c: Likewise.
14614 * soft-fp/fixunstfsi.c: Likewise.
14615 * soft-fp/fixunstfti.c: Likewise.
14616 * soft-fp/floatdidf.c: Likewise.
14617 * soft-fp/floatdisf.c: Likewise.
14618 * soft-fp/floatditf.c: Likewise.
14619 * soft-fp/floatsidf.c: Likewise.
14620 * soft-fp/floatsisf.c: Likewise.
14621 * soft-fp/floatsitf.c: Likewise.
14622 * soft-fp/floattidf.c: Likewise.
14623 * soft-fp/floattisf.c: Likewise.
14624 * soft-fp/floattitf.c: Likewise.
14625 * soft-fp/floatundidf.c: Likewise.
14626 * soft-fp/floatundisf.c: Likewise.
14627 * soft-fp/floatunditf.c: Likewise.
14628 * soft-fp/floatunsidf.c: Likewise.
14629 * soft-fp/floatunsisf.c: Likewise.
14630 * soft-fp/floatunsitf.c: Likewise.
14631 * soft-fp/floatuntidf.c: Likewise.
14632 * soft-fp/floatuntisf.c: Likewise.
14633 * soft-fp/floatuntitf.c: Likewise.
14634 * soft-fp/fmadf4.c: Likewise.
14635 * soft-fp/fmasf4.c: Likewise.
14636 * soft-fp/fmatf4.c: Likewise.
14637 * soft-fp/gedf2.c: Likewise.
14638 * soft-fp/gesf2.c: Likewise.
14639 * soft-fp/getf2.c: Likewise.
14640 * soft-fp/ledf2.c: Likewise.
14641 * soft-fp/lesf2.c: Likewise.
14642 * soft-fp/letf2.c: Likewise.
14643 * soft-fp/muldf3.c: Likewise.
14644 * soft-fp/mulsf3.c: Likewise.
14645 * soft-fp/multf3.c: Likewise.
14646 * soft-fp/negdf2.c: Likewise.
14647 * soft-fp/negsf2.c: Likewise.
14648 * soft-fp/negtf2.c: Likewise.
14649 * soft-fp/op-1.h: Likewise.
14650 * soft-fp/op-2.h: Likewise.
14651 * soft-fp/op-4.h: Likewise.
14652 * soft-fp/op-8.h: Likewise.
14653 * soft-fp/op-common.h: Likewise.
14654 * soft-fp/quad.h: Likewise.
14655 * soft-fp/single.h: Likewise.
14656 * soft-fp/soft-fp.h: Likewise.
14657 * soft-fp/sqrtdf2.c: Likewise.
14658 * soft-fp/sqrtsf2.c: Likewise.
14659 * soft-fp/sqrttf2.c: Likewise.
14660 * soft-fp/subdf3.c: Likewise.
14661 * soft-fp/subsf3.c: Likewise.
14662 * soft-fp/subtf3.c: Likewise.
14663 * soft-fp/truncdfsf2.c: Likewise.
14664 * soft-fp/trunctfdf2.c: Likewise.
14665 * soft-fp/trunctfsf2.c: Likewise.
14666 * soft-fp/trunctfxf2.c: Likewise.
14667 * soft-fp/unorddf2.c: Likewise.
14668 * soft-fp/unordsf2.c: Likewise.
14669 * soft-fp/unordtf2.c: Likewise.
14670
9ebb0332
JM
146712013-10-15 Joseph Myers <joseph@codesourcery.com>
14672
14673 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14674 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14675
4b1a6d8b
OB
146762013-10-15 Ondřej Bílka <neleai@seznam.cz>
14677
14678 * elf/dl-libc.c: Clear initfini list after freeing.
14679
1e145589
JM
146802013-10-14 Joseph Myers <joseph@codesourcery.com>
14681
14682 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14683 * soft-fp/addsf3.c: Likewise.
14684 * soft-fp/addtf3.c: Likewise.
14685 * soft-fp/divdf3.c: Likewise.
14686 * soft-fp/divsf3.c: Likewise.
14687 * soft-fp/divtf3.c: Likewise.
14688 * soft-fp/double.h: Likewise.
14689 * soft-fp/eqdf2.c: Likewise.
14690 * soft-fp/eqsf2.c: Likewise.
14691 * soft-fp/eqtf2.c: Likewise.
14692 * soft-fp/extenddftf2.c: Likewise.
14693 * soft-fp/extended.h: Likewise.
14694 * soft-fp/extendsfdf2.c: Likewise.
14695 * soft-fp/extendsftf2.c: Likewise.
14696 * soft-fp/extendxftf2.c: Likewise.
14697 * soft-fp/fixdfdi.c: Likewise.
14698 * soft-fp/fixdfsi.c: Likewise.
14699 * soft-fp/fixdfti.c: Likewise.
14700 * soft-fp/fixsfdi.c: Likewise.
14701 * soft-fp/fixsfsi.c: Likewise.
14702 * soft-fp/fixsfti.c: Likewise.
14703 * soft-fp/fixtfdi.c: Likewise.
14704 * soft-fp/fixtfsi.c: Likewise.
14705 * soft-fp/fixtfti.c: Likewise.
14706 * soft-fp/fixunsdfdi.c: Likewise.
14707 * soft-fp/fixunsdfsi.c: Likewise.
14708 * soft-fp/fixunsdfti.c: Likewise.
14709 * soft-fp/fixunssfdi.c: Likewise.
14710 * soft-fp/fixunssfsi.c: Likewise.
14711 * soft-fp/fixunssfti.c: Likewise.
14712 * soft-fp/fixunstfdi.c: Likewise.
14713 * soft-fp/fixunstfsi.c: Likewise.
14714 * soft-fp/fixunstfti.c: Likewise.
14715 * soft-fp/floatdidf.c: Likewise.
14716 * soft-fp/floatdisf.c: Likewise.
14717 * soft-fp/floatditf.c: Likewise.
14718 * soft-fp/floatsidf.c: Likewise.
14719 * soft-fp/floatsisf.c: Likewise.
14720 * soft-fp/floatsitf.c: Likewise.
14721 * soft-fp/floattidf.c: Likewise.
14722 * soft-fp/floattisf.c: Likewise.
14723 * soft-fp/floattitf.c: Likewise.
14724 * soft-fp/floatundidf.c: Likewise.
14725 * soft-fp/floatundisf.c: Likewise.
14726 * soft-fp/floatunsidf.c: Likewise.
14727 * soft-fp/floatunsisf.c: Likewise.
14728 * soft-fp/floatuntidf.c: Likewise.
14729 * soft-fp/floatuntisf.c: Likewise.
14730 * soft-fp/floatuntitf.c: Likewise.
14731 * soft-fp/fmadf4.c: Likewise.
14732 * soft-fp/fmasf4.c: Likewise.
14733 * soft-fp/fmatf4.c: Likewise.
14734 * soft-fp/gedf2.c: Likewise.
14735 * soft-fp/gesf2.c: Likewise.
14736 * soft-fp/getf2.c: Likewise.
14737 * soft-fp/ledf2.c: Likewise.
14738 * soft-fp/lesf2.c: Likewise.
14739 * soft-fp/letf2.c: Likewise.
14740 * soft-fp/muldf3.c: Likewise.
14741 * soft-fp/mulsf3.c: Likewise.
14742 * soft-fp/multf3.c: Likewise.
14743 * soft-fp/negdf2.c: Likewise.
14744 * soft-fp/negsf2.c: Likewise.
14745 * soft-fp/negtf2.c: Likewise.
14746 * soft-fp/op-1.h: Likewise.
14747 * soft-fp/op-2.h: Likewise.
14748 * soft-fp/op-4.h: Likewise.
14749 * soft-fp/op-8.h: Likewise.
14750 * soft-fp/op-common.h: Likewise.
14751 * soft-fp/quad.h: Likewise.
14752 * soft-fp/single.h: Likewise.
14753 * soft-fp/soft-fp.h: Likewise.
14754 * soft-fp/sqrtdf2.c: Likewise.
14755 * soft-fp/sqrtsf2.c: Likewise.
14756 * soft-fp/sqrttf2.c: Likewise.
14757 * soft-fp/subdf3.c: Likewise.
14758 * soft-fp/subsf3.c: Likewise.
14759 * soft-fp/subtf3.c: Likewise.
14760 * soft-fp/truncdfsf2.c: Likewise.
14761 * soft-fp/trunctfdf2.c: Likewise.
14762 * soft-fp/trunctfsf2.c: Likewise.
14763 * soft-fp/trunctfxf2.c: Likewise.
14764 * soft-fp/unorddf2.c: Likewise.
14765 * soft-fp/unordsf2.c: Likewise.
14766 * soft-fp/unordtf2.c: Likewise.
14767
17c48a60
OB
147682013-10-14 Ondřej Bílka <neleai@seznam.cz>
14769
14770 [BZ #15672]
14771 * misc/error.c (error_tail): Fix possible buffer overflow.
14772
cabba934
OB
147732013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14774
14775 [BZ #13028]
14776 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14777 address.
14778
94bf958a
PM
147792013-10-14 P. J. McDermott <pj@pehjota.net>
14780
14781 [BZ #832]
14782 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14783 testing pipefail option.
14784
71b4dea7
JM
147852013-10-12 Joseph Myers <joseph@codesourcery.com>
14786
14787 * soft-fp/double.h: Indent preprocessor directives inside #if.
14788 * soft-fp/extended.h: Likewise.
14789 * soft-fp/op-2.h: Likewise.
14790 * soft-fp/op-4.h: Likewise.
14791 * soft-fp/op-common.h: Likewise.
14792 * soft-fp/quad.h: Likewise.
14793 * soft-fp/single.h: Likewise.
14794 * soft-fp/soft-fp.h: Likewise.
14795
55602758
YC
147962013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14797
14798 * iconv/iconv_prog.c: Fix typos.
14799 * stdio-common/psiginfo-data.h: Likewise.
14800
9cd83302
RT
148012013-10-12 Reuben Thomas <rrt@sc3d.org>
14802
14803 [BZ #15764]
14804 * locale/setlocale.c: Fix typo.
14805
99fd9f47
JM
148062013-10-12 Joseph Myers <joseph@codesourcery.com>
14807
b7ea74f0
JM
14808 [BZ #16036]
14809 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14810 signaling NaN arguments.
14811 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14812 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14813
8a509447
JM
14814 [BZ #14910]
14815 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14816 unordered operands.
14817 * soft-fp/gesf2.c (__gesf2): Likewise.
14818 * soft-fp/getf2.c (__getf2): Likewise.
14819 * soft-fp/ledf2.c (__ledf2): Likewise.
14820 * soft-fp/lesf2.c (__lesf2): Likewise.
14821 * soft-fp/letf2.c (__letf2): Likewise.
14822
98998e9f
JM
14823 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14824 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14825 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14826 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14827 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14828 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14829 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14830 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14831 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14832 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14833 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14834 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14835 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14836 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14837 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14838 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14839 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14840 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14841 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14842 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14843 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14844 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14845 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14846 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14847 * soft-fp/floattidf.c (__floattidf): Likewise.
14848 * soft-fp/floattisf.c (__floattisf): Likewise.
14849 * soft-fp/floattitf.c (__floattitf): Likewise.
14850 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14851 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14852 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14853 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14854 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14855 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14856 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14857 * soft-fp/gesf2.c (__gesf2): Likewise.
14858 * soft-fp/getf2.c (__getf2): Likewise.
14859 * soft-fp/ledf2.c (__ledf2): Likewise.
14860 * soft-fp/lesf2.c (__lesf2): Likewise.
14861 * soft-fp/letf2.c (__letf2): Likewise.
14862
8edc4a11
JM
14863 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14864 Undefine and redefine.
14865 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14866 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14867 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14868 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14869 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14870 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14871 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14872 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14873 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14874 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14875 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14876 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14877 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14878 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14879 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14880
8399acaf
JM
14881 [BZ #16032]
14882 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14883 without decrementing exponent if mantissa >= that for the
14884 denominator, not >.
14885 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14886 denominator, not >. Decrement exponent in < case instead of
14887 incrementing in >= case.
14888 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14889 without decrementing exponent if mantissa >= that for the
14890 denominator, not >.
14891
99fd9f47
JM
14892 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14893 computing saturated result for unsigned overflow.
14894
10e1cf6b
SP
148952013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14896 Jeff Law <law@redhat.com>
14897
14898 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14899 (atan2Mp): Add systemtap probe marker.
14900 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14901 (__ieee754_log): Add systemtap probe marker.
14902 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14903 (atanMp): Add systemtap probe marker.
14904 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14905 (tanMp): Add systemtap probe marker.
14906 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14907 (__slowexp): Add systemtap probe marker.
14908 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14909 (__slowpow): Add systemtap probe marker.
14910 * manual/probes.texi: Document probes.
14911
3d110c7c
EB
149122013-10-11 Eric Biggers <ebiggers3@gmail.com>
14913
14914 [BZ #15362]
14915 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14916 written.
14917 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14918 written.
14919 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14920 written to buffer but not flushed.
14921 * libio/iofwrite_u.c: Likewise.
14922 * libio/iopadn.c: Return bytes returned even if EOF was
14923 encountered.
14924 * libio/iowpadn.c: Likewise.
14925 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14926 if _IO_padn does not write the whole buffer.
14927 [!COMPILE_WPRINTF] (PAD): Likewise.
14928
75b4202a
DM
149292013-10-10 David S. Miller <davem@davemloft.net>
14930
14931 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14932 directory block.
14933
6c6352e6
JM
149342013-10-10 Joseph Myers <joseph@codesourcery.com>
14935
33b853c3
JM
14936 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14937 instead of FSF address.
14938 * soft-fp/fixdfti.c: Likewise.
14939 * soft-fp/fixsfti.c: Likewise.
14940 * soft-fp/fixtfti.c: Likewise.
14941 * soft-fp/fixunsdfti.c: Likewise.
14942 * soft-fp/fixunssfti.c: Likewise.
14943 * soft-fp/fixunstfti.c: Likewise.
14944 * soft-fp/floattidf.c: Likewise.
14945 * soft-fp/floattisf.c: Likewise.
14946 * soft-fp/floattitf.c: Likewise.
14947 * soft-fp/floatuntidf.c: Likewise.
14948 * soft-fp/floatuntisf.c: Likewise.
14949 * soft-fp/floatuntitf.c: Likewise.
14950 * soft-fp/trunctfxf2.c: Likewise.
14951
6c6352e6
JM
14952 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14953 * soft-fp/fixdfti.c: Likewise.
14954 * soft-fp/fixsfti.c: Likewise.
14955 * soft-fp/fixtfti.c: Likewise.
14956 * soft-fp/fixunsdfti.c: Likewise.
14957 * soft-fp/fixunssfti.c: Likewise.
14958 * soft-fp/fixunstfti.c: Likewise.
14959 * soft-fp/floattidf.c: Likewise.
14960 * soft-fp/floattisf.c: Likewise.
14961 * soft-fp/floattitf.c: Likewise.
14962 * soft-fp/floatuntidf.c: Likewise.
14963 * soft-fp/floatuntisf.c: Likewise.
14964 * soft-fp/floatuntitf.c: Likewise.
14965 * soft-fp/trunctfxf2.c: Likewise.
14966
3bf78b71
DM
149672013-10-10 David S. Miller <davem@davemloft.net>
14968
14969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14970
6f10289e
JM
149712013-10-10 Joseph Myers <joseph@codsourcery.com>
14972
bd878fc0
JM
14973 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14974 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14975 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14976 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14977 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14978 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14979 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14980
6f10289e
JM
14981 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14982 for NaNs before doing comparisons on argument.
14983 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14984 Likewise.
14985
321e2684
WN
149862013-10-10 Will Newton <will.newton@linaro.org>
14987
14988 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14989 passed to _int_memalign does not overflow.
14990
40fefba1
TR
149912013-10-10 Torvald Riegel <triegel@redhat.com>
14992
14993 * scripts/bench.pl: Add include-sources directive.
14994 * benchtests/README: Update documentation.
14995
2ae21ed2
JM
149962013-10-10 Joseph Myers <joseph@codesourcery.com>
14997
dcc2dd3f
JM
14998 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14999 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15000 instead of FP_INIT_ROUNDMODE.
15001 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15002 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15003
2ae21ed2
JM
15004 [BZ #16034]
15005 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15006 copy class of input value.
15007 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15008 not handle exceptions.
15009 * soft-fp/negsf2.c (__negsf2): Likewise.
15010 * soft-fp/negtf2.c (__negtf2): Likewise.
15011 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15012
cb8f9562
JM
150132013-10-09 Joseph Myers <joseph@codesourcery.com>
15014
15015 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15016 semicolon. From Linux kernel.
15017
5b60c59d
AB
150182013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15019
15020 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15021
b86835ca
YC
150222013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15023
15024 [BZ #156]
15025 * manual/socket.texi: Added statement about buffer
15026 for gethostbyname2_r.
15027
e7044ea7
OB
150282013-10-08 Ondřej Bílka <neleai@seznam.cz>
15029
15030 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15031 Use .p2align directive instead, throughout.
15032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15033 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15034 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15035 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15036 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15037 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15038 * sysdeps/x86_64/strchr.S: Likewise.
15039 * sysdeps/x86_64/strrchr.S: Likewise.
15040
09544cbc
SP
150412013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15042
88576635
SP
15043 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15044
e7b2d1dd
SP
15045 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15046
09544cbc
SP
15047 * sysdeps/generic/math_private.h (__mpsin1): Remove
15048 declaration.
15049 (__mpcos1): Likewise.
15050 (__mpsin): New argument __range_reduce.
15051 (__mpcos): Likewise.
15052 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15053 (slow): Use __mpsin and __mpcos.
15054 (slow1): Likewise.
15055 (slow2): Likewise.
15056 (sloww): Likewise.
15057 (sloww1): Likewise.
15058 (sloww2): Likewise.
15059 (bsloww): Likewise.
15060 (bsloww1): Likewise.
15061 (bsloww2): Likewise.
15062 (cslow2): Likewise.
15063 (csloww): Likewise.
15064 (csloww1): Likewise.
15065 (csloww2): Likewise.
15066 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15067 range_reduce. Merge in __mpsin1.
15068 (__mpcos): Likewise.
15069 (__mpsin1): Remove.
15070 (__mpcos1): Likewise.
15071
7602d070
JM
150722013-10-07 Joseph Myers <joseph@codesourcery.com>
15073
15074 * locale/loadlocale.c (_nl_intern_locale_data): Use
15075 LOCFILE_ALIGNED_P.
15076 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15077 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15078 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15079 obstack data is appropriately aligned.
15080 (obstack_int32_grow_fast): Likewise.
15081 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15082 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15083 (add_locale_uint32_array): Likewise.
15084
a357259b
SP
150852013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15086
15087 * benchtests/Makefile: Remove ARGLIST and RET variables.
15088 ($(objpfx)bench-%.c): Pass only function name to the script.
15089 * benchtests/README: Update documentation.
15090 * benchtests/acos-inputs: Add new directives.
15091 * benchtests/acosh-inputs: Likewise.
15092 * benchtests/asin-inputs: Likewise.
15093 * benchtests/asinh-inputs: Likewise.
15094 * benchtests/atan-inputs: Likewise.
15095 * benchtests/atanh-inputs: Likewise.
15096 * benchtests/cos-inputs: Likewise.
15097 * benchtests/cosh-inputs: Likewise.
15098 * benchtests/exp-inputs: Likewise.
15099 * benchtests/log-inputs: Likewise.
15100 * benchtests/pow-inputs: Likewise.
15101 * benchtests/rint-inputs: Likewise.
15102 * benchtests/sin-inputs: Likewise.
15103 * benchtests/sinh-inputs: Likewise.
15104 * benchtests/tan-inputs: Likewise.
15105 * benchtests/tanh-inputs: Likewise.
15106 * scripts/bench.pl: Add support for new directives.
15107
9ec1b13d
AM
151082013-10-07 Alan Modra <amodra@gmail.com>
15109
15110 * README: Fix careless merge.
15111
8b7d57cd
AM
151122013-10-05 Alan Modra <amodra@gmail.com>
15113
15114 * NEWS: Mention powerpc64le support and bugs fixed.
15115 * README: Both big-endian and little-endian powerpc64 supported.
15116
7b7bab13
ST
151172013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15118
57f41c40
AS
15119 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15120 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15121 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15122 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15123
d39baad1
RA
151242013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15125
15126 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15127 match prototype.
15128
cd78f7e7
JM
151292013-10-04 Joseph Myers <joseph@codesourcery.com>
15130
29d73d86
JM
15131 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15132 Move -mhard-float appending from
15133 ports/sysdeps/powerpc/powerpc32/Makefile.
15134 [$(with-fp) = yes] (ASFLAGS): Likewise.
15135 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15136 * sysdeps/powerpc/nofpu: Move directory from
15137 ports/sysdeps/powerpc/nofpu.
15138 * sysdeps/powerpc/soft-fp: Move directory from
15139 ports/sysdeps/powerpc/soft-fp.
15140 * sysdeps/powerpc/powerpc32/405: Move directory from
15141 ports/sysdeps/powerpc/powerpc32/405.
15142 * sysdeps/powerpc/powerpc32/440: Move directory from
15143 ports/sysdeps/powerpc/powerpc32/440.
15144 * sysdeps/powerpc/powerpc32/464: Move directory from
15145 ports/sysdeps/powerpc/powerpc32/464.
15146 * sysdeps/powerpc/powerpc32/476: Move directory from
15147 ports/sysdeps/powerpc/powerpc32/476.
15148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15149 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15151 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15153 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15155 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15157 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15158 * README: Update for powerpc-*-linux-gnu software floating point
15159 support in libc.
15160
e246b347
JM
15161 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15162 case to powerpc/powerpc32*.
15163 * sysdeps/unix/sysv/linux/configure: Regenerated.
15164
89c2003e
JM
15165 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15166 (_FPU_MASK_OM): Define as 0x04.
15167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15169 0x00c10080.
15170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15171 0x0000003c.
15172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15173
cd78f7e7
JM
15174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15175 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15176 getcontext_e500.
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15178 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15179 setcontext_e500.
15180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15181 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15182 and setcontext_e500.
15183
c755294d
CL
151842013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15185
15186 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15187
e16d221c
SP
151882013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15189
15190 * manual/threads.texi (Default Thread Attributes): Fix typo.
15191
215c7d43
WN
151922013-10-04 Will Newton <will.newton@linaro.org>
15193
15194 * malloc/Makefile: Add tst-memalign.
15195 * malloc/tst-memalign.c: New file.
15196
27d0461b
WN
15197 * malloc/tst-posix_memalign.c: Add comments.
15198 (do_test): Add comments and call free on all potentially
15199 allocated pointers. Add space after cast.
15200
1bc92709
WN
15201 * malloc/tst-pvalloc.c: Add comments.
15202 (do_test): Add comments and call free on all potentially
15203 allocated pointers. Remove duplicate check for NULL pointer.
15204 Add space after cast.
15205
66a9be9d
WN
15206 * malloc/tst-valloc.c: Add comments.
15207 (do_test): Add comments and call free on all potentially
15208 allocated pointers. Remove duplicate check for NULL pointer.
15209 Add space after cast.
15210
4cb81307
AM
152112013-10-04 Alan Modra <amodra@gmail.com>
15212
15213 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15214 Use stdint types in rather than __attribute__((mode())).
15215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15216
f8e3e9f3
AM
152172013-10-04 Alan Modra <amodra@gmail.com>
15218
15219 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15220 Correct handling of unaligned relocs for little-endian.
15221 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15222
8f9ebb08
AM
152232013-10-04 Alan Modra <amodra@gmail.com>
15224
15225 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15226 * configure: Regenerate.
15227 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15228 * shlib-versions: Likewise.
15229
0edf96c2
AM
152302013-10-04 Alan Modra <amodra@gmail.com>
15231
15232 * string/tester.c (test_memrchr): Increment reported test cycle.
15233
e0f7a380
AM
152342013-10-04 Alan Modra <amodra@gmail.com>
15235
15236 * string/test-memcpy.c (do_one_test): When reporting errors, print
15237 string address and don't overrun end of string.
15238
466b0393
AM
152392013-10-04 Alan Modra <amodra@gmail.com>
15240
15241 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15242 insrdi. Make better use of reg selection to speed exit slightly.
15243 Schedule entry path a little better. Remove useless "are we done"
15244 checks on entry to main loop. Handle wrapping around zero address.
15245 Correct main loop count. Handle single left-over word from main
15246 loop inline rather than by using loop_small. Remove extra word
15247 case in loop_small caused by wrong loop count. Add little-endian
15248 support.
15249 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15251 cache hint.
15252 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15253 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15254 support. Avoid rlwimi.
15255 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15256
3be87c77
AM
152572013-10-04 Alan Modra <amodra@gmail.com>
15258
15259 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15260 insrdi. Formatting.
3be87c77
AM
15261 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15262 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15263 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15264 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15265 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15266 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15267
759cfef3
AM
152682013-10-04 Alan Modra <amodra@gmail.com>
15269
15270 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15271 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15272 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15273 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15274 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15275 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15276 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15277 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15278 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15279 use of regs. Use power7 mtocrf. Tidy function tails.
15280
fe6e95d7
AM
152812013-10-04 Alan Modra <amodra@gmail.com>
15282
15283 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15284 Formatting. Consistently use rXXX register defines or rN defines.
15285 Use early exit labels that avoid restoring unused non-volatile regs.
15286 Make cr field use more consistent with rWORDn compares. Rename
15287 regs used as shift registers for unaligned loop, using rN defines
15288 for short lifetime/multiple use regs.
15289 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15290 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15291 addi 1,1,64 to pop stack frame. Simplify return value code.
15292 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15293
664318c3
AM
152942013-10-04 Alan Modra <amodra@gmail.com>
15295
15296 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15297 support. Correct typos, formatting. Optimize tail. Use insrdi
15298 rather than rlwimi.
15299 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15300 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15301 little-endian support. Correct typos.
15302 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15303 rather than rlwimi.
15304 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15305 in loop and entry code to keep "and." results.
15306 (strchr): Add little-endian support. Comment. Move cntlzd
15307 earlier in tail.
15308 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15309
43b84013
AM
153102013-10-04 Alan Modra <amodra@gmail.com>
15311
15312 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15313 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15314 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15315 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15316
8a7413f9
AM
153172013-10-04 Alan Modra <amodra@gmail.com>
15318
15319 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15320 (rTMP): Define as r11.
15321 (strcmp): Add little-endian support. Optimise tail.
15322 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15323 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15324 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15325 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15329
33ee81de
AM
153302013-10-04 Alan Modra <amodra@gmail.com>
15331
15332 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15333 little-endian support. Remove unnecessary "are we done" tests.
15334 Handle "s" wrapping around zero and extremely large "size".
15335 Correct main loop count. Handle single left-over word from main
15336 loop inline rather than by using small_loop. Correct comments.
15337 Delete "zero" tail, use "end_max" instead.
15338 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15339
db9b4570
AM
153402013-10-04 Alan Modra <amodra@gmail.com>
15341
15342 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15343 support. Don't branch over align.
15344 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15345 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15346 support. Rearrange tmp reg use to suit. Comment.
15347 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15348
f7c399cf
AM
153492013-10-04 Alan Modra <amodra@gmail.com>
15350
15351 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15352
0b2c2ace
AM
153532013-10-04 Alan Modra <amodra@gmail.com>
15354
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15356 conditional form of branch and link when obtaining pc.
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15358
02f04a6c
AM
153592013-10-04 Alan Modra <amodra@gmail.com>
15360
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15362 HIWORD/LOWORD.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15365
9b874b2f
AM
153662013-10-04 Alan Modra <amodra@gmail.com>
15367
15368 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15369 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15370 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15371 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15372 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15373 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15374 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15375 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15376 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15377 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15378
be1e5d31
AB
153792013-10-04 Anton Blanchard <anton@au1.ibm.com>
15380 Alistair Popple <alistair@ozlabs.au.ibm.com>
15381 Alan Modra <amodra@gmail.com>
15382
15383 [BZ #15723]
15384 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15385 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15386 _dl_hwcap access for little-endian.
15387 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15388 destroy vmx regs when saving unaligned.
15389 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15390 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15391 destroy vmx regs when saving unaligned.
15392
fef13a78
AM
153932013-10-04 Alan Modra <amodra@gmail.com>
15394
15395 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15396 Don't use a union to pack hi/low value.
15397
76a66d51
AB
153982013-10-04 Anton Blanchard <anton@au1.ibm.com>
15399
15400 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15401 for little-endian.
15402 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15403 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15404 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15405 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15406 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15407
6a31fe7f
AM
154082013-10-04 Alan Modra <amodra@gmail.com>
15409
15410 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15411 constants to usual value for .cst8 section, and remove redundant
15412 high address load.
15413 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15414 constant for 0x1p52. Load little-endian words of double from
15415 correct stack offsets.
15416
7b88401f
AM
154172013-10-04 Alan Modra <amodra@gmail.com>
15418
15419 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15420 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15421 words of double from correct stack offsets.
15422 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15423 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15424 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15427 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15429 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15430 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15431 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15432 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15433 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15434 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15435 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15436 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15437 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15438 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15439
9c008155
AM
154402013-10-04 Alan Modra <amodra@gmail.com>
15441
15442 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15443 64-bit int/double union.
15444 (_FPU_SETCW): Likewise.
15445 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15446 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15447
da13146d
AM
154482013-10-04 Alan Modra <amodra@gmail.com>
15449
15450 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15451 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15452
603e8410
AM
154532013-10-04 Alan Modra <amodra@gmail.com>
15454
15455 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15456 use vector int constants.
15457 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15458
4a28b3ca
AB
154592013-10-04 Anton Blanchard <anton@au1.ibm.com>
15460
15461 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15462 array with long long.
15463 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15464 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15465 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15466 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15467 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15468 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15469 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15470 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15471 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15472 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15473 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15474 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15475 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15476
2ca85d2b
AB
154772013-10-04 Anton Blanchard <anton@au1.ibm.com>
15478
15479 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15480 (__signbit): Likewise. Correct for little-endian.
15481 (__signbitl): Call __signbit.
15482 (lrint): Correct for little-endian.
15483 (lrintf): Call lrint.
15484
62a728ae
AM
154852013-10-04 Alan Modra <amodra@gmail.com>
15486
15487 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15488 union 32-bit int array member with 64-bit int array.
15489 (t515, tm256): Double rather than long double.
15490 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15491
32c301df
AM
154922013-10-04 Alan Modra <amodra@gmail.com>
15493
15494 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15495 Delete.
15496 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15497 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15498 version of math_ldbl.h.
15499
650ef4bd
AM
155002013-10-04 Alan Modra <amodra@gmail.com>
15501
15502 [BZ #15734], [BZ #15735]
15503 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15504 all uses of ieee875 long double macros and unions. Simplify test
15505 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15506 ldbl_extract_mantissa value for ix,iy exponents. Properly
15507 normalize after ldbl_extract_mantissa, and don't add hidden bit
15508 already handled. Don't treat low word of ieee854 mantissa like
15509 low word of IBM long double and mask off bit when testing for
15510 zero.
15511 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15512 all uses of ieee875 long double macros and unions. Simplify tests
15513 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15514 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15515 two1022, instead use their values. Recognise that tests for large
15516 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15517 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15518 Rewrite all uses of ieee875 long double macros and unions. Simplify
15519 test for 0.0L and nan. Correct negation.
15520 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15521 ieee875 long double macros and unions. Correct output for large
15522 magnitude x. Correct absolute value calculation.
15523 (__erfcl): Likewise.
15524 * math/libm-test.inc: Add tests for errors discovered in IBM long
15525 double versions of fmodl, remainderl, erfl and erfcl.
15526
765714ca
AM
155272013-10-04 Alan Modra <amodra@gmail.com>
15528
15529 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15530 all uses of ieee854 long double macros and unions. Simplify tests
15531 for long doubles that are fully specified by the high double.
15532 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15533 Likewise.
15534 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15535 Remove dead code too.
15536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15537 (__ieee754_ynl): Likewise.
15538 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15541 Remove dead code too.
15542 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15543 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15544 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15545 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15546 Simplify.
15547 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15548 Simplify.
15549 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15550 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15551 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15552 Comment on variable precision.
15553 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15554 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15555 Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15558 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15559 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15560 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15561
4ebd120c
AM
155622013-10-04 Alan Modra <amodra@gmail.com>
15563
15564 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15565 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15566 all uses of ieee854 long double macros and unions.
15567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15573 Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15578 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15579 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15580 Simplify sign and nan test too.
15581 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15582 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15585 Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15588 Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15592 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15595
1b6adf88
AM
155962013-10-04 Alan Modra <amodra@gmail.com>
15597
15598 * stdio-common/printf_size.c (__printf_size): Don't use
15599 union ieee854_long_double in fpnum union.
15600 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15601 signbit macro to retrieve sign from long double.
15602 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15603 retrieve sign from long double.
15604 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15605 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15606 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15607 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15608 * math/test-misc.c (main): Don't use union ieee854_long_double.
15609
4cf69995
AM
156102013-10-04 Alan Modra <amodra@gmail.com>
15611
15612 [BZ #15680]
15613 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15614 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15615 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15616 calculation. Remove unnecessary test for denormal exponent.
15617 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15618 Correct handling of denormals. Avoid undefined shift behaviour.
15619 Correct normalisation of low mantissa when low double is denormal.
15620 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15621 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15622 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15623 Correct normalisation of low mantissa. Test for overflow of high
15624 mantissa and normalise.
15625 (ldbl_nearbyint): Use more readable constant for two52.
15626 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15627 (__mpn_construct_long_double): Fix test for overflow of high
15628 mantissa and correct normalisation. Avoid undefined shift.
15629
9605ca6c
AM
156302013-10-04 Alan Modra <amodra@gmail.com>
15631
15632 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15633 (union ibm_extended_long_double): Define as an array of ieee754_double.
15634 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15635 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15636 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15637 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15638 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15640 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15641 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15644 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15645
975569d0
JM
156462013-10-03 Joseph Myers <joseph@codesourcery.com>
15647
d3d23756
JM
15648 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15649 page size instead of calling getpagesize.
15650
975569d0
JM
15651 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15652 (LOCFILE_ALIGN_MASK): Likewise.
15653 (LOCFILE_ALIGN_UP): Likewise.
15654 (LOCFILE_ALIGNED_P): Likewise.
15655 * locale/programs/ld-collate.c (collate_output): Use the new
15656 macros instead of __alignof__ (int32_t).
15657 * locale/weight.h (findidx): Likewise.
15658
b1fe1f2b
OB
156592013-10-03 Ondřej Bílka <neleai@seznam.cz>
15660
15661 [BZ #431]
15662 * manual/string.texi: Fix strncat and wcsncat.
15663
5f855e35
BM
156642013-10-03 Brooks Moses <bmoses@google.com>
15665
15666 [BZ #15915]
15667 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15668 * Makerules: ...here, and adjust associated comments.
15669
3cef6009
WN
156702013-10-02 Will Newton <will.newton@linaro.org>
15671
15672 * malloc/Makefile: Add tst-pvalloc.
15673 * malloc/tst-pvalloc.c: New file.
15674
7815420b
WN
156752013-10-02 Will Newton <will.newton@linaro.org>
15676
15677 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15678 improve test coverage.
15679
4868b204
WN
156802013-10-02 Will Newton <will.newton@linaro.org>
15681
15682 * malloc/Makefile: Add tst-posix_memalign.
15683 * malloc/tst-posix_memalign.c: New file.
15684
29c793b3
EB
156852013-10-01 Eric Blake <eblake@redhat.com>
15686
15687 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15688 Use __THROWNL rather than __THROW on static functions.
15689
fd967522
PM
156902013-09-30 Petr Machata <pmachata@redhat.com>
15691
15692 * elf/elf.h (R_AARCH64_ABS16): New macro.
15693 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15694 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15695 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15696 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15697 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15698 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15699 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15700 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15701 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15702 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15703 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15704 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15705 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15706 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15707 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15708 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15709 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15710 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15711 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15712 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15713 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15714 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15715 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15716 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15717 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15718 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15719 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15720 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15721 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15722 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15723 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15724 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15725 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15726 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15727 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15728 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15729 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15730 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15731 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15732 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15733 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15734 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15735 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15736 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15737 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15738 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15739 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15740 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15741 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15742 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15743 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15744 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15745 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15746 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15747 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15748 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15749 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15750 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15751 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15752 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15753 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15754 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15755 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15756 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15757 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15758 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15759 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15760 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15761 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15762 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15763 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15764 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15765 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15766 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15767 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15768 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15769 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15770 (R_AARCH64_TLSDESC_LDR): Likewise.
15771 (R_AARCH64_TLSDESC_ADD): Likewise.
15772 (R_AARCH64_TLSDESC_CALL): Likewise.
15773
b2179107
AS
157742013-09-30 Andreas Schwab <schwab@suse.de>
15775
15776 [BZ #15048]
15777 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15778 the nss database lookup.
15779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15781
47f28d0a
MF
157822013-09-28 Mike Frysinger <vapier@gentoo.org>
15783
15784 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15785
157862013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15787
15788 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15789 ${Bash-specific parameter/pattern/string} parameter expansion.
15790 * sysdeps/unix/make-syscalls.sh: Likewise.
15791
f4518a17
KK
157922013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15793
15794 * sysdeps/sh/stackguard-macros.h: New file.
15795
dc1a95c7
OB
157962013-09-26 Ondřej Bílka <neleai@seznam.cz>
15797
15798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15800 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15801 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15802 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15803 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15804
5ebbff8f
AZ
158052013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15806
15807 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15808 Fix thread ID register.
15809
4fd2cf9f
JM
158102013-09-25 Joseph Myers <joseph@codesourcery.com>
15811
15812 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15813 [POSIX || UNIX98]: Require rather than permitting all symbols from
15814 <time.h>.
15815 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15816 element of struct sched_param.
15817 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15818 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15819 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15820 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15821 constant.
15822
12c22bc4
OL
158232013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15824
15825 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15826 argument calculation.
15827
a03d8ea7
JM
158282013-09-24 Joseph Myers <joseph@codesourcery.com>
15829
15830 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15831 Expect macro.
15832 [POSIX] (pthread_attr_t): Do not require type.
15833 [POSIX] (pthread_cond_t): Likewise.
15834 [POSIX] (pthread_condattr_t): Likewise.
15835 [POSIX] (pthread_key_t): Likewise.
15836 [POSIX] (pthread_mutex_t): Likewise.
15837 [POSIX] (pthread_mutexattr_t): Likewise.
15838 [POSIX] (pthread_once_t): Likewise.
15839 [POSIX] (pthread_t): Likewise.
15840 [POSIX-based standards] (pthread_atfork): Expect function.
15841
6055173a
JM
158422013-09-24 Joseph Myers <joseph@codesourcery.com>
15843 Richard Sandiford <richard@codesourcery.com>
15844
15845 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15846 (swap_endianness_p): New extern variable.
15847 (set_big_endian): New inline function.
15848 (maybe_swap_uint32): Likewise.
15849 (maybe_swap_uint32_array): Likewise.
15850 (maybe_swap_uint32_obstack): Likewise.
15851 * locale/programs/locfile.c: Include <stdbool.h>.
15852 (swap_endianness_p): New variable.
15853 (add_locale_uint32): Call maybe_swap_uint32.
15854 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15855 (write_locale_data): Call maybe_swap_uint32_array.
15856 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15857 maybe_swap_uint32.
15858 (obstack_int32_grow_fast): Likewise.
15859 (output_weightwc): Call maybe_swap_uint32_obstack.
15860 (collate_output): Likewise.
15861 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15862 (OPT_LITTLE_ENDIAN): Likewise.
15863 (options): Add --little-endian and --big-endian options.
15864 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15865 * locale/programs/locarchive.c: Include "locfile.h".
15866 (GET): New macro.
15867 (SET): Likewise.
15868 (INC): Likewise.
15869 (create_archive): Use the new macros to access fields of
15870 structures directly mapped from or written to locale archives.
15871 (oldlocrecentcmp): Likewise.
15872 (enlarge_archive): Likewise.
15873 (insert_name): Likewise.
15874 (add_alias): Likewise.
15875 (add_locale): Likewise.
15876 (delete_locales_from_archive): Likewise.
15877 (show_archive_content): Likewise.
15878 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15879 locale data.
15880
39bf0bb4
RM
158812013-09-24 Roland McGrath <roland@hack.frob.com>
15882
15883 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15884 http://www.gnu.org/doc/freemanuals.texi.
15885 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15886
f02eed10
WN
158872013-09-24 Will Newton <will.newton@linaro.org>
15888
15889 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15890 macro.
15891
a3a6c312
JM
158922013-09-23 Joseph Myers <joseph@codesourcery.com>
15893
15894 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15895 unsigned char.
15896
107375ac
MR
158972013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15898
15899 * manual/threads.texi (POSIX Threads): Fix a typo.
15900
141f3a77
SP
159012013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15902
303e567a
SP
15903 [BZ #14547]
15904 * string/tst-strcoll-overflow.c: New test case.
15905 * string/Makefile (xtests): Add tst-strcoll-overflow.
15906 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15907 cache if string sizes may cause integer overflow.
15908
141f3a77
SP
15909 [BZ #14547]
15910 * string/strcoll_l.c (coll_seq): New members rule, idx,
15911 save_idx and back_us.
15912 (get_next_seq_nocache): New function.
15913 (do_compare_nocache): New function.
15914 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15915 when malloc fails.
15916
c61b4d41
CD
159172013-09-23 Carlos O'Donell <carlos@redhat.com>
15918
0b1f8e35
CD
15919 [BZ #15754]
15920 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15921 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15922 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15923
c61b4d41
CD
15924 [BZ #15754]
15925 * elf/Makefile (tests): Add tst-ptrguard1.
15926 (tests-static): Add tst-ptrguard1-static.
15927 (tst-ptrguard1-ARGS): Define.
15928 (tst-ptrguard1-static-ARGS): Define.
15929 * elf/tst-ptrguard1.c: New file.
15930 * elf/tst-ptrguard1-static.c: New file.
15931 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15932 * sysdeps/i386/stackguard-macros.h: Likewise.
15933 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15934 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15935 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15936 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15937 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15938 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15939
159402013-09-23 Hector Marco <hecmargi@upv.es>
15941 Ismael Ripoll <iripoll@disca.upv.es>
15942 Carlos O'Donell <carlos@redhat.com>
15943
15944 [BZ #15754]
15945 * sysdeps/generic/stackguard-macros.h: Define
15946 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15947 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15948 Define __pointer_chk_guard_local.
15949 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15950 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15951
f5f4e7b4
VV
159522013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15953
15954 [BZ #15859]
15955 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15956
5bb43a43
AS
159572013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15958
15959 * include/string.h (__ffs): Declare as hidden.
15960 * string/ffs.c (__ffs): Define as hidden.
15961 * sysdeps/i386/ffs.c (__ffs): Likewise.
15962 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15963 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15964 * sysdeps/s390/ffs.c (__ffs): Likewise.
15965 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15966
3ea5be54
AO
159672013-09-20 Alexandre Oliva <aoliva@redhat.com>
15968
ffb89e53
AO
15969 * NEWS: Mention malloc probes.
15970
322dea08
AO
15971 * malloc/arena.c (new_heap): New memory_heap_new probe.
15972 (grow_heap): New memory_heap_more probe.
15973 (shrink_heap): New memory_heap_less probe.
15974 (heap_trim): New memory_heap_free probe.
15975 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15976 (systrim): New memory_sbrk_less probe.
15977 * manual/probes.texi: Document them.
15978
655673f3
AO
15979 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15980 * manual/probes.texi: Document it.
15981
35fed6f1
AO
15982 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15983 (__libc_realloc): Add memory_realloc_retry probe.
15984 (__libc_memalign): Add memory_memalign_retry probe.
15985 (__libc_valloc): Add memory_valloc_retry probe.
15986 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15987 (__libc_calloc): Add memory_calloc_retry probe.
15988 * manual/probes.texi: Document them.
15989
6999d38c
AO
15990 * malloc/arena.c (get_free_list): Add probe
15991 memory_arena_reuse_free_list.
15992 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15993 and memory_arena_reuse.
15994 (arena_get2) [!PER_THREAD]: Likewise.
15995 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15996 memory_arena_reuse_realloc.
15997 * manual/probes.texi: Document them.
15998
0653427f
AO
15999 * malloc/malloc.c (__libc_free): Add
16000 memory_mallopt_free_dyn_thresholds probe.
16001 (__libc_mallopt): Add multiple memory_mallopt probes.
16002 * manual/probes.texi: Document them.
16003
3ea5be54
AO
16004 * malloc/malloc.c: Include stap-probe.h.
16005 (__libc_mallopt): Add memory_mallopt probe.
16006 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16007 * manual/probes.texi: New.
16008 * manual/Makefile (chapters): Add probes.
16009 * manual/threads.texi: Set next node.
16010
e35696c3 160112013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16012
e35696c3
CL
16013 [BZ #15963, #13985]
16014 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16015 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16016 Add `Chinese' to `nan' entry name.
16017
4aafb73c
SP
160182013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16019
16020 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16021 (POLYNOMIAL): Likewise.
16022 (TAYLOR_SINCOS): Likewise.
16023 (TAYLOR_SLOW): Likewise.
16024 (__sin): Use TAYLOR_SINCOS.
16025 (__cos): Likewise.
16026 (slow): Use TAYLOR_SLOW.
16027 (sloww): Likewise.
16028 (bsloww): Likewise.
16029 (csloww): Likewise.
16030
d84f25c7
LD
160312013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16032
16033 * stdlib/strtod_l.c: Fix buffer overrun.
16034
5eea0404
SP
160352013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16036
7849ff93
SP
16037 * benchtests/Makefile (bench): Add sincos.
16038 * benchtests/bench-sincos.c: New file.
16039
cfa3c886
SP
16040 * math/libm-test.inc (cos_test_data): New test inputs.
16041 (sin_test_data): Likewise.
16042
b348e1e3
SP
16043 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16044 macro.
16045 (__sin): Use it.
16046 (__cos): Likewise.
16047 (slow1): Likewise.
16048 (slow2): Likewise.
16049 (sloww1): Likewise.
16050 (sloww2): Likewise.
16051 (bsloww1): Likewise.
16052 (bsloww2): Likewise.
16053 (cslow2): Likewise.
16054 (csloww1): Likewise.
16055 (csloww2): Likewise.
16056
6cce25f8
SP
16057 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16058 function.
16059 (__sin): Use it.
16060 (__cos): Likewise.
16061
5eea0404
SP
16062 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16063 gotos.
16064 (__cos): Likewise.
16065
9c21573c
MR
160662013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16067
16068 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16069 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16070 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16071 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16072 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16073 * elf/cache.c (print_entry): Handle the new cache flags.
16074
24d22e65
JM
160752013-09-18 Joseph Myers <joseph@codesourcery.com>
16076 Aldy Hernandez <aldyh@redhat.com>
16077
16078 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16079 Change condition to [_SOFT_FLOAT].
16080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16092 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16093 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16095 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16096 declaration.
16097
d13ef066
JM
160982013-09-18 Joseph Myers <joseph@codesourcery.com>
16099
2e071de0
JM
16100 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16101 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16102 (__longjmp): Use LOAD_GP to load saved GPRs.
16103 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16104 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16105 (__sigsetjmp): Use SAVE_GP to save GPRs.
16106
d13ef066
JM
16107 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16108 Do not append -msoft-float.
16109 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16110
97a0650b
SP
161112013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16112
16113 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16114
11ca09e9
JM
161152013-09-17 Joseph Myers <joseph@codesourcery.com>
16116
16117 [BZ #15966]
16118 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16119 (_FPU_GETCW): Use initial "__" on variable and field names but not
16120 on macro parameter name.
16121 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16122 parentheses around reference to macro parameter.
16123
08ffcf34
RS
161242013-09-13 Richard Sandiford <richard@codesourcery.com>
16125
16126 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16127 prototype.
16128 (ctype_startup): Use uint32_t in cast and sizeof for
16129 ctype->charnames.
16130
ae7080d3
JL
161312013-09-11 Jia Liu <proljc@gmail.com>
16132
16133 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16134 __daddr_t_defined.
16135 [__FreeBSD__]: Likewise.
16136
5905e7b3
OB
161372013-09-11 Ondřej Bílka <neleai@seznam.cz>
16138
16139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16140 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16141 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16142 (strchr): Remove __strchr_sse42 ifunc selection.
16143 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16144 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16145
b987c776
WN
161462013-09-11 Will Newton <will.newton@linaro.org>
16147
16148 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16149 parameter to RES. Remove hardcoded 1000 value.
16150 * benchtests/bench-skeleton.c (main): Pass RES parameter
16151 to TIMING_INIT and multiply result by 1000.
16152
ddf985af
AZ
161532013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16154
16155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16156
ffdd3181
AS
161572013-09-11 Andreas Schwab <schwab@suse.de>
16158
16159 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16160 if not defined.
16161 (O_TMPFILE) [__USE_GNU]: Define.
16162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16163 Define.
16164
b73ed247
WN
161652013-09-11 Will Newton <will.newton@linaro.org>
16166
16167 [BZ #15857]
16168 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16169 does not overflow.
16170
55e17aad
WN
161712013-09-11 Will Newton <will.newton@linaro.org>
16172
16173 [BZ #15856]
16174 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16175 does not overflow.
16176
1159a193
WN
161772013-09-11 Will Newton <will.newton@linaro.org>
16178
16179 [BZ #15855]
16180 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16181 does not overflow.
16182
5905e7b3 161832013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16184
16185 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16186 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16187 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16188 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16189 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16190
cdfc721b
AM
161912013-09-10 Allan McRae <allan@archlinux.org>
16192
aa04af00
AM
16193 [BZ #15748]
16194 * manual/arith.texi (Parsing of Floats): Clarify
16195 cross-reference.
16196
cdfc721b
AM
16197 [BZ #15849]
16198 * manual/install.texi (Running make install): Mention
16199 --enable-pt-chown.
16200 * INSTALL: Regenerated.
16201
95e7cf29
MR
162022013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16203
16204 * csu/init-first.c (_init): Remove the !SHARED condition around
16205 FPU control word initialization.
16206 * elf/dl-support.c (_dl_fpu_control): New variable.
16207 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16208 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16209 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16210 * math/test-fpucw-static.c: New file.
16211 * math/test-fpucw-ieee.c: New file.
16212 * math/test-fpucw-ieee-static.c: New file.
16213 * math/Makefile (tests): Add `test-fpucw-ieee' and
16214 `$(tests-static)'.
16215 (tests-static): New variable.
16216 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16217 dependency to...
16218 [($(build-shared),yes)]
16219 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16220 ... this.
16221 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16222 New dependency.
16223
83e43bf0
AM
162242013-09-09 Allan McRae <allan@archlinux.org>
16225
a9f5ce09
AM
16226 [BZ #15939]
16227 * manual/string.texi (Collation Functions): Fix typo in
16228 strcoll example.
16229 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16230
34829bc2
AM
16231 [BZ #15893]
16232 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16233
3932737d
AM
16234 [BZ #15892]
16235 * libio/memstream.c (open_memstream): Fix memory leak.
16236 * libio/wmemstream.c (open_wmemstream): Likewise.
16237
83e43bf0
AM
16238 [BZ #15895]
16239 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16240
0c66b8e9
WN
162412013-09-09 Will Newton <will.newton@linaro.org>
16242
16243 * malloc/Makefile: Add tst-realloc to tests.
16244 * malloc/tst-realloc.c: New file.
16245
f6b00fd1
AM
162462013-09-09 Allan McRae <allan@archlinux.org>
16247
16248 [BZ #15844]
16249 * COPYING: Update from GNU website to fix FSF address.
16250 * COPYING.LIB: Likewise.
16251
eec55e16
DM
162522013-09-06 David S. Miller <davem@davemloft.net>
16253
16254 * po/zh_TW.po: Update Chinese (traditional) translation from
16255 translation project.
16256
1ecbb381
RS
162572013-09-06 Richard Sandiford <richard@codesourcery.com>
16258 Joseph Myers <joseph@codesourcery.com>
16259
16260 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16261 "localeinfo.h".
16262 (obstack_chunk_alloc): New macro.
16263 (obstack_chunk_free): Likewise.
16264 (record_offset): New function.
16265 (init_locale_data): Likewise.
16266 (align_locale_data): Likewise.
16267 (add_locale_empty): Likewise.
16268 (add_locale_raw_data): Likewise.
16269 (add_locale_raw_obstack): Likewise.
16270 (add_locale_string): Likewise.
16271 (add_locale_wstring): Likewise.
16272 (add_locale_uint32): Likewise.
16273 (add_locale_uint32_array): Likewise.
16274 (add_locale_char): Likewise.
16275 (start_locale_structure): Likewise.
16276 (end_locale_structure): Likewise.
16277 (start_locale_prelude): Likewise.
16278 (end_locale_prelude): Likewise.
16279 (write_locale_data): Take locale_file structure rather than an
16280 iovec.
16281 * locale/programs/locfile.h: Include "obstack.h".
16282 (struct locale_file): Change to store locale file contents instead
16283 of header.
16284 (init_locale_data): New prototype.
16285 (align_locale_data): Likewise.
16286 (add_locale_empty): Likewise.
16287 (add_locale_raw_data): Likewise.
16288 (add_locale_raw_obstack): Likewise.
16289 (add_locale_string): Likewise.
16290 (add_locale_wstring): Likewise.
16291 (add_locale_uint32): Likewise.
16292 (add_locale_uint32_array): Likewise.
16293 (add_locale_char): Likewise.
16294 (start_locale_structure): Likewise.
16295 (end_locale_structure): Likewise.
16296 (start_locale_prelude): Likewise.
16297 (end_locale_prelude): Likewise.
16298 (write_locale_data): Update prototype.
16299 * locale/programs/3level.h (struct TABLE): Remove result field.
16300 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16301 Use new locale_file interface.
16302 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16303 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16304 * locale/programs/ld-address.c (address_output): Use new
16305 locale_file interface.
16306 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16307 NO_ADD_LOCALE.
16308 (collate_finish): Don't call collseq_table_finalize.
16309 (collate_output): Use new locale_file interface.
16310 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16311 in file.
16312 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16313 (TABLE): Move defines earlier in file.
16314 (ELEMENT): Likewise.
16315 (DEFAULT): Likewise.
16316 (wctrans_table_add): Move macro and inline function earlier in
16317 file.
16318 (struct wctype_table): Move type earlier in file.
16319 (add_locale_wctype_table): New static prototype.
16320 (struct locale_ctype_t): Use logical types instead of struct iovec
16321 pointers for members.
16322 (ctype_output): Use new locale_file interface.
16323 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16324 new locale_file interface.
16325 (allocate_arrays): Update for use of new locale_file interface.
16326 * locale/programs/ld-identification.c (identification_output): Use
16327 new locale_file interface.
16328 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16329 * locale/programs/ld-messages.c (messages_output): Likewise.
16330 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16331 * locale/programs/ld-name.c (name_output): Likewise.
16332 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16333 * locale/programs/ld-paper.c (paper_output): Likewise.
16334 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16335 * locale/programs/ld-time.c (time_output): Likewise.
16336
e029e2e5
AZ
163372013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16338
16339 * benchtests/Makefile: Add memrchr benchmark.
16340 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16341 benchmark as memrchr.
16342 * benchtests/bench-memrchr-ifunc.c: New file.
16343 * benchtests/bench-memrchr.c: New file.
16344
bbf6e8e4
WN
163452013-09-06 Will Newton <will.newton@linaro.org>
16346
16347 * benchtests/Makefile (string-bench): Add memcpy.
16348
6c82a2f8
CD
163492013-09-05 Carlos O'Donell <carlos@redhat.com>
16350 Cong Wang <amwang@redhat.com>
16351
e732c5f0 16352 [BZ #15850]
6c82a2f8
CD
16353 * sysdeps/unix/sysv/linux/bits/in.h
16354 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16355 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16356 before __USE_KERNEL_IPV6_DEFS uses.
16357 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16358 IPPROTO_BEETPH.
16359 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16360 sockaddr_in6, or ipv6_mreq.
16361
5430fc65
AZ
163622013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16363
16364 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16365 memory access for final bytes in some large inputs.
16366 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16367
4660856c
AZ
163682013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16369
16370 * string/test-memrchr.c: New file.
16371 * string/test-memrchr-ifunc.c: New file.
16372 * string/Makefile: Add new memrchr testcase.
16373
bb8ea713
MF
163742013-09-05 Mike Frysinger <vapier@gentoo.org>
16375
16376 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16377 fanotify_init returns EPERM.
16378
b92a20b5
JM
163792013-09-04 Joseph Myers <joseph@codesourcery.com>
16380
16381 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16382 errors.
16383 (top level): Treat second token from macro or constant entries for
16384 allowed headers as allowed.
16385 * include/complex.h: Condition internal declarations on
16386 [!_ISOMAC].
16387 * include/fenv.h: Condition include of <stdbool.h> and internal
16388 declarations on [!_ISOMAC].
7447ccd9
CL
16389
163902013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16391
3e181dda 16392 [BZ #15923]
7447ccd9
CL
16393 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16394
3f2e46a4
JM
163952013-09-04 Joseph Myers <joseph@codesourcery.com>
16396
16397 * configure.in (--enable-versioning): Remove configure option.
16398 (libc_cv_asm_symver_directive): Remove configure test.
16399 (libc_cv_ld_version_script_option): Likewise.
16400 (VERSIONING): Remove variable and AC_SUBST.
16401 (DO_VERSIONING): Remove AC_DEFINE.
16402 * configure: Regenerated.
16403 * config.h.in (DO_VERSIONING): Remove macro.
16404 * Makerules [$(versioning) = yes]: Change conditionals to
16405 [$(build-shared) = yes].
16406 * config.make.in (versioning): Remove variable.
16407 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16408 [$(build-shared) = yes].
16409 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16410 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16411 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16412 [$(build-shared) = yes].
16413 * extra-lib.mk [$(versioning) = yes]: Likewise.
16414 * hurd/Makefile [$(versioning) = yes]: Likewise.
16415 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16416 [SHARED].
16417 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16418 [SHARED].
16419 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16420 [SHARED && !NO_HIDDEN].
16421 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16422 [SHARED].
16423 [SHARED && DO_VERSIONING]: Likewise..
16424 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16425 [$(build-shared) = yes].
16426 * manual/install.texi (--disable-versioning): Remove
16427 documentation.
16428 * INSTALL: Regenerated.
16429 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16430 to [SHARED].
16431 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16432 [$(build-shared) = yes].
16433 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16434 * sysdeps/i386/i686/multiarch/strstr-c.c
16435 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16436 [SHARED && !NO_HIDDEN].
16437 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16438 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16439 * sysdeps/powerpc/powerpc32/dl-machine.c
16440 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16441 * sysdeps/powerpc/powerpc32/sysdep.h
16442 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16443 to [SHARED && PIC && !NO_HIDDEN].
16444 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16445 conditional to [SHARED].
16446
44558701
WN
164472013-09-04 Will Newton <will.newton@linaro.org>
16448
16449 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16450 * benchtests/bench-string.h: Include bench-timing.h instead
16451 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16452 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16453 call to HP_TIMING_DIFF_INIT.
16454 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16455 instead of hp-timing.h macros.
16456 * benchtests/bench-memchr.c: Likewise.
16457 * benchtests/bench-memcmp.c: Likewise.
16458 * benchtests/bench-memcpy.c: Likewise.
16459 * benchtests/bench-memmem.c: Likewise.
16460 * benchtests/bench-memmove.c: Likewise.
16461 * benchtests/bench-memset.c: Likewise.
16462 * benchtests/bench-rawmemchr.c: Likewise.
16463 * benchtests/bench-strcasecmp.c: Likewise.
16464 * benchtests/bench-strcasestr.c: Likewise.
16465 * benchtests/bench-strcat.c: Likewise.
16466 * benchtests/bench-strchr.c: Likewise.
16467 * benchtests/bench-strcmp.c: Likewise.
16468 * benchtests/bench-strcpy.c: Likewise.
16469 * benchtests/bench-strcpy_chk.c: Likewise.
16470 * benchtests/bench-strlen.c: Likewise.
16471 * benchtests/bench-strncasecmp.c: Likewise.
16472 * benchtests/bench-strncat.c: Likewise.
16473 * benchtests/bench-strncmp.c: Likewise.
16474 * benchtests/bench-strncpy.c: Likewise.
16475 * benchtests/bench-strnlen.c: Likewise.
16476 * benchtests/bench-strpbrk.c: Likewise.
16477 * benchtests/bench-strrchr.c: Likewise.
16478 * benchtests/bench-strspn.c: Likewise.
16479 * benchtests/bench-strstr.c: Likewise.
16480
cae16d66
WN
164812013-09-04 Will Newton <will.newton@linaro.org>
16482
16483 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16484
ffa3cd7f
JM
164852013-09-03 Joseph Myers <joseph@codesourcery.com>
16486
16487 [BZ #15427]
16488 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16489 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16490 * math/libm-test.inc (lgamma_test_data): Add more tests.
16491 * sysdeps/i386/fpu/libm-test-ulps: Update.
16492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16493
8f02859f
OB
164942013-09-03 Ondřej Bílka <neleai@seznam.cz>
16495
16496 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16497 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16498 Add ifunc.
16499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16500 Add strcmp-sse2-unaligned
16501 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16502
18d43716
MF
165032013-09-02 Mike Frysinger <vapier@gentoo.org>
16504
16505 * Versions.def (libc): Add GLIBC_2.19.
16506
ac444012
MF
165072013-09-02 Mike Frysinger <vapier@gentoo.org>
16508
16509 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16510 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16511
b7835e32
JM
165122013-09-02 Joseph Myers <joseph@codesourcery.com>
16513
16514 [BZ #14155]
16515 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16516 intermediate calculations in recurrence.
16517 (__ieee754_ynf): Likewise.
16518 * math/libm-test.inc (jn_test_data): Do not allow spurious
16519 underflow exception. Add more tests.
16520 (yn_test_data): Add more tests.
16521 * sysdeps/i386/fpu/libm-test-ulps: Update.
16522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16523
8220f4f0
OB
165242013-09-02 Ondřej Bílka <neleai@seznam.cz>
16525
16526 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16527
f24a6d08
OB
165282013-08-30 Ondřej Bílka <neleai@seznam.cz>
16529
16530 * csu/init-first.c: Fix then/than typos.
16531 * locale/programs/ld-collate.c: Likewise.
16532 * locale/programs/linereader.h: Likewise.
16533 * manual/charset.texi: Likewise.
16534 * manual/filesys.texi: Likewise.
16535 * manual/stdio.texi: Likewise.
16536 * manual/string.texi: Likewise.
16537 * stdlib/fmtmsg.c: Likewise.
16538 * sysdeps/i386/stpncpy.S: Likewise.
16539 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16540 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16541 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16542 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16543
382466e0
OB
165442013-08-30 Ondřej Bílka <neleai@seznam.cz>
16545
16546 * elf/dl-open.c: Fix typos.
16547 * iconvdata/gbbig5.c: Likewise.
16548 * iconvdata/iso-2022-jp.c: Likewise.
16549 * iconv/gconv_int.h: Likewise.
16550 * iconv/loop.c: Likewise.
16551 * nis/rpcsvc/nis.h: Likewise.
16552 * resolv/ns_name.c: Likewise.
16553 * stdio-common/vfscanf.c: Likewise.
16554 * streams/stropts.h: Likewise.
16555 * sunrpc/rpc_thread.c: Likewise.
16556 * sysdeps/i386/strpbrk.S: Likewise.
16557 * sysdeps/ieee754/k_standard.c: Likewise.
16558 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16559 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16560 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16561 * sysdeps/mach/hurd/profil.c: Likewise.
16562 * sysdeps/s390/dl-procinfo.h: Likewise.
16563 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16564 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16565 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16566 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16567 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16568
0186c6e9
OB
165692013-08-30 Ondřej Bílka <neleai@seznam.cz>
16570
16571 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16572 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16573
d4e16af1
OB
165742013-08-29 Ondřej Bílka <neleai@seznam.cz>
16575
16576 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16577 aix specific files.
16578 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16579 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16580 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16581 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16582 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16583 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16584 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16585 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16586
88335980
TS
165872013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16588 Roland McGrath <roland@hack.frob.com>
16589
16590 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16591 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16592
ed479b02
ST
165932013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16594
16595 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16596 __executable_start symbol instead of _start.
16597
f1cc4c86
TS
165982013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16599
d821f07c
TS
16600 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16601 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16602 Move macros to...
16603 * sysdeps/gnu/ldsodefs.h: ... this new file.
16604
c54290cf
TS
16605 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16606 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16607 instead of ELFOSABI_LINUX.
16608
0007fc9b 16609 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16610 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16611 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16612 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16613 Likewise.
16614 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16615 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16616 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16617 Likewise.
16618 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16619 (ibm_extended_long_double): Add ieee_nan member.
16620 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16621 (do_test): New function.
16622
f1cc4c86
TS
16623 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16624 TEST_TRUNC.
16625 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16626 functions, renamed from truncdfsf_test, trunctfsf_test,
16627 trunctfdf_test.
16628 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16629 functions.
16630 (do_test): Run all these.
16631
6f65e668
OB
166322013-08-29 Ondřej Bílka <neleai@seznam.cz>
16633
16634 * argp/argp-help.c: Fix typos.
16635 * argp/argp-parse.c: Likewise.
16636 * debug/backtracesyms.c: Likewise.
16637 * elf/elf.h: Likewise.
16638 * malloc/malloc.c: Likewise.
16639 * nis/nis_print.c: Likewise.
16640 * resolv/res_comp.c: Likewise.
16641 * stdlib/stdlib.h: Likewise.
16642 * sunrpc/clnt_tcp.c: Likewise.
16643 * sunrpc/clnt_udp.c: Likewise.
16644 * sunrpc/clnt_unix.c: Likewise.
16645 * sysdeps/unix/bsd/ptsname.c: Likewise.
16646 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16647 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16649 Likewise.
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16651 Likewise.
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16653 Likewise.
6f65e668
OB
16654 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16655
3a309239
SP
166562013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16657
16658 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16660
3b813b29
MF
166612013-08-27 Mike Frysinger <vapier@gentoo.org>
16662
16663 [BZ #15897]
16664 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16665 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16666 ($(objpfx)bug-dl-leaf): New rule.
16667 ($(objpfx)bug-dl-leaf.so): Likewise.
16668 ($(objpfx)bug-dl-leaf.out): Likewise.
16669 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16670 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16671 * dlfcn/bug-dl-leaf.c: New test.
16672 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16673 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16674 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16675 (dlclose): Likewise.
16676 (dlmopen): Likewise.
16677
8cc3269f
RM
166782013-08-27 Roland McGrath <roland@hack.frob.com>
16679
7f9d0034
RM
16680 * include/netdb.h [!_ISOMAC]:
16681 Don't include <tls.h>.
16682 (h_errno, __libc_h_errno): Move declaration and macros out of
16683 [_LIBC_REENTRANT].
16684
fb431262
RM
16685 * include/resolv.h [_RESOLV_H_]:
16686 Don't include <tls.h>.
16687 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16688 * resolv/res_libc.c: Don't include <tls.h>.
16689 (_res): Use __attribute__ ((nocommon)) in place of
16690 __attribute__ ((section (".bss"))).
16691
bd81123a
RM
16692 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16693 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16694
c4e42566
RM
16695 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16696
f890a59b
RM
16697 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16698 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16699
16700 * resolv/res_mkquery.c: Include <sys/time.h>.
16701
5d1f0a09
RM
16702 * inet/ifreq.c: Moved to ...
16703 * sysdeps/unix/ifreq.c: ... here.
16704 * inet/ifreq.c: New file, true stub version.
16705
6fcf28b3
RM
16706 * socket/sa_len.c: New file.
16707 * socket/Makefile (aux): Add it.
16708 * sysdeps/unix/sysv/linux/Makefile
16709 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16710 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16711 and #include <socket/sa_len.c>.
16712 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16713 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16714
e041fb8b
RM
16715 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16716 * bits/socket.h: ... here.
16717
8cc3269f
RM
16718 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16719 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16720 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16721
5d228a43
AS
167222013-08-27 Andreas Schwab <schwab@suse.de>
16723
45b8accc
AS
16724 [BZ #15736]
16725 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16726 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16727 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16728 * string/test-strcasecmp.c (test_main): Run tests in several
16729 locales.
16730 * string/test-strncasecmp.c (test_main): Likewise.
16731
5d228a43
AS
16732 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16733 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16734 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16736 (__strncasecmp_ssse3) [PIC]: Likewise.
16737
59d112a4
RM
167382013-08-26 Roland McGrath <roland@hack.frob.com>
16739
53234cc3
RM
16740 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16741
59d112a4
RM
16742 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16743 instead of explicitly declaring xdecrypt.
16744 * nis/nss_nis/nis-publickey.c: Likewise.
16745
595aba70
SP
167462013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16747
16748 [BZ #15890]
16749 * nscd/aicache.c: Include res_hconf.h.
16750 (addhstaiX): Initialize res_hconf.
16751
ffabd393
AS
167522013-08-26 Andreas Schwab <schwab@suse.de>
16753
16754 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16755 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16756
e0a69f5c
SP
167572013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16758
16759 * nscd/aicache.c (addhstaiX): Fix indentation.
16760
8c12f01d
MF
167612013-08-25 Mike Frysinger <vapier@gentoo.org>
16762
16763 * configure.ac: Quote $build_pt_chown test.
16764 * configure: Regenerated.
16765
8fe89494
JM
167662013-08-23 Joseph Myers <joseph@codesourcery.com>
16767
16768 [BZ #15532]
16769 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16770 * math/s_cexpf.c (__cexpf): Likewise.
16771 * math/s_cexpl.c (__cexpl): Likewise.
16772 * math/libm-test.inc (cexp_test_data): Correct expected return
16773 value for NaN + i0. Add another test.
16774
75b181d6
DM
167752013-08-22 David S. Miller <davem@davemloft.net>
16776
16777 * po/ca.po: Update Catalan translation from translation project.
936241e4 16778 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16779
acd06bb1
JM
167802013-08-21 Joseph Myers <joseph@codesourcery.com>
16781
16782 [BZ #15797]
16783 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16784 is infinite, not alongside NaN test.
16785 * math/s_fdimf.c (__fdimf): Likewise.
16786 * math/s_fdiml.c (__fdiml): Likewise.
16787 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16788 errno is unchanged.
16789
c0c3f78a
OB
167902013-08-21 Ondřej Bílka <neleai@seznam.cz>
16791
16792 * argp/argp-help.c: Fix typos.
16793 * crypt/speeds.c: Likewise.
16794 * csu/check_fds.c: Likewise.
16795 * elf/dl-load.c: Likewise.
16796 * elf/dl-open.c: Likewise.
16797 * elf/reldep3.c: Likewise.
16798 * elf/reldep.c: Likewise.
16799 * elf/sprof.c: Likewise.
16800 * iconv/iconv_charmap.c: Likewise.
16801 * iconv/skeleton.c: Likewise.
16802 * iconv/strtab.c: Likewise.
16803 * io/lockf64.c: Likewise.
16804 * libio/libioP.h: Likewise.
16805 * resolv/gai_notify.c: Likewise.
16806 * resolv/ns_name.c: Likewise.
16807 * resolv/ns_samedomain.c: Likewise.
16808 * resolv/res_send.c: Likewise.
16809 * stdlib/random.c: Likewise.
16810 * sunrpc/rpc/xdr.h: Likewise.
16811 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16812 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16813 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16814 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16815 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16818 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16819 * sysdeps/mach/hurd/check_fds.c: Likewise.
16820 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16821 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16822 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16823 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16824 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16825 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16826 * sysdeps/pthread/aio_notify.c: Likewise.
16827 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16828 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16829 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16830 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16831 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16832
46ed1038
LD
168332013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16834
16835 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16836 version if bit_Slow_SSE4_2 is set.
16837 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16838 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16839
d400dcac
AZ
168402013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16841
16842 [BZ #15867]
16843 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16844 trampoline stack frame information.
16845 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16846 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16847 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16848 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16849 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16850 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16851 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16852 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16853 sa_flags value.
16854 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16855 interrupting a syscall and set with option SA_SIGINFO.
16856
42c8fdd8
JM
168572013-08-20 Joseph Myers <joseph@codesourcery.com>
16858
c980f2f4
JM
16859 [BZ #15531]
16860 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16861 argument is infinite.
16862 * math/s_cprojf.c (__cprojf): Likewise.
16863 * math/s_cprojl.c (__cprojl): Likewise.
16864 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16865 * math/libm-test.inc (cproj_test_data): Add more tests.
16866
0716c4fc
JM
16867 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16868
42c8fdd8
JM
16869 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16870 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16871 size. Use __ffs to determine corresponding shift.
16872
b31469d0
JM
168732013-08-20 Joseph Myers <joseph@codesourcery.com>
16874 Roland McGrath <roland@hack.frob.com>
16875
16876 * Makefile (INSTALL): Remove trailing blank lines from output of
16877 makeinfo.
16878
4e39af6e
AK
168792013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16880
16881 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16882 Align 32 bit compat elf_greg to 8 bytes.
16883
f315524e
AA
168842013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16885
16886 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16887
1326ba1a
SP
168882013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16889
16890 * string/strcoll_l.c (coll_seq): New structure.
16891 (get_next_seq_cached): New function.
16892 (get_next_seq): New function.
16893 (do_compare): New function.
16894 (STRCOLL): Use GNU style definition. Simplify implementation
16895 by using get_next_seq, get_next_seq_cached and do_compare.
16896
91ce4085
FW
168972013-08-16 Florian Weimer <fweimer@redhat.com>
16898
16899 [BZ #14699]
16900 CVE-2013-4237
16901 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16902 member.
16903 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16904 member.
16905 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16906 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16907 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16908 conditional.
16909 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16910 GETDENTS_64BIT_ALIGNED.
16911 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16912 * manual/filesys.texi (Reading/Closing Directory): Document
16913 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16914 strongly.
16915 * manual/conf.texi (Limits for Files): Add portability note to
16916 NAME_MAX, PATH_MAX.
16917 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16918
ca0a6bc4
AS
169192013-08-13 Andreas Schwab <schwab@suse.de>
16920
16921 [BZ #15749]
16922 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16923 of fabs.
16924 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16925 LDBL_MAX_EXP >= 16384]: Add tests for it.
16926
6c1fd795
DM
169272013-08-12 David S. Miller <davem@davemloft.net>
16928
16929 * version.h (RELEASE): Set to "development".
16930 (VERSION): Set to "2.18.90".
16931 * NEWS: Add 2.19 section.
16932
31ad488d
DM
169332013-08-03 David S. Miller <davem@davemloft.net>
16934
16935 * po/ko.po: Update Korean translation from translation project.
16936
db24e684
DM
169372013-08-01 David S. Miller <davem@davemloft.net>
16938
16939 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16940 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16941 Bilka.
16942
f723285b
DM
169432013-07-30 David S. Miller <davem@davemloft.net>
16944
16945 * po/fr.po: Update French translation from translation project.
16946
3cbc52db
DM
169472013-07-28 David S. Miller <davem@davemloft.net>
16948
30bbc0cc
DM
16949 * po/cs.po: Update Czech translation from translation project.
16950
3cbc52db
DM
16951 * po/sv.po: Update Swedish translation from translation project.
16952
d492e6d0
DM
169532013-07-27 David S. Miller <davem@davemloft.net>
16954
f1a7f492
DM
16955 * po/eo.po: Update Esperanto translation from translation project.
16956
90e62a4a
DM
16957 * po/vi.po: Update Vietnamese translation from translation project.
16958
d492e6d0
DM
16959 * po/de.po: Update German translation from translation project.
16960
d4baa62d
DM
169612013-07-26 David S. Miller <davem@davemloft.net>
16962
641aa7b4
DM
16963 * po/bg.po: Update Bulgarian translation from translation project.
16964
d4baa62d
DM
16965 * po/nl.po: Update Dutch translation from translation project.
16966 * po/pl.po: Update Polish translation from translation project.
16967 * po/ru.po: Update Russian translation from translation project.
16968
61a9dcb9
DM
169692013-07-24 David S. Miller <davem@davemloft.net>
16970
16971 * po/libc.pot: Update.
16972
7b1f8b58
AZ
169732013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16974
16975 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16976 variable page size.
16977 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16978 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16979 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16980
a8fc7a03
AK
169812013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16982
16983 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16984
e4608715
CD
169852013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16986 Andreas Schwab <schwab@suse.de>
16987 Roland McGrath <roland@hack.frob.com>
16988 Joseph Myers <joseph@codesourcery.com>
16989 Carlos O'Donell <carlos@redhat.com>
16990
16991 [BZ #15755]
16992 * config.h.in: Define HAVE_PT_CHOWN.
16993 * config.make.in (build-pt-chown): New variable.
16994 * configure.in (--enable-pt_chown): New configure option.
16995 * configure: Regenerate.
16996 * login/Makefile: Include Makeconfig. Build pt_chown only if
16997 build-pt-chown is enabled.
16998 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16999 pt_chown to fix pty ownership.
17000 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17001 CLOSE_ALL_FDS.
17002 * manual/install.texi (Configuring and compiling): Mention
17003 --enable-pt_chown. Add @findex for grantpt.
17004 * INSTALL: Regenerate.
17005
da2d62df
DM
170062013-07-20 David S. Miller <davem@davemloft.net>
17007
17008 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17009 difference between 32-bit and 64-bit.
17010
d7e06450
CD
170112013-07-15 Carlos O'Donell <carlos@redhat.com>
17012
17013 [BZ #15711]
17014 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17015 Avoid system header dependency with -ffreestanding.
17016 ($(objpfx)bits/syscall%d): Likewise.
17017
f959cfd7
DM
170182013-07-13 David S. Miller <davem@davemloft.net>
17019
17020 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17021 underflows from atanl/atan2l due to bug 15319.
17022 (casinh_test_data): Likewise.
17023
c61f8513
DM
170242013-07-07 David S. Miller <davem@davemloft.net>
17025
17026 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17027
72c90ed0
JA
170282013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17029
17030 * sysdeps/i386/fpu/libm-test-ulps: Update.
17031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17032
52dfbe13
SP
170332013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17034
17035 * configure.in (--enable-lock-elision): Fix message text.
17036 * INSTALL: Regenerate.
17037 * configure: Regenerate.
17038
3f169543
AZ
170392013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17040
17041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17042
521c6785
AJ
170432013-07-03 Andreas Jaeger <aj@suse.de>
17044
17045 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17046 define.
17047 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17048 (ptrace_peeksiginfo_args): Add.
17049 (__ptrace_peeksiginfo_flags): Add.
17050 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17051 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17052 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17053
d2cc15cb
AM
170542013-07-03 Allan McRae <allan@archlinux.org>
17055
17056 * sysdeps/i386/fpu/libm-test-ulps: Update.
17057
3aaeeca7
DM
170582013-07-02 David S. Miller <davem@davemloft.net>
17059
17060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17061
5314ed1a
MT
170622013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17063
17064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17065
67338156
JM
170662013-07-02 Joseph Myers <joseph@codesourcery.com>
17067
17068 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17070
1717da59
AK
170712013-07-02 Andi Kleen <ak@linux.intel.com>
17072
17073 * config.h.in (ENABLE_LOCK_ELISION): Add.
17074 * configure.in (--enable-lock-elision): Add option.
17075 * manual/install.texi: Document --enable lock elision.
17076 * configure: Regenerate
17077 * INSTALL: Regenerate.
17078
1c81621c
L
170792013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17080
17081 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17082 SSE4.2 strcasecmp for libc.a.
17083 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17084
77f01ab5
JM
170852013-07-02 Joseph Myers <joseph@codesourcery.com>
17086
17087 [BZ #13304]
17088 * soft-fp/op-common.h (_FP_FMA): New macro.
17089 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17090 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17091 (_FP_MUL_MEAT_1_imm): ... here.
17092 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17093 (_FP_MUL_MEAT_1_wide): ... here.
17094 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17095 (_FP_MUL_MEAT_1_hard): ... here.
17096 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17097 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17098 (_FP_MUL_MEAT_2_wide): ... here.
17099 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17100 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17101 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17102 (_FP_MUL_MEAT_2_gmp): ... here.
17103 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17104 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17105 (_FP_MUL_MEAT_4_wide): ... here.
17106 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17107 (_FP_MUL_MEAT_4_gmp): ... here.
17108 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17109 (_FP_WFRACBITS_DW_S): Likewise.
17110 (_FP_WFRACXBITS_DW_S): Likewise.
17111 (_FP_HIGHBIT_DW_S): Likewise.
17112 (FP_FMA_S): Likewise.
17113 (_FP_FRAC_HIGH_DW_S): Likewise.
17114 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17115 (_FP_WFRACBITS_DW_D): Likewise.
17116 (_FP_WFRACXBITS_DW_D): Likewise.
17117 (_FP_HIGHBIT_DW_D): Likewise.
17118 (FP_FMA_D): Likewise.
17119 (_FP_FRAC_HIGH_DW_D): Likewise.
17120 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17121 (_FP_WFRACBITS_DW_E): Likewise.
17122 (_FP_WFRACXBITS_DW_E): Likewise.
17123 (_FP_HIGHBIT_DW_E): Likewise.
17124 (FP_FMA_E): Likewise.
17125 (_FP_FRAC_HIGH_DW_E): Likewise.
17126 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17127 (_FP_WFRACBITS_DW_Q): Likewise.
17128 (_FP_WFRACXBITS_DW_Q): Likewise.
17129 (_FP_HIGHBIT_DW_Q): Likewise.
17130 (FP_FMA_Q): Likewise.
17131 (_FP_FRAC_HIGH_DW_Q): Likewise.
17132 * soft-fp/fmasf4.c: New file.
17133 * soft-fp/fmadf4.c: Likewise.
17134 * soft-fp/fmatf4.c: Likewise.
17135
6308fd9a
LD
171362013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17137
17138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17139 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17140 Silvermont.
17141 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17142 macro.
17143 (index_Slow_SSE4_2): Likewise.
17144 (index_Prefer_PMINUB_for_stringop): Likewise.
17145 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17146 bit_Slow_SSE4_2 is set.
17147 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17148 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17149
89cd9569
RA
171502013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17151
17152 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17153 rtld_global._dl_hwcap2.
17154 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17155 POWER8.
17156 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17157 POWER8 feature descriptions defined in _dl_hwcap2.
17158 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17159 string handling for POWER8 feature bits.
17160 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17161 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17162 _dl_powerpc_cap_flags.
17163 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17164 * sysdeps/powerpc/rtld-global-offsets.sym
17165 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17166 _dl_hwcap2 in the rtld_global_ro structure.
17167
1ae8bfe0
RA
171682013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17169
17170 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17171 hardware capabilities in support of AT_HWCAP2.
17172 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17173 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17174 GLRO(dl_hwcap2).
17175 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17176 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17177 explicitly the unknown a_type display mechanism is used.
17178 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17179 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17180 struct member.
17181 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17182 to macro prototype for AT_HWCAP2 support.
17183 * sysdeps/i386/dl-procinfo.h: Likewise.
17184 * sysdeps/s390/dl-procinfo.h: Likewise.
17185 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17186 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17187 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17188 return -1 for unknown a_type display fallback.
17189 * sysdeps/sparc/dl-procinfo.h: Likewise.
17190 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17191 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17192
8fbec010
JM
171932013-06-28 Joseph Myers <joseph@codesourcery.com>
17194
17195 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17196 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17197
0432680e
PY
171982013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17199
17200 [BZ #12492]
17201 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17202 mprotect making __stack_prot writable.
17203
ce61a2ad
NF
172042013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17205 Joseph Myers <joseph@codesourcery.com>
17206
17207 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17208 as being properly aligned.
17209
f91f1c0f
MR
172102013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17211
3d0f5d0c
MR
17212 * dlfcn/modstatic5.c: New file.
17213 * dlfcn/tststatic5.c: New file.
17214 * dlfcn/Makefile (tests): Add tststatic5.
17215 (tests-static): Likewise.
17216 (modules-names): Add modstatic5.
17217 (tststatic5-ENV): New variable.
17218 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17219
f91f1c0f
MR
17220 [BZ #15022]
17221 * elf/dl-support.c (_dl_main_map): New variable.
17222 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17223 (_dl_nns, _dl_load_adds): Set to 1.
17224 (_dl_initial_searchlist): Refer to _dl_main_map.
17225 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17226 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17227 call to _dl_get_origin.
17228 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17229 around call_map.
17230 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17231 * dlfcn/modstatic3.c: New file.
17232 * dlfcn/tststatic3.c: New file.
17233 * dlfcn/tststatic4.c: New file.
17234 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17235 (tests-static): Likewise.
17236 (modules-names): Add modstatic3.
17237 (tststatic3-ENV, tststatic4-ENV): New variables.
17238 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17239 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17240
cbe7d24b
JM
172412013-06-26 Joseph Myers <joseph@codesourcery.com>
17242
17243 * configure.in (CC): Require GCC version 4.4 or later.
17244 * configure: Regenerated.
17245 * manual/install.texi (Tools for Compilation): Update GCC version
17246 requirement.
17247 * INSTALL: Regenerated.
17248
11b8a0e1
LD
172492013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17250
17251 [BZ #15674]
bb5bb87c
L
17252 * string/test-memcmp.c (check2): New.
17253 (main): Call check2.
17254
11b8a0e1
LD
17255 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17256
b0037103
MR
172572013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17258
17259 [BZ #15022]
17260 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17261 over to...
17262 (dl_open_worker) [!SHARED]: ... here.
17263
c18c701d
RA
172642013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17265
17266 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17267
1d17fa5f
RH
172682013-06-25 Richard Henderson <rth@redhat.com>
17269
17270 * locale/programs/locarchive.c: Include <libc-internal.h>
17271
8fcb833a
JM
172722013-06-25 Joseph Myers <joseph@codesourcery.com>
17273
17274 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17275 trailing whitespace removed.
17276
17db6e8d
MF
172772013-06-24 Mike Frysinger <vapier@gentoo.org>
17278
17279 [BZ #10283]
17db6e8d
MF
17280 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17281 * locale/programs/locarchive.c: Include libc-mmap.h.
17282 (prepare_address_space): Take two new outputs (the mmap base and len).
17283 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17284 values.
17285 (create_archive): Declare new mmap base and len values for
17286 prepare_address_space, and store the result in ah.
17287 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17288 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17289 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17290 Declare new mmap base and len values for
17291 prepare_address_space, and store the result in new_ah.
17292 (open_archive): Declare new mmap base and len values for
17293 prepare_address_space, and store the result in ah.
17294 (close_archive): If ah->mmap_base is not NULL, use that and
17295 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17296 * sysdeps/generic/libc-mmap.h: New file.
17297
d605071e
MF
172982013-06-24 Mike Frysinger <vapier@gentoo.org>
17299
17300 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17301 (ALIGN_UP): Likewise.
17302 (PTR_ALIGN_DOWN): Likewise.
17303 (PTR_ALIGN_UP): Likewise.
17304
2f063a6e
RA
173052013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17306
17307 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17308 entry mapped to PPC_PLATFORM_POWER8.
17309 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17310 POWER8.
17311 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17312 (_dl_string_platform): Add case for exporting platform position for
17313 POWER8.
17314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17315 search path to sysdeps/powerpc/powerpc32/power8 directory.
17316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17317 search path to sysdeps/powerpc/powerpc64/power8 directory.
17318 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17319 power7 directories.
17320 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17321 power7 directories.
17322
a31ee4b3
SP
173232013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17324
a74ca98f
SP
17325 * INSTALL: Regenerate.
17326
a31ee4b3
SP
17327 * nscd/connections.c (nscd_init): Fix comment.
17328
695c378f
JM
173292013-06-22 Joseph Myers <joseph@codesourcery.com>
17330
d8412221
JM
17331 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17332
695c378f
JM
17333 [BZ #15667]
17334 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17335 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17336
d1d54715
MR
173372013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17338
17339 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17340 DL_DST_REQ_STATIC.
17341 (DL_DST_REQ_STATIC): Remove macro.
17342
8fdda7af
JM
173432013-06-21 Joseph Myers <joseph@codesourcery.com>
17344
17345 [BZ #7006]
17346 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17347 with a shift of 0 bits.
17348
f3bc5e5a
MR
173492013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17350
17351 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17352 $(tststatic-ENV).
17353
be09e8c9
KK
173542013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17355
17356 [BZ #15655]
17357 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17358
85c2e611
AZ
173592013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17360
17361 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17362 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17363 accepts -fno-tree-loop-distribute-patterns.
17364 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17365 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17366 recursive call.
17367 * string/memset.c (memset): Likewise.
17368 * string/test-memmove.c (simple_memmove): Disable loop transformation
17369 to library calls.
17370 * string/test-memset.c (simple_memset): Likewise.
17371 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17372 * benchtests/bench-memset.c (simple_memset): Likewise.
17373 * configure: Regenerated.
17374
c91e0825
JM
173752013-06-20 Joseph Myers <joseph@codesourcery.com>
17376
b8c792af
JM
17377 * math/test-misc.c (main): Ignore fesetround failure when failures
17378 of subsequent rounding tests would be ignored.
17379
c91e0825
JM
17380 [BZ #15654]
17381 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17382 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17383 * math/fegetenv.c (__fegetenv): Return 0.
17384 * math/fegetexcept.c (fegetexcept): Return 0.
17385 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17386 FE_TONEAREST.
17387 * math/feholdexcpt.c (feholdexcept): Return 0.
17388 * math/fesetenv.c (__fesetenv): Return 0.
17389 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17390 argument FE_TONEAREST.
17391 * math/feupdateenv.c (__feupdateenv): Return 0.
17392 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17393
bfcacbde
RM
173942013-06-18 Roland McGrath <roland@hack.frob.com>
17395
17396 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17397 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17398 ($(objpfx)rtld-%.os rules): Use them.
17399
e55a9b25
AZ
174002013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17401
17402 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17403 fields.
17404
346d65b3
RM
174052013-06-17 Roland McGrath <roland@hack.frob.com>
17406
12086fb4
RM
17407 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17408 length of target pattern, then descending length of dependency pattern.
17409 * configure.in (AWK): Require gawk 3.1.2 or newer.
17410 * manual/install.texi (Tools for Compilation): Say that we do.
17411 * configure: Regenerated.
17412
346d65b3
RM
17413 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17414 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17415 * scripts/sysd-rules.awk: ... this new script.
17416 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17417 than a glob-style pattern.
17418
1a846317
JM
174192013-06-17 Joseph Myers <joseph@codesourcery.com>
17420
17421 * math/test-misc.c (main): Do not treat incorrectly rounded
17422 conversions as failure unless ROUNDING_TESTS passes.
17423
8fc75e6f
JM
174242013-06-15 Joseph Myers <joseph@codesourcery.com>
17425
3711a167
JM
17426 [BZ #15631]
17427 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17428 restore exception state around main square root computation, then
17429 check for inexactness explicitly.
17430
8fc75e6f
JM
17431 * math/libm-test.inc (fma_test_data): Add another test.
17432
61dd6208
SP
174332013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17434
adf23d2c
SP
17435 * manual/threads.texi (Non-POSIX Extensions): New document
17436 node. Document pthread_getattr_default_np and
17437 pthread_setattr_default_np.
17438
61dd6208
SP
17439 * Versions.def (libpthread): Add GLIBC_2.18.
17440 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17442 Likewise.
17443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17444 Likewise.
17445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17446 Likewise.
17447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17448 Likewise.
17449 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17450 Likewise.
17451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17452 Likewise.
17453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17454 Likewise.
17455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17456 Likewise.
17457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17458 Likewise.
17459
d086fc7b
LD
174602013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17461
17462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17463 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17464
747ef469
SP
174652013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17466 H.J. Lu <hjl.tools@gmail.com>
17467
17468 [BZ #15627]
17469 * sysdeps/x86_64/rtld-memset.c: Remove file.
17470 * sysdeps/x86_64/rtld-memset.S: New file.
17471
1b2feed2
JM
174722013-06-14 Joseph Myers <joseph@codesourcery.com>
17473
17474 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17475 (test_in_one_mode): Take arguments for whether the rounding mode
17476 is supported for each floating-point type.
17477 (do_test): Pass new arguments to test_in_one_mode using
17478 ROUNDING_TESTS.
17479
a58ad3f8
RM
174802013-06-13 Roland McGrath <roland@hack.frob.com>
17481
17482 * posix/tst-waitid.c (do_test): Distinguish different instances of
17483 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17484 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17485 before entering the kernel for waitpid.
17486
c204ab28
SP
174872013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17488
17489 * NEWS: Fix note on clock function precision. Text by Roland
17490 McGrath.
17491
f4a29fba
RM
174922013-06-13 Roland McGrath <roland@hack.frob.com>
17493
17494 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17495 it into place only when and if the sanity check passes.
17496
1f24b9ad
JM
174972013-06-13 Joseph Myers <joseph@codesourcery.com>
17498
17499 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17500 output for whether conversion result is exact. Take argument
17501 indicating whether type is IBM long double.
17502 (round_for_all): Change need_exact field to ibm_ld.
17503 * stdlib/tst-strtod-round.c (struct exactness): New type.
17504 (struct test): Change bool ld_ok field to struct exactness exact.
17505 (TEST): Update all definitions for change to field.
17506 (tests): Regenerate array contents.
17507 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17508 field value. Check for IBM long double here.
17509 (do_test): Update calls to test_in_one_mode.
17510
58206c68
SP
175112013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17512
17513 [BZ #12515]
17514 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17515 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17516
2d6f4c5b 175172013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
17518
17519 [BZ #15605]
17520 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17521 generated by the compiler on loop optimizations.
17522 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17523 general definitions.
17524
94f2c076
JM
175252013-06-12 Joseph Myers <joseph@codesourcery.com>
17526
17527 * math/bug-nextafter.c: Include <math-tests.h>.
17528 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17529 the relevant type.
17530 * math/bug-nexttoward.c: Include <math-tests.h>.
17531 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17532 the relevant type.
17533 * math/test-misc.c: Include <math-tests.h>.
17534 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17535 the relevant type.
17536
e0e50a0a
AJ
175372013-06-12 Andreas Jaeger <aj@suse.de>
17538
17539 * po/ia.po: Update Interlingua translation from translation
17540 project.
17541
25061094
SP
175422013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17543
17544 * include/fenv.h: Include stdbool.h.
17545 (struct rm_ctx): New structure.
17546 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17547 Define macro.
17548 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17549 (SET_RESTORE_ROUNDF): Likewise.
17550 (SET_RESTORE_ROUNDL): Likewise.
17551 (SET_RESTORE_ROUND_NOEX): Likewise.
17552 (SET_RESTORE_ROUND_NOEXF): Likewise.
17553 (SET_RESTORE_ROUND_NOEXL): Likewise.
17554 (SET_RESTORE_ROUND_53BIT): Likewise.
17555 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17556 (libc_feresetround_noexf_ctx): Likewise.
17557 (libc_feresetround_noexl_ctx): Likewise.
17558 (libc_feholdsetround_53bit_ctx): Likewise.
17559 (libc_feresetround_53bit_ctx): Likewise.
17560 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17561 (libc_feholdexcept_setround_sse_ctx): New function.
17562 (libc_fesetenv_sse_ctx): Likewise.
17563 (libc_feupdateenv_sse_ctx): Likewise.
17564 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17565 (libc_feholdexcept_setround_387_ctx): Likewise.
17566 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17567 (libc_feholdsetround_387_prec_ctx): Likewise.
17568 (libc_feholdsetround_387_ctx): Likewise.
17569 (libc_feholdsetround_387_53bit_ctx): Likewise.
17570 (libc_feholdsetround_sse_ctx): Likewise.
17571 (libc_feresetround_sse_ctx): Likewise.
17572 (libc_feresetround_387_ctx): Likewise.
17573 (libc_feupdateenv_387_ctx): Likewise.
17574 (libc_feholdexcept_setroundf_ctx): Define macro.
17575 (libc_fesetenvf_ctx): Likewise.
17576 (libc_feupdateenvf_ctx): Likewise.
17577 (libc_feholdsetroundf_ctx): Likewise.
17578 (libc_feresetroundf_ctx): Likewise.
17579 (libc_feholdexcept_setround_ctx): Likewise.
17580 (libc_fesetenv_ctx): Likewise.
17581 (libc_feupdateenv_ctx): Likewise.
17582 (libc_feholdsetround_ctx): Likewise.
17583 (libc_feresetround_ctx): Likewise.
17584 (libc_feholdexcept_setroundl_ctx): Likewise.
17585 (libc_feupdateenvl_ctx): Likewise.
17586 (libc_feholdsetroundl_ctx): Likewise.
17587 (libc_feresetroundl_ctx): Likewise.
17588 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17589 (libc_feresetround_53bit_ctx): Likewise.
17590
59b30555
SP
175912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17592
17593 * locale/iso-639.def: Convert to UTF-8.
17594
f1d73d30
JM
175952013-06-11 Joseph Myers <joseph@codesourcery.com>
17596
17597 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17598 (EXCEPTION_TESTS_double): Likewise.
17599 (EXCEPTION_TESTS_long_double): Likewise.
17600 (EXCEPTION_TESTS): Likewise.
17601 * math/libm-test.inc (test_exceptions): Only test exceptions if
17602 EXCEPTION_TESTS (FLOAT).
17603
94aca5e7
SP
176042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17605
17606 * benchtests/Makefile (string-bench): Add strcpy_chk and
17607 stpcpy_chk.
17608 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17609 * benchtests/bench-stpcpy_chk.c: New file.
17610 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17611 * benchtests/bench-strcpy_chk.c: New file.
17612 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17613 code.
17614 (do_test): Likewise.
17615
fac0c5f2
RA
176162013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17617
17618 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17619 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17620 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17621 with tabs where appropriate.
17622 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17623 dl-procinfo.h.
17624 [PPC_PLATFORM_PPC440]: Likewise.
17625 [PPC_PLATFORM_PPC464]: Likewise.
17626 [PPC_PLATFORM_PPC476]: Likewise.
17627 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17628 ppc464, and ppc476 platform strings merging from ports/
17629 dl-procinfo.h.
17630
f22bc486
AS
176312013-06-11 Andreas Schwab <schwab@suse.de>
17632
17633 [BZ #14991]
17634 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17635 (from_ucs4_idx): Regenerate.
17636 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17637 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17638 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17639 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17640 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17641 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17642 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17643 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17644 from FROM_LOOP and TO_LOOP specific macros.
17645 (BODY): Handle combining characters.
17646 * iconvdata/BIG5HKSCS.irreversible: Update.
17647 * iconvdata/BIG5HKSCS.precomposed: New file.
17648 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17649 characters.
17650 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17651
c1f75dc3
SP
176522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17653
4eacded2
SP
17654 * include/sys/time.h: Fix indentation and add copyright header.
17655
fec799f8
SP
17656 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17657 (do_test): Likewise.
17658 * string/test-memchr.c (do_one_test): Likewise.
17659 (do_test): Likewise.
17660 * string/test-memcmp.c (do_one_test): Likewise.
17661 (do_test): Likewise.
17662 * string/test-memcpy.c (do_one_test): Likewise.
17663 (do_test): Likewise.
17664 * string/test-memmem.c (do_one_test): Likewise.
17665 (do_test): Likewise.
17666 (do_random_tests): Likewise.
17667 * string/test-memmove.c (do_one_test): Likewise.
17668 (do_test): Likewise.
17669 * string/test-memset.c (do_one_test): Likewise.
17670 (do_test): Likewise.
17671 * string/test-rawmemchr.c (do_one_test): Likewise.
17672 (do_test): Likewise.
17673 * string/test-strcasecmp.c (do_one_test): Likewise.
17674 (do_test): Likewise.
17675 * string/test-strcasestr.c (do_one_test): Likewise.
17676 (do_test): Likewise.
17677 * string/test-strcat.c (do_one_test): Likewise.
17678 (do_test): Likewise.
17679 * string/test-strchr.c (do_one_test): Likewise.
17680 (do_test): Likewise.
17681 * string/test-strcmp.c (do_one_test): Likewise.
17682 (do_test): Likewise.
17683 * string/test-strcpy.c (do_one_test): Likewise.
17684 (do_test): Likewise.
17685 * string/test-string.h: Likewise.
17686 (test_init): Likewise.
17687 * string/test-strlen.c (do_one_test): Likewise.
17688 (do_test): Likewise.
17689 * string/test-strncasecmp.c (do_one_test): Likewise.
17690 (do_test): Likewise.
17691 * string/test-strncat.c (do_one_test): Likewise.
17692 (do_test): Likewise.
17693 * string/test-strncmp.c (do_one_test): Likewise.
17694 (do_test_limit): Likewise.
17695 (do_test): Likewise.
17696 * string/test-strncpy.c (do_one_test): Likewise.
17697 (do_test): Likewise.
17698 * string/test-strnlen.c (do_one_test): Likewise.
17699 (do_test): Likewise.
17700 * string/test-strpbrk.c (do_one_test): Likewise.
17701 (do_test): Likewise.
17702 * string/test-strrchr.c (do_one_test): Likewise.
17703 (do_test): Likewise.
17704 * string/test-strspn.c (do_one_test): Likewise.
17705 (do_test): Likewise.
17706 * string/test-strstr.c (do_one_test): Likewise.
17707 (do_test): Likewise.
17708
97020474
SP
17709 * benchtests/Makefile (string-bench): Add string benchmarks.
17710 * benchtests/bench-bcopy-ifunc.c: New file.
17711 * benchtests/bench-bcopy.c: New file.
17712 * benchtests/bench-bzero-ifunc.c: New file.
17713 * benchtests/bench-bzero.c: New file.
17714 * benchtests/bench-memccpy-ifunc.c: New file.
17715 * benchtests/bench-memccpy.c: New file.
17716 * benchtests/bench-memchr-ifunc.c: New file.
17717 * benchtests/bench-memchr.c: New file.
17718 * benchtests/bench-memcmp-ifunc.c: New file.
17719 * benchtests/bench-memcmp.c: New file.
17720 * benchtests/bench-memmem-ifunc.c: New file.
17721 * benchtests/bench-memmem.c: New file.
17722 * benchtests/bench-memmove-ifunc.c: New file.
17723 * benchtests/bench-memmove.c: New file.
17724 * benchtests/bench-mempcpy-ifunc.c: New file.
17725 * benchtests/bench-mempcpy.c: New file.
17726 * benchtests/bench-memset-ifunc.c: New file.
17727 * benchtests/bench-memset.c: New file.
17728 * benchtests/bench-rawmemchr-ifunc.c: New file.
17729 * benchtests/bench-rawmemchr.c: New file.
17730 * benchtests/bench-stpcpy-ifunc.c: New file.
17731 * benchtests/bench-stpcpy.c: New file.
17732 * benchtests/bench-stpncpy-ifunc.c: New file.
17733 * benchtests/bench-stpncpy.c: New file.
17734 * benchtests/bench-strcasecmp-ifunc.c: New file.
17735 * benchtests/bench-strcasecmp.c: New file.
17736 * benchtests/bench-strcasestr-ifunc.c: New file.
17737 * benchtests/bench-strcasestr.c: New file.
17738 * benchtests/bench-strcat-ifunc.c: New file.
17739 * benchtests/bench-strcat.c: New file.
17740 * benchtests/bench-strchr-ifunc.c: New file.
17741 * benchtests/bench-strchr.c: New file.
17742 * benchtests/bench-strchrnul-ifunc.c: New file.
17743 * benchtests/bench-strchrnul.c: New file.
17744 * benchtests/bench-strcmp-ifunc.c: New file.
17745 * benchtests/bench-strcmp.c: New file.
17746 * benchtests/bench-strcpy-ifunc.c: New file.
17747 * benchtests/bench-strcpy.c: New file.
17748 * benchtests/bench-strcspn-ifunc.c: New file.
17749 * benchtests/bench-strcspn.c: New file.
17750 * benchtests/bench-strlen-ifunc.c: New file.
17751 * benchtests/bench-strlen.c: New file.
17752 * benchtests/bench-strncasecmp-ifunc.c: New file.
17753 * benchtests/bench-strncasecmp.c: New file.
17754 * benchtests/bench-strncat-ifunc.c: New file.
17755 * benchtests/bench-strncat.c: New file.
17756 * benchtests/bench-strncmp-ifunc.c: New file.
17757 * benchtests/bench-strncmp.c: New file.
17758 * benchtests/bench-strncpy-ifunc.c: New file.
17759 * benchtests/bench-strncpy.c: New file.
17760 * benchtests/bench-strnlen-ifunc.c: New file.
17761 * benchtests/bench-strnlen.c: New file.
17762 * benchtests/bench-strpbrk-ifunc.c: New file.
17763 * benchtests/bench-strpbrk.c: New file.
17764 * benchtests/bench-strrchr-ifunc.c: New file.
17765 * benchtests/bench-strrchr.c: New file.
17766 * benchtests/bench-strspn-ifunc.c: New file.
17767 * benchtests/bench-strspn.c: New file.
17768 * benchtests/bench-strstr-ifunc.c: New file.
17769 * benchtests/bench-strstr.c: New file.
17770
c1f75dc3
SP
17771 * benchtests/Makefile: Disable parallel execution of targets.
17772 (string-bench): Add memcpy.
17773 (benchset): New variable to store a list of benchmark sets.
17774 (bench-func): Renamed from bench.
17775 (bench-set): New target.
17776 (bench): Depend on bench-func and bench-set.
17777 * benchtests/README: Add section on benchmark sets.
17778 * benchtests/bench-memcpy-ifunc.c: New file.
17779 * benchtests/bench-memcpy.c: New file.
17780 * benchtests/bench-string.h: New file.
17781
50fd745b
AS
177822013-06-11 Andreas Schwab <schwab@suse.de>
17783
17784 [BZ #15577]
17785 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17786 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17787 values in the triple.
17788 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17789 terminator in the group key.
17790
3ee7e9fe
AJ
177912013-06-11 Andreas Jaeger <aj@suse.de>
17792
17793 * po/zh_TW.po: Update Chinese (traditional) translation from
17794 translation project.
17795
89fb6835
SP
177962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17797
17798 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17799 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17800 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17801 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17802 (clock_getcpuclockid): Likewise.
17803 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17804 Add weak_alias and libc_hidden_def.
17805 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17806 * rt/clock_gettime.c (clock_gettime): Rename to
17807 __clock_gettime. Add weak_alias and libc_hidden_def.
17808 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17809 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17810 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17811 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17812 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17813 Likewise.
17814 * rt/clock_settime.c (clock_settime): Rename to
17815 __clock_settime. Add weak_alias and libc_hidden_def.
17816 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17817
0efa6f8b
JM
178182013-06-10 Joseph Myers <joseph@codesourcery.com>
17819
b8c61b4b
JM
17820 * mach/err_boot.sub: Remove trailing whitespace.
17821 * mach/err_ipc.sub: Likewise.
17822 * mach/err_mach.sub: Likewise.
17823
0efa6f8b
JM
17824 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17825 (ROUNDING_TESTS_double): Likewise.
17826 (ROUNDING_TESTS_long_double): Likewise.
17827 (ROUNDING_TESTS): Likewise.
17828 * math/libm-test.inc: Include <math-tests.h>.
17829 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17830 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17831 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17832 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17833
50b818bf
SP
178342013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17835
17836 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17837 of assigning.
17838
60d2f8f3
JM
178392013-06-08 Joseph Myers <joseph@codesourcery.com>
17840
4902d2c3
JM
17841 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17842 otherwise empty TRANS lines.
17843 * sysdeps/gnu/errlist.c: Regenerated.
17844
60d2f8f3
JM
17845 * catgets/gencat.c (error_print): Use (void) in function
17846 definition.
17847 * crypt/crypt_util.c (__init_des): Likewise.
17848 * crypt/speeds.c (Stop): Likewise.
17849 (main): Likewise.
17850 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17851 * inet/ruserpass.c (token): Likewise.
17852 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17853 * intl/localealias.c (extend_alias_table): Likewise.
17854 * intl/plural-exp.c (init_germanic_plural): Likewise.
17855 * libio/fcloseall.c (__fcloseall): Likewise.
17856 * libio/genops.c (_IO_flush_all): Likewise.
17857 (_IO_flush_all_linebuffered): Likewise.
17858 (_IO_cleanup): Likewise.
17859 (_IO_iter_begin): Likewise.
17860 (_IO_iter_end): Likewise.
17861 (_IO_list_lock): Likewise.
17862 (_IO_list_unlock): Likewise.
17863 (_IO_list_resetlock): Likewise.
17864 * libio/getchar.c (getchar): Likewise.
17865 * libio/getchar_u.c (getchar_unlocked): Likewise.
17866 * libio/getwchar.c (getwchar): Likewise.
17867 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17868 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17869 * login/getpt.c (__getpt): Likewise.
17870 * login/tst-utmp.c (main): Likewise.
17871 * malloc/hooks.c (__malloc_check_init): Likewise.
17872 * malloc/malloc.c (__malloc_stats): Likewise.
17873 * malloc/mtrace.c (tr_break): Likewise.
17874 (mtrace): Likewise.
17875 (muntrace): Likewise.
17876 * misc/fstab.c (endfsent): Likewise.
17877 * misc/getclktck.c (__getclktck): Likewise.
17878 * misc/getdtsz.c (__getdtablesize): Likewise.
17879 * misc/gethostid.c (gethostid): Likewise.
17880 * misc/getpagesize.c (__getpagesize): Likewise.
17881 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17882 (__get_nprocs): Likewise.
17883 (__get_phys_pages): Likewise.
17884 (__get_avphys_pages): Likewise.
17885 * misc/getttyent.c (getttyent): Likewise.
17886 (setttyent): Likewise.
17887 (endttyent): Likewise.
17888 * misc/getusershell.c (getusershell): Likewise.
17889 (endusershell): Likewise.
17890 (setusershell): Likewise.
17891 (initshells): Likewise.
17892 * misc/hsearch.c (__hdestroy): Likewise.
17893 * misc/sync.c (sync): Likewise.
17894 * misc/syslog.c (closelog_internal): Likewise.
17895 (closelog): Likewise.
17896 * misc/ttyslot.c (ttyslot): Likewise.
17897 * misc/vhangup.c (vhangup): Likewise.
17898 * posix/fork.c (__fork): Likewise.
17899 * posix/getegid.c (__getegid): Likewise.
17900 * posix/geteuid.c (__geteuid): Likewise.
17901 * posix/getgid.c (__getgid): Likewise.
17902 * posix/getpid.c (__getpid): Likewise.
17903 * posix/getppid.c (__getppid): Likewise.
17904 * posix/getuid.c (__getuid): Likewise.
17905 * posix/pause.c (pause): Likewise.
17906 * posix/setpgrp.c (setpgrp): Likewise.
17907 * posix/setsid.c (__setsid): Likewise.
17908 * posix/test-vfork.c (noop): Likewise.
17909 * resolv/gethnamaddr.c (_endhtent): Likewise.
17910 (_gethtent): Likewise.
17911 (ht_endhostent): Likewise.
17912 (gethostent): Likewise.
17913 (dns_service): Likewise.
17914 * stdlib/drand48.c (drand48): Likewise.
17915 * stdlib/lrand48.c (lrand48): Likewise.
17916 * stdlib/mrand48.c (mrand48): Likewise.
17917 * stdlib/rand.c (rand): Likewise.
17918 * stdlib/random.c (__random): Likewise.
17919 * stdlib/setenv.c (clearenv): Likewise.
17920 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17921 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17922 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17923 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17924 (__get_nprocs): Likewise.
17925 (__get_phys_pages): Likewise.
17926 (__get_avphys_pages): Likewise.
17927 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17928 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17929 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17930 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17931 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17932 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17933 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17934 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17935 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17936 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17937 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17938 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17939 * sysdeps/posix/clock.c (clock): Likewise.
17940 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17941 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17942 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17943 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17944 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17945 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17946 (__get_nprocs_conf): Likewise.
17947 (__get_phys_pages): Likewise.
17948 (__get_avphys_pages): Likewise.
17949 * time/clock.c (clock): Likewise.
17950 * time/tzset.c (__tzname_max): Likewise.
17951
2e09a79a
JM
179522013-06-07 Joseph Myers <joseph@codesourcery.com>
17953
17954 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17955 (__bswap_32): Do not use "register".
17956 * crypt/crypt.c (_ufc_doit_r): Likewise.
17957 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17958 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17959 * gmon/gmon.c (__monstartup): Likewise.
17960 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17961 * hurd/hurdmalloc.c (more_memory): Likewise.
17962 (malloc): Likewise.
17963 (free): Likewise.
17964 (realloc): Likewise.
17965 (malloc_fork_prepare): Likewise.
17966 (malloc_fork_parent): Likewise.
17967 (malloc_fork_child): Likewise.
17968 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17969 (_svcauth_des): Likewise.
17970 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17971 * inet/inet_net.c (inet_network): Likewise.
17972 * inet/inet_netof.c (inet_netof): Likewise.
17973 * inet/rcmd.c (__validuser2_sa): Likewise.
17974 * io/fts.c (fts_open): Likewise.
17975 (fts_load): Likewise.
17976 (fts_close): Likewise.
17977 (fts_read): Likewise.
17978 (fts_children): Likewise.
17979 (fts_build): Likewise.
17980 (fts_stat): Likewise.
17981 (fts_sort): Likewise.
17982 (fts_alloc): Likewise.
17983 (fts_lfree): Likewise.
17984 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17985 (_IO_file_xsgetn): Likewise.
17986 (_IO_file_xsgetn_mmap): Likewise.
17987 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17988 (_IO_cookie_write): Likewise.
17989 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17990 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17991 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17992 * malloc/obstack.c (_obstack_begin): Likewise.
17993 (_obstack_begin_1): Likewise.
17994 (_obstack_newchunk): Likewise.
17995 (_obstack_allocated_p): Likewise.
17996 (obstack_free): Likewise.
17997 (_obstack_memory_used): Likewise.
17998 * misc/getttyent.c (getttynam): Likewise.
17999 (getttyent): Likewise.
18000 (skip): Likewise.
18001 (value): Likewise.
18002 * misc/getusershell.c (initshells): Likewise.
18003 * misc/syslog.c (__vsyslog_chk): Likewise.
18004 * misc/ttyslot.c (ttyslot): Likewise.
18005 * nis/nis_hash.c (__nis_hash): Likewise.
18006 * posix/fnmatch_loop.c (FCT): Likewise.
18007 * posix/getconf.c (print_all): Likewise.
18008 (main): Likewise.
18009 * posix/getopt.c (exchange): Likewise.
18010 * posix/glob.c (globfree): Likewise.
18011 (prefix_array): Likewise.
18012 (__glob_pattern_type): Likewise.
18013 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18014 (NS_GET32): Likewise.
18015 (NS_PUT16): Likewise.
18016 (NS_PUT32): Likewise.
18017 * resolv/gethnamaddr.c (getanswer): Likewise.
18018 (gethostbyname2): Likewise.
18019 (gethostbyaddr): Likewise.
18020 (_gethtent): Likewise.
18021 (_gethtbyname2): Likewise.
18022 (_gethtbyaddr): Likewise.
18023 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18024 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18025 * resolv/res_init.c (__res_vinit): Likewise.
18026 (net_mask): Likewise.
18027 * resolv/res_mkquery.c (outchar): Likewise.
18028 (PRINT): Likewise.
18029 * stdio-common/printf_fp.c (outchar): Likewise.
18030 (PRINT): Likewise.
18031 * stdio-common/printf_fphex.c (outchar): Likewise.
18032 (PRINT): Likewise.
18033 * stdio-common/printf_size.c (outchar): Likewise.
18034 (PRINT): Likewise.
18035 * stdio-common/test_rdwr.c (main): Likewise.
18036 * stdio-common/tfformat.c (matches): Likewise.
18037 * stdio-common/vfprintf.c (outchar): Likewise.
18038 (printf_unknown): Likewise.
18039 (buffered_vfprintf): Likewise.
18040 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18041 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18042 (ReadFile): Likewise.
18043 * stdlib/qsort.c (SWAP): Likewise.
18044 (_quicksort): Likewise.
18045 * stdlib/setenv.c (__add_to_environ): Likewise.
18046 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18047 * stdlib/strtol_l.c (__strtol_l): Likewise.
18048 * stdlib/tst-strtod.c (main): Likewise.
18049 * stdlib/tst-strtol.c (main): Likewise.
18050 * stdlib/tst-strtoll.c (main): Likewise.
18051 * string/bits/string2.h (__strcmp_cc): Likewise.
18052 (__strcmp_cg): Likewise.
18053 (__strcspn_c1): Likewise.
18054 (__strcspn_c2): Likewise.
18055 (__strcspn_c3): Likewise.
18056 (__strspn_c1): Likewise.
18057 (__strspn_c2): Likewise.
18058 (__strspn_c3): Likewise.
18059 (__strsep_1c): Likewise.
18060 (__strsep_2c): Likewise.
18061 (__strsep_3c): Likewise.
18062 * string/memccpy.c (__memccpy): Likewise.
18063 * string/stpcpy.c (__stpcpy): Likewise.
18064 * string/strcmp.c (strcmp): Likewise.
18065 * string/strrchr.c (strrchr): Likewise.
18066 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18067 Likewise.
18068 * sysdeps/mach/hurd/getcwd.c
18069 (_hurd_canonicalize_directory_name_internal): Likewise.
18070 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18071 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18072 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18073 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18074 Likewise, in both definitions.
18075 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18076 definitions.
18077 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18078 64] (__bswap_64): Likewise.
18079 * time/test_time.c (main): Likewise.
18080 * time/tzfile.c (__tzfile_read): Likewise.
18081 (__tzfile_compute): Likewise.
18082 * time/tzset.c (__tzset_parse_tz): Likewise.
18083 (tzset_internal): Likewise.
18084 (compute_change): Likewise.
18085 * wcsmbs/wcscat.c (__wcscat): Likewise.
18086 * wcsmbs/wcschr.c (wcschr): Likewise.
18087 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18088 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18089 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18090 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18091 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18092 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18093 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18094 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18095 * wcsmbs/wmemset.c (wmemset): Likewise.
18096
9e54314b
JM
180972013-06-06 Joseph Myers <joseph@codesourcery.com>
18098
18099 * scripts/config.guess: Update to version 2013-05-16.
18100 * scripts/config.sub: Update to version 2013-04-24.
18101 * scripts/install-sh: Update to version 2011-11-20.07.
18102 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18103 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18104
350635a5
OB
181052013-06-06 Ondřej Bílka <neleai@seznam.cz>
18106
18107 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18108 * elf/sln.c: Likewise.
18109 * hurd/hurd/ioctl.h: Likewise.
18110 * hurd/hurdmalloc.c: Likewise.
18111 * hurd/xattr.c: Likewise.
18112 * include/shlib-compat.h: Likewise.
18113 * inet/ruserpass.c: Likewise.
18114 * libio/iofgets_u.c: Likewise.
18115 * libio/iofgetws_u.c: Likewise.
18116 * locale/programs/ld-identification.c: Likewise.
18117 * locale/programs/ld-time.c: Likewise.
18118 * mach/msg-destroy.c: Likewise.
18119 * nss/nss_files/files-netgrp.c: Likewise.
18120 * resolv/res_data.c: Likewise.
18121 * soft-fp/op-1.h: Likewise.
18122 * soft-fp/op-2.h: Likewise.
18123 * soft-fp/op-4.h: Likewise.
18124 * soft-fp/op-common.h: Likewise.
18125 * stdio-common/printf_fphex.c: Likewise.
18126 * stdlib/strtod_l.c: Likewise.
18127 * sunrpc/rpc/clnt.h: Likewise.
18128 * sysdeps/generic/framestate.c: Likewise.
18129 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18130 * sysdeps/i386/bsd-setjmp.S: Likewise.
18131 * sysdeps/i386/__longjmp.S: Likewise.
18132 * sysdeps/i386/setjmp.S: Likewise.
18133 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18134 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18135 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18151 * sysdeps/ieee754/support.c: Likewise.
18152 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18153 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18154 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18155 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18156 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18157 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18158 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18159 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18160 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18161 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18162 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18163 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18164 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18165 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18166 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18167 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18168 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18170
44a988af
OB
181712013-06-05 Ondřej Bílka <neleai@seznam.cz>
18172
25506f09 18173 * posix/transbug.c: Remove executable mode.
44a988af 18174
9c84384c
JM
181752013-06-05 Joseph Myers <joseph@codesourcery.com>
18176
18177 * crypt/speeds.c: Remove trailing whitespace.
18178 * dlfcn/default.c: Likewise.
18179 * elf/ifuncdep2.c: Likewise.
18180 * elf/ifuncmain1.c: Likewise.
18181 * elf/ifuncmain1vis.c: Likewise.
18182 * elf/testobj.h: Likewise.
18183 * elf/tst-stackguard1.c: Likewise.
18184 * gmon/sys/gmon.h: Likewise.
18185 * hurd/hurdmsg.c: Likewise.
18186 * hurd/new-fd.c: Likewise.
18187 * hurd/ports-get.c: Likewise.
18188 * iconvdata/ibm1008_420.c: Likewise.
18189 * inet/tst-getni1.c: Likewise.
18190 * inet/tst-getni2.c: Likewise.
18191 * libio/ioungetc.c: Likewise.
18192 * libio/wfiledoalloc.c: Likewise.
18193 * manual/libm-err-tab.pl: Likewise.
18194 * math/w_dremf.c: Likewise.
18195 * misc/ftruncate.c: Likewise.
18196 * posix/bug-glob2.c: Likewise.
18197 * posix/tst-pcre.c: Likewise.
18198 * posix/wait4.c: Likewise.
18199 * resolv/README: Likewise.
18200 * resolv/res_debug.h: Likewise.
18201 * resolv/tst-inet_ntop.c: Likewise.
18202 * setjmp/bug269-setjmp.c: Likewise.
18203 * soft-fp/extended.h: Likewise.
18204 * soft-fp/op-1.h: Likewise.
18205 * soft-fp/op-2.h: Likewise.
18206 * soft-fp/op-4.h: Likewise.
18207 * soft-fp/op-8.h: Likewise.
18208 * soft-fp/testit.c: Likewise.
18209 * stdio-common/bug16.c: Likewise.
18210 * stdlib/random.c: Likewise.
18211 * sunrpc/rpcsvc/rquota.x: Likewise.
18212 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18213 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18214 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18215 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18216 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18217 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18218 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18219 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18220 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18221 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18222 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18239 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18241 * sysdeps/ieee754/s_lib_version.c: Likewise.
18242 * sysdeps/mach/hurd/check_fds.c: Likewise.
18243 * sysdeps/mach/hurd/getsockname.c: Likewise.
18244 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18245 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18246 * sysdeps/powerpc/bits/link.h: Likewise.
18247 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18248 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18249 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18250 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18251 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18252 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18253 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18254 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18255 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18256 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18257 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18258 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18259 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18260 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18261 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18262 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18263 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18264 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18265 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18266 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18267 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18268 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18269 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18270 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18271 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18272 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18273 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18274 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18275 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18276 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18277 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18278 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18279 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18280 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18281 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18282 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18283 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18284 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18285 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18286 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18287 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18288 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18289 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18290 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18291 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18292 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18293 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18294 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18295 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18296 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18299 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18300 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18301 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18302 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18303 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18304 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18305 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18306 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18307 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18308 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18309 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18310 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18311 * sysdeps/powerpc/sysdep.h: Likewise.
18312 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18313 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18314 * sysdeps/sh/dl-trampoline.S: Likewise.
18315 * sysdeps/sh/memset.S: Likewise.
18316 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18317 * sysdeps/sh/strlen.S: Likewise.
18318 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18319 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18320 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18321 * sysdeps/sparc/sparc32/rem.S: Likewise.
18322 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18323 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18324 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18325 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18326 * sysdeps/sparc/sparc32/urem.S: Likewise.
18327 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18328 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18329 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18330 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18331 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18332 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18333 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18334 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18335 * sysdeps/unix/bsd/times.c: Likewise.
18336 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18337 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18341 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18342 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18343 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18344 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18345 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18346 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18347 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18348 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18349 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18350 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18351 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18352 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18353 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18354 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18355 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18356 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18357 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18358 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18359 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18360 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18361 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18362 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18363 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18364 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18365 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18366 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18367 * sysdeps/x86_64/strcspn.S: Likewise.
18368
869378a5
RA
183692013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18370
18371 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18372 generated file. Regenerate properly from gen-translit.pl.
18373 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18374 locale/C-translit.h.
18375
840e2943
AS
183762013-06-05 Andreas Schwab <schwab@suse.de>
18377
18378 [BZ #15100]
18379 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18380 week as 6 instead of -1.
18381 * time/tst-strptime.c (day_tests): Add test case.
18382
4c60cb0c
SP
183832013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18384
18385 * sysdeps/generic/math_private.h
18386 (libc_feholdexcept_setround_53bit): Replace with
18387 libc_feholdsetround_53bit.
18388 (libc_feupdateenv_53bit): Replace with
18389 libc_feresetround_53bit.
18390 (SET_RESTORE_ROUND_53BIT): Adjust.
18391
d180203e
SP
183922013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18393
96df079a
SP
18394 * string/test-strchrnul.c: Add copyright header.
18395
d180203e
SP
18396 * posix/tst-getaddrinfo4.c: Increase test timeout.
18397
8b0ccb2d
CD
183982013-06-03 Carlos O'Donell <carlos@redhat.com>
18399
18400 [BZ #15536]
18401 * math/libm-test.inc (MAX_EXP): Remove
18402 (MIN_EXP): Define.
18403 (ulp): Use MIN_EXP - MANT_DIG.
18404 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18405
3b3c4d40
CD
184062013-05-31 Carlos O'Donell <carlos@redhat.com>
18407
18408 * po/be.po: Revert last change.
18409 * po/zh_CN.po: Likewise.
18410 * po/header.pot: Likewise.
18411
fab7ce3f
JM
184122013-05-31 Joseph Myers <joseph@codesourcery.com>
18413
18414 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18415 link-libc-deps to empty as target-specific variable.
18416 * Makerules (link-libc-args): New variable.
18417 (libc-for-link): Likewise.
18418 (link-libc-deps): Likewise.
18419 (lib%.so): Depend on $(link-libc-deps). Link with
18420 $(link-libc-args).
18421 (build-module): Link with $(link-libc-args).
18422 (build-module-asneeded): Likewise.
18423 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18424 list of objects.
18425 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18426 target-specific variable.
18427 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18428 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18429 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18430 libc.
18431 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18432 libc and ld.so.
18433 ($(objpfx)libpcprofile.so): Likewise.
18434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18435 libc_nonshared.a.
18436 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18437 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18438 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18439 $(link-libc-deps).
18440 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18441 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18442 * login/Makefile ($(objpfx)libutil.so): Likewise.
18443 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18444 * math/Makefile ($(objpfx)libm.so): Likewise.
18445 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18446 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18447 variable instead of depending directly on libc.
18448 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18449 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18450 $(link-libc-deps).
18451 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18452 libc.
18453 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18454 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18455 ($(objpfx)libanl.so): Likewise.
18456 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18457 ld.so.
18458 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18459 $(link-libc-deps).
18460 * sysdeps/i386/fpu/Makefile: Remove file.
18461 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18462 ($(objpfx)libm.so): Remove dependency on ld.so.
18463
eca5920c
PF
184642013-05-30 Patsy Franklin <pfrankli@redhat.com>
18465
18466 [BZ # 15553]
18467 * nis/yp_xdr.c (XDRMAXNAME): Define.
18468 (XDRMAXRECORD): Define.
18469 (xdr_domainname): Use XDRMAXNAME.
18470 (xdr_mapname): Likewise.
18471 (xdr_peername): Likewise.
18472 (xdr_keydat): Use XDRMAXRECORD.
18473 (xdr_valdat): Likewise.
18474
184752013-05-30 Jeff Law <law@redhat.com>
96945714
JL
18476
18477 [BZ #14256]
18478 * manual/errno.texi (ESTALE): Update to account for more than
18479 just NFS file systems.
18480 * sysdeps/gnu/errlist.c: Regenerated.
18481
b9375348
SP
184822013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18483
18484 [BZ #15465]
18485 * elf/Makefile (tests): Add tst-null-argv.
18486 (modules-names): Add tst-null-argv-lib.
18487 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18488 (tst-null-argv-ENV): Set environment for tst-null-argv.
18489 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18490 (RTLD_PROGNAME): New macro.
18491 * elf/tst-null-argv.c: New test case.
18492 * elf/tst-null-argv-lib.c: Library for test case.
18493 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18494 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18495 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18496 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18497 * elf/dl-init.c (call_init): Likewise.
18498 (_dl_init): Likewise.
18499 * elf/dl-load.c (print_search_path): Likewise.
18500 (_dl_map_object): Likewise.
18501 * elf/dl-lookup.c (do_lookup_x): Likewise.
18502 (add_dependency): Likewise.
18503 (_dl_lookup_symbol_x): Likewise.
18504 (_dl_debug_bindings): Likewise.
18505 * elf/dl-open.c (_dl_show_scope): Likewise.
18506 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18507 * elf/dl-version.c (match_symbol): Likewise.
18508 (_dl_check_map_versions): Likewise.
18509 * elf/rtld.c (dl_main): Likewise.
18510 (print_unresolved): Use RTLD_PROGNAME.
18511 (print_missing_version): Likewise.
18512 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18513 (elf_machine_rela): Likewise.
18514 * sysdeps/powerpc/powerpc32/dl-machine.c
18515 (__process_machine_rela): Likewise.
18516 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18517 Likewise.
18518 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18519 Likewise.
18520 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18521 Likewise.
18522 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18524 Likewise.
18525 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18526 Likewise.
18527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18528
8a9f20c8
CD
185292013-05-28 Carlos O'Donell <carlos@redhat.com>
18530
18531 * po/be.po: Add descriptive title.
18532 * po/zh_CN.po: Likewise.
18533 * po/header.pot: Likewise.
18534
0e60d68e
MF
185352013-05-28 Mike Frysinger <vapier@gentoo.org>
18536
18537 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18538 error message.
18539 (enlarge_archive): Likewise.
18540
56b672e9
BN
185412013-05-28 Ben North <ben@redfrontdoor.org>
18542
18543 * manual/arith.texi (frexp): It is the magnitude of the return
18544 value which lies in [0.5, 1), not the return value itself.
18545
5e056687
AZ
185462013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18547
18548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18549
2b66ef5d
TS
185502013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18551
528c2405
TS
18552 * stdio-common/bug26.c (main): Correct fscanf template.
18553
07b4c13d
TS
18554 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18555 declare _dl_skip_args.
18556
ec9dd97c
TS
18557 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18558 Don't declare.
18559
2b66ef5d
TS
18560 * manual/platform.texi: Add missing @end deftypefun.
18561
4f8dfe27
JM
185622013-05-24 Joseph Myers <joseph@codesourcery.com>
18563
0323d086
JM
18564 [BZ #15529]
18565 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18566 bit of mantissa of 2^16382.
18567 * math/libm-test.inc (hypot_test_data): Add more tests.
18568
dd4259b9
JM
18569 * math/libm-test.inc: Add drem and pow10 to list of tested
18570 functions.
18571 (pow10_test): New function.
18572 (drem_test): Likewise.
18573 (drem_test_tonearest): Likewise.
18574 (drem_test_towardzero): Likewise.
18575 (drem_test_downward): Likewise.
18576 (drem_test_upward): Likewise.
18577 (main): Call the new functions.
18578
4f8dfe27
JM
18579 * math/libm-test.inc (finite_test_data): Remove.
18580 (finite_test): Run tests from isfinite_test_data.
18581 (gamma_test_data): Remove.
18582 (gamma_test): Run tests from lgamma_test_data.
18583 * sysdeps/i386/fpu/libm-test-ulps: Update.
18584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18585
d116b7c4
AZ
185862013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18587
18588 * manual/platform.texi: Add PowerPC PPR function set documentation.
18589 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18590 implementation.
18591
e96e3767
CD
185922013-05-24 Carlos O'Donell <carlos@redhat.com>
18593
18594 * math/libm-test.inc (MAX_EXP): Define.
18595 (ULPDIFF): Define.
18596 (ulp): New function.
18597 (check_float_internal): Use ULPDIFF.
18598 (cpow_test): Disable failing test.
18599 (check_ulp): Test ulp() implemetnation.
18600 (main): Call check_ulp before starting tests.
18601
b679a606
JM
186022013-05-24 Joseph Myers <joseph@codesourcery.com>
18603
e8bdba36
JM
18604 * math/gen-libm-test.pl (generate_testfile): Do not handle
18605 START_DATA and END_DATA.
18606 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18607 END_DATA.
18608 (acos_tonearest_test_data): Likewise.
18609 (acos_towardzero_test_data): Likewise.
18610 (acos_downward_test_data): Likewise.
18611 (acos_upward_test_data): Likewise.
18612 (acosh_test_data): Likewise.
18613 (asin_test_data): Likewise.
18614 (asin_tonearest_test_data): Likewise.
18615 (asin_towardzero_test_data): Likewise.
18616 (asin_downward_test_data): Likewise.
18617 (asin_upward_test_data): Likewise.
18618 (asinh_test_data): Likewise.
18619 (atan_test_data): Likewise.
18620 (atanh_test_data): Likewise.
18621 (atan2_test_data): Likewise.
18622 (cabs_test_data): Likewise.
18623 (cacos_test_data): Likewise.
18624 (cacosh_test_data): Likewise.
18625 (carg_test_data): Likewise.
18626 (casin_test_data): Likewise.
18627 (casinh_test_data): Likewise.
18628 (catan_test_data): Likewise.
18629 (catanh_test_data): Likewise.
18630 (cbrt_test_data): Likewise.
18631 (ccos_test_data): Likewise.
18632 (ccosh_test_data): Likewise.
18633 (ceil_test_data): Likewise.
18634 (cexp_test_data): Likewise.
18635 (cimag_test_data): Likewise.
18636 (clog_test_data): Likewise.
18637 (clog10_test_data): Likewise.
18638 (conj_test_data): Likewise.
18639 (copysign_test_data): Likewise.
18640 (cos_test_data): Likewise.
18641 (cos_tonearest_test_data): Likewise.
18642 (cos_towardzero_test_data): Likewise.
18643 (cos_downward_test_data): Likewise.
18644 (cos_upward_test_data): Likewise.
18645 (cosh_test_data): Likewise.
18646 (cosh_tonearest_test_data): Likewise.
18647 (cosh_towardzero_test_data): Likewise.
18648 (cosh_downward_test_data): Likewise.
18649 (cosh_upward_test_data): Likewise.
18650 (cpow_test_data): Likewise.
18651 (cproj_test_data): Likewise.
18652 (creal_test_data): Likewise.
18653 (csin_test_data): Likewise.
18654 (csinh_test_data): Likewise.
18655 (csqrt_test_data): Likewise.
18656 (ctan_test_data): Likewise.
18657 (ctan_tonearest_test_data): Likewise.
18658 (ctan_towardzero_test_data): Likewise.
18659 (ctan_downward_test_data): Likewise.
18660 (ctan_upward_test_data): Likewise.
18661 (ctanh_test_data): Likewise.
18662 (ctanh_tonearest_test_data): Likewise.
18663 (ctanh_towardzero_test_data): Likewise.
18664 (ctanh_downward_test_data): Likewise.
18665 (ctanh_upward_test_data): Likewise.
18666 (erf_test_data): Likewise.
18667 (erfc_test_data): Likewise.
18668 (exp_test_data): Likewise.
18669 (exp_tonearest_test_data): Likewise.
18670 (exp_towardzero_test_data): Likewise.
18671 (exp_downward_test_data): Likewise.
18672 (exp_upward_test_data): Likewise.
18673 (exp10_test_data): Likewise.
18674 (exp2_test_data): Likewise.
18675 (expm1_test_data): Likewise.
18676 (fabs_test_data): Likewise.
18677 (fdim_test_data): Likewise.
18678 (finite_test_data): Likewise.
18679 (floor_test_data): Likewise.
18680 (fma_test_data): Likewise.
18681 (fma_towardzero_test_data): Likewise.
18682 (fma_downward_test_data): Likewise.
18683 (fma_upward_test_data): Likewise.
18684 (fmax_test_data): Likewise.
18685 (fmin_test_data): Likewise.
18686 (fmod_test_data): Likewise.
18687 (fpclassify_test_data): Likewise.
18688 (frexp_test_data): Likewise.
18689 (gamma_test_data): Likewise.
18690 (hypot_test_data): Likewise.
18691 (ilogb_test_data): Likewise.
18692 (isfinite_test_data): Likewise.
18693 (isgreater_test_data): Likewise.
18694 (isgreaterequal_test_data): Likewise.
18695 (isinf_test_data): Likewise.
18696 (isless_test_data): Likewise.
18697 (islessequal_test_data): Likewise.
18698 (islessgreater_test_data): Likewise.
18699 (isnan_test_data): Likewise.
18700 (isnormal_test_data): Likewise.
18701 (issignaling_test_data): Likewise.
18702 (isunordered_test_data): Likewise.
18703 (j0_test_data): Likewise.
18704 (j1_test_data): Likewise.
18705 (jn_test_data): Likewise.
18706 (ldexp_test_data): Likewise.
18707 (lgamma_test_data): Likewise.
18708 (lrint_test_data): Likewise.
18709 (lrint_tonearest_test_data): Likewise.
18710 (lrint_towardzero_test_data): Likewise.
18711 (lrint_downward_test_data): Likewise.
18712 (lrint_upward_test_data): Likewise.
18713 (llrint_test_data): Likewise.
18714 (llrint_tonearest_test_data): Likewise.
18715 (llrint_towardzero_test_data): Likewise.
18716 (llrint_downward_test_data): Likewise.
18717 (llrint_upward_test_data): Likewise.
18718 (log_test_data): Likewise.
18719 (log10_test_data): Likewise.
18720 (log1p_test_data): Likewise.
18721 (log2_test_data): Likewise.
18722 (logb_test_data): Likewise.
18723 (logb_downward_test_data): Likewise.
18724 (lround_test_data): Likewise.
18725 (llround_test_data): Likewise.
18726 (modf_test_data): Likewise.
18727 (nearbyint_test_data): Likewise.
18728 (nextafter_test_data): Likewise.
18729 (nexttoward_test_data): Likewise.
18730 (pow_test_data): Likewise.
18731 (pow_tonearest_test_data): Likewise.
18732 (pow_towardzero_test_data): Likewise.
18733 (pow_downward_test_data): Likewise.
18734 (pow_upward_test_data): Likewise.
18735 (remainder_test_data): Likewise.
18736 (remainder_tonearest_test_data): Likewise.
18737 (remainder_towardzero_test_data): Likewise.
18738 (remainder_downward_test_data): Likewise.
18739 (remainder_upward_test_data): Likewise.
18740 (remquo_test_data): Likewise.
18741 (rint_test_data): Likewise.
18742 (rint_tonearest_test_data): Likewise.
18743 (rint_towardzero_test_data): Likewise.
18744 (rint_downward_test_data): Likewise.
18745 (rint_upward_test_data): Likewise.
18746 (round_test_data): Likewise.
18747 (scalb_test_data): Likewise.
18748 (scalbn_test_data): Likewise.
18749 (scalbln_test_data): Likewise.
18750 (signbit_test_data): Likewise.
18751 (sin_test_data): Likewise.
18752 (sin_tonearest_test_data): Likewise.
18753 (sin_towardzero_test_data): Likewise.
18754 (sin_downward_test_data): Likewise.
18755 (sin_upward_test_data): Likewise.
18756 (sincos_test_data): Likewise.
18757 (sinh_test_data): Likewise.
18758 (sinh_tonearest_test_data): Likewise.
18759 (sinh_towardzero_test_data): Likewise.
18760 (sinh_downward_test_data): Likewise.
18761 (sinh_upward_test_data): Likewise.
18762 (sqrt_test_data): Likewise.
18763 (tan_test_data): Likewise.
18764 (tan_tonearest_test_data): Likewise.
18765 (tan_towardzero_test_data): Likewise.
18766 (tan_downward_test_data): Likewise.
18767 (tan_upward_test_data): Likewise.
18768 (tanh_test_data): Likewise.
18769 (tgamma_test_data): Likewise.
18770 (trunc_test_data): Likewise.
18771 (y0_test_data): Likewise.
18772 (y1_test_data): Likewise.
18773 (yn_test_data): Likewise.
18774 (significand_test_data): Likewise.
18775
b679a606
JM
18776 * math/gen-libm-test.pl (@functions): Remove variable.
18777 (generate_testfile): Don't handle START and END lines.
18778 * math/libm-test.inc (START): New macro.
18779 (END): Likewise.
18780 (END_COMPLEX): Likewise.
18781 (acos_test): Use END macro without arguments.
18782 (acos_test_tonearest): Likewise.
18783 (acos_test_towardzero): Likewise.
18784 (acos_test_downward): Likewise.
18785 (acos_test_upward): Likewise.
18786 (acosh_test): Likewise.
18787 (asin_test): Likewise.
18788 (asin_test_tonearest): Likewise.
18789 (asin_test_towardzero): Likewise.
18790 (asin_test_downward): Likewise.
18791 (asin_test_upward): Likewise.
18792 (asinh_test): Likewise.
18793 (atan_test): Likewise.
18794 (atanh_test): Likewise.
18795 (atan2_test): Likewise.
18796 (cabs_test): Likewise.
18797 (cacos_test): Use END_COMPLEX macro without arguments.
18798 (cacosh_test): Likewise.
18799 (carg_test): Use END macro without arguments.
18800 (casin_test): Use END_COMPLEX macro without arguments.
18801 (casinh_test): Likewise.
18802 (catan_test): Likewise.
18803 (catanh_test): Likewise.
18804 (cbrt_test): Use END macro without arguments.
18805 (ccos_test): Use END_COMPLEX macro without arguments.
18806 (ccosh_test): Likewise.
18807 (ceil_test): Use END macro without arguments.
18808 (cexp_test): Use END_COMPLEX macro without arguments.
18809 (cimag_test): Use END macro without arguments.
18810 (clog_test): Use END_COMPLEX macro without arguments.
18811 (clog10_test): Likewise.
18812 (conj_test): Likewise.
18813 (copysign_test): Use END macro without arguments.
18814 (cos_test): Likewise.
18815 (cos_test_tonearest): Likewise.
18816 (cos_test_towardzero): Likewise.
18817 (cos_test_downward): Likewise.
18818 (cos_test_upward): Likewise.
18819 (cosh_test): Likewise.
18820 (cosh_test_tonearest): Likewise.
18821 (cosh_test_towardzero): Likewise.
18822 (cosh_test_downward): Likewise.
18823 (cosh_test_upward): Likewise.
18824 (cpow_test): Use END_COMPLEX macro without arguments.
18825 (cproj_test): Likewise.
18826 (creal_test): Use END macro without arguments.
18827 (csin_test): Use END_COMPLEX macro without arguments.
18828 (csinh_test): Likewise.
18829 (csqrt_test): Likewise.
18830 (ctan_test): Likewise.
18831 (ctan_test_tonearest): Likewise.
18832 (ctan_test_towardzero): Likewise.
18833 (ctan_test_downward): Likewise.
18834 (ctan_test_upward): Likewise.
18835 (ctanh_test): Likewise.
18836 (ctanh_test_tonearest): Likewise.
18837 (ctanh_test_towardzero): Likewise.
18838 (ctanh_test_downward): Likewise.
18839 (ctanh_test_upward): Likewise.
18840 (erf_test): Use END macro without arguments.
18841 (erfc_test): Likewise.
18842 (exp_test): Likewise.
18843 (exp_test_tonearest): Likewise.
18844 (exp_test_towardzero): Likewise.
18845 (exp_test_downward): Likewise.
18846 (exp_test_upward): Likewise.
18847 (exp10_test): Likewise.
18848 (exp2_test): Likewise.
18849 (expm1_test): Likewise.
18850 (fabs_test): Likewise.
18851 (fdim_test): Likewise.
18852 (finite_test): Likewise.
18853 (floor_test): Likewise.
18854 (fma_test): Likewise.
18855 (fma_test_towardzero): Likewise.
18856 (fma_test_downward): Likewise.
18857 (fma_test_upward): Likewise.
18858 (fmax_test): Likewise.
18859 (fmin_test): Likewise.
18860 (fmod_test): Likewise.
18861 (fpclassify_test): Likewise.
18862 (frexp_test): Likewise.
18863 (gamma_test): Likewise.
18864 (hypot_test): Likewise.
18865 (ilogb_test): Likewise.
18866 (isfinite_test): Likewise.
18867 (isgreater_test): Likewise.
18868 (isgreaterequal_test): Likewise.
18869 (isinf_test): Likewise.
18870 (isless_test): Likewise.
18871 (islessequal_test): Likewise.
18872 (islessgreater_test): Likewise.
18873 (isnan_test): Likewise.
18874 (isnormal_test): Likewise.
18875 (issignaling_test): Likewise.
18876 (isunordered_test): Likewise.
18877 (j0_test): Likewise.
18878 (j1_test): Likewise.
18879 (jn_test): Likewise.
18880 (ldexp_test): Likewise.
18881 (lgamma_test): Likewise.
18882 (lrint_test): Likewise.
18883 (lrint_test_tonearest): Likewise.
18884 (lrint_test_towardzero): Likewise.
18885 (lrint_test_downward): Likewise.
18886 (lrint_test_upward): Likewise.
18887 (llrint_test): Likewise.
18888 (llrint_test_tonearest): Likewise.
18889 (llrint_test_towardzero): Likewise.
18890 (llrint_test_downward): Likewise.
18891 (llrint_test_upward): Likewise.
18892 (log_test): Likewise.
18893 (log10_test): Likewise.
18894 (log1p_test): Likewise.
18895 (log2_test): Likewise.
18896 (logb_test): Likewise.
18897 (logb_test_downward): Likewise.
18898 (lround_test): Likewise.
18899 (llround_test): Likewise.
18900 (modf_test): Likewise.
18901 (nearbyint_test): Likewise.
18902 (nextafter_test): Likewise.
18903 (nexttoward_test): Likewise.
18904 (pow_test): Likewise.
18905 (pow_test_tonearest): Likewise.
18906 (pow_test_towardzero): Likewise.
18907 (pow_test_downward): Likewise.
18908 (pow_test_upward): Likewise.
18909 (remainder_test): Likewise.
18910 (remainder_test_tonearest): Likewise.
18911 (remainder_test_towardzero): Likewise.
18912 (remainder_test_downward): Likewise.
18913 (remainder_test_upward): Likewise.
18914 (remquo_test): Likewise.
18915 (rint_test): Likewise.
18916 (rint_test_tonearest): Likewise.
18917 (rint_test_towardzero): Likewise.
18918 (rint_test_downward): Likewise.
18919 (rint_test_upward): Likewise.
18920 (round_test): Likewise.
18921 (scalb_test): Likewise.
18922 (scalbn_test): Likewise.
18923 (scalbln_test): Likewise.
18924 (signbit_test): Likewise.
18925 (sin_test): Likewise.
18926 (sin_test_tonearest): Likewise.
18927 (sin_test_towardzero): Likewise.
18928 (sin_test_downward): Likewise.
18929 (sin_test_upward): Likewise.
18930 (sincos_test): Likewise.
18931 (sinh_test): Likewise.
18932 (sinh_test_tonearest): Likewise.
18933 (sinh_test_towardzero): Likewise.
18934 (sinh_test_downward): Likewise.
18935 (sinh_test_upward): Likewise.
18936 (sqrt_test): Likewise.
18937 (tan_test): Likewise.
18938 (tan_test_tonearest): Likewise.
18939 (tan_test_towardzero): Likewise.
18940 (tan_test_downward): Likewise.
18941 (tan_test_upward): Likewise.
18942 (tanh_test): Likewise.
18943 (tgamma_test): Likewise.
18944 (trunc_test): Likewise.
18945 (y0_test): Likewise.
18946 (y1_test): Likewise.
18947 (yn_test): Likewise.
18948 (significand_test): Likewise.
18949
bae143d2
OB
189502013-05-24 Ondřej Bílka <neleai@seznam.cz>
18951
18952 [BZ #15381]
18953 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18954
9323d39b
EM
189552013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18956
d4ea44a0 18957 [BZ #14894]
9323d39b
EM
18958 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18959 __ppc_mdoio and __ppc_mdoom.
18960 * manual/platform.texi: Document new functions __ppc_yield,
18961 __ppc_mdoio and __ppc_mdoom.
18962
13e23af7
CD
189632013-05-22 Carlos O'Donell <carlos@redhat.com>
18964
18965 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18966 (main): Mention "tls" pseudo-hwcap is legacy.
18967 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18968
351fe550
JM
189692013-05-22 Joseph Myers <joseph@codesourcery.com>
18970
18971 * math/gen-libm-test.pl (parse_args): Output only string of
18972 arguments as text for test name, not full call or descriptions of
18973 tests for extra outputs.
18974 (generate_testfile): Do not pass function name to parse_args.
18975 Generate this_func variable from START.
18976 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18977 field to arg_str.
18978 (struct test_ff_f_data): Likewise.
18979 (test_ff_f_data_nexttoward): Likewise.
18980 (struct test_fi_f_data): Likewise.
18981 (struct test_fl_f_data): Likewise.
18982 (struct test_if_f_data): Likewise.
18983 (struct test_fff_f_data): Likewise.
18984 (struct test_c_f_data): Likewise.
18985 (struct test_f_f1_data): Likewise. Remove field extra_name.
18986 (struct test_fF_f1_data): Likewise.
18987 (struct test_ffI_f1_data): Likewise.
18988 (struct test_c_c_data): Rename test_name field to arg_str.
18989 (struct test_cc_c_data): Likewise.
18990 (struct test_f_i_data): Likewise.
18991 (struct test_ff_i_data): Likewise.
18992 (struct test_f_l_data): Likewise.
18993 (struct test_f_L_data): Likewise.
18994 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18995 and extra2_name.
18996 (COMMON_TEST_SETUP): New macro.
18997 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18998 (COMMON_TEST_CLEANUP): Likewise.
18999 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19000 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19001 macros.
19002 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19003 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19004 macros.
19005 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19006 (RUN_TEST_fff_f): Take argument string. Call new setup and
19007 cleanup macros.
19008 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19009 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19010 macros.
19011 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19012 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19013 macros.
19014 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19015 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19016 cleanup macros.
19017 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19018 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19019 cleanup macros.
19020 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19021 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19022 cleanup macros.
19023 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19024 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19025 macros.
19026 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19027 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19028 macros.
19029 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19030 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19031 macros.
19032 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19033 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19034 cleanup macros.
19035 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19036 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19037 cleanup macros.
19038 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19039 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19040 macros.
19041 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19042 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19043 cleanup macros.
19044 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19045 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19046 macros.
19047 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19048 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19049 macros.
19050 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19051 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19052 cleanup macros.
19053 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19054
85118d4d
EBM
190552013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19056
19057 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19058 to _sifields.sigfault.
19059 (si_addr_lsb): Define new macro.
19060 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19061 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19062 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19063
7a44c18f
CD
190642013-05-03 Carlos O'Donell <carlos at redhat.com>
19065
19066 [BZ #15441]
19067 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19068 returns -1.
19069 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19070 null return -1.
19071 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19072 loading the domain.
19073
b50a7181
JM
190742013-05-22 Joseph Myers <joseph@codesourcery.com>
19075
19076 * math/gen-libm-test.pl (parse_args): Do not include expected
19077 result in test name.
19078 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19079 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19080 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19081 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19082 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19084
051063c8
SP
190852013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19086
3ce9e010
SP
19087 * benchtests/Makefile: Sort function entries.
19088
051063c8
SP
19089 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19090 tanh, asinh, acosh, atanh.
19091 * benchtests/acos-inputs: New file.
19092 * benchtests/acosh-inputs: New file.
19093 * benchtests/asin-inputs: New file.
19094 * benchtests/asinh-inputs: New file.
19095 * benchtests/atanh-inputs: New file.
19096 * benchtests/cosh-inputs: New file.
19097 * benchtests/log-inputs: New file.
19098 * benchtests/sinh-inputs: New file.
19099 * benchtests/tanh-inputs: New file.
19100
47c22455
DL
191012013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19102
19103 [BZ #15339]
19104 * posix/tst-getaddrinfo4.c: New test.
19105 * posix/Makefile (tests): Add it.
19106
3d04f5db
SP
191072013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19108
19109 [BZ #15339]
19110 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19111 when no services were used.
19112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19113 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19114
d5dd6189
AS
191152013-05-21 Andreas Schwab <schwab@suse.de>
19116
19117 [BZ #15014]
19118 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19119 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19120 successful.
19121 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19122 redundant variable declarations and reallocation of buffer when
19123 parsing as IPv6 address. Always set NSS status when called from
19124 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19125 buffer too small. Correct computation of needed size.
19126 * nss/Makefile (tests): Add test-digits-dots.
19127 * nss/test-digits-dots.c: New test.
19128
fef94eab
SP
191292013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19130
19131 * benchtests/Makefile: Remove instructions for adding
19132 benchmark tests.
19133 * benchtests/README: New file to explain how to execute and
19134 enhance the benchmark tests.
19135
e39adf43
AS
191362013-05-21 Andreas Schwab <schwab@suse.de>
19137
19138 [BZ #15493]
19139 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19140 * setjmp/tst-sigsetjmp.c: New test.
19141
b2b671b6
OB
191422013-05-20 Ondřej Bílka <neleai@seznam.cz>
19143
19144 * sysdeps/x86_64/memset.S (memset): New implementation.
19145 (__bzero): Likewise.
19146 (__memset_tail): New function.
19147
2d48b41c
OB
191482013-05-20 Ondřej Bílka <neleai@seznam.cz>
19149
19150 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19151 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19152 __memcpy_sse2_unaligned ifunc selection.
19153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19154 Add memcpy-sse2-unaligned.S.
19155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19156 Add: __memcpy_sse2_unaligned.
19157
f16cc3eb
JM
191582013-05-19 Joseph Myers <joseph@codesourcery.com>
19159
3e694268
JM
19160 [BZ #15490]
19161 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19162 math_force_eval before restoring floating-point envrionment.
19163 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19165 Likewise.
19166 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19167 <math_private.h>.
19168 (__nearbyintl): Use math_force_eval before restoring
19169 floating-point environment.
19170 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19171
db62a907
JM
19172 * math/gen-libm-test.pl (special_functions): Remove.
19173 (parse_args): Don't handle TEST_extra. Handle functions with no
19174 return value.
19175 * math/libm-test.inc (struct test_sincos_data): Replace with
19176 struct test_fFF_11_data.
19177 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19178 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19179 (sincos_test_data): Change element type to struct
19180 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19181 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19182 RUN_TEST_LOOP_sincos.
19183 * math/README.libm-test: Don't mention special handling of
19184 individual functions.
19185 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19186 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19187 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19188 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19189 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19191
f16cc3eb
JM
19192 * math/gen-libm-test.pl (get_variable): Remove function.
19193 (parse_args): Don't show pointer parameters to call in test
19194 names. Use "extra output N" in test names for extra outputs
19195 rather than naming variables.
19196
3779b5b6
JM
191972013-05-18 Joseph Myers <joseph@codesourcery.com>
19198
2ee094ff
JM
19199 [BZ #15488]
19200 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19201 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19202 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19203 double tests.
19204 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19205 disable.
19206 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19207 check_long_double.
19208
3779b5b6
JM
19209 * math/gen-libm-test.pl (@tests): Remove variable.
19210 ($count): Likewise.
19211 (new_test): Remove function.
19212 (show_exceptions): New function.
19213 (special_functions): Use show_exceptions instead of new_test.
19214 (parse_args): Likewise.
19215 (generate_testfile): Pass only function name in generated call to
19216 print_max_error or print_complex_max_error.
19217 (get_ulps): Do not handle complex tests specially.
19218 (output_test): Rename to ...
19219 (get_all_ulps_for_test): ... this. Return a string rather than
19220 printing to a file. Require ulps to be present.
19221 (output_ulps): Generate arrays rather than #defines.
19222 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19223 (struct ulp_data): New type.
19224 (BUILD_COMPLEX_ULP): Remove macro.
19225 (compare_ulp_data): New function.
19226 (find_ulps): Likewise.
19227 (find_test_ulps): Likewise.
19228 (find_function_ulps): Likewise.
19229 (find_complex_function_ulps): Likewise.
19230 (print_max_error): Determine allowed ulps using
19231 find_function_ulps.
19232 (print_complex_max_error): Determine allowed ulps using
19233 find_complex_function_ulps.
19234 (check_float_internal): Determine max ulps using find_test_ulps.
19235 (check_float): Do not take max_ulp parameter. Update call to
19236 check_float_internal.
19237 (check_complex): Likewise.
19238 (check_int): Do not take max_ulp parameter.
19239 (check_long): Likewise.
19240 (check_bool): Likewise.
19241 (check_longlong): Likewise.
19242 (struct test_f_f_data): Remove max_ulp field.
19243 (struct test_ff_f_data): Likewise.
19244 (struct test_ff_f_data_nexttoward): Likewise.
19245 (struct test_fi_f_data): Likewise.
19246 (struct test_fl_f_data): Likewise.
19247 (struct test_if_f_data): Likewise.
19248 (struct test_fff_f_data): Likewise.
19249 (struct test_c_f_data): Likewise.
19250 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19251 (struct test_fF_f1_data): Likewise.
19252 (struct test_ffI_f1_data): Likewise.
19253 (struct test_c_c_data): Remove max_ulp field.
19254 (struct test_cc_c_data): Likewise.
19255 (struct test_f_i_data): Likewise.
19256 (struct test_ff_i_data): Likewise.
19257 (struct test_f_l_data): Likewise.
19258 (struct test_f_L_data): Likewise.
19259 (struct test_sincos_data): Likewise.
19260 (RUN_TEST_f_f): Do not handle ulps.
19261 (RUN_TEST_LOOP_f_f): Likewise.
19262 (RUN_TEST_2_f): Likewise.
19263 (RUN_TEST_LOOP_2_f): Likewise.
19264 (RUN_TEST_fff_f): Likewise.
19265 (RUN_TEST_LOOP_fff_f): Likewise.
19266 (RUN_TEST_c_f): Likewise.
19267 (RUN_TEST_LOOP_c_f): Likewise.
19268 (RUN_TEST_f_f1): Likewise.
19269 (RUN_TEST_LOOP_f_f1): Likewise.
19270 (RUN_TEST_fF_f1): Likewise.
19271 (RUN_TEST_LOOP_fF_f1): Likewise.
19272 (RUN_TEST_fI_f1): Likewise.
19273 (RUN_TEST_LOOP_fI_f1): Likewise.
19274 (RUN_TEST_ffI_f1): Likewise.
19275 (RUN_TEST_LOOP_ffI_f1): Likewise.
19276 (RUN_TEST_c_c): Likewise.
19277 (RUN_TEST_LOOP_c_c): Likewise.
19278 (RUN_TEST_cc_c): Likewise.
19279 (RUN_TEST_LOOP_cc_c): Likewise.
19280 (RUN_TEST_f_i): Likewise.
19281 (RUN_TEST_LOOP_f_i): Likewise.
19282 (RUN_TEST_f_i_tg): Likewise.
19283 (RUN_TEST_LOOP_f_i_tg): Likewise.
19284 (RUN_TEST_ff_i_tg): Likewise.
19285 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19286 (RUN_TEST_f_b): Likewise.
19287 (RUN_TEST_LOOP_f_b): Likewise.
19288 (RUN_TEST_f_b_tg): Likewise.
19289 (RUN_TEST_LOOP_f_b_tg): Likewise.
19290 (RUN_TEST_f_l): Likewise.
19291 (RUN_TEST_LOOP_f_l): Likewise.
19292 (RUN_TEST_f_L): Likewise.
19293 (RUN_TEST_LOOP_f_L): Likewise.
19294 (RUN_TEST_sincos): Likewise.
19295 (RUN_TEST_LOOP_sincos): Likewise.
19296
8269107f
JM
192972013-05-17 Joseph Myers <joseph@codesourcery.com>
19298
bb38759d
JM
19299 [BZ #15480]
19300 [BZ #15485]
19301 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19302 main case of finite arguments, set rounding mode to FE_TONEAREST
19303 and discard exceptions.
19304 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19305 exceptions.
19306 (remainder_tonearest_test_data): New variable.
19307 (remainder_test_tonearest): New function.
19308 (remainder_towardzero_test_data): New variable.
19309 (remainder_test_towardzero): New function.
19310 (remainder_downward_test_data): New variable.
19311 (remainder_test_downward): New function.
19312 (remainder_upward_test_data): New variable.
19313 (remainder_test_upward): New function.
19314 (main): Call the new test functions.
19315
a00bdcf0
JM
19316 * math/libm-test.inc (struct test_f_f1_data): Remove field
19317 extra_init.
19318 (struct test_fF_f1_data): Likewise.
19319 (struct test_ffI_f1_data): Likewise.
19320 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19321 based on value of EXTRA_EXPECTED.
19322 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19323 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19324 EXTRA_VAR based on value of EXTRA_EXPECTED.
19325 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19326 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19327 EXTRA_VAR based on value of EXTRA_EXPECTED.
19328 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19329 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19330 EXTRA_VAR based on value of EXTRA_EXPECTED.
19331 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19332 * math/gen-libm-test.pl (parse_args): Don't output initializers
19333 for extra output values.
19334
de407f79
JM
19335 * math/libm-test.inc (check_int): Expect result to be exactly
19336 equal to expected value and do not handle ulps.
19337 (check_long): Likewise.
19338 (check_longlong): Likewise.
19339
8269107f
JM
19340 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19341 exceptions.
19342 (cimag_test_data): Likewise.
19343 (conj_test_data): Likewise.
19344 (copysign_test_data): Likewise.
19345 (cproj_test_data): Likewise.
19346 (creal_test_data): Likewise.
19347 (fabs_test_data): Likewise.
19348 (fdim_test_data): Likewise.
19349 (finite_test_data): Likewise.
19350 (floor_test_data): Likewise.
19351 (fmax_test_data): Likewise.
19352 (fmin_test_data): Likewise.
19353 (fmod_test_data): Likewise.
19354 (fpclassify_test_data): Likewise.
19355 (frexp_test_data): Likewise.
19356 (ilogb_test_data): Likewise.
19357 (isfinite_test_data): Likewise.
19358 (isgreater_test_data): Likewise.
19359 (isgreaterequal_test_data): Likewise.
19360 (isinf_test_data): Likewise.
19361 (isless_test_data): Likewise.
19362 (islessequal_test_data): Likewise.
19363 (islessgreater_test_data): Likewise.
19364 (isnan_test_data): Likewise.
19365 (isnormal_test_data): Likewise.
19366 (issignaling_test_data): Likewise.
19367 (isunordered_test_data): Likewise.
19368 (ldexp_test_data): Likewise.
19369 (lrint_test_data): Likewise.
19370 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19371 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19372 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19373 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19374 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19375 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19376 test input.
19377 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19378 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19379 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19380 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19381 that test input.
19382 (lrint_downward_test_data): Test for "inexact" exceptions.
19383 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19384 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19385 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19386 test input.
19387 (lrint_upward_test_data): Test for "inexact" exceptions.
19388 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19389 test input.
19390 (llrint_test_data): Test for "inexact" exceptions.
19391 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19392 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19393 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19394 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19395 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19396 (llrint_downward_test_data): Test for "inexact" exceptions.
19397 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19398 (llrint_upward_test_data): Test for "inexact" exceptions.
19399 (logb_test_data): Likewise.
19400 (logb_downward_test_data): Likewise.
19401 (nextafter_test_data): Likewise.
19402 (nexttoward_test_data): Likewise.
19403 (remainder_test_data): Likewise.
19404 (remquo_test_data): Likewise.
19405 (scalbn_test_data): Likewise.
19406 (scalbln_test_data): Likewise.
19407 (signbit_test_data): Likewise.
19408 (sqrt_test_data): Likewise.
19409 (significand_test_data): Likewise.
19410
48a18de1
SP
194112013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19412
19413 [BZ #15424]
19414 * benchtests/bench-modf.c (struct args): Mark arg0 as
19415 volatile.
19416 * scripts/bench.pl: Mark members of struct args as volatile.
19417
13d3b41a
AZ
194182013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19419
68191c1d 19420 [BZ # 15497]
13d3b41a
AZ
19421 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19422 negative infinity on POWER6 or lower.
19423 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19424
2848b105
MR
194252013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19426
19427 [BZ #15442]
19428 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19429 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19430 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19431 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19432 (_FP_SETQNAN): New macro.
19433 (_FP_SETQNAN_SEMIRAW): Likewise.
19434 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19435 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19436 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19437 (FP_EXTEND): Use _FP_FRAC_SNANP.
19438 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19439 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19440 into account.
19441 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19442 New macro.
19443 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19444 Likewise.
19445
323e5cb7
JM
194462013-05-16 Joseph Myers <joseph@codesourcery.com>
19447
c58b274f
JM
19448 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19449 with DIVIDE_BY_ZERO_EXCEPTION.
19450 (gamma_test_data): Likewise.
19451 (lgamma_test_data): Likewise.
19452 (log_test_data): Likewise.
19453 (log10_test_data): Likewise.
19454 (log2_test_data): Likewise.
19455 (tgamma_test_data): Likewise.
19456
0ab34904
JM
19457 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19458 (acos_test_tonearest): Likewise.
19459 (acos_test_towardzero): Likewise.
19460 (acos_test_downward): Likewise.
19461 (acos_test_upward): Likewise.
19462 (acosh_test): Likewise.
19463 (asin_test): Likewise.
19464 (asin_test_tonearest): Likewise.
19465 (asin_test_towardzero): Likewise.
19466 (asin_test_downward): Likewise.
19467 (asin_test_upward): Likewise.
19468 (asinh_test): Likewise.
19469 (atan_test): Likewise.
19470 (atanh_test): Likewise.
19471 (atan2_test): Likewise.
19472 (cabs_test): Likewise.
19473 (cacos_test): Likewise.
19474 (cacosh_test): Likewise.
19475 (casin_test): Likewise.
19476 (casinh_test): Likewise.
19477 (catan_test): Likewise.
19478 (catanh_test): Likewise.
19479 (cbrt_test): Likewise.
19480 (ccos_test): Likewise.
19481 (ccosh_test): Likewise.
19482 (cexp_test): Likewise.
19483 (clog_test): Likewise.
19484 (clog10_test): Likewise.
19485 (cos_test): Likewise.
19486 (cos_test_tonearest): Likewise.
19487 (cos_test_towardzero): Likewise.
19488 (cos_test_downward): Likewise.
19489 (cos_test_upward): Likewise.
19490 (cosh_test): Likewise.
19491 (cosh_test_tonearest): Likewise.
19492 (cosh_test_towardzero): Likewise.
19493 (cosh_test_downward): Likewise.
19494 (cosh_test_upward): Likewise.
19495 (cpow_test): Likewise.
19496 (csin_test): Likewise.
19497 (csinh_test): Likewise.
19498 (csqrt_test): Likewise.
19499 (ctan_test): Likewise.
19500 (ctan_test_tonearest): Likewise.
19501 (ctan_test_towardzero): Likewise.
19502 (ctan_test_downward): Likewise.
19503 (ctan_test_upward): Likewise.
19504 (ctanh_test): Likewise.
19505 (ctanh_test_tonearest): Likewise.
19506 (ctanh_test_towardzero): Likewise.
19507 (ctanh_test_downward): Likewise.
19508 (ctanh_test_upward): Likewise.
19509 (erf_test): Likewise.
19510 (erfc_test): Likewise.
19511 (exp_test): Likewise.
19512 (exp_test_tonearest): Likewise.
19513 (exp_test_towardzero): Likewise.
19514 (exp_test_downward): Likewise.
19515 (exp_test_upward): Likewise.
19516 (exp10_test): Likewise.
19517 (exp2_test): Likewise.
19518 (expm1_test): Likewise.
19519 (fmod_test): Likewise.
19520 (gamma_test): Likewise.
19521 (hypot_test): Likewise.
19522 (j0_test): Likewise.
19523 (j1_test): Likewise.
19524 (jn_test): Likewise.
19525 (lgamma_test): Likewise.
19526 (log_test): Likewise.
19527 (log10_test): Likewise.
19528 (log1p_test): Likewise.
19529 (log2_test): Likewise.
19530 (logb_test_downward): Likewise.
19531 (pow_test): Likewise.
19532 (pow_test_tonearest): Likewise.
19533 (pow_test_towardzero): Likewise.
19534 (pow_test_downward): Likewise.
19535 (pow_test_upward): Likewise.
19536 (remainder_test): Likewise.
19537 (remquo_test): Likewise.
19538 (sin_test): Likewise.
19539 (sin_test_tonearest): Likewise.
19540 (sin_test_towardzero): Likewise.
19541 (sin_test_downward): Likewise.
19542 (sin_test_upward): Likewise.
19543 (sincos_test): Likewise.
19544 (sinh_test): Likewise.
19545 (sinh_test_tonearest): Likewise.
19546 (sinh_test_towardzero): Likewise.
19547 (sinh_test_downward): Likewise.
19548 (sinh_test_upward): Likewise.
19549 (sqrt_test): Likewise.
19550 (tan_test): Likewise.
19551 (tan_test_tonearest): Likewise.
19552 (tan_test_towardzero): Likewise.
19553 (tan_test_downward): Likewise.
19554 (tan_test_upward): Likewise.
19555 (tanh_test): Likewise.
19556 (tgamma_test): Likewise.
19557 (y0_test): Likewise.
19558 (y1_test): Likewise.
19559 (yn_test): Likewise.
19560
323e5cb7
JM
19561 * math/gen-libm-test.pl (adjust_arg): Remove function.
19562 (special_function): Remove argument $in_func. Only handle
19563 generating output for tables of tests, not inside functions.
19564 (parse_args): Likewise.
19565 (generate_testfile): Remove variable $in_func. Update call to
19566 parse_args.
19567 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19568 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19569 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19570 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19571 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19572 (MAX_VALUE_INIT): Rename macro to max_value.
19573 (MIN_VALUE_INIT): Rename macro to min_value.
19574 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19575 (plus_zero): Remove variable.
19576 (minus_zero): Likewise.
19577 (plus_infty): Likewise.
19578 (minus_infty): Likewise.
19579 (qnan_value): Likewise.
19580 (max_value): Likewise.
19581 (min_value): Likewise.
19582 (min_subnorm_value): Likewise.
19583
e054f494
RA
195842013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19585
19586 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19587 uint64_t or uint32_t usage.
19588 * crypt/sha256-block.c: Likewise.
19589 * crypt/sha256-crypt.c: Likewise.
19590 * crypt/sha256.c: Likewise.
19591 * crypt/sha512-block.c: Likewise.
19592 * crypt/sha512-crypt.c: Likewise.
19593 * crypt/sha512.c: Likewise.
19594 * debug/backtrace-tst.c: Likewise.
19595 * debug/pcprofiledump.c: Likewise.
19596 * elf/cache.c: Likewise.
19597 * elf/dl-cache.c: Likewise.
19598 * elf/dl-misc.c: Likewise.
19599 * elf/dl-profile.c: Likewise.
19600 * elf/dl-support.c: Likewise.
19601 * elf/ldconfig.c: Likewise.
19602 * elf/sprof.c: Likewise.
19603 * iconv/dummy-repertoire.c: Likewise.
19604 * iconv/iconv_charmap.c: Likewise.
19605 * iconv/skeleton.c: Likewise.
19606 * iconvdata/8bit-generic.c: Likewise.
19607 * iconvdata/cp737.h: Likewise.
19608 * iconvdata/cp775.h: Likewise.
19609 * iconvdata/ibm1008.h: Likewise.
19610 * iconvdata/ibm1025.h: Likewise.
19611 * iconvdata/ibm1046.h: Likewise.
19612 * iconvdata/ibm1097.h: Likewise.
19613 * iconvdata/ibm1112.h: Likewise.
19614 * iconvdata/ibm1122.h: Likewise.
19615 * iconvdata/ibm1123.h: Likewise.
19616 * iconvdata/ibm1124.h: Likewise.
19617 * iconvdata/ibm1129.h: Likewise.
19618 * iconvdata/ibm1130.h: Likewise.
19619 * iconvdata/ibm1132.h: Likewise.
19620 * iconvdata/ibm1133.h: Likewise.
19621 * iconvdata/ibm1137.h: Likewise.
19622 * iconvdata/ibm1140.h: Likewise.
19623 * iconvdata/ibm1141.h: Likewise.
19624 * iconvdata/ibm1142.h: Likewise.
19625 * iconvdata/ibm1143.h: Likewise.
19626 * iconvdata/ibm1144.h: Likewise.
19627 * iconvdata/ibm1145.h: Likewise.
19628 * iconvdata/ibm1146.h: Likewise.
19629 * iconvdata/ibm1147.h: Likewise.
19630 * iconvdata/ibm1148.h: Likewise.
19631 * iconvdata/ibm1149.h: Likewise.
19632 * iconvdata/ibm1153.h: Likewise.
19633 * iconvdata/ibm1154.h: Likewise.
19634 * iconvdata/ibm1155.h: Likewise.
19635 * iconvdata/ibm1156.h: Likewise.
19636 * iconvdata/ibm1157.h: Likewise.
19637 * iconvdata/ibm1158.h: Likewise.
19638 * iconvdata/ibm1160.h: Likewise.
19639 * iconvdata/ibm1161.h: Likewise.
19640 * iconvdata/ibm1162.h: Likewise.
19641 * iconvdata/ibm1163.h: Likewise.
19642 * iconvdata/ibm1164.h: Likewise.
19643 * iconvdata/ibm1166.h: Likewise.
19644 * iconvdata/ibm1167.h: Likewise.
19645 * iconvdata/ibm12712.h: Likewise.
19646 * iconvdata/ibm1390.h: Likewise.
19647 * iconvdata/ibm1399.h: Likewise.
19648 * iconvdata/ibm16804.h: Likewise.
19649 * iconvdata/ibm4517.h: Likewise.
19650 * iconvdata/ibm4899.h: Likewise.
19651 * iconvdata/ibm4909.h: Likewise.
19652 * iconvdata/ibm4971.h: Likewise.
19653 * iconvdata/ibm5347.h: Likewise.
19654 * iconvdata/ibm803.h: Likewise.
19655 * iconvdata/ibm856.h: Likewise.
19656 * iconvdata/ibm901.h: Likewise.
19657 * iconvdata/ibm902.h: Likewise.
19658 * iconvdata/ibm9030.h: Likewise.
19659 * iconvdata/ibm9066.h: Likewise.
19660 * iconvdata/ibm921.h: Likewise.
19661 * iconvdata/ibm922.h: Likewise.
19662 * iconvdata/ibm9448.h: Likewise.
19663 * iconvdata/isiri-3342.h: Likewise.
19664 * iconvdata/jis0201.h: Likewise.
19665 * include/link.h: Likewise.
19666 * include/netdb.h: Likewise.
19667 * inet/check_native.c: Likewise.
19668 * inet/check_pf.c: Likewise.
19669 * inet/getipv4sourcefilter.c: Likewise.
19670 * inet/getnameinfo.c: Likewise.
19671 * inet/getsourcefilter.c: Likewise.
19672 * inet/htonl.c: Likewise.
19673 * inet/setipv4sourcefilter.c: Likewise.
19674 * inet/setsourcefilter.c: Likewise.
19675 * inet/test-inet6_opt.c: Likewise.
19676 * inet/tst-network.c: Likewise.
19677 * locale/C-collate.c: Likewise.
19678 * locale/C-ctype.c: Likewise.
19679 * locale/C-time.c: Likewise.
19680 * locale/C-translit.h: Likewise.
19681 * locale/loadarchive.c: Likewise.
19682 * locale/programs/3level.h: Likewise.
19683 * locale/programs/charmap.c: Likewise.
19684 * locale/programs/charmap.h: Likewise.
19685 * locale/programs/ld-address.c: Likewise.
19686 * locale/programs/ld-collate.c: Likewise.
19687 * locale/programs/ld-ctype.c: Likewise.
19688 * locale/programs/ld-identification.c: Likewise.
19689 * locale/programs/ld-measurement.c: Likewise.
19690 * locale/programs/ld-messages.c: Likewise.
19691 * locale/programs/ld-monetary.c: Likewise.
19692 * locale/programs/ld-name.c: Likewise.
19693 * locale/programs/ld-numeric.c: Likewise.
19694 * locale/programs/ld-paper.c: Likewise.
19695 * locale/programs/ld-telephone.c: Likewise.
19696 * locale/programs/ld-time.c: Likewise.
19697 * locale/programs/linereader.c: Likewise.
19698 * locale/programs/locale.c: Likewise.
19699 * locale/programs/locarchive.c: Likewise.
19700 * locale/programs/locfile.h: Likewise.
19701 * locale/programs/repertoire.c: Likewise.
19702 * locale/programs/simple-hash.c: Likewise.
19703 * locale/programs/simple-hash.h: Likewise.
19704 * malloc/memusage.c: Likewise.
19705 * malloc/memusagestat.c: Likewise.
19706 * nis/nis_defaults.c: Likewise.
19707 * nis/nis_hash.c: Likewise.
19708 * nis/nis_print.c: Likewise.
19709 * nis/nis_xdr.c: Likewise.
19710 * nscd/connections.c: Likewise.
19711 * nscd/hstcache.c: Likewise.
19712 * nscd/nscd_gethst_r.c: Likewise.
19713 * nscd/nscd_getserv_r.c: Likewise.
19714 * nscd/nscd_helper.c: Likewise.
19715 * nscd/servicescache.c: Likewise.
19716 * nss/makedb.c: Likewise.
19717 * nss/nss_db/db-XXX.c: Likewise.
19718 * nss/nss_db/db-initgroups.c: Likewise.
19719 * nss/nss_db/db-netgrp.c: Likewise.
19720 * nss/nss_files/files-network.c: Likewise.
19721 * nss/nss_files/files-parse.c: Likewise.
19722 * posix/bug-regex5.c: Likewise.
19723 * posix/fnmatch_loop.c: Likewise.
19724 * posix/regcomp.c: Likewise.
19725 * posix/regexec.c: Likewise.
19726 * posix/tst-rfc3484-2.c: Likewise.
19727 * posix/tst-rfc3484-3.c: Likewise.
19728 * posix/tst-rfc3484.c: Likewise.
19729 * resolv/nss_dns/dns-canon.c: Likewise.
19730 * resolv/nss_dns/dns-network.c: Likewise.
19731 * resolv/res_init.c: Likewise.
19732 * resolv/res_mkquery.c: Likewise.
19733 * resolv/tst-aton.c: Likewise.
19734 * stdlib/cxa_atexit.c: Likewise.
19735 * stdlib/cxa_finalize.c: Likewise.
19736 * stdlib/gen-fpioconst.c: Likewise.
19737 * stdlib/strtol_l.c: Likewise.
19738 * string/tst-endian.c: Likewise.
19739 * sunrpc/auth_des.c: Likewise.
19740 * sunrpc/clnt_udp.c: Likewise.
19741 * sunrpc/rtime.c: Likewise.
19742 * sunrpc/svcauth_des.c: Likewise.
19743 * sunrpc/xdr.c: Likewise.
19744 * sunrpc/xdr_intXX_t.c: Likewise.
19745 * sunrpc/xdr_rec.c: Likewise.
19746 * sysdeps/generic/ldconfig.h: Likewise.
19747 * sysdeps/generic/ldsodefs.h: Likewise.
19748 * sysdeps/generic/memusage.h: Likewise.
19749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19751 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19752 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19758 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19759 * sysdeps/posix/getaddrinfo.c: Likewise.
19760 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19761 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19762 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19763 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19764 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19765 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19766 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19767 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19768 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19769 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19770 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19771 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19772 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19773 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19774 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19775 * sysdeps/x86_64/dl-tls.h: Likewise.
19776 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19777 * time/alt_digit.c: Likewise.
19778 * time/era.c: Likewise.
19779 * wcsmbs/tst-c16c32-1.c: Likewise.
19780
8c75f674
JM
197812013-05-16 Joseph Myers <joseph@codesourcery.com>
19782
19783 * math/libm-test.inc (struct test_sincos_data): New type.
19784 (RUN_TEST_LOOP_sincos): New macro.
19785 (sincos_test_data): New variable.
19786 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19787
e6e49e59
RH
197882013-05-16 Richard Henderson <rth@redhat.com>
19789
19790 * math/atest-exp2.c (LIMB64): New macro.
19791 (CONSTSZ): New macro.
19792 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19793 (hexdig): Move ...
19794 (print_mpn_fp): ... to function scope.
19795 (read_mpn_hex): Remove.
19796 (get_log2): Remove.
19797 (exp2_mpn): Use mp_log2.
19798 (main): Use mp_exp1.
19799
15c7c18d
JM
198002013-05-16 Joseph Myers <joseph@codesourcery.com>
19801
105a07df
JM
19802 * math/libm-test.inc: Remove comment about not testing "inexact"
19803 exceptions.
19804 (INEXACT_EXCEPTION): New macro.
19805 (NO_INEXACT_EXCEPTION): Likewise.
19806 (INVALID_EXCEPTION_OK): Update value.
19807 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19808 (OVERFLOW_EXCEPTION_OK): Likewise.
19809 (UNDERFLOW_EXCEPTION_OK): Likewise.
19810 (IGNORE_ZERO_INF_SIGN): Likewise.
19811 (ERRNO_UNCHANGED): Likewise.
19812 (ERRNO_EDOM): Likewise.
19813 (ERRNO_ERANGE): Likewise.
19814 (test_exceptions): Handle testing "inexact" exceptions.
19815 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19816 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19817 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19818 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19819 INEXACT_EXCEPTION.
19820 (rint_towardzero_test_data): Likewise.
19821 (rint_downward_test_data): Likewise.
19822 (rint_upward_test_data): Likewise.
19823
e9eee333
JM
19824 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19825 with OVERFLOW_EXCEPTION.
19826 (exp10_test_data): Likewise.
19827 (exp2_test_data): Likewise.
19828 (expm1_test_data): Likewise.
19829 (lgamma_test_data): Likewise.
19830 (pow_test_data): Likewise.
19831 (tgamma_test_data): Likewise.
19832 (yn_test_data): Remove duplicate test of overflow.
19833
1c38ff73
JM
19834 * math/libm-test.inc (struct test_cc_c_data): New type.
19835 (RUN_TEST_LOOP_cc_c): New macro.
19836 (cpow_test_data): New variable.
19837 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19838
15c7c18d
JM
19839 * math/libm-test.inc (struct test_f_L_data): New type.
19840 (RUN_TEST_LOOP_f_L): New macro.
19841 (llrint_test_data): New variable.
19842 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19843 (llrint_tonearest_test_data): New variable.
19844 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19845 (llrint_towardzero_test_data): New variable.
19846 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19847 (llrint_downward_test_data): New variable.
19848 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19849 (llrint_upward_test_data): New variable.
19850 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19851 (llround_test_data): New variable.
19852 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19853
f137ff13
PC
198542013-05-13 Peter Collingbourne <pcc@google.com>
19855
19856 * math/atest-exp2.c (get_log2): Remove const attribute.
19857
3608cb24
JM
198582013-05-15 Joseph Myers <joseph@codesourcery.com>
19859
19860 * math/libm-test.inc (struct test_f_l_data): New type.
19861 (RUN_TEST_LOOP_f_l): New macro.
19862 (lrint_test_data): New variable.
19863 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19864 (lrint_tonearest_test_data): New variable.
19865 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19866 (lrint_towardzero_test_data): New variable.
19867 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19868 (lrint_downward_test_data): New variable.
19869 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19870 (lrint_upward_test_data): New variable.
19871 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19872 (lround_test_data): New variable.
19873 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19874
39b1f617
PC
198752013-05-15 Peter Collingbourne <pcc@google.com>
19876
1deff3dc
PC
19877 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19878 (EXTRACT_WORDS64) Use where appropriate.
19879 (INSERT_WORDS64) Likewise.
19880
791f3ba0
PC
19881 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19882 constraints with x constraints.
19883 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19884
39b1f617
PC
19885 * malloc/obstack.c (_obstack_compat): Add initializer.
19886
12fba011
EM
198872013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19888
19889 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19890 si_trapno and add si_addr_lsb to _sifields.sigfault.
19891 (si_trapno): Remove macro.
19892 (si_addr_lsb): Define new macro.
19893 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19894
d369f531
JM
198952013-05-15 Joseph Myers <joseph@codesourcery.com>
19896
b861c6c4
JM
19897 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19898 instead of TEST_f_l.
19899 (llrint_test_tonearest): Likewise.
19900 (llrint_test_towardzero): Likewise.
19901 (llrint_test_downward): Likewise.
19902 (llrint_test_upward): Likewise.
19903 (llround_test): Likewise.
19904
7abeee12
JM
19905 * math/libm-test.inc (struct test_f_i_data): Add comment.
19906 (RUN_TEST_LOOP_f_b): New macro.
19907 (RUN_TEST_LOOP_f_b_tg): Likewise.
19908 (finite_test_data): New variable.
19909 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19910 (isfinite_test_data): New variable.
19911 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19912 (isinf_test_data): New variable.
19913 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19914 (isnan_test_data): New variable.
19915 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19916 (isnormal_test_data): New variable.
19917 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19918 (issignaling_test_data): New variable.
19919 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19920 (signbit_test_data): New variable.
19921 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19922
cbe8c4d3
JM
19923 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19924 with INVALID_EXCEPTION.
19925 (acosh_test_data): Likewise.
19926 (asin_test_data): Likewise.
19927 (atanh_test_data): Likewise.
19928 (fmod_test_data): Likewise.
19929 (log_test_data): Likewise.
19930 (log10_test_data): Likewise.
19931 (log2_test_data): Likewise.
19932 (pow_test_data): Likewise.
19933 (sqrt_test_data): Likewise.
19934 (y0_test_data): Likewise.
19935 (y1_test_data): Likewise.
19936 (yn_test_data): Likewise.
19937
5575c0e5
JM
19938 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19939 function contents.
19940
d369f531
JM
19941 * math/libm-test.inc (struct test_ff_i_data): New type.
19942 (RUN_TEST_LOOP_ff_i_tg): New macro.
19943 (isgreater_test_data): New variable.
19944 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19945 (isgreaterequal_test_data): New variable.
19946 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19947 (isless_test_data): New variable.
19948 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19949 (islessequal_test_data): New variable.
19950 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19951 (islessgreater_test_data): New variable.
19952 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19953 (isunordered_test_data): New variable.
19954 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19955
781fd748
DM
199562013-05-14 David S. Miller <davem@davemloft.net>
19957
19958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19959
87aa21df
JM
199602013-05-14 Joseph Myers <joseph@codesourcery.com>
19961
5e908270
JM
19962 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19963
f71172e5
JM
19964 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19965 extra_test to int.
19966 (struct test_f_i_data): Change type of max_ulp to int.
19967
8cfa635a
JM
19968 * math/libm-test.inc (test_ffI_f1_data): New type.
19969 (RUN_TEST_LOOP_ffI_f1): New macro.
19970 (remquo_test_data): New variable.
19971 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19972
2bcb36b2
JM
19973 * setjmp/tst-setjmp-fp.c: New file.
19974 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19975 (link-libm): New variable.
19976 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19977
acbd839a
JM
19978 * math/libm-test.inc (struct test_f_i_data): New type.
19979 (RUN_TEST_LOOP_f_i): New macro.
19980 (RUN_TEST_LOOP_f_i_tg): Likewise.
19981 (fpclassify_test_data): New variable.
19982 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19983 (ilogb_test_data): New variable.
19984 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19985
e414d745
JM
19986 * math/libm-test.inc (scalbln_test): Correct function name in END
19987 call.
19988
d9c2a0fd
JM
19989 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19990 (RUN_TEST_LOOP_fI_f1): New macro.
19991 (frexp_test_data): New variable.
19992 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19993
9dc9095d
JM
19994 * math/libm-test.inc (struct test_fF_f1_data): New type.
19995 (RUN_TEST_LOOP_fF_f1): New macro.
19996 (modf_test_data): New variable.
19997 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19998
87aa21df
JM
19999 * math/libm-test.inc (struct test_f_f1_data): New type.
20000 (RUN_TEST_LOOP_f_f1): New macro.
20001 (gamma_test_data): New variable.
20002 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20003 (lgamma_test_data): New variable.
20004 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20005
141af660
CD
200062013-05-13 Carlos O'Donell <carlos@redhat.com>
20007
20008 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20009 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20010 (main): Comment "tls" pseudo-hwcap.
20011
6d33265c
JM
200122013-05-13 Joseph Myers <joseph@codesourcery.com>
20013
68fc074c
JM
20014 * math/libm-test.inc (struct test_fl_f_data): New type.
20015 (RUN_TEST_LOOP_fl_f): New variable.
20016 (scalbln_test_data): New variable.
20017 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20018
243216e1
JM
20019 * math/libm-test.inc (struct test_fi_f_data): New type.
20020 (RUN_TEST_LOOP_fi_f): New macro.
20021 (ldexp_test_data): New variable.
20022 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20023 (scalbn_test_data): New variable.
20024 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20025
6a1992e2
JM
20026 * math/libm-test.inc (struct test_c_f_data): New type.
20027 (RUN_TEST_LOOP_c_f): New macro.
20028 (cabs_test_data): New variable.
20029 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20030 (carg_test_data): New variable.
20031 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20032 (cimag_test_data): New variable.
20033 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20034 (creal_test_data): New variable.
20035 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20036
0e400df5
JM
20037 * math/libm-test.inc (struct test_if_f_data): New type.
20038 (RUN_TEST_LOOP_if_f): New macro.
20039 (jn_test_data): New variable.
20040 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20041 (yn_test_data): New variable.
20042 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20043
6d33265c
JM
20044 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20045
f98ece5f
AZ
200462013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20047
20048 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20049 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20050
0f7d347b
SP
200512013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20052
43fe811b
SP
20053 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20054 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20055 (bench-deps): Add bench-timing.h.
20056 * benchtests-bench-skeleton.c: Include bench-timing.h.
20057 (main): Use TIMING_* macros instead of clock_gettime.
20058 * benchtests/bench-timing.h: New file.
20059
0f7d347b
SP
20060 [BZ #14582]
20061 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20062 Renamed from _LIB_VERSION.
20063 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20064
601a3a5f
JM
200652013-05-12 Joseph Myers <joseph@codesourcery.com>
20066
4f184d30
JM
20067 * math/libm-test.inc (struct test_fff_f_data): New type.
20068 (RUN_TEST_LOOP_fff_f): New macro.
20069 (fma_test_data): New variable.
20070 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20071 (fma_towardzero_test_data): New variable.
20072 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20073 (fma_downward_test_data): New variable.
20074 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20075 (fma_upward_test_data): New variable.
20076 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20077
08198877
JM
20078 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20079 (struct test_c_c_data): New type.
20080 (RUN_TEST_LOOP_c_c): New macro.
20081 (cacos_test_data): New variable.
20082 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20083 (cacosh_test_data): New variable.
20084 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20085 (casin_test_data): New variable.
20086 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20087 (casinh_test_data): New variable.
20088 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20089 (catan_test_data): New variable.
20090 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20091 (catanh_test_data): New variable.
20092 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20093 (ccos_test_data): New variable.
20094 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20095 (ccosh_test_data): New variable.
20096 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20097 (cexp_test_data): New variable.
20098 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20099 (clog_test_data): New variable.
20100 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20101 (clog10_test_data): New variable.
20102 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20103 (conj_test_data): New variable.
20104 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20105 (cproj_test_data): New variable.
20106 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20107 (csin_test_data): New variable.
20108 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20109 (csinh_test_data): New variable.
20110 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20111 (csqrt_test_data): New variable.
20112 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20113 (ctan_test_data): New variable.
20114 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20115 (ctan_tonearest_test_data): New variable.
20116 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20117 (ctan_towardzero_test_data): New variable.
20118 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20119 (ctan_downward_test_data): New variable.
20120 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20121 (ctan_upward_test_data): New variable.
20122 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20123 (ctanh_test_data): New variable.
20124 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20125 (ctanh_tonearest_test_data): New variable.
20126 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20127 (ctanh_towardzero_test_data): New variable.
20128 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20129 (ctanh_downward_test_data): New variable.
20130 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20131 (ctanh_upward_test_data): New variable.
20132 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20133 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20134 of BUILD_COMPLEX.
20135
601a3a5f
JM
20136 * math/libm-test.inc (struct test_ff_f_data): New type.
20137 (struct test_ff_f_data_nexttoward): Likewise.
20138 (RUN_TEST_LOOP_2_f): New macro.
20139 (RUN_TEST_LOOP_ff_f): Likewise.
20140 (atan2_test_data): New variable.
20141 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20142 (copysign_test_data): New variable.
20143 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20144 (fdim_test_data): New variable.
20145 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20146 (fmax_test_data): New variable.
20147 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20148 (fmin_test_data): New variable.
20149 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20150 (fmod_test_data): New variable.
20151 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20152 (hypot_test_data): New variable.
20153 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20154 (nextafter_test_data): New variable.
20155 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20156 (nexttoward_test_data): New variable.
20157 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20158 (pow_test_data): New variable.
20159 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20160 (pow_tonearest_test_data): New variable.
20161 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20162 (pow_towardzero_test_data): New variable.
20163 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20164 (pow_downward_test_data): New variable.
20165 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20166 (pow_upward_test_data): New variable.
20167 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20168 (remainder_test_data): New variable.
20169 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20170 (scalb_test_data): New variable.
20171 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20172 * sysdeps/i386/fpu/libm-test-ulps: Update.
20173
74c57478
JM
201742013-05-11 Joseph Myers <joseph@codesourcery.com>
20175
8329e4da
JM
20176 * math/libm-test.inc (fma_test): Use max_value instead of local
20177 variable fltmax.
20178 (nextafter_test): Likewise.
20179
74c57478
JM
20180 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20181 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20182 (acos_downward_test_data): New variable.
20183 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20184 (acos_upward_test_data): New variable.
20185 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20186 (acosh_test_data): New variable.
20187 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20188 (asin_test_data): New variable.
20189 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20190 (asin_tonearest_test_data): New variable.
20191 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20192 (asin_towardzero_test_data): New variable.
20193 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20194 (asin_downward_test_data): New variable.
20195 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20196 (asin_upward_test_data): New variable.
20197 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20198 (asinh_test_data): New variable.
20199 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20200 (atan_test_data): New variable.
20201 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20202 (atanh_test_data): New variable.
20203 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20204 (cbrt_test_data): New variable.
20205 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20206 (ceil_test_data): New variable.
20207 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20208 (cos_test_data): New variable.
20209 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20210 (cos_tonearest_test_data): New variable.
20211 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20212 (cos_towardzero_test_data): New variable.
20213 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20214 (cos_downward_test_data): New variable.
20215 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20216 (cos_upward_test_data): New variable.
20217 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20218 (cosh_test_data): New variable.
20219 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20220 (cosh_tonearest_test_data): New variable.
20221 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20222 (cosh_towardzero_test_data): New variable.
20223 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20224 (cosh_downward_test_data): New variable.
20225 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20226 (cosh_upward_test_data): New variable.
20227 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20228 (erf_test_data): New variable.
20229 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20230 (erfc_test_data): New variable.
20231 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20232 (exp_test_data): New variable.
20233 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20234 (exp_tonearest_test_data): New variable.
20235 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20236 (exp_towardzero_test_data): New variable.
20237 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20238 (exp_downward_test_data): New variable.
20239 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20240 (exp_upward_test_data): New variable.
20241 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20242 (exp10_test_data): New variable.
20243 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20244 (exp2_test_data): New variable.
20245 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20246 (expm1_test_data): New variable.
20247 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20248 (fabs_test_data): New variable.
20249 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20250 (floor_test_data): New variable.
20251 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20252 (j0_test_data): New variable.
20253 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20254 (j1_test_data): New variable.
20255 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20256 (log_test_data): New variable.
20257 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20258 (log10_test_data): New variable.
20259 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20260 (log1p_test_data): New variable.
20261 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20262 (log2_test_data): New variable.
20263 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20264 (logb_test_data): New variable.
20265 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20266 (logb_downward_test_data): New variable.
20267 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20268 (nearbyint_test_data): New variable.
20269 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20270 (rint_test_data): New variable.
20271 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20272 (rint_tonearest_test_data): New variable.
20273 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20274 (rint_towardzero_test_data): New variable.
20275 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20276 (rint_downward_test_data): New variable.
20277 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20278 (rint_upward_test_data): New variable.
20279 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20280 (round_test_data): New variable.
20281 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20282 (sin_test_data): New variable.
20283 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20284 (sin_tonearest_test_data): New variable.
20285 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20286 (sin_towardzero_test_data): New variable.
20287 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20288 (sin_downward_test_data): New variable.
20289 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20290 (sin_upward_test_data): New variable.
20291 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20292 (sinh_test_data): New variable.
20293 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20294 (sinh_tonearest_test_data): New variable.
20295 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20296 (sinh_towardzero_test_data): New variable.
20297 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20298 (sinh_downward_test_data): New variable.
20299 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20300 (sinh_upward_test_data): New variable.
20301 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20302 (sqrt_test_data): New variable.
20303 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20304 (tan_test_data): New variable.
20305 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20306 (tan_tonearest_test_data): New variable.
20307 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20308 (tan_towardzero_test_data): New variable.
20309 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20310 (tan_downward_test_data): New variable.
20311 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20312 (tan_upward_test_data): New variable.
20313 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20314 (tanh_test_data): New variable.
20315 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20316 (tgamma_test_data): New variable.
20317 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20318 (trunc_test_data): New variable.
20319 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20320 (y0_test_data): New variable.
20321 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20322 (y1_test_data): New variable.
20323 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20324 (significand_test_data): New variable.
20325 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20326
7187d844
CG
203272013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20328
20329 [BZ #12387]
20330 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20331
f63fae73
PT
203322013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20333
20334 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20335
8a67a4b3
AJ
203362013-05-10 Andreas Jaeger <aj@suse.de>
20337
20338 [BZ #15448]
20339 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20340 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20341
51df539d
JM
203422013-05-10 Joseph Myers <joseph@codesourcery.com>
20343
20344 * math/gen-libm-test.pl (adjust_arg): New function.
20345 (special_functions): Handle generating output in both functions
20346 and arrays.
20347 (parse_args): Likewise.
20348 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20349 $in_func argument to parse_args.
20350 * math/libm-test.inc (struct test_f_f_data): New type.
20351 (IF_ROUND_INIT_): New macro.
20352 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20353 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20354 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20355 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20356 (ROUND_RESTORE_): Likewise.
20357 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20358 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20359 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20360 (ROUND_RESTORE_FE_UPWARD): Likewise.
20361 (RUN_TEST_LOOP_f_f): New macro.
20362 (acos_test_data): New variable.
20363 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20364 (acos_tonearest_test_data): New variable.
20365 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20366
5c637fe5
SP
203672013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20368
20369 * benchtests/bench-skeleton.c (startup): Fix coding style.
20370
ab2b9461
JM
203712013-05-10 Joseph Myers <joseph@codesourcery.com>
20372
20373 [BZ #6809]
20374 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20375 negative infinity argument.
20376 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20377 negative infinity argument.
20378 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20379 negative infinity argument.
20380 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20381 domain errors.
20382
4c0fe6fe
FW
203832013-05-10 Florian Weimer <fweimer@redhat.com>
20384
20385 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20386 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20387 * iconv/iconv_prog.c (main): Likewise.
20388 * locale/programs/charmap-dir.c (charmap_readdir)
20389 (fopen_uncompressed): Likewise.
20390 * locale/programs/locfile.c (siblings_uncached)
20391 (write_locale_data): Use lstat64 instead of lstat.
20392 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20393 stat.
20394
a3375d29
AJ
203952013-05-10 Andreas Jaeger <aj@suse.de>
20396
20397 [BZ #15395]
20398 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20399 localization.
20400 Include <locale.h>.
20401
36129722
CD
204022013-05-09 Carlos O'Donell <carlos@redhat.com>
20403
20404 * elf/dl-close.c (_dl_close_worker): Add comments.
20405
faa7f811
JM
204062013-05-09 Joseph Myers <joseph@codesourcery.com>
20407
ed41ffef
JM
20408 [BZ #15359]
20409 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20410 high part of pi/2.
20411 (__ieee754_rem_pio2l): Update comments.
20412
d0213cd0
JM
20413 [BZ #15429]
20414 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20415 high part of pi/2.
20416 (__ieee754_rem_pio2l): Update comments.
20417
0d3e777a
JM
20418 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20419 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20420
24f56066
JM
20421 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20422 M_PI_4l.
20423
faa7f811
JM
20424 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20425 (M_PI_34_LOG10El): Likewise.
20426 (M_PI2_LOG10El): Likewise.
20427 (M_PI4_LOG10El): Likewise.
20428 (M_PI_LOG10El): Likewise.
20429
e9a5e0fd
AZ
204302013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20431
20432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20433
d8cd06db
JM
204342013-05-08 Joseph Myers <joseph@codesourcery.com>
20435
a0d9f9d7
JM
20436 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20437 (MINUS_ZERO_INIT): Likewise.
20438 (PLUS_INFTY_INIT): Likewise.
20439 (MINUS_INFTY_INIT): Likewise.
20440 (QNAN_VALUE_INIT): Likewise.
20441 (MAX_VALUE_INIT): Likewise.
20442 (MIN_VALUE_INIT): Likewise.
20443 (MIN_SUBNORM_VALUE_INIT): Likewise.
20444 (plus_zero): Initialize with PLUS_ZERO_INIT.
20445 (minus_zero): Initialize with MINUS_ZERO_INIT.
20446 (plus_infty): Initialize with PLUS_INFTY_INIT.
20447 (minus_infty): Initialize with MINUS_INFTY_INIT.
20448 (qnan_value): Initialize with QNAN_VALUE_INIT.
20449 (max_value): Initialize with MAX_VALUE_INIT.
20450 (min_value): Initialize with MIN_VALUE_INIT.
20451 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20452
ae08db3b
JM
20453 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20454 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20455 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20456 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20457
f44bf14a
JM
20458 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20459 (RUN_TEST_2_f): Likewise.
20460 (RUN_TEST_ff_f): Likewise.
20461 (RUN_TEST_fi_f): Likewise.
20462 (RUN_TEST_fl_f): Likewise.
20463 (RUN_TEST_fff_f): Likewise.
20464 (RUN_TEST_c_f): Likewise.
20465 (RUN_TEST_f_f1): Likewise.
20466 (RUN_TEST_fF_f1): Likewise.
20467 (RUN_TEST_fI_f1): Likewise.
20468 (RUN_TEST_ffI_f1): Likewise.
20469 (RUN_TEST_c_c): Likewise.
20470 (RUN_TEST_cc_c): Likewise.
20471 (RUN_TEST_f_i): Likewise.
20472 (RUN_TEST_f_i_tg): Likewise.
20473 (RUN_TEST_ff_i_tg): Likewise.
20474 (RUN_TEST_f_b): Likewise.
20475 (RUN_TEST_f_b_tg): Likewise.
20476 (RUN_TEST_f_l): Likewise.
20477 (RUN_TEST_f_L): Likewise.
20478 (RUN_TEST_sincos): Likewise.
20479 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20480 whether to show exceptions. Do not include ");\n" in return
20481 value.
20482 (special_functions): Output call to RUN_TEST_sincos instead of
20483 check_float calls. Update calls to new_test.
20484 (parse_args): Output call to single RUN_TEST_* macro instead of
20485 check_* calls and other assignments. Update calls to new_test.
20486
d8cd06db
JM
20487 [BZ #2546]
20488 [BZ #2560]
20489 [BZ #5159]
20490 [BZ #15426]
20491 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20492 input to result for tgamma overflow.
20493 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20494 (gamma_coeff): New variable.
20495 (NCOEFF): New macro.
20496 (gamma_positive): New function.
20497 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20498 underflow here. Use gamma_positive instead of exp (lgamma) for
20499 other arguments.
20500 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20501 (gamma_coeff): New variable.
20502 (NCOEFF): New macro.
20503 (gammaf_positive): New function.
20504 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20505 underflow here. Use gamma_positive instead of exp (lgamma) for
20506 other arguments.
20507 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20508 (gamma_coeff): New variable.
20509 (NCOEFF): New macro.
20510 (gammal_positive): New function.
20511 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20512 underflow here. Use gamma_positive instead of exp (lgamma) for
20513 other arguments.
20514 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20515 (gamma_coeff): New variable.
20516 (NCOEFF): New macro.
20517 (gammal_positive): New function.
20518 (__ieee754_gammal_r): Handle positive infinity, overflow and
20519 underflow here. Handle NaN the same as positive infinity. Remove
20520 check x < 0xffffffff for negative integers. Use gamma_positive
20521 instead of exp (lgamma) for other arguments.
20522 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20523 (gamma_coeff): New variable.
20524 (NCOEFF): New macro.
20525 (gammal_positive): New function.
20526 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20527 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20528 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20529 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20530 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20531 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20532 * sysdeps/generic/math_private.h (__gamma_productf): New
20533 prototype.
20534 (__gamma_product): Likewise.
20535 (__gamma_productl): Likewise.
20536 * math/Makefile (libm-calls): Add gamma_product.
20537 * math/libm-test.inc (tgamma_test): Add more tests.
20538 * sysdeps/i386/fpu/libm-test-ulps: Update.
20539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20540
bb7cf681
OB
205412013-05-08 Ondřej Bílka <neleai@seznam.cz>
20542
20543 * benchtests/bench-skeleton.c (main): Preheat CPU.
20544
ba853947
AJ
205452013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20546
20547 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20548
8347c74c
RM
205492013-05-07 Roland McGrath <roland@hack.frob.com>
20550
20551 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20552 and _dl_skip_args_internal.
20553
e8dd4791
CD
205542013-05-07 Carlos O'Donell <carlos@redhat.com>
20555
20556 * manual/message.texi (Message Translation): Talk about users.
20557 Message to key mapping impacts design.
20558
c7405830
RM
205592013-05-06 Roland McGrath <roland@hack.frob.com>
20560
a9173057
RM
20561 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20562
976e2f03
RM
20563 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20564
9723ffc5
RM
20565 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20566 * sysdeps/wordsize-64/glob64.c: ... here.
20567
962e6658
RM
20568 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20569 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20570 New macros.
20571
ee586a6d
RM
20572 * debug/getlogin_r_chk.c: Moved to ...
20573 * login/getlogin_r_chk.c: ... here.
20574 * debug/Makefile (routines): Move getlogin_r_chk to ...
20575 * login/Makefile (routines): ... here.
20576 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20577 * login/Versions (libc: GLIBC_2.4): ... here.
20578
355f9165
RM
20579 * io/poll.c (__poll): Renamed from poll.
20580 Add libc_hidden_def.
20581 (poll): Define as weak alias.
20582
bd9ffde6
RM
20583 * debug/ptsname_r_chk.c: Moved to ...
20584 * login/ptsname_r_chk.c: ... here.
20585 * debug/Makefile (routines): Move ptsname_r_chk to ...
20586 * login/Makefile (routines): ... here.
20587 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20588 * login/Versions (libc: GLIBC_2.4): ... here.
20589
8fb16a04
RM
20590 * posix/getlogin.c: Moved to ...
20591 * login/getlogin.c: ... here.
20592 * posix/getlogin_r.c: Moved to ...
20593 * login/getlogin_r.c: ... here.
20594 * posix/getlogin_r.c: Moved to ...
20595 * login/getlogin_r.c: ... here.
20596 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20597 * login/Makefile (routines): ... here.
20598 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20599 * login/Versions (libc: GLIBC_2.0): ... here.
20600
b99b892f
RM
20601 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20602 (setrlimit): Define as weak alias.
20603
c7405830
RM
20604 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20605 Call __ names for open, ftruncate, and close.
20606 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20607 (truncate): Define as weak alias.
20608
5bf96de5
JM
206092013-05-06 Joseph Myers <joseph@codesourcery.com>
20610
9ea3513c
JM
20611 * math/gen-libm-test.pl (parse_args): Initialize x before each
20612 test of frexp, modf and remquo.
20613
5bf96de5
JM
20614 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20615 test signgam value.
20616
16e616a7
AZ
206172013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20618
20619 [BZ #15418]
20620 [BZ #15419]
20621 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20622 internal tests.
20623 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20624
d5e82754
RM
206252013-05-06 Roland McGrath <roland@hack.frob.com>
20626
20627 * elf/dl-writev.h: New file.
20628 * elf/dl-misc.c: Include it.
20629 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20630 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20631
a7548d41
JM
206322013-05-04 Joseph Myers <joseph@codesourcery.com>
20633
b7dab1e4
JM
20634 * math/libm-test.inc (noXFails): Remove variable.
20635 (noXPasses): Likewise.
20636 (BUILD_COMPLEX_INT): Remove macro.
20637 (print_screen): Remove xfail argument.
20638 (print_screen_max_error): Likewise.
20639 (update_stats): Likewise.
20640 (print_max_error): Likewise. Update calls to other affected
20641 functions.
20642 (print_complex_max_error): Likewise.
20643 (test_single_exception): Update calls to print_screen.
20644 (test_single_errno): Likewise.
20645 (check_float_internal): Remove xfail argument. Update calls to
20646 other affected functions.
20647 (check_float): Likewise.
20648 (check_complex): Likewise.
20649 (check_int): Likewise.
20650 (check_long): Likewise.
20651 (check_bool): Likewise.
20652 (check_longlong): Likewise.
20653 (main): Don't print noXFails and noXPasses.
20654 * math/gen-libm-test.pl (top level): Don't mention expected
20655 failure handling in comment.
20656 (new_test): Don't handle expected failures.
20657 (parse_args): Don't mention expected failure handling in comment.
20658 (generate_testfile): Don't handle expected failures.
20659 (parse_ulps): Likewise.
20660 (print_ulps_file): Likewise.
20661 (get_failure): Remove function.
20662 (output_test): Don't handle expected failures.
20663 * make/README.libm-test: Don't mention expected failure handling.
20664
a7548d41
JM
20665 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20666 (minus_zero): Likewise.
20667 (plus_infty): Likewise.
20668 (minus_infty): Likewise.
20669 (qnan_value): Likewise.
20670 (max_value): Likewise.
20671 (min_value): Likewise.
20672 (min_subnorm_value): Likewise.
20673 (initialize): Do not initialize those variables dynamically.
20674
60bfd54c
RM
206752013-05-03 Roland McGrath <roland@hack.frob.com>
20676
cc0e6ed8
RM
20677 * io/open.c (__open_2): Moved to ...
20678 * io/open_2.c: ... this new file.
20679 * io/open64.c (__open64_2): Moved to ...
20680 * io/open64_2.c: ... this new file.
20681 * io/openat.c (__openat_2): Moved to ...
20682 * io/openat_2.c: ... this new file.
20683 * io/openat64.c (__openat64_2): Moved to ...
20684 * io/openat64_2.c: ... this new file.
20685 * io/Makefile (routines): Add them.
20686 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20687 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20688 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20689 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20690 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20691 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20692 (__openat64): Add hidden_ver.
20693 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20694 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20695
60bfd54c
RM
20696 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20697 Separately conditionalize setting of GLRO(dl_sysinfo) so
20698 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20699 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20700
83e7640f
AZ
207012013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20702
20703 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20704 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20705 definition.
20706 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20707 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20708 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20709 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20710 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20711
d5dc2af3
JM
207122013-05-03 Joseph Myers <joseph@codesourcery.com>
20713
c31a5b1e
JM
20714 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20715 test signgam value.
20716
d5dc2af3
JM
20717 * math/libm-test.inc (hypot_test): Do not use
20718 IGNORE_ZERO_INF_SIGN.
20719
164fd39d
AJ
207202013-05-03 Andreas Jaeger <aj@suse.de>
20721
20722 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20723 Linux 3.9.
20724 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20725 (PF_MAX): Adjust for VSOCK change.
20726
8237f48c
AZ
207272013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20728
20729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20730
9df02941
CD
207312013-05-02 Carlos O'Donell <carlos@redhat.com>
20732
20733 [BZ #15264]
20734 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20735 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20736 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20737
d422395e
DM
207382013-05-02 David S. Miller <davem@davemloft.net>
20739
20740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20741
a07c5731
OB
207422013-05-01 Ondřej Bílka <neleai@seznam.cz>
20743
20744 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20745
1324e37f
RM
207462013-05-01 Roland McGrath <roland@hack.frob.com>
20747
20748 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20749
0695940b
RS
207502013-05-01 Richard Smith <richard@metafoo.co.uk>
20751
bb5f27ad 20752 [BZ #14952]
0695940b
RS
20753 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20754 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20755 Use __attribute__ ((__gnu_inline__)).
20756 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20757 Don't use __attribute__ ((__gnu_inline__)).
20758
10de07f5
JM
207592013-05-01 Joseph Myers <joseph@codesourcery.com>
20760
20761 [BZ #15423]
20762 * math/s_catan.c (__catan): Handle small real or imaginary part of
20763 input specially to avoid spurious underflow.
20764 * math/s_catanf.c (__catanf): Likewise.
20765 * math/s_catanh.c (__catanh): Likewise.
20766 * math/s_catanhf.c (__catanhf): Likewise.
20767 * math/s_catanhl.c (__catanhl): Likewise.
20768 * math/s_catanl.c (__catanl): Likewise.
20769 * math/libm-test.inc (catan_test): Add more tests.
20770 (catanh_test): Likewise.
20771 * sysdeps/i386/fpu/libm-test-ulps: Update.
20772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20773
cb4d5414
AZ
207742013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20775
20776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20777
caf84319
JM
207782013-04-30 Joseph Myers <joseph@codesourcery.com>
20779
20780 [BZ #15416]
20781 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20782 accurately for denominator in atan2.
20783 * math/s_catanf.c (__catanf): Likewise.
20784 * math/s_catanh.c (__catanh): Likewise.
20785 * math/s_catanhf.c (__catanhf): Likewise.
20786 * math/s_catanhl.c (__catanhl): Likewise.
20787 * math/s_catanl.c (__catanl): Likewise.
20788 * math/libm-test.inc (catan_test): Add more tests.
20789 (catanh_test): Likewise.
20790 * sysdeps/i386/fpu/libm-test-ulps: Update.
20791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20792
d569c6ee
SP
207932013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20794
6dbe713d
SP
20795 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20796
f0ee064b
SP
20797 * benchtests/Makefile (bench): Remove slow benchmarks.
20798 * benchtests/atan-inputs: Add slow benchmark inputs.
20799 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20800 (BENCH_FUNC): Accept variant offset.
20801 (VARIANT): Define.
20802 * benchtests/bench-skeleton.c (main): Run benchmark for each
20803 variant.
20804 * benchtests/cos-inputs: Add slow benchmark inputs.
20805 * benchtests/exp-inputs: Likewise.
20806 * benchtests/pow-inputs: Likewise.
20807 * benchtests/sin-inputs: Likewise.
20808 * benchtests/slowatan-inputs: Remove.
20809 * benchtests/slowatan.c: Remove.
20810 * benchtests/slowcos-inputs: Remove.
20811 * benchtests/slowcos.c: Remove.
20812 * benchtests/slowexp-inputs: Remove.
20813 * benchtests/slowexp.c: Remove.
20814 * benchtests/slowpow-inputs: Remove.
20815 * benchtests/slowpow.c: Remove.
20816 * benchtests/slowsin-inputs: Remove.
20817 * benchtests/slowsin.c: Remove.
20818 * benchtests/slowtan-inputs: Remove.
20819 * benchtests/slowtan.c: Remove.
20820 * benchtests/tan-inputs: Add slow benchmark inputs.
20821 * scripts/bench.pl: Parse comments and directives.
20822
d569c6ee
SP
20823 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20824 in CPPFLAGS.
20825 ($(objpfx)bench-%.c): Remove *-ITER.
20826 * benchtests/bench-modf.c: Remove definition of ITER.
20827 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20828 (main): Loop for DURATION seconds instead of fixed number of
20829 iterations.
20830 * scripts/bench.pl: Don't expect iterations in parameters.
20831
a6a242fe
RM
208322013-04-29 Roland McGrath <roland@hack.frob.com>
20833
20834 * io/fchdir.c (__fchdir): Renamed from fchdir.
20835 (fchdir): Define as weak alias.
20836
f2da7793
JM
208372013-04-29 Joseph Myers <joseph@codesourcery.com>
20838
20839 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20840 (ERRNO_EDOM): Likewise.
20841 (ERRNO_ERANGE): Likewise.
20842 (noErrnoTests): New variable.
20843 (init_max_error): Set errno to 0.
20844 (test_single_errno): New function.
20845 (test_errno): Likewise.
20846 (check_float_internal): Call test_errno. Set errno to 0.
20847 (check_complex): Refer to errno tests in comment.
20848 (check_int): Call test_errno. Set errno to 0.
20849 (check_long): Likewise.
20850 (check_bool): Likewise.
20851 (check_longlong): Likewise.
20852 (cos_test): Use ERRNO_* flags for errno tests instead of
20853 check_int.
20854 (expm1_test): Likewise.
20855 (fmod_test): Likewise.
20856 (ilogb_test): Likewise.
20857 (lgamma_test): Likewise.
20858 (pow_test): Likewise.
20859 (remainder_test): Likewise.
20860 (sin_test): Likewise.
20861 (tan_test): Likewise.
20862 (yn_test): Likewise.
20863 (initialize): Set errno to 0.
20864 (main): Print number of errno tests.
20865 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20866
b1a36ceb
AJ
208672013-04-29 Andreas Jaeger <aj@suse.de>
20868
c3ed8088
AJ
20869 [BZ #15084]
20870 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20871 and RES_USEVC.
20872
f1a24198
AJ
20873 [BZ #15085]
20874 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20875 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20876 unimplemented.
20877
9ce3b2cb
AJ
20878 [BZ #15380]
20879 * stdlib/random.c (__initstate): Return NULL if
20880 __initstate fails.
20881
f1a24198 20882 [BZ #15086]
b1a36ceb
AJ
20883 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20884 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20885 RES_SNGLKUPREOP.
20886
7e7b6f36
AZ
208872013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20888
20889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20890
4d14f449
JM
208912013-04-29 Joseph Myers <joseph@codesourcery.com>
20892
20893 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20894 of individual tests.
20895 (casin_test): Likewise.
20896 (casinh_test): Likewise.
20897
5b4217d7
JM
208982013-04-27 Joseph Myers <joseph@codesourcery.com>
20899
20900 [BZ #15409]
20901 * math/s_catan.c (__catan): Handle arguments with large real or
20902 imaginary part separately without squaring.
20903 * math/s_catanf.c (__catanf): Likewise.
20904 * math/s_catanh.c (__catanh): Likewise.
20905 * math/s_catanhf.c (__catanhf): Likewise.
20906 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20907 and redefine.
20908 (__catanhl): Handle arguments with large real or imaginary part
20909 separately without squaring.
20910 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20911 and redefine.
20912 (__catanl): Handle arguments with large real or imaginary part
20913 separately without squaring.
20914 * math/libm-test.inc (catan_test): Add more tests.
20915 (catanh_test): Likewise.
20916 * sysdeps/i386/fpu/libm-test-ulps: Update.
20917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20918
4220c3ef
AJ
209192013-04-27 Andreas Jaeger <aj@suse.de>
20920
20921 [BZ #15007]
20922 * stdlib/stdlib.h: Update guards for qecvt.
20923 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20924 <stdlib.h>.
20925
4721b2d1
AM
209262013-04-27 Allan McRae <allan@archlinux.org>
20927
20928 * sysdeps/i386/fpu/libm-test-ulps: Update.
20929
f0302940
JM
209302013-04-26 Joseph Myers <joseph@codesourcery.com>
20931
9457fd95
JM
20932 [BZ #15406]
20933 * math/s_catan.c: Include <float.h>.
20934 (__catan): Ensure underflow exception occurs for underflowed
20935 result.
20936 * math/s_catanf.c: Include <float.h>.
20937 (__catanf): Ensure underflow exception occurs for underflowed
20938 result.
20939 * math/s_catanh.c: Include <float.h>.
20940 (__catanh): Ensure underflow exception occurs for underflowed
20941 result.
20942 * math/s_catanhf.c: Include <float.h>.
20943 (__catanhf): Ensure underflow exception occurs for underflowed
20944 result.
20945 * math/s_catanhl.c: Include <float.h>.
20946 (__catanhl): Ensure underflow exception occurs for underflowed
20947 result.
20948 * math/s_catanl.c: Include <float.h>.
20949 (__catanl): Ensure underflow exception occurs for underflowed
20950 result.
20951 * math/libm-test.inc (catan_test): Add more tests.
20952 (catanh_test): Likewise.
20953
f0302940
JM
20954 [BZ #15405]
20955 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20956 underflowed result.
20957 * math/s_ccoshf.c (__ccoshf): Likewise.
20958 * math/s_ccoshl.c (__ccoshl): Likewise.
20959 * math/s_csin.c (__csin): Likewise.
20960 * math/s_csinf.c (__csinf): Likewise.
20961 * math/s_csinh.c (__csinh): Likewise.
20962 * math/s_csinhf.c (__csinhf): Likewise.
20963 * math/s_csinhl.c (__csinhl): Likewise.
20964 * math/s_csinl.c (__csinl): Likewise.
20965 * math/libm-test.inc (ccos_test): Add more tests.
20966 (ccosh_test): Likewise.
20967 (csin_test): Likewise.
20968 (csinh_test): Likewise.
20969
aa630f59
AZ
209702013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20971
20972 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20973 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20974 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20975 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20976 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20977 powerpc/power5+/fpu folders.
20978 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20979
20980
1b835983
MT
209812013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20982
20983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20984
73709b26
JM
209852013-04-25 Joseph Myers <joseph@codesourcery.com>
20986
20987 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20988 additions to variable.
20989 [$(config-machine) = x86_64] (modules-names): Likewise.
20990 ($(objpfx)tst-audit3): Remove dependency.
20991 ($(objpfx)tst-audit3.out): Likewise.
20992 ($(objpfx)tst-audit4): Likewise.
20993 ($(objpfx)tst-audit4.out): Likewise.
20994 ($(objpfx)tst-audit5): Likewise.
20995 ($(objpfx)tst-audit5.out): Likewise.
20996 ($(objpfx)tst-audit6): Likewise.
20997 ($(objpfx)tst-audit6.out): Likewise.
20998 ($(objpfx)tst-audit7): Likewise.
20999 ($(objpfx)tst-audit7.out): Likewise.
21000 (tst-audit3-ENV): Remove variable.
21001 (tst-audit4-ENV): Likewise.
21002 (tst-audit5-ENV): Likewise.
21003 (tst-audit6-ENV): Likewise.
21004 (tst-audit7-ENV): Likewise.
21005 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21006 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21007 addition to variable.
21008 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21009 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21010 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21011 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21012 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21013 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21014 tst-audit3, tst-audit4 and tst-audit5.
21015 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21016 tst-audit6 and tst-audit7.
21017 [$(subdir) = elf] (modules-names): Add audit modules for those
21018 tests.
21019 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21020 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21021 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21022 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21023 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21024 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21025 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21026 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21027 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21028 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21029 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21030 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21031 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21032 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21033 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21034 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21035 Likewise.
21036 [$(subdir) = elf && $(config-cflags-avx) = yes]
21037 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21038 [$(subdir) = elf && $(config-cflags-avx) = yes]
21039 (CFLAGS-tst-auditmod4a.c): Likewise.
21040 [$(subdir) = elf && $(config-cflags-avx) = yes]
21041 (CFLAGS-tst-auditmod4b.c): Likewise.
21042 [$(subdir) = elf && $(config-cflags-avx) = yes]
21043 (CFLAGS-tst-auditmod6b.c): Likewise.
21044 [$(subdir) = elf && $(config-cflags-avx) = yes]
21045 (CFLAGS-tst-auditmod6c.c): Likewise.
21046 [$(subdir) = elf && $(config-cflags-avx) = yes]
21047 (CFLAGS-tst-auditmod7b.c): Likewise.
21048 * elf/tst-audit3.c: Move to ...
21049 * sysdeps/x86_64/tst-audit3.c: ... here.
21050 * elf/tst-audit4.c: Move to ...
21051 * sysdeps/x86_64/tst-audit4.c: ... here.
21052 * elf/tst-audit5.c: Move to ...
21053 * sysdeps/x86_64/tst-audit5.c: ... here.
21054 * elf/tst-audit6.c: Move to ...
21055 * sysdeps/x86_64/tst-audit6.c: ... here.
21056 * elf/tst-audit7.c: Move to ...
21057 * sysdeps/x86_64/tst-audit7.c: ... here.
21058 * elf/tst-auditmod3a.c: Move to ...
21059 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21060 * elf/tst-auditmod3b.c: Move to ...
21061 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21062 * elf/tst-auditmod4a.c: Move to ...
21063 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21064 * elf/tst-auditmod4b.c: Move to ...
21065 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21066 * elf/tst-auditmod5a.c: Move to ...
21067 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21068 * elf/tst-auditmod5b.c: Move to ...
21069 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21070 * elf/tst-auditmod6a.c: Move to ...
21071 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21072 * elf/tst-auditmod6b.c: Move to ...
21073 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21074 * elf/tst-auditmod6c.c: Move to ...
21075 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21076 * elf/tst-auditmod7a.c: Move to ...
21077 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21078 * elf/tst-auditmod7b.c: Move to ...
21079 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21080
1ef74943
PP
210812013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21082
21083 [BZ #15366]
21084 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21085 define unconditionally.
21086 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21087 define unconditionally.
21088 (INT8_C, INT16_C, etc.): Likewise.
21089
93fd48c5
MR
210902013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21091
ae9552cf
MR
21092 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21093 __ehdr_start with hidden visibility.
21094
93fd48c5
MR
21095 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21096
418601aa
CD
210972013-04-24 Carlos O'Donell <carlos@redhat.com>
21098
21099 * math/libm-test.inc (cos_test): Use accurate hex constants.
21100 (sincost_test): Likewise.
21101
2f38fbfe
JM
211022013-04-24 Joseph Myers <joseph@codesourcery.com>
21103
5e221800
JM
21104 * math/libm-test.inc (catan_test): Add more tests.
21105 (catanh_test): Likewise.
21106
77f143fd
JM
21107 * math/s_catanf.c (__catanf): Use suffixed floating-point
21108 constants.
21109 * math/s_catanhf.c (__catanhf): Likewise.
21110 * math/s_catanhl.c (__catanhl): Likewise.
21111 * math/s_catanl.c (__catanl): Likewise.
21112
2f38fbfe
JM
21113 [BZ #15394]
21114 * math/s_catan.c (__catan): Calculate imaginary part of result
21115 with log1p not log unless computing log of number close to 0.
21116 * math/s_catanf.c (__catanf): Likewise.
21117 * math/s_catanl.c (__catanl): Likewise.
21118 * math/s_catanh.c (__catanh): Calculate real part of result with
21119 log1p not log unless computing log of number close to 0.
21120 * math/s_catanhf.c (__catanhf): Likewise.
21121 * math/s_catanhl.c (__catanhl): Likewise.
21122 * math/libm-test.inc (catan_test): Add more tests.
21123 (catanh_test): Likewise.
21124 * sysdeps/i386/fpu/libm-test-ulps: Update.
21125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21126
45d69176
SP
211272013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21128
21129 * benchtests/Makefile: Mention files in which fast and slow
21130 paths of math functions are implemented.
21131
87f51853
RM
211322013-04-23 Roland McGrath <roland@hack.frob.com>
21133
21134 * sysdeps/posix/timespec_get.c: New file.
21135
3c026539
AZ
211362013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21137
21138 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21139 POWER.
21140 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21141 for POWER.
21142 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21143 powerpc/power5/fpu folders.
21144 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21145 * benchtests/Makefile: Add modf testcase.
21146 * benchtests/bench-modf.c: New file: Benchmark test for mo
21147
ff491d14
SP
211482013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21149
21150 [BZ #14888]
21151 * time/Makefile (tests): Add tst-strptime-whitespace.
21152 * time/strptime_l.c (get_number): Use ISSPACE.
21153 (__strptime_internal): Likewise.
21154 * time/tst-strptime-whitespace.c: New test case.
21155
7ed3f4e8
AS
211562013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21157
21158 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21159 member.
21160 (_nss_files_init): Set it here.
21161
5c95f7b6
HC
211622013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21163
21164 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21165 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21166 unsigned.
21167
d34c9158
JBG
211682013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21169
21170 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21171
2169712d
SP
211722013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21173
21174 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21175 size just once.
21176
29c5de99
DM
211772013-04-21 David S. Miller <davem@davemloft.net>
21178
21179 * po/ru.po: Update Russion translation from translation project.
21180
ccdad15d
AC
211812013-04-17 Adam Conrad <adconrad@0c3.net>
21182
21183 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21184 and setfsgid.
21185
0f122b8d
CD
211862013-04-17 Carlos O'Donell <carlos@redhat.com>
21187
5c5b07da 21188 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21189 * configure: Regenerate.
5c5b07da 21190 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21191 Add example to error message.
21192 * sysdeps/i386/configure: Regenerate.
21193
037714dd
SP
211942013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21195
21196 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21197 slowtan.
21198 * benchtests/cos-inputs: New file.
21199 * benchtests/slowcos-inputs: New file.
21200 * benchtests/slowcos.c: New file.
21201 * benchtests/slowtan-inputs: New file.
21202 * benchtests/slowtan.c: New file.
21203 * benchtests/tan-inputs: New file.
21204
e913141d
RM
212052013-04-16 Roland McGrath <roland@hack.frob.com>
21206
21207 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21208 considered kosher.
21209
a2964074
SP
212102013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21211
4856bcd2
SP
21212 * benchtests/Makefile: Include cppflags-iterator.mk to add
21213 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21214
a2964074
SP
21215 * Makefile.in (bench-clean): New target.
21216 * benchtests/Makefile (bench-clean): Likewise.
21217
9fbf9aca
DH
212182013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21219
21220 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21221
207d1e2a
TS
212222013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21223
21224 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21225
306dfba9
AS
212262013-04-15 Andreas Schwab <schwab@suse.de>
21227
21228 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21229 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21230 * nscd/pwdcache.c (cache_addpw): Likewise.
21231 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21232 more than recsize.
21233
206a6699
SP
212342013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21235
21236 * benchtests/Makefile (bench): Write all output to
21237 bench-out.tmp together.
21238
0582f6b3
AS
212392013-04-15 Andreas Schwab <schwab@suse.de>
21240
21241 * nscd/nscd.c (main): Don't fork again after closing files.
21242
acb4325f
SP
212432013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21244
5cb26d0a
SP
21245 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21246
acb4325f
SP
21247 * benchtests/Rules (bench-deps): Collect dependencies into a
21248 single variable. Add Makefile to dependencies.
21249 ($(objpfx)bench-%.c): Depend on bench-deps.
21250
47792506
RM
212512013-04-12 Roland McGrath <roland@hack.frob.com>
21252 Xavier Roche <roche+kml2@exalead.com>
21253
21254 [BZ #15361]
21255 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21256 just that it's a file descriptor.
21257 * manual/llio.texi (Synchronizing AIO Operations): Update description
21258 for EBADF error from aio_fsync.
21259
8fc1bee5
SP
212602013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21261
21262 * Rules (bench): Move target definition...
21263 * benchtests/Makefile: ... here.
21264
aba5e333
CD
212652013-04-11 Carlos O'Donell <carlos@redhat.com>
21266
21267 * math/libm-test.inc (cos_test): Fix PI/2 test.
21268 (sincos_test): Likewise.
21269 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21270 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21271
273cdee8
AS
212722013-04-11 Andreas Schwab <schwab@suse.de>
21273
6ecec3b6
AS
21274 [BZ #13988]
21275 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21276 accept exponent character only when digits were seen.
21277 * stdio-common/Makefile (tests): Add bug26.
21278 * stdio-common/bug26.c: New file.
21279
273cdee8
AS
21280 [BZ #14293]
21281 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21282 non-freeable.
21283
8da491f5
SP
212842013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21285
01dc6df9
SP
21286 * Makeconfig (rtld-prefix): Define built linker prefix.
21287 * Rules (run-bench): Use it.
21288 * math/Makefile (run-regen-ulps): Likewise.
21289
8da491f5
SP
21290 * Rules (bench): Remove eval.
21291
abe7f530
SP
212922013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21293 Roland McGrath <roland@hack.frob.com>
21294 Ondrej Bilka <neleai@seznam.cz>
21295
21296 [BZ #15346]
21297 * time/getdate.c: Include ctype.h and alloca.h.
21298 (__getdate_r): Trim leading and trailing spaces of input.
21299 * time/tst-getdate.c (tests): Add tests with leading and
21300 trailing spaces.
21301
61c23e62
RM
213022013-04-08 Roland McGrath <roland@hack.frob.com>
21303
21304 [BZ #14280]
21305 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21306 when computing value.
21307
7208a313
CD
213082013-04-06 Carlos O'Donell <carlos@redhat.com>
21309
085b2d41
CD
21310 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21311 Use testrun.sh to run libm tests.
21312
7208a313
CD
21313 [BZ #15309]
21314 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21315
872c0acd
MM
213162013-04-06 Marko Myllynen <myllynen@redhat.com>
21317
21318 [BZ #15264]
21319 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21320
26510bdd
CD
213212013-04-06 Carlos O'Donell <carlos@redhat.com>
21322
21323 * Makefile.in (regen-ulps): New target.
21324 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21325 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21326 [ifneq (no,$(PERL)] (regen-ulps): New target.
21327 [ifeq (no,$(PERL)] (regen-ulps): New target.
21328 * math/libm-test.inc (ulps_file_name): Define.
21329 (output_dir): New variable.
21330 (options): Add "output-dir" option.
21331 (parse_opt): Handle 'o' case.
21332 (main): If output_dir is non-NULL use it as a prefix
21333 otherwise use "".
21334 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21335
a01f19c8
CD
213362013-04-06 Carlos O'Donell <carlos@redhat.com>
21337
21338 [BZ #10060, #10062]
21339 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21340 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21341 fail configure if __sync_val_compare_and_swap is not inlined.
21342 * sysdeps/i386/configure: Regenerate.
21343 * configure.in: Build for i686 when configured for i386.
21344 * configure: Regenerate.
21345 * README: Remove i386 reference.
21346
b7a329a5
CD
213472013-04-06 Carlos O'Donell <carlos@redhat.com>
21348
21349 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21351
bf0f50df
TS
213522013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21353
ee091edf
TS
21354 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21355 (lmsnanval): New variables.
21356 (F): Add conversion tests.
21357 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21358 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21359
a8b792d6
TS
21360 * stdio-common/tstdiomisc.c (F): Properly collect individual
21361 tests' results.
21362
a1cbf437
TS
21363 [BZ #14686, #15336]
21364 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21365 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21366 Instead, use input NaN values or generate a qNaN by arithmetic
21367 operation. Also fix bugs to comply with the standard.
21368 * math/libm-test.inc (remainder_test): Add more tests.
21369
8b43a0c9
TS
21370 [BZ #15335, #15342]
21371 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21372 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21373 input NaN values or generate a qNaN by arithmetic operation.
21374
d91da4ce
TS
21375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21376 unreachable code.
21377
bf0f50df
TS
21378 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21379 definitions.
21380
05e166c8
JM
213812013-04-03 Joseph Myers <joseph@codesourcery.com>
21382
21383 [BZ #14478]
21384 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21385 underflowed result.
21386 * math/s_cexpf.c (__cexpf): Likewise.
21387 * math/s_cexpl.c (__cexpl): Likewise.
21388 * math/libm-test.inc (cexp_test): Add more tests.
21389
1cef1b19
AS
213902013-04-03 Andreas Schwab <schwab@suse.de>
21391
21392 [BZ #15330]
21393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21394 order arrays from heap if bigger than alloca cutoff.
21395
74d87055
TS
213962013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21397
21398 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21399 (SNAN_TESTS_double): Refer to GCC PR56831.
21400 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21401 GCC PR56828.
21402
d755bba4
SP
214032013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21404
90d5d5bb
SP
21405 * Rules (bench): Move bench.out after the run is complete.
21406
73e0cd5d
SP
21407 * Rules (bench): Echo currently running benchmark.
21408
64aabd4b
SP
21409 * benchtests/Makefile (bench): Add atan and slowatan.
21410 * benchtests/atan-inputs: New file.
21411 * benchtests/slowatan-inputs: New file.
21412 * benchtests/slowatan.c: New file.
21413
c871eccd
SP
21414 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21415 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21416 its value.
21417
d755bba4
SP
21418 [BZ #15305]
21419 * sysdeps/unix/sysv/linux/kernel-features.h
21420 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21421 __ASSUME_XFS_RESTRICTED_CHOWN.
21422 * sysdeps/unix/sysv/linux/pathconf.c
21423 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21424 Save and restore errno.
21425
52ce4860
JM
214262013-04-02 Joseph Myers <joseph@codesourcery.com>
21427
21428 [BZ #15327]
21429 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21430 arguments using __kernel_casinh.
21431 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21432 arguments using __kernel_casinhf.
21433 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21434 arguments using __kernel_casinhl.
21435 * math/libm-test.inc (cacosh_test): Add more tests.
21436 * sysdeps/i386/fpu/libm-test-ulps: Update.
21437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21438
81f311c2
SP
214392013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21440
e7906a47
SP
21441 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21442 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21443
92e3664b
SP
21444 * bench/Makefile (bench): Add sin and slowsin.
21445 * benchtests/sin-inputs: New file.
21446 * benchtests/slowsin-inputs: New file.
21447 * benchtests/slowsin.c: New file.
21448
81f311c2
SP
21449 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21450 (bench): Add slowexp and slowpow.
21451 (exp-ITER): Increase iterations.
21452 (pow-ITER): Likewise.
21453 * benchtests/exp-inputs: Change input.
21454 * benchtests/pow-inputs: Likewise.
21455 * benchtests/slowexp-inputs: New file.
21456 * benchtests/slowexp.c: New file.
21457 * benchtests/slowpow-inputs: New file.
21458 * benchtests/slowpow.c: New file.
21459
ab0f1aa9
AZ
214602013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21461
21462 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21463 instructions.
21464 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21465 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21466 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21467 * benchtests/Makefile: Add rint benchtest.
21468 * benchtests/rint-inputs: Input for rint benchtest.
21469
57267616
TS
214702013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21471
21472 * Versions.def (libm): Add GLIBC_2.18.
21473 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21474 hidden libm prototypes.
21475 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21476 * math/Makefile (libm-calls): Add s_issignaling.
21477 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21478 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21479 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21480 declaration.
21481 * math/math.h [__USE_GNU] (issignaling): New macro.
21482 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21483 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21484 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21485 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21486 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21487 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21488 * manual/arith.texi (issignaling): New section.
21489 * manual/libm-err-tab.pl (@all_functions): Update comment.
21490 * math/gen-libm-test.pl (parse_args): Apply special handling for
21491 issignaling.
21492 * math/libm-test.inc (print_float, issignaling_test): New
21493 functions.
21494 (check_float_internal): Add issignaling checks.
21495 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21496 default definition.
21497 * sysdeps/powerpc/math-tests.h: New file.
21498 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21499 tests.
21500 * math/test-snan.c (TEST_FUNC): Likewise.
21501
6142896d
DM
215022013-03-30 David S. Miller <davem@davemloft.net>
21503
21504 * po/de.po: Update from translation team.
21505
ccc8cadf
JM
215062013-03-30 Joseph Myers <joseph@codesourcery.com>
21507
21508 [BZ #10357]
21509 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21510 imaginary part less than 1.0 and real part less than 0.5
21511 specially.
21512 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21513 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21514 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21515 (cacos_test): Add more tests.
21516 (casin_test): Likewise.
21517 (casinh_test): Likewise.
21518 * sysdeps/i386/fpu/libm-test-ulps: Update.
21519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21520
0f6a8d4b
SP
215212013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21522
0d1029de
SP
21523 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21524 ONE with its value.
21525
c2d94018
SP
21526 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21527 (__pow_mp): Replace ONE and MONE with their values.
21528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21529 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21530 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21531 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21532 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21533 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21534
27ec37f1
SP
21535 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21536
a64d7e0e
SP
21537 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21538 (__pow_mp): Replace ZERO and MZERO with their values.
21539 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21540 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21541 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21542 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21543 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21544 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21545 (__sqr): Likewise.
21546
d26dd3eb
SP
21547 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21548
0f6a8d4b
SP
21549 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21550
e57b0c61
RM
215512013-03-28 Roland McGrath <roland@hack.frob.com>
21552
21553 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21554 Declare with __attribute__ ((weak)).
21555 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21556 Call __call_tls_dtors only if it's not NULL.
21557
356b3480
RM
215582013-03-28 Roland McGrath <roland@hack.frob.com>
21559
288f7d79
RM
21560 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21561 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21562 magic __ehdr_start linker symbol if it's defined.
21563 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21564 them up here if it was already done.
21565
dc0a0263
RM
21566 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21567 (_dl_aux_init): Use const in cast when setting it.
21568 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21569 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21570 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21571
3d3436ae
RM
21572 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21573 Declare them here.
21574 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21575 * csu/libc-tls.c: Nor here.
21576 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21577
356b3480
RM
21578 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21579 (__libc_message): Never call vsyslog.
21580
b0f1246a
AM
215812013-03-28 Alan Modra <amodra@gmail.com>
21582
21583 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21584 Define as empty.
21585 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21586 Likewise.
21587
fbbe2b9a
AZ
215882013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21589
21590 [BZ #15214]
21591 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21592 underflow.
21593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21594
1728ab37
SP
215952013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21596
7a86be6e
SP
21597 [BZ #15304]
21598 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21599 Don't add gid passed as argument.
21600
1728ab37
SP
21601 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21602
3a7182a1
JM
216032013-03-27 Joseph Myers <joseph@codesourcery.com>
21604
21605 [BZ #15307]
21606 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21607 imaginary part between 1.0 and 1.5 and real part less than 0.5
21608 specially.
21609 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21610 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21611 * math/libm-test.inc (cacos_test): Add more tests.
21612 (casin_test): Likewise.
21613 (casinh_test): Likewise.
21614 * sysdeps/i386/fpu/libm-test-ulps: Update.
21615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21616
6f2e90e7
SP
216172013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21618
5739f705
SP
21619 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21620 constants.
21621 (norm): Likewise.
21622 (denorm): Likewise.
21623 (__dbl_mp): Likewise.
21624 (add_magnitudes): Likewise.
21625 (sub_magnitudes): Likewise.
21626 (__add): Likewise.
21627 (__sub): Likewise.
21628 (__mul): Likewise.
21629 (__sqr): Likewise.
21630 (__inv): Likewise.
21631 (__dvd): Likewise.
21632
e375e83d
SP
21633 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21634 commented code.
21635 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21636 (__dubcos): Likewise.
21637 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21638 (__ieee754_acos): Likewise.
21639 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21640 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21641 (__exp1): Likewise.
21642 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21644 (log1): Likewise.
21645 (my_log2): Likewise.
21646 (checkint): Likewise.
21647 * sysdeps/ieee754/dbl-64/e_remainder.c
21648 (__ieee754_remainder): Likewise.
21649 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21650 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21651 (bsloww): Likewise.
21652 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21653
6f2e90e7
SP
21654 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21655 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21656 MANTISSA_STORE_T to store computations on mantissa. Use
21657 macros for rounding and division.
21658 (denorm): Likewise.
21659 (__dbl_mp): Likewise.
21660 (add_magnitudes): Likewise.
21661 (sub_magnitudes): Likewise.
21662 (__mul): Likewise.
21663 (__sqr): Likewise.
21664 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21665 powers of two in terms of TWOPOW macro.
21666 (mp_no): Make type of mantissa as MANTISSA_T.
21667 [!RADIXI]: Define RADIXI.
21668 [!TWO52]: Define TWO52.
21669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21670
fce14d4e
AZ
216712013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21672
21673 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21674 llroundl symbol when building for PPC32.
21675
9ad027fb
MW
216762013-03-24 Mark H Weaver <mhw@netris.org>
21677
21678 * manual/arith.texi (Normalization Functions): Fix prototypes for
21679 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21680
e42a38dd
AZ
216812013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21682
21683 [BZ #13889]
21684 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21685 high value to check if expl overflow.
21686 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21687 to check for underflow and overflow.
21688 * math/libm-test.inc: Add exp test.
21689
2e0fb521
DL
216902013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21691
21692 [BZ #11120]
21693 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21694 with NOT_IN_libc.
21695
b5784d95
AZ
216962013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21697
21698 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21699 symbol.
21700
5aa4a1a1
TS
217012013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21702
bdef0be7
TS
21703 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21704 wrap blocks consisting of several statements.
21705
5aa4a1a1
TS
21706 * sysdeps/generic/math-tests.h: New file.
21707 * sysdeps/i386/fpu/math-tests.h: Likewise.
21708 * math/test-snan.c: Include it.
21709 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21710
98c48fe5
JM
217112013-03-21 Joseph Myers <joseph@codesourcery.com>
21712
21713 [BZ #15285]
21714 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21715 (__ieee754_j0l): Do not improve calculations using cos of twice
21716 input for inputs above LDBL_MAX / 2.0L.
21717 (__ieee754_y0l): Likewise.
21718 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21719 (__ieee754_j1l): Do not improve calculations using cos of twice
21720 input for inputs above LDBL_MAX / 2.0L.
21721 (__ieee754_y1l): Likewise.
21722 * math/libm-test.inc (j0_test): Add another test.
21723 (j1_test): Likewise.
21724 (y0_test): Likewise.
21725 (y1_test): Likewise.
21726 * sysdeps/i386/fpu/libm-test-ulps: Update.
21727
3775a8bc
SP
217282013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21729
21730 * Rules ($(objpfx)bench-%.c): Include code from a C source
21731 file.
21732
0a1b2ae6
JM
217332013-03-21 Joseph Myers <joseph@codesourcery.com>
21734
21735 [BZ #15287]
21736 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21737 imaginary part 1.0 and real part less than 0.5 specially.
21738 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21739 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21740 * math/libm-test.inc (cacos_test): Add more tests.
21741 (casin_test): Likewise.
21742 (casinh_test): Likewise.
21743 * sysdeps/i386/fpu/libm-test-ulps: Update.
21744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21745
b33d4ce4
SP
217462013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21747
21748 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21749 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21750
bef0b507
JM
217512013-03-20 Joseph Myers <joseph@codesourcery.com>
21752
21753 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21754 * config.make.in (config-cflags-sse4): Remove variable.
21755 (config-cflags-avx): Likewise.
21756 (config-cflags-sse2avx): Likewise.
21757 (config-cflags-novzeroupper): Likewise.
21758 (config-asflags-i686): Likewise.
21759 (have-mfma4): Likewise.
21760 (have-as-vis3): Likewise.
21761 (MIG): Likewise.
21762 * configure.in (MIG): Do not AC_SUBST.
21763 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21764 (libc_cv_cc_sse4): Do not AC_SUBST.
21765 (libc_cv_cc_avx): Likewise.
21766 (libc_cv_cc_sse2avx): Likewise.
21767 (libc_cv_cc_novzeroupper): Likewise.
21768 (libc_cv_cc_fma4): Likewise.
21769 (libc_cv_as_i686): Likewise.
21770 (libc_cv_sparc_as_vis3): Likewise.
21771 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21772 LIBC_CONFIG_VAR.
21773 (config-asflags-i686): Likewise.
21774 (config-cflags-avx): Likewise.
21775 (config-cflags-sse2avx): Likewise.
21776 (have-mfma4): Likewise.
21777 (config-cflags-novzeroupper): Likewise.
21778 * sysdeps/mach/configure.in (MIG): Likewise.
21779 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21780 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21781 LIBC_CONFIG_VAR.
21782 (config-cflags-avx): Likewise.
21783 (config-cflags-sse2avx): Likewise.
21784 (have-mfma4): Likewise.
21785 (config-cflags-novzeroupper): Likewise.
21786 * configure: Regenerated.
21787 * sysdeps/i386/configure: Likewise.
21788 * sysdeps/mach/configure: Likewise.
21789 * sysdeps/sparc/configure: Likewise.
21790 * sysdeps/x86_64/configure: Likewise.
21791
912cc4b3
RM
217922013-03-20 Roland McGrath <roland@hack.frob.com>
21793
21794 [BZ #14812]
21795 * locale/programs/localedef.c (options): Put N_ translation marker
21796 on argument names, not just descriptions.
21797
04eed2b0
MS
217982013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21799
21800 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21801
a065ceff
OB
218022013-03-20 Ondřej Bílka <neleai@seznam.cz>
21803
9bb2a810 21804 [BZ #14176]
a065ceff
OB
21805 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21806
a600e5ce
RM
218072013-03-19 Roland McGrath <roland@hack.frob.com>
21808
21809 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21810 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21811 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21812 [!BEFORE_ABORT] (before_abort): New function.
21813 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21814 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21815 (writev_for_fatal): New function.
21816 (WRITEV_FOR_FATAL): New macro; call that.
21817 (backtrace_and_maps): New function.
21818 (BEFORE_ABORT): New macro; call that.
21819 (struct str_list): Type removed.
21820 (__libc_message, __libc_fatal): Functions removed.
21821 Include <sysdeps/posix/libc_fatal.c> instead.
21822
6b18bea6
JM
218232013-03-19 Joseph Myers <joseph@codesourcery.com>
21824
21825 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21826 constants.
21827 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21828 double constants.
21829
aaa8cb4b
AS
218302013-03-19 Andreas Schwab <schwab@suse.de>
21831
44673770
AS
21832 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21833 * sysdeps/gnu/configure: Regenerate.
21834
aaa8cb4b
AS
21835 * configure.in: Substitute libc_cv_rtlddir.
21836 * configure: Regenerate.
21837 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21838 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21839 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21840 * elf/Makefile (install-others, CFLAGS-interp.c)
21841 (ldso_install, common-ldd-rewrite): Likewise.
21842 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21843 $(inst_slibdir)/$(rtld-installed-name).
21844 * scripts/rellns-sh: Add -p option.
21845 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21846 for source.
21847
d3cfc668
SP
218482013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21849
21850 * manual/nptl.texi: Renamed to ...
21851 * manual/threads.texi: ... this.
21852 * manual/Makefile (chapters): Update.
21853
0e2b9cdd
RM
218542013-03-18 Roland McGrath <roland@hack.frob.com>
21855
21856 [BZ #14812]
21857 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21858 on argument names, not just descriptions.
0e2b9cdd
RM
21859 * malloc/memusagestat.c (options): Likewise.
21860 * nss/getent.c (options): Likewise.
63270c24
RM
21861
218622013-03-18 Benno Schulenberg <bensberg@justemail.net>
21863
21864 [BZ #14812]
21865 * iconv/iconv_prog.c (options): Put N_ translation marker
21866 on argument names, not just descriptions.
21867 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21868
b2e1393c
OB
218692013-03-18 Ondrej Bilka <neleai@seznam.cz>
21870
21871 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21872 implementation which is faster on all x86_64 architectures.
21873 Tested on AMD, Intel Nehalem, SNB, IVB.
21874 * sysdeps/x86_64/strnlen.S: Likewise.
21875
21876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21877 Remove all multiarch strlen and strnlen versions.
21878 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21879 Remove strlen and strnlen related parts.
21880
21881 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21882 Inline strlen part.
21883 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21884
21885 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21886 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21887 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21888 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21889 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21890 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21891
ec4ff04d
CD
218922013-03-17 Carlos O'Donell <carlos@redhat.com>
21893
21894 * manual/memory.texi (Malloc Tunable Parameters):
21895 Sort parameters alphabetically. Add comments for missing entries.
21896
cd18e90a
DM
218972013-03-17 David S. Miller <davem@davemloft.net>
21898
21899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21900
2a185d32
JM
219012013-03-16 Joseph Myers <joseph@codesourcery.com>
21902
d2f9799e
JM
21903 [BZ #15283]
21904 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21905 for arguments at most half maximum finite value.
21906 * math/libm-test.inc (j0_test): Add more tests.
21907 (j1_test): Likewise.
21908 (y0_test): Likewise.
21909 (y1_test): Likewise.
21910 * sysdeps/i386/fpu/libm-test-ulps: Update.
21911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21912
2a185d32
JM
21913 [BZ #14155]
21914 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21915 1 / x and functions P and Q for arguments above 0x1p256L.
21916 (__ieee754_y0l): Likewise.
21917 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21918 (__ieee754_y1l): Likewise.
21919 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21920 (j1_test): Likewise.
21921 (y0_test): Likewise.
21922 (y1_test): Likewise.
21923
6cbec759
TS
219242013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21925
21926 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21927 variable.
21928
bc16e260
RM
219292013-03-15 Roland McGrath <roland@hack.frob.com>
21930
aefc9b8c
RM
21931 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21932 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21933 zero since it's initialized to EXEC_PAGESIZE.
21934
bc16e260
RM
21935 * sysdeps/unix/sysv/linux/ldsodefs.h
21936 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21937 * sysdeps/generic/ldsodefs.h: ... here.
21938
a57da955
TS
219392013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21940
af00a34d
TS
21941 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21942
495ded2c
TS
21943 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21944 math/test-snan.c.
21945 * math/test-snan.c: Renamed from
21946 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21947 * math/Makefile (tests): Add test-snan.
21948 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21949 test-powerpc-snan.
21950
777b0332
TS
21951 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21952 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21953 functions.
21954 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21955 __builtin_nan family of functions.
21956 * math/libm-test.inc (initialize): Initialize qnan_value with
21957 __builtin_nan family of functions.
21958 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21959 Remove variables.
21960 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21961 Remove functions.
21962 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21963 storage class. Initialize qNaN_var and sNaN_var with
21964 __builtin_nan and __builtin_nans families of functions,
21965 respectively.
21966
64d063b8
TS
21967 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21968 (sqrt_test): Remove duplicate test with qNaN input.
21969 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21970 (round_test, signbit_test, significand_test): Note missing +/-Inf
21971 as well as qNaN tests.
21972
67e971f1
TS
21973 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21974 qNaN_var. Fix a few strings, too.
21975 * math/libm-test.inc (nan_value): Rename to qnan_value.
21976 * math/gen-libm-test.pl (%beautify): Adjust to that.
21977 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21978 * math/test-misc.c (main): Likewise.
21979 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21980 to __qnan_bytes, and __qnan_union, respectively.
21981 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21982 Likewise.
21983 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21984 and lqnanval, respectively.
21985 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21986 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21987 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21988 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21989
64487e12
TS
21990 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21991 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21992 doubles.
21993
e015e27b
TS
21994 * math/test-misc.c (main): Fix copy'n'pastos.
21995 * misc/tst-efgcvt.c (special): Likewise.
21996
a57da955
TS
21997 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21998 Remove declarations.
21999
1e380345
SP
220002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22001
22002 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22003 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22004 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22005 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22006
ef26eece
AZ
220072013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22008
22009 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22010 macro to return vdso values correctly in IFUNC implementations.
22011 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22012 Optimization by using IFUNC.
22013
8cfdb7e0
SP
220142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22015 Richard Henderson <rth@redhat.com>
22016 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22017
22018 * Makefile.in (bench): New target.
22019 * NEWS: Mention the benchmark framework.
22020 * Rules (bench): Likewise.
22021 (binaries-bench): Generate binaries for functions to
22022 benchmark.
22023 * benchtests/Makefile: New makefile for benchmark tests.
22024 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22025 programs.
22026 * benchtests/exp-inputs: New input file for EXP function.
22027 * benchtests/pow-inputs: New input file for POW function.
22028 * scripts/bench.pl: New script to generate source files for
22029 benchmark programs.
22030
bcda9880
SP
220312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22032
d22ca8cd
SP
22033 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22034 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22035 computations on mantissa. Use macros for rounding and
22036 division.
22037 (denorm): Likewise.
22038 (__dbl_mp): Likewise.
22039 (add_magnitudes): Likewise.
22040 (sub_magnitudes): Likewise.
22041 (__mul): Likewise.
22042 (__sqr): Likewise.
22043 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22044 powers of two in terms of TWOPOW macro.
22045 (mp_no): Make type of mantissa as MANTISSA_T.
22046 [!RADIXI]: Define RADIXI.
22047 [!TWO52]: Define TWO52.
22048 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22049
bcda9880
SP
22050 * manual/nptl.texi (cindex): Modify threads to pthreads.
22051
06d5adfb
JM
220522013-03-15 Joseph Myers <joseph@codesourcery.com>
22053
22054 * sysdeps/x86_64/preconfigure: Regenerated.
22055
41c7328e
JM
220562013-03-14 Joseph Myers <joseph@codesourcery.com>
22057
22058 [BZ #14155]
22059 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22060 0x1p28 and above.
22061 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22062 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22063 0x1p28 and above.
22064 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22065 * math/libm-test.inc (j0_test): Do not allow one spurious
22066 underflow exception.
22067 (y1_test): Likewise.
22068
e25cfa60
SP
220692013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22070
0409959c
SP
22071 * manual/Makefile (chapters): Add nptl.
22072 * manual/debug.texi (Debugging Support): Add link to Threads
22073 chapter.
22074 * manual/nptl.texi: New file.
22075
e25cfa60
SP
22076 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22077
58a1335e
PB
220782013-03-14 Petr Baudis <pasky@ucw.cz>
22079
22080 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22081 for non-NULL pointer before the memory validity test. Pointed
22082 out by Holger Brunck <holger.brunck@keymile.com>.
22083
9dc7c64f
AS
220842013-03-13 Andreas Schwab <schwab@suse.de>
22085
22086 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22087 instead of .os.
22088
54206aa6
JM
220892013-03-13 Joseph Myers <joseph@codesourcery.com>
22090
22091 * timezone/zic.c: Update from tzcode 2013b.
22092
e98cdb38
CD
220932013-03-12 Carlos O'Donell <carlos@redhat.com>
22094
22095 * manual/install.texi (Configuring and compiling):
22096 Mention i686 and i586.
22097 * INSTALL: Regenerate.
22098
9967e003
RM
220992013-03-12 Roland McGrath <roland@hack.frob.com>
22100
22101 * sysdeps/init_array/elf-init.c: New file.
22102 * csu/elf-init.c
22103 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22104 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22105
22106 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22107 __gmon_start__ as global, but as static with a .preinit_array pointer.
22108 * sysdeps/init_array/gmon-start.c: New file. Use that.
22109 * sysdeps/init_array/crti.S: New file, empty except for comments.
22110 * sysdeps/init_array/crtn.S: Likewise.
22111
e6b5a293 221122013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22113
22114 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22115 definining bcopy.
80f844c9
OB
22116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22117 Remove Prefer_SSE_for_memop.
22118 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22119 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22120 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22122 memset-x86-64.
80f844c9 22123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22124 Remove bzero, memset ifunc support.
80f844c9
OB
22125 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22126 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22127 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22128 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22129
fb6b0fcb
AS
221302013-03-11 Andreas Schwab <schwab@suse.de>
22131
22132 [BZ #15234]
22133 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22134 by SHLIB_COMPAT.
22135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22136 (GLIBC_2.16): Remove pthread_atfork.
22137
3e6bd4b1
PP
221382013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22139
22140 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22141 (ptestcases.h): Likewise.
22142
222d7f00
RM
221432013-03-08 Roland McGrath <roland@hack.frob.com>
22144
22145 * Makeconfig ($(common-objpfx)config.status): Depend on
22146 sysdeps/*/preconfigure{,.in} too.
22147
1ba4f030
JM
221482013-03-08 Joseph Myers <joseph@codesourcery.com>
22149
a222d91a
JM
22150 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22151 (__free_hook): Use void * instead of __malloc_ptr_t.
22152 (__malloc_hook): Likewise.
22153 (__realloc_hook): Likewise.
22154 (__memalign_hook): Likewise.
22155 (__after_morecore_hook): Likewise.
22156 * malloc/arena.c (save_malloc_hook): Likewise.
22157 (save_free_hook): Likewise.
22158 * malloc/hooks.c (malloc_hook_ini): Likewise.
22159 (realloc_hook_ini): Likewise.
22160 (memalign_hook_ini): Likewise.
22161 * malloc/malloc.c (malloc_hook_ini): Likewise.
22162 (realloc_hook_ini): Likewise.
22163 (memalign_hook_ini): Likewise.
22164 (__free_hook): Likewise.
22165 (__malloc_hook): Likewise.
22166 (__realloc_hook): Likewise.
22167 (__memalign_hook): Likewise.
22168 (__libc_malloc): Likewise.
22169 (__libc_free): Likewise.
22170 (__libc_realloc): Likewise.
22171 (__libc_memalign): Likewise.
22172 (__libc_valloc): Likewise.
22173 (__libc_pvalloc): Likewise.
22174 (__libc_calloc): Likewise.
22175 (__posix_memalign): Likewise.
22176 * malloc/morecore.c (__sbrk): Likewise.
22177 (__default_morecore): Likewise.
22178
5cc45e10
JM
22179 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22180
dd54b864
JM
22181 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22182 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22183 __malloc_ptrdiff_t.
22184
1ba4f030
JM
22185 * malloc/malloc.h (__malloc_size_t): Remove macro.
22186 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22187 __malloc_size_t.
22188 (old_memalign_hook): Likewise.
22189 (old_realloc_hook): Likewise.
22190 (struct hdr): Likewise.
22191 (flood): Likewise.
22192 (mallochook): Likewise.
22193 (memalignhook): Likewise.
22194 (reallochook): Likewise.
22195 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22196 (tr_old_realloc_hook): Likewise.
22197 (tr_old_memalign_hook): Likewise.
22198 (tr_mallochook): Likewise.
22199 (tr_reallochook): Likewise.
22200 (tr_memalignhook): Likewise.
22201
edf66e57
AZ
222022013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22203
22204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22205 default_ldbl_pack and using as default implementation.
22206 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22207 implementation.
22208 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22209 redundant definition.
22210 (ldbl_insert_mantissa): Likewise.
22211 (ldbl_canonicalize): Likewise.
22212 (ldbl_nearbyint): Likewise.
22213 (ldbl_pack): Rename to ldbl_pack_ppc.
22214 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22215 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22216 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22217
6d9145d8
SP
222182013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22219
22220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22221 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22222 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22223 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22225 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22226 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22227 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22228
4dd4e157
AJ
222292013-03-07 Andreas Jaeger <aj@suse.de>
22230
22231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22232 bits/mman-linux.h.
22233
adbb8027
SP
222342013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22235
ce544b5b
SP
22236 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22237 Include mpa.h and declare __MPEXP.
22238 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22239 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22240 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22241 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22242 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22243 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22244 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22245
4cc149fd
SP
22246 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22247 (__slowpow): Use long double EXPL and LOGL functions to
22248 compute POW.
22249 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22250 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22252 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22253 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22254 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22255
e6ebd4a7
SP
22256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22257 intermediate variable to calculate exponent.
22258 (__sqr): Likewise.
22259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22260 Likewise.
22261 (__sqr): Likewise.
22262
82a9811d
SP
22263 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22264 [!NO__SQR]: Define __sqr.
22265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22266 and NO__SQR. Remove all code except __mul and __sqr. Include
22267 sysdeps/ieee754/dbl-64/mpa.c.
22268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22269
adbb8027
SP
22270 [BZ #12723]
22271 * posix/Makefile (tests): Add tst-pathconf.
22272 * posix/tst-pathconf.c: New test case.
22273 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22274 _PC_PIPE_BUF.
22275 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22276
39120df9
PF
222772013-03-06 Patsy Franklin <pfrankli@redhat.com>
22278
22279 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22280
67525cb8
AJ
222812013-03-06 Andreas Jaeger <aj@suse.de>
22282
664a9ce4
AJ
22283 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22284 definition via __MAP_ANONYMOUS.
22285
8e39047d
AJ
22286 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22287 it's not part of Linux headers.
22288
67525cb8
AJ
22289 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22290 (MAP_HUGE_MASK): Define.
22291
22292 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22293 Define.
22294 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22295 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22296 Define.
22297 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22298 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22299 Define.
22300 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22301 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22302 Define.
22303 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22304
22305 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22306 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22307 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22308 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22309 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22310 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22311
22312 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22313 Handle f2fs.
22314
22315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22316 Handle f2fs and efivarfs.
22317
22318 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22319 f2fs.
22320
22321 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22322 (EFIVARFS_MAGIC): Add.
22323 (F2FS_LINK_MAX): Add.
22324
e1b42695
PP
223252013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22326
22327 * stdio-common/vfprintf.c: Replace __builtin_expect with
22328 __glibc_unlikely.
22329
2d67d91a
JM
223302013-03-06 Joseph Myers <joseph@codesourcery.com>
22331
22332 [BZ #13550]
22333 * sysdeps/generic/bp-sym.h: Remove file.
22334 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22335 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22336 <bp-sym.h> and <bp-asm.h>.
22337 (__longjmp): Don't use BP_SYM.
22338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22339 and <bp-asm.h>.
22340 (memcpy): Don't use BP_SYM.
22341 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22342 <bp-sym.h> and <bp-asm.h>.
22343 (memcpy): Don't use BP_SYM.
22344 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22345 <bp-asm.h>.
22346 (memcpy): Don't use BP_SYM.
22347 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22348 <bp-asm.h>.
22349 (memset): Don't use BP_SYM.
22350 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22351 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22352 (__bzero): Don't use BP_SYM.
22353 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22354 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22355 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22356 <bp-sym.h> and <bp-asm.h>.
22357 (memcmp): Don't use BP_SYM. Remove comment about bounded
22358 pointers.
22359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22360 <bp-sym.h> and <bp-asm.h>.
22361 (memcpy): Don't use BP_SYM.
22362 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22363 <bp-sym.h> and <bp-asm.h>.
22364 (memset): Don't use BP_SYM.
22365 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22366 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22367 (__bzero): Don't use BP_SYM.
22368 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22369 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22370 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22371 <bp-sym.h> and <bp-asm.h>.
22372 (strncmp): Don't use BP_SYM. Remove comment about bounded
22373 pointers.
22374 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22375 <bp-sym.h> and <bp-asm.h>.
22376 (memcpy): Don't use BP_SYM.
22377 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22378 <bp-sym.h> and <bp-asm.h>.
22379 (memset): Don't use BP_SYM.
22380 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22381 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22382 (__bzero): Don't use BP_SYM.
22383 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22384 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22385 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22386 <bp-sym.h> and <bp-asm.h>.
22387 (__memchr): Don't use BP_SYM.
22388 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22389 <bp-sym.h> and <bp-asm.h>.
22390 (memcmp): Don't use BP_SYM. Remove comment about bounded
22391 pointers.
22392 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22393 <bp-sym.h> and <bp-asm.h>.
22394 (memcpy): Don't use BP_SYM.
22395 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22396 <bp-sym.h> and <bp-asm.h>.
22397 (__mempcpy): Don't use BP_SYM.
22398 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22399 <bp-sym.h> and <bp-asm.h>.
22400 (__memrchr): Don't use BP_SYM.
22401 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22402 <bp-sym.h> and <bp-asm.h>.
22403 (memset): Don't use BP_SYM.
22404 (__bzero): Likewise.
22405 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22406 <bp-sym.h> and <bp-asm.h>.
22407 (__rawmemchr): Don't use BP_SYM.
22408 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22409 <bp-sym.h> and <bp-asm.h>.
22410 (__STRCMP): Don't use BP_SYM.
22411 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22412 <bp-sym.h> and <bp-asm.h>.
22413 (strchr): Don't use BP_SYM.
22414 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22415 <bp-sym.h> and <bp-asm.h>.
22416 (__strchrnul): Don't use BP_SYM.
22417 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22418 <bp-sym.h> and <bp-asm.h>.
22419 (strlen): Don't use BP_SYM.
22420 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22421 <bp-sym.h> and <bp-asm.h>.
22422 (strncmp): Don't use BP_SYM. Remove comment about bounded
22423 pointers.
22424 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22425 <bp-sym.h> and <bp-asm.h>.
22426 (__strnlen): Don't use BP_SYM.
22427 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22428 <bp-sym.h> and <bp-asm.h>.
22429 (__GI__setjmp): Don't use BP_SYM.
22430 (_setjmp): Likewise.
22431 (__sigsetjmp): Likewise.
22432 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22433 (L(start_addresses)): Don't use BP_SYM.
22434 (_start): Likewise.
22435 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22436 <bp-asm.h>.
22437 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22438 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22439 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22440 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22441 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22442 <bp-asm.h>.
22443 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22444 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22445 about bounded pointers.
22446 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22447 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22448 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22449 <bp-asm.h>.
22450 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22451 about bounded pointers. Remove GKM FIXME comments.
22452 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22453 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22454 <bp-asm.h>.
22455 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22456 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22457 Remove GKM FIXME comments.
22458 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22459 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22460 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22461 <bp-asm.h>.
22462 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22463 about bounded pointers. Remove GKM FIXME comment.
22464 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22465 and <bp-asm.h>.
22466 (strncmp): Don't use BP_SYM. Remove comment about bounded
22467 pointers.
22468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22469 <bp-sym.h> and <bp-asm.h>.
22470 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22472 <bp-sym.h> and <bp-asm.h>.
22473 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22474 comment.
22475
cdcf361f
PP
224762013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22477
22478 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22479 call free(NULL).
22480
3c4a2b15
DM
224812013-03-05 David S. Miller <davem@davemloft.net>
22482
22483 * po/es.po: Update from translation team.
22484
cdcf361f 224852013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
22486
22487 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22488 <bits/mman-linux.h>.
22489 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22490 is fine.
22491 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22492 <bits/mman-linux.h> to end of file.
22493 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22494 is fine.
22495 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22496 <bits/mman-linux.h> to end of file.
22497 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22498 is fine.
22499 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22500 <bits/mman-linux.h> to end of file.
22501
22502 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22503 (MCL_CURRENT, MCL_FUTURE): Define here.
22504
5f67c04f
AK
225052013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22506
8a4473cc 22507 [BZ #15232]
5f67c04f
AK
22508 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22509 attribute_hidden.
22510 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22511
c3e94a95
AK
225122013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22513
22514 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22515 fourth parameter needed for rt_sigprocmask syscall.
22516 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22517 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22518 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22519 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22520 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22521 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22522
cfb6382a
JM
225232013-03-04 Joseph Myers <joseph@codesourcery.com>
22524
22525 [BZ #13550]
22526 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22527 comment about bounded pointers.
22528 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22529 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22530
539d8e01
AJ
225312013-03-04 Andreas Jaeger <aj@suse.de>
22532
22533 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22534 common definitions.
22535
22536 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22537 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22538 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22539 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22540 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22542
2e167a70 225432013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22544
22545 [BZ #15055]
22546 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22547 __ieee754_sqrl instead of __sqrl.
22548
68508633
JM
225492013-03-01 Joseph Myers <joseph@codesourcery.com>
22550
22551 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22552 * sysdeps/powerpc/fpu_control.h: ... here.
22553 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22554 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22555 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22556 * sysdeps/powerpc/bits/mathinline.h: ... here.
22557
7775448e
RM
225582013-03-01 Roland McGrath <roland@hack.frob.com>
22559
22560 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22561 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22562 to just [NEED_DL_SYSINFO_DSO].
22563 * elf/dl-support.c: Likewise.
22564 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22565 * elf/rtld.c (dl_main): Likewise.
22566 * elf/setup-vdso.h (setup_vdso): Likewise.
22567 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22568 * sysdeps/unix/sysv/linux/dl-sysdep.c
22569 (_dl_discover_osversion): Likewise.
22570
4e9b5995
CD
225712013-03-01 Carlos O'Donell <carlos@redhat.com>
22572
22573 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22574 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22575
e23872c8
SP
225762013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22577
e5c74c63
SP
22578 * NEWS: Mention libm performance improvements and non-x86 PI
22579 futex support.
22580
e23872c8
SP
22581 * csu/libc-start.c (__pthread_initialize_minimal): Change
22582 function arguments.
22583 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22584
b5510883
JM
225852013-02-28 Joseph Myers <joseph@codesourcery.com>
22586
22587 [BZ #13550]
22588 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22589 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22590 <bp-sym.h> and <bp-asm.h>.
22591 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22592 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22593 and <bp-asm.h>.
22594 (memcpy): Don't use BP_SYM.
22595 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22596 <bp-asm.h>.
22597 (__mpn_add_n): Don't use BP_SYM.
22598 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22599 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22600 and <bp-asm.h>.
22601 (__mpn_addmul_1): Don't use BP_SYM.
22602 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22603 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22604 <bp-sym.h>.
22605 (_setjmp): Don't use BP_SYM.
22606 (__novmx_setjmp): Likewise.
22607 (__GI__setjmp): Likewise.
22608 (__vmx_setjmp): Likewise.
22609 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22610 <bp-sym.h>.
22611 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22612 (__bzero): Don't use BP_SYM.
22613 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22614 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22615 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22616 <bp-sym.h> and <bp-asm.h>.
22617 (memcpy): Don't use BP_SYM.
22618 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22619 <bp-sym.h> and <bp-asm.h>.
22620 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22621 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22622 <bp-sym.h> and <bp-asm.h>.
22623 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22624 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22625 <bp-asm.h>.
22626 (__mpn_lshift): Don't use BP_SYM.
22627 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22628 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22629 <bp-asm.h>.
22630 (memset): Don't use BP_SYM.
22631 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22632 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22633 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22634 <bp-asm.h>.
22635 (__mpn_mul_1): Don't use BP_SYM.
22636 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22637 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22638 <bp-sym.h> and <bp-asm.h>.
22639 (memcmp): Don't use BP_SYM.
22640 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22641 <bp-sym.h> and <bp-asm.h>.
22642 (memcpy): Don't use BP_SYM.
22643 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22644 <bp-sym.h> and <bp-asm.h>.
22645 (memset): Don't use BP_SYM.
22646 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22647 <bp-sym.h> and <bp-asm.h>.
22648 (strncmp): Don't use BP_SYM.
22649 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22650 <bp-sym.h> and <bp-asm.h>.
22651 (memcpy): Don't use BP_SYM.
22652 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22653 <bp-sym.h> and <bp-asm.h>.
22654 (memset): Don't use BP_SYM.
22655 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22656 <bp-sym.h> and <bp-asm.h>.
22657 (__memchr): Don't use BP_SYM.
22658 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22659 <bp-sym.h> and <bp-asm.h>.
22660 (memcmp): Don't use BP_SYM.
22661 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22662 <bp-sym.h> and <bp-asm.h>.
22663 (memcpy): Don't use BP_SYM.
22664 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22665 <bp-sym.h> and <bp-asm.h>.
22666 (__mempcpy): Don't use BP_SYM.
22667 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22668 <bp-sym.h> and <bp-asm.h>.
22669 (__memrchr): Don't use BP_SYM.
22670 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22671 <bp-sym.h> and <bp-asm.h>.
22672 (memset): Don't use BP_SYM.
22673 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22674 <bp-sym.h> and <bp-asm.h>.
22675 (__rawmemchr): Don't use BP_SYM.
22676 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22677 <bp-sym.h> and <bp-asm.h>.
22678 (__STRCMP): Don't use BP_SYM.
22679 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22680 <bp-sym.h> and <bp-asm.h>.
22681 (strchr): Don't use BP_SYM.
22682 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22683 <bp-sym.h> and <bp-asm.h>.
22684 (__strchrnul): Don't use BP_SYM.
22685 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22686 <bp-sym.h> and <bp-asm.h>.
22687 (strlen): Don't use BP_SYM.
22688 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22689 <bp-sym.h> and <bp-asm.h>.
22690 (strncmp): Don't use BP_SYM.
22691 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22692 <bp-sym.h> and <bp-asm.h>.
22693 (__strnlen): Don't use BP_SYM.
22694 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22695 <bp-asm.h>.
22696 (__mpn_rshift): Don't use BP_SYM.
22697 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22698 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22699 <bp-sym.h> and <bp-asm.h>.
22700 (__sigsetjmp): Don't use BP_SYM.
22701 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22702 (L(start_addresses)): Don't use BP_SYM.
22703 (_start): Likewise.
22704 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22705 <bp-asm.h>.
22706 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22707 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22708 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22709 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22710 <bp-asm.h>.
22711 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22712 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22713 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22714 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22715 <bp-asm.h>.
22716 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22717 comments.
22718 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22719 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22720 <bp-asm.h>.
22721 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22722 FIXME comments.
22723 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22724 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22725 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22726 <bp-asm.h>.
22727 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22728 comment.
22729 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22730 and <bp-asm.h>.
22731 (strncmp): Don't use BP_SYM,
22732 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22733 <bp-asm.h>.
22734 (__mpn_sub_n): Don't use BP_SYM.
22735 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22736 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22737 and <bp-asm.h>.
22738 (__mpn_submul_1): Don't use BP_SYM.
22739 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22741 <bp-sym.h> and <bp-asm.h>.
22742 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22744 <bp-sym.h> and <bp-asm.h>.
22745 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22746 comment.
22747
8d19fe64
SP
227482013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22749
22750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22751 Use ZK to minimize writes to Z.
22752 (sub_magnitudes): Simplify code a bit.
22753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22754 Use ZK to minimize writes to Z.
22755 (sub_magnitudes): Simplify code a bit.
22756
85bd816a
RM
227572013-02-27 Roland McGrath <roland@hack.frob.com>
22758
22759 * csu/gmon-start.c: Add special exception to license text.
22760
b5977bf2
RH
227612013-02-27 Richard Henderson <rth@redhat.com>
22762
22763 * scripts/config.guess: Update from config.git.
22764 * scripts/config.sub: Likewise.
22765
11d6e2f2
SP
227662013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22767
09c14ed2
SP
22768 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22769
a688864e
SP
22770 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22771
6295157a
SP
22772 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22773
b8de2202
SP
22774 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22775
11d6e2f2
SP
22776 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22777
7e80ddb8
RM
227782013-02-26 Roland McGrath <roland@hack.frob.com>
22779
22780 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22781 [$(build-shared = yes].
7e80ddb8 22782
7da6d9ed
SP
227832013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22784
45f05884
SP
22785 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22786 (__mul): Reduce iterations for calculating mantissa.
22787
2236d359
SP
22788 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22789 MPTWO.
22790 (__mpranred): Likewise.
22791
7da6d9ed
SP
22792 [BZ #15160]
22793 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22794 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22795
b7688c42
PE
227962013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22797
22798 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22799 Define __attribute__.
22800
53a5c423
SP
228012013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22802
22803 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22804 unused.
22805 * posix/regex_internal.h (__attribute): Remove.
22806 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22807 (re_string_context_at): Likewise.
22808 (bitset_not): Use __attribute__ and mark function as possibly
22809 unused.
22810 (bitset_merge): Likewise.
22811 (bitset_mask): Likewise.
22812 (re_string_char_size_at): Likewise.
22813 (re_string_wchar_at): Likewise.
22814 (re_string_elem_size_at): Likewise.
22815
60f5a8b5
SP
228162013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22817
2a983a2e
SP
22818 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22819 code.
22820 (cc32): Likewise.
22821
e69804d1
SP
22822 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22823 (__acr): Likewise.
22824 (__cpy): Likewise.
22825 (norm): Likewise.
22826 (denorm): Likewise.
22827 (__dbl_mp): Likewise.
22828 (add_magnitudes): Likewise.
22829 (sub_magnitudes): Likewise.
22830 (__mul): Likewise.
22831 (__inv): Likewise.
22832
2f22a1e8
SP
22833 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22834 style.
22835
8930ddc7
SP
22836 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22837 style.
22838
dc60cb11
SP
22839 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22840 code.
22841
60f5a8b5
SP
22842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22843 up changes with default code.
22844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22845 Likewise.
22846
b4d1fd33
AM
228472013-02-24 Allan McRae <allan@archlinux.org>
22848
faf6f8bc
AM
22849 * manual/socket.texi (The Internet Namespace): Order menu items
22850 to match that in the file.
22851
b4d1fd33
AM
22852 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22853 node listing of the info page menu.
22854
2366713d
JM
228552013-02-21 Joseph Myers <joseph@codesourcery.com>
22856
22857 [BZ #13550]
22858 * sysdeps/i386/bp-asm.h: Remove file.
22859 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22860 (PARMS): Do not use macros from bp-asm.h.
22861 (S1): Likewise.
22862 (S2): Likewise.
22863 (SIZE): Likewise.
22864 (__mpn_add_n): Do not use BP_SYM
22865 * sysdeps/i386/addmul_1.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 (SIZE): Likewise.
22870 (__mpn_addmul_1): Do not use BP_SYM
22871 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22872 "bp-asm.h".
22873 (PARMS): Do not use macros from bp-asm.h.
22874 (SIGMSK): Likewise.
22875 (_setjmp): Likewise. Do not use BP_SYM.
22876 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22877 "bp-asm.h".
22878 (PARMS): Do not use macros from bp-asm.h.
22879 (SIGMSK): Likewise.
22880 (setjmp): Likewise. Do not use BP_SYM.
22881 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22882 "bp-asm.h".
22883 (PARMS): Do not use macros from bp-asm.h.
22884 (__frexp): Do not use BP_SYM.
22885 (frexp): Likewise.
22886 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22887 "bp-asm.h".
22888 (PARMS): Do not use macros from bp-asm.h.
22889 (__frexpf): Do not use BP_SYM.
22890 (frexpf): Likewise.
22891 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22892 "bp-asm.h".
22893 (PARMS): Do not use macros from bp-asm.h.
22894 (__frexpl): Do not use BP_SYM.
22895 (frexpl): Likewise.
22896 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22897 "bp-asm.h".
22898 (PARMS): Do not use macros from bp-asm.h.
22899 (__remquo): Do not use BP_SYM.
22900 (remquo): Likewise.
22901 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22902 "bp-asm.h".
22903 (PARMS): Do not use macros from bp-asm.h.
22904 (__remquof): Do not use BP_SYM.
22905 (remquof): Likewise.
22906 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22907 "bp-asm.h".
22908 (PARMS): Do not use macros from bp-asm.h.
22909 (__remquol): Do not use BP_SYM.
22910 (remquol): Likewise.
22911 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22912 "bp-asm.h".
22913 (PARMS): Do not use macros from bp-asm.h.
22914 (DEST): Likewise.
22915 (SRC): Likewise.
22916 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22917 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22918 "bp-asm.h".
22919 (PARMS): Do not use macros from bp-asm.h.
22920 (strlen): Do not use BP_SYM.
22921 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22922 "bp-asm.h".
22923 (PARMS): Do not use macros from bp-asm.h.
22924 (S1): Likewise.
22925 (S2): Likewise.
22926 (SIZE): Likewise.
22927 (__mpn_add_n): Do not use BP_SYM.
22928 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22929 "bp-asm.h".
22930 (PARMS): Do not use macros from bp-asm.h.
22931 (S1): Likewise.
22932 (SIZE): Likewise.
22933 (__mpn_addmul_1): Do not use BP_SYM.
22934 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22935 weak_alias.
22936 (bzero): Likewise.
22937 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22938 "bp-asm.h".
22939 (PARMS): Do not use macros from bp-asm.h.
22940 (S): Likewise.
22941 (SIZE): Likewise.
22942 (__mpn_lshift): Do not use BP_SYM.
22943 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22944 "bp-asm.h".
22945 (PARMS): Do not use macros from bp-asm.h.
22946 (DEST): Likewise.
22947 (SRC): Likewise.
22948 (LEN): Likewise.
22949 (memcpy): Likewise. Do not use BP_SYM.
22950 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22951 libc_hidden_def and weak_alias.
22952 (mempcpy): Do not use BP_SYM in weak_alias.
22953 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22954 "bp-asm.h".
22955 (PARMS): Do not use macros from bp-asm.h.
22956 (DEST): Likewise.
22957 (LEN): Likewise.
22958 [!BZERO_P] (CHR): Likewise.
22959 (memset): Likewise. Do not use BP_SYM.
22960 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22961 "bp-asm.h".
22962 (PARMS): Do not use macros from bp-asm.h.
22963 (S1): Likewise.
22964 (SIZE): Likewise.
22965 (__mpn_mul_1): Do not use BP_SYM.
22966 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22967 "bp-asm.h".
22968 (PARMS): Do not use macros from bp-asm.h.
22969 (S): Likewise.
22970 (SIZE): Likewise.
22971 (__mpn_rshift): Do not use BP_SYM.
22972 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22973 "bp-asm.h".
22974 (PARMS): Do not use macros from bp-asm.h.
22975 (STR): Likewise.
22976 (CHR): Likewise.
22977 (strchr): Likewise. Do not use BP_SYM.
22978 (index): Do not use BP_SYM in weak_alias.
22979 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22980 "bp-asm.h".
22981 (PARMS): Do not use macros from bp-asm.h.
22982 (DEST): Likewise.
22983 (SRC): Likewise.
22984 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22985 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22986 "bp-asm.h".
22987 (PARMS): Do not use macros from bp-asm.h.
22988 (strlen): Do not use BP_SYM.
22989 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22990 "bp-asm.h".
22991 (PARMS): Do not use macros from bp-asm.h.
22992 (S1): Likewise.
22993 (S2): Likewise.
22994 (SIZE): Likewise.
22995 (__mpn_sub_n): Do not use BP_SYM.
22996 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22997 "bp-asm.h".
22998 (PARMS): Do not use macros from bp-asm.h.
22999 (S1): Likewise.
23000 (SIZE): Likewise.
23001 (__mpn_submul_1): Do not use BP_SYM.
23002 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23003 "bp-asm.h".
23004 (PARMS): Do not use macros from bp-asm.h.
23005 (S1): Likewise.
23006 (S2): Likewise.
23007 (SIZE): Likewise.
23008 (__mpn_add_n): Do not use BP_SYM.
23009 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23010 weak_alias.
23011 (bzero): Likewise.
23012 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23013 "bp-asm.h".
23014 (PARMS): Do not use macros from bp-asm.h.
23015 (BLK2): Likewise.
23016 (LEN): Likewise.
23017 (memcmp): Do not use BP_SYM.
23018 (bcmp): Do not use BP_SYM in weak_alias.
23019 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23020 "bp-asm.h".
23021 (PARMS): Do not use macros from bp-asm.h.
23022 (DEST): Likewise.
23023 (SRC): Likewise.
23024 (LEN): Likewise.
23025 (memcpy): Likewise. Do not use BP_SYM.
23026 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23027 "bp-asm.h".
23028 (PARMS): Do not use macros from bp-asm.h.
23029 (DEST): Likewise.
23030 (SRC): Likewise.
23031 (LEN): Likewise.
23032 (memmove): Likewise. Do not use BP_SYM.
23033 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23034 "bp-asm.h".
23035 (PARMS): Do not use macros from bp-asm.h.
23036 (DEST): Likewise.
23037 (SRC): Likewise.
23038 (LEN): Likewise.
23039 (__mempcpy): Likewise. Do not use BP_SYM.
23040 (mempcpy): Do not use BP_SYM in weak_alias.
23041 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23042 "bp-asm.h".
23043 (PARMS): Do not use macros from bp-asm.h.
23044 (DEST): Likewise.
23045 (LEN): Likewise.
23046 [!BZERO_P] (CHR): Likewise.
23047 (memset): Likewise. Do not use BP_SYM.
23048 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23049 "bp-asm.h".
23050 (PARMS): Do not use macros from bp-asm.h.
23051 (STR2): Likewise.
23052 (strcmp): Do not use BP_SYM.
23053 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23054 "bp-asm.h".
23055 (PARMS): Do not use macros from bp-asm.h.
23056 (STR): Likewise.
23057 (DELIM): Likewise.
23058 [USE_AS_STRTOK_R] (SAVE): Likewise.
23059 (FUNCTION): Likewise. Do not use BP_SYM.
23060 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23061 aliases.
23062 (strtok_r): Likewise.
23063 (__GI___strtok_r): Likewise.
23064 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23065 (PARMS): Do not use macros from bp-asm.h.
23066 (S): Likewise.
23067 (SIZE): Likewise.
23068 (__mpn_lshift): Do not use BP_SYM.
23069 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23070 (PARMS): Do not use macros from bp-asm.h.
23071 (STR): Likewise.
23072 (CHR): Likewise.
23073 (__memchr): Do not use BP_SYM.
23074 (memchr): Do not use BP_SYM in weak_alias.
23075 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23076 (PARMS): Do not use macros from bp-asm.h.
23077 (BLK2): Likewise.
23078 (LEN): Likewise.
23079 (memcmp): Do not use BP_SYM.
23080 (bcmp): Do not use BP_SYM in weak_alias.
23081 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23082 (PARMS): Do not use macros from bp-asm.h.
23083 (S1): Likewise.
23084 (SIZE): Likewise.
23085 (__mpn_mul_1): Do not use BP_SYM.
23086 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23087 "bp-asm.h".
23088 (PARMS): Do not use macros from bp-asm.h.
23089 (STR): Likewise.
23090 (CHR): Likewise.
23091 (__rawmemchr): Do not use BP_SYM.
23092 (rawmemchr): Do not use BP_SYM in weak_alias.
23093 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23094 (PARMS): Do not use macros from bp-asm.h.
23095 (S): Likewise.
23096 (SIZE): Likewise.
23097 (__mpn_rshift): Do not use BP_SYM.
23098 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23099 (PARMS): Do not use macros from bp-asm.h.
23100 (SIGMSK): Likewise.
23101 (__sigsetjmp): Likewise. Do not use BP_SYM.
23102 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23103 (_start): Do not use BP_SYM.
23104 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23105 (PARMS): Do not use macros from bp-asm.h.
23106 (DEST): Likewise.
23107 (SRC): Likewise.
23108 (__stpcpy): Likewise. Do not use BP_SYM.
23109 (stpcpy): Do not use BP_SYM in weak_alias.
23110 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23111 "bp-asm.h".
23112 (PARMS): Do not use macros from bp-asm.h.
23113 (DEST): Likewise.
23114 (SRC): Likewise.
23115 (LEN): Likewise.
23116 (__stpncpy): Likewise. Do not use BP_SYM.
23117 (stpncpy): Do not use BP_SYM in weak_alias.
23118 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23119 (PARMS): Do not use macros from bp-asm.h.
23120 (STR): Likewise.
23121 (CHR): Likewise.
23122 (strchr): Likewise. Do not use BP_SYM.
23123 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23124 "bp-asm.h".
23125 (PARMS): Do not use macros from bp-asm.h.
23126 (STR): Likewise.
23127 (CHR): Likewise.
23128 (__strchrnul): Likewise. Do not use BP_SYM.
23129 (strchrnul): Do not use BP_SYM in weak_alias.
23130 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23131 "bp-asm.h".
23132 (PARMS): Do not use macros from bp-asm.h.
23133 (STOP): Likewise.
23134 (strcspn): Do not use BP_SYM.
23135 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23136 "bp-asm.h".
23137 (PARMS): Do not use macros from bp-asm.h.
23138 (STR): Likewise.
23139 (STOP): Likewise.
23140 (strpbrk): Likewise. Do not use BP_SYM.
23141 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23142 "bp-asm.h".
23143 (PARMS): Do not use macros from bp-asm.h.
23144 (STR): Likewise.
23145 (CHR): Likewise.
23146 (strrchr): Likewise. Do not use BP_SYM.
23147 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23148 (PARMS): Do not use macros from bp-asm.h.
23149 (SKIP): Likewise.
23150 (strspn): Do not use BP_SYM.
23151 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23152 (PARMS): Do not use macros from bp-asm.h.
23153 (STR): Likewise.
23154 (DELIM): Likewise.
23155 (SAVE): Likewise.
23156 (FUNCTION): Likewise. Do not use BP_SYM.
23157 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23158 aliases.
23159 (strtok_r): Likewise.
23160 (__GI___strtok_r): Likewise.
23161 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23162 (PARMS): Do not use macros from bp-asm.h.
23163 (S1): Likewise.
23164 (S2): Likewise.
23165 (SIZE): Likewise.
23166 (__mpn_sub_n): Do not use BP_SYM.
23167 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23168 "bp-asm.h".
23169 (PARMS): Do not use macros from bp-asm.h.
23170 (S1): Likewise.
23171 (SIZE): Likewise.
23172 (__mpn_submul_1): Do not use BP_SYM.
23173 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23174 <bp-sym.h>.
23175 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23176 and <bp-asm.h>.
23177 (PARMS): Do not use macros from bp-asm.h.
23178 (FLAGS): Likewise.
23179 (PTID): Likewise.
23180 (TLS): Likewise.
23181 (CTID): Likewise.
23182 (__clone): Do not use BP_SYM.
23183 (clone): Do not use BP_SYM in weak_alias.
23184 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23185 and <bp-asm.h>.
23186 (PARMS): Do not use macros from bp-asm.h.
23187 (LEN): Likewise.
23188 (__mmap64): Do not use BP_SYM.
23189 (mmap64): Do not use BP_SYM in weak_alias.
23190 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23191 <bp-sym.h> and <bp-asm.h>.
23192 (PARMS): Do not use macros from bp-asm.h.
23193 (__posix_fadvise64_l64): Do not use BP_SYM.
23194 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23195 (PARMS): Do not use macros from bp-asm.h.
23196 (NSOPS): Likewise.
23197 (semtimedop): Do not use BP_SYM.
23198 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23199 and <bp-asm.h>.
23200
582a3cff
AM
232012013-02-21 Allan McRae <allan@archlinux.org>
23202
23203 * manual/message.texi (Charset conversion in gettext):
23204 Move @end statement to beginning of line.
23205
bab8a695
SP
232062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23207
80945231
SP
23208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23209 static.
23210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23211 Likewise.
23212
bab8a695
SP
23213 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23214 (denorm): Likewise.
23215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23217
e21d7aa7
AK
232182013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23219
23220 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23221 tail-call to the resolved function if pltexit isn't needed.
23222
4c7a4263
SP
232232013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23224
23225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23226 or Y being zero as being unlikely.
23227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23228 Likewise.
23229
41f49342
CD
232302013-02-20 Carlos O'Donell <carlos@redhat.com>
23231
23232 * manual/nss.texi (System Databases and Name Service Switch):
23233 Remove frobnicate @pxref.
23234
50022a93
TS
232352013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23236
23237 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23238 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23239
08cbd996
PM
232402013-02-20 Petr Machata <pmachata@redhat.com>
23241
23242 * elf/elf.h (R_ARM_TARGET1): New macro.
23243 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23244 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23245 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23246 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23247 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23248 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23249 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23250 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23251 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23252 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23253 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23254 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23255 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23256 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23257 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23258 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23259 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23260 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23261 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23262 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23263 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23264 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23265 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23266 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23267 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23268 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23269 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23270 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23271 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23272 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23273 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23274 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23275 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23276 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23277 (R_ARM_THM_GOT_BREL12): Likewise.
23278 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23279 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23280 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23281 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23282 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23283 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23284 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23285 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23286 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23287
c7b275d6
TS
232882013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23289
23290 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23291 __attribute_used__ to __attribute__ ((unused)).
23292
20cd7fb3
SP
232932013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23294
23295 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23296 powerpc mpa.c.
23297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23298 comment formatting.
23299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23300
92945b52
JM
233012013-02-19 Joseph Myers <joseph@codesourcery.com>
23302
23303 [BZ #13550]
23304 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23305 Remove macro.
23306 (ENTER): Remove both macro definitions.
23307 (LEAVE): Likewise.
23308 (CHECK_BOUNDS_LOW): Likewise.
23309 (CHECK_BOUNDS_HIGH): Likewise.
23310 (CHECK_BOUNDS_BOTH): Likewise.
23311 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23312 (RETURN_BOUNDED_POINTER): Likewise.
23313 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23314 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23315 (POP_ERRNO_LOCATION_RETURN): Likewise.
23316 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23317 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23318 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23319 macros.
23320 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23321 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23322 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23323 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23324 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23325 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23326 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23327 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23328 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23329 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23330 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23331 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23332 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23333 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23334 removed macros.
23335 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23336 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23337 macros.
23338 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23339 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23340 * sysdeps/i386/i586/memset.S (memset): Likewise.
23341 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23342 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23343 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23344 macros.
23345 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23346 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23347 Change uses of L(2) to L(out).
23348 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23349 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23350 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23351 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23352 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23353 removed macros.
23354 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23355 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23356 macros.
23357 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23358 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23359 (RETURN): Do not use macro LEAVE.
23360 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23361 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23362 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23363 * sysdeps/i386/i686/memset.S (memset): Likewise.
23364 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23365 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23366 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23367 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23368 Likewise.
23369 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23370 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23371 L(1_2) and L(1_3) into L(1).
23372 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23373 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23374 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23375 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23376 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23377 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23378 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23379 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23380 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23381 macros.
23382 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23383 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23384 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23385 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23386 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23387 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23388 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23389 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23390 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23391 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23392 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23393 * sysdeps/i386/strspn.S (strspn): Likewise.
23394 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23395 conditional code.
23396 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23397 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23398 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23399 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23400 L(1_3) into L(1_1).
23401 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23402 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23403 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23404 macros.
23405 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23406
2389741a
JJ
234072013-02-19 Jakub Jelinek <jakub@redhat.com>
23408
23409 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23410 macro.
23411
2016b3cd
SP
234122013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23413
e4f22324
SP
23414 * math/atest-exp.c (exp_mpn): Remove ROUND.
23415 * math/atest-exp2.c (exp_mpn): Likewise.
23416 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23417
2016b3cd
SP
23418 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23419 * stdlib/tst-tls-atexit-lib.c: Likewise.
23420 * stdlib/tst-tls-atexit.c: Likewise.
23421
4be9b544
MF
234222013-02-18 Mike Frysinger <vapier@gentoo.org>
23423
23424 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23425 and __attribute_alloc_size__.
23426
2f62b9ee
MF
234272013-02-18 Mike Frysinger <vapier@gentoo.org>
23428
23429 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23430 __attribute_alloc_size__.
23431 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23432 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23433
6ff444c4
MF
234342013-02-18 Mike Frysinger <vapier@gentoo.org>
23435
23436 * include/programs/xmalloc.h: New file.
23437 * catgets/gencat.c: Include it.
23438 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23439 * elf/pldd.c: Likewise.
23440 * iconv/iconv_charmap.c: Likewise.
23441 * iconv/iconvconfig.c: Likewise.
23442 * iconv/strtab.c: Likewise.
23443 * locale/programs/locale.c: Likewise.
23444 * locale/programs/localedef.h: Likewise.
23445 * locale/programs/simple-hash.c: Likewise.
23446 * nscd/nscd.h: Likewise.
23447 * nss/makedb.c: Likewise.
23448 * sysdeps/generic/ldconfig.h: Likewise.
23449
be179c8a
SP
234502013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23451
ba384f6e
SP
23452 * Versions.def: Add GLIBC_2.18.
23453 * include/link.h (struct link_map): New member l_tls_dtor_count.
23454 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23455 (__call_tls_dtors): Likewise.
23456 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23457 __cxa_thread_atexit_impl.
23458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23459 Likewise.
23460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23461 Likewise.
23462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23463 Likewise.
23464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23465 Likewise.
23466 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23468 Likewise.
23469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23470 Likewise.
23471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23473 Likewise.
23474 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23475 (tests): Add test case tst-tls-atexit.
23476 (modules-names): Add shared library for tst-tls-atexit.
85891aca 23477 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
23478 (GLIBC_PRIVATE): Add __call_tls_dtors.
23479 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23480 for libstdc++.
23481 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23482 * stdlib/tst-tls-atexit.c: New test case.
23483 * stdlib/tst-tls-atexit-lib.c: New test case.
23484
ffaa74cf 23485 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 23486
be179c8a
SP
23487 * elf/Versions (ld): Add _dl_find_dso_for_object.
23488 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23489 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23490 (dl_open_worker): Use _dl_find_dso_for_object.
23491 * elf/dl-sym.c (do_sym): Likewise.
23492 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23493
f78b5caa
AK
234942013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23495
23496 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23497 Syntactic changes only.
23498 (_dl_runtime_profile): Do a tail-call to the resolved function.
23499
29691210
JM
235002013-02-17 Joseph Myers <joseph@codesourcery.com>
23501
23502 [BZ #13550]
23503 * sysdeps/x86_64/bp-asm.h: Remove file.
23504 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23505 <bp-sym.h> and <bp-asm.h>.
23506 (__clone): Do not use BP_SYM.
23507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23508 <bp-sym.h> and <bp-asm.h>.
23509 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23510 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23511 "bp-asm.h".
23512 (_setjmp): Do not use BP_SYM.
23513 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23514 "bp-asm.h".
23515 (setjmp): Do not use BP_SYM.
23516 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23517 libc_hidden_def.
23518 (mempcpy): Do not use BP_SYM in weak_alias.
23519 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23520 "bp-asm.h".
23521 (strchr): Do not use BP_SYM.
23522 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23523 "bp-asm.h".
23524 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23525 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23526 (_start): Do not use BP_SYM.
23527 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23528 "bp-asm.h".
23529 (strcat): Do not use BP_SYM.
23530 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23531 "bp-asm.h".
23532 (STRCMP): Do not use BP_SYM.
23533 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23534 "bp-asm.h".
23535 (STRCPY): Do not use BP_SYM.
23536 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23537 "bp-asm.h".
23538 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23539 "bp-asm.h".
23540 (FUNCTION): Do not use BP_SYM.
23541 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23542 weak_alias.
23543 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23544
f238fd19
AJ
235452013-02-17 Andreas Jaeger <aj@suse.de>
23546
23547 * time/Versions: Sort entries.
23548 * string/Versions: Likewise.
23549 * resolv/Versions: Likewise.
23550 * posix/Versions: Likewise.
23551 * iconv/Versions: Likewise.
23552 * elf/Versions: Likewise.
23553 * wcsmbs/Versions: Likewise.
23554
bd07f23c 235552013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23556
22af19f9
SP
23557 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23558 loop termination condition.
23559
4709fe76
SP
23560 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23561 variable to calculate EZ.
23562 (__sqr): Likewise.
2d0e0f29
SP
23563
23564 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23565 the lower precision input.
23566
daaa7713
JM
235672013-02-15 Joseph Myers <joseph@codesourcery.com>
23568
23569 [BZ #13550]
23570 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23571 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23572 (run-via-rtld-prefix): Do not handle %-bp tests.
23573 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23574 (all-object-suffixes): Remove .ob.
23575 (bppfx): Remove variable.
23576 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23577 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23578 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23579 [$(build-bounded) = yes] (libtype.ob): Likewise.
23580 * Makerules (elide-routines.ob): Remove variable.
23581 (do-tests-clean): Do not handle *-bp.out.
23582 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23583 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23584 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23585 (tests): Do not include $(tests-bp.out).
23586 (xtests): Do not include $(xtests-bp.out).
23587 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23588 [$(build-bounded) = yes] ($(addprefix
23589 $(objpfx),$(binaries-bounded))): Remove rule.
23590 ($(objpfx)%-bp.out): Remove rule.
23591 * config.make.in (build-bounded): Remove variable.
23592 * crypt/Makefile [$(build-bounded) = yes]
23593 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23594 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23595 append to variable.
23596 [$(build-bounded) = yes] (install-lib): Likewise.
23597 [$(build-bounded) = yes] (generated): Likewise.
23598 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23599 Remove rule.
23600 * intl/Makefile [$(build-bounded) = yes]
23601 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23602 * math/Makefile [$(build-bounded) = yes]
23603 ($(tests:%=$(objpfx)%-bp): Likewise.
23604 * misc/Makefile [$(build-bounded) = yes]
23605 ($(objpfx)tst-tsearch-bp): Likewise.
23606 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23607 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23608 Remove dependency.
23609 * string/Makefile (o-objects.ob): Remove variable.
23610 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23611 (CFLAGS-.ob): Remove variable.
23612 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23613 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23614 both definitions of variable.
23615 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23616 (ASFLAGS-.ob): Remove variable.
23617
e97ed6dd
JM
236182013-02-14 Joseph Myers <joseph@codesourcery.com>
23619
2bdd4ca6
JM
23620 [BZ #13550]
23621 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23622 Remove __BOUNDED_POINTERS__ from condition.
23623 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23624 * string/bits/string2.h [!__NO_STRING_INLINES &&
23625 !__BOUNDED_POINTERS__]: Likewise.
23626 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23627 Likewise.
23628 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23629 Remove conditional code.
23630 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23631 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23632 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23633 condition.
23634
e97ed6dd
JM
23635 [BZ #13550]
23636 * csu/libc-start.c: Do not include <bp-sym.h>.
23637 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23638 * elf/dl-open.c: Do not include <bp-sym.h>.
23639 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23640 * math/fegetenv.c: Do not include <bp-sym.h>.
23641 (fegetenv): Do not use BP_SYM in versioned symbols.
23642 * nptl/sysdeps/pthread/bits/libc-lockP.h
23643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23644 <bp-sym.h>.
23645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23646 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23648 (__pthread_mutex_destroy): Likewise.
23649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23650 (__pthread_mutex_lock): Likewise.
23651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23652 (__pthread_mutex_trylock): Likewise.
23653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23654 (__pthread_mutex_unlock): Likewise.
23655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23656 (__pthread_mutexattr_init): Likewise.
23657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23658 (__pthread_mutexattr_destroy): Likewise.
23659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23660 (__pthread_mutexattr_settype): Likewise.
23661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23662 (__pthread_rwlock_init): Likewise.
23663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23664 (__pthread_rwlock_destroy): Likewise.
23665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23666 (__pthread_rwlock_rdlock): Likewise.
23667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23668 (__pthread_rwlock_tryrdlock): Likewise.
23669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23670 (__pthread_rwlock_wrlock): Likewise.
23671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23672 (__pthread_rwlock_trywrlock): Likewise.
23673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23674 (__pthread_rwlock_unlock): Likewise.
23675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23676 (__pthread_key_create): Likewise.
23677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23678 (__pthread_setspecific): Likewise.
23679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23680 (__pthread_getspecific): Likewise.
23681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23682 Likewise.
23683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23684 (_pthread_cleanup_push_defer): Likewise.
23685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23686 (_pthread_cleanup_pop_restore): Likewise.
23687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23688 (pthread_setcancelstate): Likewise.
23689 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23690 <bp-sym.h>.
23691 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23692 (memchr): Do not use BP_SYM in weak_alias.
23693 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23694 (fegetenv): Do not use BP_SYM in versioned symbols.
23695 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23696 (fesetenv): Do not use BP_SYM in versioned symbols.
23697 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23698 (feupdateenv): Do not use BP_SYM in versioned symbols.
23699 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23700 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23701 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23702 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23703 (open64): Do not use BP_SYM in weak_alias.
23704 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23705 (fegetenv): Do not use BP_SYM in versioned symbols.
23706 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23707 (fesetenv): Do not use BP_SYM in versioned symbols.
23708 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23709 (feupdateenv): Do not use BP_SYM in versioned symbols.
23710 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23711 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23712 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23713 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23714 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23715 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23716 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23717 <bp-sym.h>.
23718 (__libc_start_main): Do not use BP_SYM.
23719
d6752ccd
SP
237202013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23721
cb57ce60
SP
23722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23723 redundant return line.
23724 (norm): Likewise.
23725 (denorm): Likewise.
23726 (dbl_mp): Likewise.
23727 (sub_magnitudes): Likewise.
23728 (__add): Likewise.
23729 (__sub): Likewise.
23730 (__mul): Likewise.
23731 (__inv): Likewise.
23732 (__dvd): Likewise.
23733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23734 (norm): Likewise.
23735 (denorm): Likewise.
23736 (dbl_mp): Likewise.
23737 (sub_magnitudes): Likewise.
23738 (__add): Likewise.
23739 (__sub): Likewise.
23740 (__mul): Likewise.
23741 (__inv): Likewise.
23742 (__dvd): Likewise.
23743
f414520d
SP
23744 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23745 instead of __mul.
23746 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23747 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23748 (cc32): Likewise.
23749
d6752ccd
SP
23750 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23751 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23753 of __mul for squares.
23754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23755 function
23756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23757 Likewise.
23758 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23759 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23760
70d9946a
JM
237612013-02-13 Joseph Myers <joseph@codesourcery.com>
23762
23763 [BZ #13550]
23764 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23765 code.
23766 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23767 prototype or function definition. Rename ubp_* variables and
23768 parameters. Remove argv definitions conditional on
23769 [__BOUNDED_POINTERS__].
23770 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23771 * elf/dl-runtime.c (_dl_fixup): Likewise.
23772 * include/set-hooks.h (RUN_HOOK): Likewise.
23773 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23774 definition.
23775 * string/strcpy.c (strcpy): Do not use __unbounded.
23776 * sysdeps/generic/frame.h (struct layout): Likewise.
23777 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23778 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23779 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23780 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23781 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23782 (__backtrace): Likewise.
23783 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23784 use __ptrvalue.
23785 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23786 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23787 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23788 Likewise.
23789 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23790 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23791 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23792 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23793 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23794 Do not use __unbounded.
23795 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23796 Rename __unboundedrlimits parameter to rlimits in prototype.
23797 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23798 Do not use __unbounded.
23799 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23800 not use __ptrvalue.
23801 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23802 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23803 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23804 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23805 __ptrvalue or __unbounded.
23806 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23807 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23808 use __unbounded.
23809 (__new_msgctl): Do not use __ptrvalue.
23810 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23811 __unbounded.
23812 (__libc_msgrcv): Do not use __ptrvalue.
23813 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23814 startup_info): Do not use __unbounded.
23815 (__libc_start_main): Likewise. Rename ubp_* variables and
23816 parameters. Remove argv definitions conditional on
23817 [__BOUNDED_POINTERS__].
23818 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23819 __ptrvalue.
23820 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23821 use __unbounded.
23822 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23823 or __ptrvalue.
23824 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23825 use __unbounded.
23826 (__new_shmctl): Do not use __ptrvalue.
23827 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23828 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23829 Likewise.
23830 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23832 (__libc_sigaction): Likewise.
23833 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23834 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23835 Likewise.
23836 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23837
cc7834d6
OB
238382013-02-13 Ondřej Bílka <neleai@seznam.cz>
23839
ffb1ec7b 23840 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23841
23842 * string/mempcpy.c: Implement by calling memcpy.
23843
bdf02814
SP
238442013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23845
c2af38aa
SP
23846 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23847
4e92d59e
SP
23848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23849 evaluation.
23850
909279a5
SP
23851 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23852 values in the mantissa.
23853
bdf02814
SP
23854 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23855 minimize writes to Z.
23856 (sub_magnitudes): Simplify code a bit.
23857
cd525923
RM
238582013-02-12 Roland McGrath <roland@hack.frob.com>
23859
23860 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23861 from the message. The linker prefixes all warnings with that already.
23862
7e2f0d2d
AS
238632013-02-12 Andreas Schwab <schwab@suse.de>
23864
a445af0b
AS
23865 [BZ #15078]
23866 * posix/regexec.c (extend_buffers): Add parameter min_len.
23867 (check_matching): Pass minimum needed length.
23868 (clean_state_log_if_needed): Likewise.
23869 (get_subexp): Likewise.
23870 * posix/Makefile (tests): Add bug-regex34.
23871 (bug-regex34-ENV): Define.
23872 * posix/bug-regex34.c: New file.
23873
7e2f0d2d
AS
23874 [BZ #11561]
23875 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23876 elements compare against the byte sequence of it, not its name.
23877 * posix/Makefile (tests): Add bug-regex35.
23878 (bug-regex35-ENV): Define.
23879 * posix/bug-regex35.c: New file.
23880
a175b684
TV
238812013-02-11 Tom de Vries <tom@codesourcery.com>
23882
23883 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23884 comment.
23885 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23886 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23887 (CHECK_EOL): Add undef.
23888
310998fe 238892013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23890
23891 * bits/stdlib-bsearch.h: New file.
23892 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23893 * stdlib/stdlib.h: Likewise.
41eda41d 23894
8ded91fb
RM
238952013-02-11 Roland McGrath <roland@hack.frob.com>
23896
23897 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23898 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23899 declaration.
23900 * manual/search.texi (Array Search Function): Add missing const in
23901 lfind prototype.
23902 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23903 declaration to use rlim_t.
23904 (Basic Scheduling Functions): Remove erroneous const from
23905 sched_getparam prototype. Remove erroneous * from
23906 sched_get_priority_max and sched_get_priority_min prototypes.
23907 (Resource Usage): Fix summary @comment on vtimes to refer to
23908 sys/vtimes.h rather than vtimes.h.
23909 Add missing *s in vtimes prototype.
23910 (Limits on Resources): Fix ulimit prototype to return long int.
23911 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23912 prototypes to use long int rather than double.
23913 (BSD Random): Fix initstate and setstate to use char *, not void *.
23914 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23915 prototype to make second argument 'struct aiocb64 *const[]'.
23916 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23917 (Status of AIO Operations): Remove erroneous const in aio_return and
23918 aio_return64 prototypes.
23919 (Synchronizing I/O): Fix sync prototype to return void.
23920 * manual/startup.texi (Suboptions): Remove an erroneous const in
23921 getsubopt prototype.
23922 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23923 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23924 use size_t rather than int.
23925 (Scanning All Users): Likewise for getpwent_r.
23926 (Setting Groups): Add missing const to setgroups prototype.
23927 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23928 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23929 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23930 'const void *' rather than 'const char *'.
23931 (Host Address Functions): Likewise for inet_ntop.
23932 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23933 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23934 ssize_t for return value.
23935 (Sending Data): Likewise for send, sendto, sendmsg.
23936 (Socket Option Functions): Add a missing const in setsockopt prototype.
23937 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23938 use wchar_t for the argument.
23939 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23940 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23941 take no arguments.
23942 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23943 double/float/long double for second argument.
23944 Fix return types of significand, significandf, significandl.
23945 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23946 argument in fchmod prototype.
23947 (File Owner): Use uid_t and gid_t in fchown prototype.
23948 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23949 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23950 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23951 use 'const struct dirent **' as argument types to CMP function pointer
23952 argument.
23953 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23954 (File Times): Fix summary magic @comment for struct utimbuf and utime
23955 to refer to utime.h, not time.h.
23956 * manual/string.texi (Argz Functions): Add missing const in
23957 argz_extract and argz_next prototypes.
23958 (Finding Tokens in a String): Likewise for basename.
23959 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23960 (Copying and Concatenation): Fix typo in wmemmove prototype.
23961 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23962 (Signal Stack): Remove erroneous const in sigstack prototype.
23963 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23964 prototype.
23965 (Simple Calendar Time): Likewise for stime.
23966 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23967 prototype.
23968 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23969 say sys/sysctl.h instead.
23970 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23971 and vsyslog prototypes.
23972
fe77fe6d
TV
239732013-02-11 Tom de Vries <tom@codesourcery.com>
23974
23975 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23976 Remove.
23977
3a09b620
RM
239782013-02-11 Roland McGrath <roland@hack.frob.com>
23979
23980 * misc/sys/mman.h: Fix typo in mremap comment.
23981
550a0b89
RM
239822013-02-08 Roland McGrath <roland@hack.frob.com>
23983
23984 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23985 the '\0' terminator.
23986
a2da1673
JM
239872013-02-08 Joseph Myers <joseph@codesourcery.com>
23988
23989 [BZ #13550]
23990 * debug/segfault.c: Don't include <bp-checks.h>.
23991 * sysdeps/generic/bp-checks.h: Remove file.
23992 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23993 (__GETDENTS): Don't use CHECK_N.
23994 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23995 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23996 (__getgroups): Don't use CHECK_N.
23997 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23998 (setgroups): Don't use CHECK_N.
23999 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24000 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24001 (__libc_msgrcv): Don't use CHECK_N.
24002 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24003 (__libc_msgsnd): Don't use CHECK_N.
24004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24005 <bp-checks.h>.
24006 (__libc_pread): Don't use CHECK_N.
24007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24008 include <bp-checks.h>.
24009 (__libc_pread64): Don't use CHECK_N.
24010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24011 include <bp-checks.h>.
24012 (__libc_pwrite): Don't use CHECK_N.
24013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24014 include <bp-checks.h>.
24015 (__libc_pwrite64): Don't use CHECK_N.
24016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24017 <bp-checks.h>.
24018 (__libc_pread): Don't use CHECK_N.
24019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24020 include <bp-checks.h>.
24021 (__libc_pread64): Don't use CHECK_N.
24022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24023 include <bp-checks.h>.
24024 (__libc_pwrite): Don't use CHECK_N.
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24026 include <bp-checks.h>.
24027 (__libc_pwrite64): Don't use CHECK_N.
24028 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24029 (do_pread): Don't use CHECK_N.
24030 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24031 (do_pread64): Don't use CHECK_N.
24032 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24033 (do_pwrite): Don't use CHECK_N.
24034 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24035 (do_pwrite64): Don't use CHECK_N.
24036 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24037 (__libc_readv): Don't use CHECK_N.
24038 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24039 (semop): Don't use CHECK_N.
24040 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24041 <bp-checks.h>.
24042 (semtimedop): Don't use CHECK_N.
24043 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24044 (__libc_pread): Don't use CHECK_N.
24045 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24046 <bp-checks.h>.
24047 (__libc_pread64): Don't use CHECK_N.
24048 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24049 <bp-checks.h>.
24050 (__libc_pwrite): Don't use CHECK_N.
24051 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24052 <bp-checks.h>.
24053 (__libc_pwrite64): Don't use CHECK_N.
24054 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24055 <bp-checks.h>.
24056 (__libc_msgrcv): Don't use CHECK_N.
24057 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24058 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24059 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24060 (__libc_writev): Don't use CHECK_N.
24061
b84660a8
RM
240622013-02-08 Roland McGrath <roland@hack.frob.com>
24063
7f3e75f8
RM
24064 * string/strcpy.c: Removed unused variable.
24065
b84660a8
RM
24066 * Makeconfig (+sysdep-includes): Define with := rather than =.
24067 Use an existing include/ subdir of each sysdeps dir before it.
24068
471514d3
CD
240692013-02-08 Carlos O'Donell <carlos@redhat.com>
24070
24071 * nscd/connection.c (register_traced_file): Comment function.
24072 [HAVE_INOTIFY] (union __inev): Define.
24073 [HAVE_INOTIFY] (inotify_check_files): New function.
24074 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24075 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24076 clear_db_cache.
24077 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24078
b2d3c3be
CD
240792013-02-08 Carlos O'Donell <carlos@redhat.com>
24080
24081 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24082 loaded if not already and that a failure is permanent.
24083
b39949d2
CD
240842013-02-08 Carlos O'Donell <carlos@redhat.com>
24085
ddacd1db 24086 [BZ #15006]
b39949d2
CD
24087 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24088 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24089
b2c9eff4
JM
240902013-02-08 Joseph Myers <joseph@codesourcery.com>
24091
f3aae3f3
JM
24092 [BZ #13550]
24093 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24094 (CHECK_1_NULL_OK): Likewise.
24095 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24096 (__fxstat): Do not use CHECK_1.
24097 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24098 <bp-checks.h>.
24099 (___fxstat64): Do not use CHECK_1.
24100 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24101 <bp-checks.h>.
24102 (__fxstatat): Do not use CHECK_1.
24103 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24104 <bp-checks.h>.
24105 (__fxstatat64): Do not use CHECK_1.
24106 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24107 <bp-checks.h>.
24108 (__fxstat): Do not use CHECK_1.
24109 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24110 <bp-checks.h>.
24111 (__fxstatat): Do not use CHECK_1.
24112 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24113 <bp-checks.h>.
24114 (__getresgid): Do not use CHECK_1.
24115 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24116 <bp-checks.h>.
24117 (__getresuid): Do not use CHECK_1.
24118 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24119 <bp-checks.h>.
24120 (__lxstat): Do not use CHECK_1.
24121 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24122 <bp-checks.h>.
24123 (__old_msgctl): Do not use CHECK_1.
24124 (__new_msgctl): Likewise.
24125 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24126 <bp-checks.h>.
24127 (__new_setrlimit): Do not use CHECK_1.
24128 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24129 <bp-checks.h>.
24130 (__old_shmctl): Do not use CHECK_1.
24131 (__new_shmctl): Likewise.
24132 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24133 <bp-checks.h>.
24134 (__xstat): Do not use CHECK_1.
24135 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24136 (__lxstat): Do not use CHECK_1.
24137 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24138 <bp-checks.h>.
24139 (___lxstat64): Do not use CHECK_1.
24140 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24141 (__old_msgctl): Do not use CHECK_1.
24142 (__new_msgctl): Likewise.
24143 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24144 <bp-checks.h>.
24145 (__gettimeofday): Do not use CHECK_1.
24146 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24147 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24148 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24149 <bp-checks.h>.
24150 (__gettimeofday): Do not use CHECK_1.
24151 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24152 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24153 (__new_shmctl): Do not use CHECK_1.
24154 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24155 <bp-checks.h>.
24156 (do_sigtimedwait): Do not use CHECK_1.
24157 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24158 <bp-checks.h>.
24159 (do_sigwaitinfo): Do not use CHECK_1.
24160 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24161 <bp-checks.h>.
24162 (msgctl): Do not use CHECK_1.
24163 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24164 <bp-checks.h>.
24165 (shmctl): Do not use CHECK_1.
24166 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24167 (ustat): Do not use CHECK_1.
24168 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24169 <bp-checks.h>.
24170 (__fxstat): Do not use CHECK_1.
24171 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24172 <bp-checks.h>.
24173 (__fxstatat): Do not use CHECK_1.
24174 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24175 <bp-checks.h>.
24176 (__lxstat): Do not use CHECK_1.
24177 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24178 <bp-checks.h>.
24179 (__xstat): Do not use CHECK_1.
24180 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24181 (__xstat): Do not use CHECK_1.
24182 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24183 (___xstat64): Do not use CHECK_1.
24184
b2c9eff4
JM
24185 [BZ #13550]
24186 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24187 definitions.
24188 (CHECK_BOUNDS_HIGH): Likewise.
24189 * string/strcpy.c: Do not include <bp-checks.h>.
24190 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24191
f1d70dad
RM
241922013-02-07 Roland McGrath <roland@hack.frob.com>
24193
24194 * nscd/nscd-client.h (__nscd_drop_map_ref):
24195 Add __attribute__ ((unused)).
24196 * nis/nss-nisplus.h (niserr2nss): Likewise.
24197
24198 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24199 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24200
24201 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24202 Remove inline keyword.
24203 * include/rounding-mode.h (round_away): Likewise.
24204 * libio/wfileops.c (adjust_wide_data): Likewise.
24205 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24206 (__m128i_strloadu_tolower): Likewise.
24207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24208 (__m128i_strloadu_tolower): Likewise.
24209 * time/mktime.c (ydhms_diff): Likewise.
24210 * locale/elem-hash.h (elem_hash): Likewise.
24211 * locale/setlocale.c (setdata): Likewise.
24212 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24213 (re_string_wchar_at): Likewise.
24214 (bitset_not, bitset_merge, bitset_mask): Likewise.
24215 [!(__GNUC__ > 3)] (inline): Remove macro.
24216 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24217 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24218 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24219 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24220 * string/memcmp.c (memcmp_bytes): Likewise.
24221 * locale/programs/locarchive.c (compute_hashval): Likewise.
24222 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24223 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24224 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24225 * nss/getent.c (print_rpc, print_protocols): Likewise.
24226 (print_passwd, print_group, print_aliases): Likewise.
24227 * nis/nss-nisplus.h (niserr2nss): Likewise.
24228 * nscd/connections.c (restart_p): Likewise.
24229 Change return type to bool.
24230
eab55bfb
RM
242312013-02-05 Roland McGrath <roland@hack.frob.com>
24232
7bd642f5
RM
24233 * Makeconfig (all-Depend-files): Add existing
24234 $(sorted-subdirs:=/Depend) files.
24235 (all-subdirs): Remove nss.
24236 * sysdeps/unix/inet/Subdirs: Add it here instead.
24237 * hesiod/Depend: New file.
24238
573c29b2
RM
24239 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24240 instead of calling alloca.
24241
b2e25af0
RM
24242 * io/lseek.c (__lseek): Rename to __libc_lseek.
24243 Define __lseek as an alias.
24244
eab55bfb
RM
24245 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24246
9a0d1941
CD
242472013-02-04 Carlos O'Donell <carlos@redhat.com>
24248
24249 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24250 else clause and remove check for non-standard endianness.
24251
b83bbec4
DM
242522013-02-04 David S. Miller <davem@davemloft.net>
24253
24254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24255
6277fdab
JM
242562013-02-04 Joseph Myers <joseph@codesourcery.com>
24257
24258 [BZ #13550]
24259 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24260 (__ubp_memchr): Remove prototype.
24261 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24262 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24263 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24264 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24265 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24266 Remove alias.
24267 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24268 (__ubp_memchr): Likewise.
24269 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24270 (__ubp_memchr): Likewise.
24271 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24272 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24273 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24274 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24275 CHECK_STRING.
24276 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24277 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24278 (__getcwd): Do not use CHECK_STRING.
24279 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24280 <bp-checks.h>.
24281 (__real_chown): Do not use CHECK_STRING.
24282 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24283 <bp-checks.h>.
24284 (fchownat): Do not use CHECK_STRING.
24285 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24286 CHECK_STRING.
24287 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24288 <bp-checks.h>.
24289 (__lchown): Do not use CHECK_STRING.
24290 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24291 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24292 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24293 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24295 include <bp-checks.h>.
24296 (truncate64): Do not use CHECK_STRING.
24297 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24298 <bp-checks.h>.
24299 (__real_chown): Do not use CHECK_STRING.
24300 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24301 <bp-checks.h>.
24302 (__lchown): Do not use CHECK_STRING.
24303 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24304 <bp-checks.h>.
24305 (__chown): Do not use CHECK_STRING.
24306 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24307 <bp-checks.h>.
24308 (truncate64): Do not use CHECK_STRING.
24309 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24310 Likewise.
24311 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24312 (__xmknod): Do not use CHECK_STRING.
24313 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24314 <bp-checks.h>.
24315 (__xmknodat): Do not use CHECK_STRING.
24316 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24317 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24318
903ae060
AS
243192013-02-04 Andreas Schwab <schwab@suse.de>
24320
24321 [BZ #14142]
24322 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24323 * include/netdb.h: Likewise for h_errno.
24324 * elf/tst-stackguard1.c: Include <tls.h>.
24325
542f9466
JK
243262013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24327
24328 * elf/link.h (struct link_map): Extend the l_addr comment.
24329 * include/link.h (struct link_map): Likewise.
24330
e782a927
JM
243312013-02-01 Joseph Myers <joseph@codesourcery.com>
24332
24333 [BZ #13550]
24334 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24335 (BOUNDED_1): Remove macro.
24336 * debug/backtrace.c: Don't include <bp-checks.h>.
24337 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24338 (__backtrace): Likewise.
24339 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24340 <bp-checks.h>.
24341 (__backtrace): Don't use BOUNDED_1.
24342 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24343 <bp-checks.h>.
24344 (__backtrace): Don't use BOUNDED_1.
24345 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24346 (__backtrace): Don't use BOUNDED_1.
24347 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24348 (shmat): Don't use BOUNDED_N.
24349
8cf28c5e
JM
243502013-01-31 Joseph Myers <joseph@codesourcery.com>
24351
3a7ac8a0
JM
24352 [BZ #13550]
24353 * sysdeps/generic/bp-start.h: Remove file.
24354 * csu/libc-start.c: Don't include <bp-start.h>.
24355 (LIBC_START_MAIN): Set up __environ directly instead of using
24356 INIT_ARGV_and_ENVIRON.
24357 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24358 <bp-start.h>.
24359
f3499f95
JM
24360 [BZ #13550]
24361 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24362 definitions.
24363 (CHECK_FCNTL): Likewise.
24364 (CHECK_N_PAGES): Likewise.
24365
32a45bea
JM
24366 [BZ #13550]
24367 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24368 definitions.
24369 (CHECK_SIGSET_NULL_OK): Likewise.
24370 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24371 <bp-checks.h>.
24372 (sigpending): Don't use CHECK_SIGSET.
24373 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24374 <bp-checks.h>.
24375 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24376 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24377 <bp-checks.h>.
24378 (do_sigsuspend): Don't use CHECK_SIGSET.
24379 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24380 use CHECK_SIGSET.
24381 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24382 (do_sigwait): Don't use CHECK_SIGSET.
24383 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24384 use CHECK_SIGSET.
24385 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24386 include <bp-checks.h>.
24387 (sigpending): Don't use CHECK_SIGSET.
24388 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24389 include <bp-checks.h>.
24390 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24391 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24392 <bp-checks.h>.
24393 (sigpending): Don't use CHECK_SIGSET.
24394 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24395 <bp-checks.h>.
24396 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24397
2e8a5c8c
JM
24398 [BZ #13550]
24399 * sysdeps/generic/bp-semctl.h: Remove file.
24400 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24401 <bp-checks.h> and <bp-semctl.h>.
24402 (__old_semctl): Don't use CHECK_SEMCTL.
24403 (__new_semctl): Likewise.
24404 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24405 and <bp-semctl.h>.
24406 (__old_semctl): Don't use CHECK_SEMCTL.
24407 (__new_semctl): Likewise.
24408 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24409 <bp-checks.h> and <bp-semctl.h>.
24410 (__old_semctl): Don't use CHECK_SEMCTL.
24411 (__new_semctl): Likewise.
24412 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24413 <bp-checks.h> and <bp-semctl.h>.
24414 (semctl): Don't use CHECK_SEMCTL.
24415
c2d54929
JM
24416 [BZ #13550]
24417 * Makerules (elide-bp-thunks): Remove variable.
24418 (elide-routines.oS): Don't use $(elide-bp-thunks).
24419 (elide-routines.os): Likewise.
24420 (elide-routines.o): Likewise.
24421 (elide-routines.op): Likewise.
24422 (elide-routines.og): Likewise.
24423 (objects): Don't use $(bp-thunks).
24424 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24425 include.
24426 (common-generated): Do not add s-proto-bp.d.
24427 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24428 (int): Likewise.
24429 (typ): Likewise.
24430 Do not generate makefile rules for bounded-pointer thunks.
24431 * sysdeps/generic/bp-thunks.h: Remove file.
24432 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24433 * sysdeps/unix/s-proto-bp.S: Likewise.
24434
8cf28c5e
JM
24435 [BZ #15062]
24436 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24437 parts of result separately when argument is not close to line from
24438 -i to i and one part of argument is small.
24439 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24440 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24441 * math/libm-test.inc (cacos_test): Add more tests.
24442 (casin_test): Likewise.
24443 (casinh_test): Likewise.
24444 * sysdeps/i386/fpu/libm-test-ulps: Update.
24445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24446
c4e33b8d
DM
244472013-01-31 David S. Miller <davem@davemloft.net>
24448
24449 * po/de.po: Update from translation team.
24450
3b60b421
MK
244512013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24452
24453 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24454
bb931195
TS
244552013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24456
b5a5da23
TS
24457 * configure.in (_AC_PROG_CC_C89): New definition.
24458 * configure: Regenerate.
24459
bb931195
TS
24460 * configure.in (AC_PROG_CPP): New definition.
24461 * configure: Regenerate.
24462
8c53a12c
JM
244632013-01-23 Joseph Myers <joseph@codesourcery.com>
24464
24465 * debug/tst-backtrace.h: New file.
24466 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24467 (ret): Remove variable.
24468 (x): Likewise.
24469 (FAIL): Remove macro.
24470 (NO_INLINE): Likewise.
24471 (fn1): Use match function instead of strstr.
24472 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24473 (ret): Remove variable.
24474 (x): Likewise.
24475 (FAIL): Remove macro.
24476 (NO_INLINE): Likewise.
24477 (fn): Use match function instead of strstr.
24478 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24479 (ret): Remove variable.
24480 (x): Likewise.
24481 (FAIL): Remove macro.
24482 (NO_INLINE): Likewise.
24483 (handle_signal): Use match function instead of strstr.
24484 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24485 (ret): Remove variable.
24486 (x): Likewise.
24487 (FAIL): Remove macro.
24488 (NO_INLINE): Likewise.
24489 (handle_signal): Use match function instead of strstr.
24490
4858fa2a
RM
244912013-01-23 Roland McGrath <roland@hack.frob.com>
24492
24493 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24494
bae8e7f5
DM
244952013-01-23 David S. Miller <davem@davemloft.net>
24496
24497 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24498 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24499 argument of CAS if possible.
24500 * sysdeps/sparc/sparc64/bits/atomic.h
24501 (__arch_compare_and_exchange_val_32_acq): Likewise.
24502 (__arch_compare_and_exchange_val_64_acq): Likewise.
24503
9cbbc4ae
PT
245042013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24505
24506 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24507 * sysdeps/posix/ulimit.c: ... this.
92a601b8 24508 Include <limits.h>.
67b3f58c 24509 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 24510
5655a0b5
AC
245112013-01-23 Adam Conrad <adconrad@0c3.net>
24512
24513 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24514 (LDFLAGS-tst-array5): Likewise.
24515
052aff95
JM
245162013-01-23 Joseph Myers <joseph@codesourcery.com>
24517
24518 [BZ #15036]
24519 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24520 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24521 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24522 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24523
7c1e01aa
DM
245242013-01-21 David S. Miller <davem@davemloft.net>
24525
24526 * sysdeps/sparc/backtrace.c: New file.
24527 * sysdeps/sparc/sparc32/backtrace.h: New file.
24528 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24529 * sysdeps/sparc/sparc64/backtrace.h: New file.
24530 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24531 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24532 -funwind-tables.
24533
ab087e0a
AS
245342013-01-21 Andreas Schwab <schwab@suse.de>
24535
24536 [BZ #15020]
24537 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24538 closed its stdout.
24539
ed689c2f
AS
245402013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24541
24542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24543 "mpa2.h".
24544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24545
31d470ac
JM
245462013-01-18 Joseph Myers <joseph@codesourcery.com>
24547 Mark Mitchell <mark@codesourcery.com>
24548 Tom de Vries <tom@codesourcery.com>
24549 Paul Pluzhnikov <ppluzhnikov@google.com>
24550
24551 * debug/tst-backtrace2.c: New file.
24552 * debug/tst-backtrace3.c: Likewise.
24553 * debug/tst-backtrace4.c: Likewise.
24554 * debug/tst-backtrace5.c: Likewise.
24555 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24556 (CFLAGS-tst-backtrace3.c): Likewise.
24557 (CFLAGS-tst-backtrace4.c): Likewise.
24558 (CFLAGS-tst-backtrace5.c): Likewise.
24559 (LDFLAGS-tst-backtrace2): Likewise.
24560 (LDFLAGS-tst-backtrace3): Likewise.
24561 (LDFLAGS-tst-backtrace4): Likewise.
24562 (LDFLAGS-tst-backtrace5): Likewise.
24563 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24564 tst-backtrace4 and tst-backtrace5.
24565
90567f30 245662013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24567 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24568
24569 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24570 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24571 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24572 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24574 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24575 "+r" and remove output regs list as redundant. Add explicit inline
24576 asm to specify register of return val to work around compiler codegen
24577 bug. Remove (int) cast on return value. Add return type parameter to
24578 use in macro so that this macro does not truncate return value for
24579 64-bit values.
24580 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24581 pass to INTERNAL_VSYSCALL_NCS.
24582 (INLINE_VSYSCALL): Add 'long int' as return type to
24583 INTERNAL_VSYSCALL_NCS macro invocation.
24584 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24585 INTERNAL_VSYSCALL_NCS macro invocation.
24586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24587
d3b9ea61
SP
245882013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24589
0b57daeb
SP
24590 [BZ #14496]
24591 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24592 Fix application of SIMD FP exception mask.
24593
caa99d06
SP
24594 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24595 mp_no from a power of two.
24596 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24597 __mpexp_twomm1. Use __pow_mp.
24598
d3b9ea61
SP
24599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24600 multiplication.
24601
1dbaee3c
DM
246022013-01-17 David S. Miller <davem@davemloft.net>
24603
24604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24605
728d7b43
JM
246062013-01-17 Joseph Myers <joseph@codesourcery.com>
24607
24608 [BZ #15023]
24609 * include/complex.h: Condition contents on [!_COMPLEX_H].
24610 (__kernel_casinhf): New prototype.
24611 (__kernel_casinh): Likewise.
24612 (__kernel_casinhl): Likewise.
24613 * math/Makefile (libm_calls): Add k_casinh.
24614 * math/k_casinh.c: New file.
24615 * math/k_casinhf.c: Likewise.
24616 * math/k_casinhl.c: Likewise.
24617 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24618 finite nonzero arguments.
24619 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24620 finite nonzero arguments.
24621 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24622 finite nonzero arguments.
24623 * math/s_casinh.c: Do not include <float.h>.
24624 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24625 * math/s_casinhf.c: Do not include <float.h>.
24626 (__casinhf): Move code for finite nonzero arguments to
24627 k_casinhf.c.
24628 * math/s_casinhl.c: Do not include <float.h>.
24629 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24630 redefine.
24631 (__casinhl): Move code for finite nonzero arguments to
24632 k_casinhl.c.
24633 * math/libm-test.inc (cacos_test): Add more tests.
24634 * sysdeps/i386/fpu/libm-test-ulps: Update.
24635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24636
2a26ef3a
PT
246372013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24638
24639 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24640 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24641 [!HAVE_MREMAP]: Remove [defined linux] case.
24642 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24643
a897655d
SP
246442013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24645
24646 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24647
881ebe89 246482013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24649
24650 * elf/elf.h (R_386_SIZE32): New relocation.
24651 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24652 R_386_SIZE32.
24653 (elf_machine_rela): Likewise.
24654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24655 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24656
59981e9b
JM
246572013-01-17 Joseph Myers <joseph@codesourcery.com>
24658
24659 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24660 (FP_FAST_FMA): Do not define.
24661 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24662 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24663 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24664 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24665 !_SOFT_FLOAT]: Likewise.
24666 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24667 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24668 value.
24669 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24670 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24671 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24672 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24673 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24674 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24675 file.
24676
cfa8054f
AS
246772013-01-16 Andreas Schwab <schwab@suse.de>
24678
24679 [BZ #14327]
24680 * include/stdlib.h (__mktemp): Add declaration.
24681 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24682 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24683
dd930cc5
SP
246842013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24685
881ebe89
SP
24686 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24687 definitions.
24688 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24689 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24690 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24691 definitions here.
24692 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24693 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24694 definitions.
24695 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24696 and ONE.
24697 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24698 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24699 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24700 definitions.
24701 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24702 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24703 definitions.
24704 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24705
dd930cc5
SP
24706 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24707
c19a9f89
DM
247082013-01-15 David S. Miller <davem@davemloft.net>
24709
1aa61767
DM
24710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24711 trunc{,f} to libm-sysdep_routes.
24712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24714 file.
24715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24717 file.
24718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24719 file.
24720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24723 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24724 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24725 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24726 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24727 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24728
c42d5e98
DM
24729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24730 nearbyint{,f} to libm-sysdep_routes.
24731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24733 New file.
24734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24735 file.
24736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24737 New file.
24738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24739 file.
24740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24742 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24743 file.
24744 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24746 file.
24747 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24748 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24749 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24750
c19a9f89
DM
24751 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24752 libc_feholdexcept and libc_fesetenv.
24753
357679d2
MF
247542013-01-15 Mike Frysinger <vapier@gentoo.org>
24755
24756 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24757
65a82e3d
DM
247582013-01-14 David S. Miller <davem@davemloft.net>
24759
8b954ab9
DM
24760 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24761 (SPARC_ASM_VIS2_IFUNC): Likewise.
24762 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24764 use of 'siam' instruction.
24765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24766 Likewise.
24767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24768 Likewise.
24769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24770 Likewise.
24771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24776 file.
24777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24778 file.
24779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24780 file.
24781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24782 file.
24783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24788 new VIS2 routines.
24789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24792 Likewise.
24793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24798 routines to libm-sysdep_routines.
24799 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24800
65a82e3d
DM
24801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24802 fdim/fdimf to libm-sysdep_routines.
24803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24804 file.
24805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24807 file.
24808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24811 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24812 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24813 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24814 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24815
e34ab705
SP
248162013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24817
2a91b573
SP
24818 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24819 to optimize copies.
24820
1066a534
SP
24821 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24824
e34ab705
SP
24825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24826 local variable MPTWO.
24827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24828 Likewise.
24829
aba5e596
MF
248302013-01-13 Mike Frysinger <vapier@gentoo.org>
24831
24832 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24833 GLOB_NOESCAPE.
24834
e557e9e5
MF
248352013-01-13 Mike Frysinger <vapier@gentoo.org>
24836
24837 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24838
0428cec9
MF
248392013-01-13 Mike Frysinger <vapier@gentoo.org>
24840
24841 * manual/pattern.texi (glob_t): Document gl_flags.
24842 (glob64_t): Likewise.
24843
8794a964
DM
248442013-01-11 David S. Miller <davem@davemloft.net>
24845
66438c3f
RM
24846 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24847 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24848 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24849 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24850 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24851 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24852 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24853 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24854 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24855 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24856 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24857 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24858 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24859
4ae4244d
DM
24860 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24861 sparc V9 rather than using V8 code.
24862 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24863 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24864
8794a964
DM
24865 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24866 Move to...
24867 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24868 Here.
24869
6270516e
RM
248702013-01-11 Roland McGrath <roland@hack.frob.com>
24871
24872 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24873 not in the main loop.
24874 * configure: Regenerated.
24875
6a57d931
JM
248762013-01-11 Joseph Myers <joseph@codesourcery.com>
24877
24878 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24879 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24880 to just #else.
24881 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24882 [!__GLIBC_HAVE_LONG_LONG] case.
24883 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24884 condition to just #else.
24885 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24886 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24887 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24888 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24889 unconditional.
24890 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24891 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24892 #elif condition to just #else.
24893 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24894 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24895 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24896 #elif condition to just #else.
24897
0e8529e9
SE
248982013-01-11 Steve Ellcey <sellcey@mips.com>
24899
24900 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24901 (EF_MIPS_ARCH_64): Fix value.
24902 (EF_MIPS_ARCH_32R2): New.
24903 (EF_MIPS_ARCH_64R2): New.
24904
740b3dbe
L
249052013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24906
24907 * Makeconfig (+link-pie-before-libc): New.
24908 (+link-pie-after-libc): Likewise.
24909 (+link-pie-tests): Likewise.
24910 (+link-pie): Rewritten.
24911 (link-before-libc): Remove $(config-LDFLAGS).
24912 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24913 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24914 (config-LDFLAGS): Renamed to ...
24915 (rtld-LDFLAGS): This.
24916 (rtld-tests-LDFLAGS): New macro.
24917 (link-libc-rpath-link): Likewise.
24918 (link-libc-tests-rpath-link): Likewise.
24919 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24920 (link-libc): Prepand $(link-libc-rpath-link).
24921 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24922 (test-program-prefix): New macro.
24923 (test-via-rtld-prefix): Likewise.
24924 (test-program-cmd): Likewise.
24925 (host-test-program-cmd): Likewise.
24926 * Makefile ($(common-objpfx)testrun.sh): Replace
24927 $(run-program-prefix) with $(test-program-prefix).
24928 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24929 $(rtld-LDFLAGS).
24930 ($(common-objpfx)shlib.lds): Likewise.
24931 (build-module-helper): Likewise.
24932 ($(common-objpfx)format.lds): Likewise.
24933 * Rules (binaries-pie-tests): New.
24934 (binaries-pie-notests): Likewise.
24935 (binaries-pie): Rewritten.
24936 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24937 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24938 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24939 (make-test-out): Replace $(host-built-program-cmd) with
24940 $(host-test-program-cmd).
24941 * config.make.in (build-hardcoded-path-in-tests): New variable.
24942 * configure.in (--enable-hardcoded-path-in-tests): New configure
24943 option.
24944 (hardcoded_path_in_tests): New AC_SUBST.
24945 * configure: Regenerated.
24946 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24947 $(built-program-cmd) with $(test-program-cmd).
24948 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24949 (test_program_cmd): This.
24950 * elf/Makefile ($(objpfx)order.out): Run test with
24951 $(test-program-prefix).
24952 ($(objpfx)order2.out): Likewise.
24953 ($(objpfx)tst-initorder.out): Likewise.
24954 ($(objpfx)tst-initorder2.out): Likewise.
24955 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24956 $(test-program-cmd).
24957 ($(objpfx)tst-array1-static.out): Likewise.
24958 ($(objpfx)tst-array2.out): Likewise.
24959 ($(objpfx)tst-array3.out): Likewise.
24960 ($(objpfx)tst-array4.out): Likewise.
24961 ($(objpfx)tst-array5.out): Likewise.
24962 ($(objpfx)tst-array5-static.out): Likewise.
24963 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24964 $(test-program-cmd).
24965 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24966 $(run-program-prefix) with $(test-program-prefix).
24967 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24968 (test_program_prefix): This.
24969 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24970 $(run-program-prefix) with $(test-program-prefix).
24971 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24972 (test_program_prefix): This.
24973 * iconvdata/tst-tables.sh: Likewise.
24974 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24975 $(run-program-prefix) with $(test-program-prefix).
24976 ($(objpfx)tst-translit.out): Likewise.
24977 ($(objpfx)tst-gettext2.out): Likewise.
24978 ($(objpfx)tst-gettext4.out): Likewise.
24979 ($(objpfx)tst-gettext6.out): Likewise.
24980 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24981 (test_program_prefix): This.
24982 * intl/tst-gettext2.sh: Likewise.
24983 * intl/tst-gettext4.sh Likewise.
24984 * intl/tst-gettext6.sh: Likewise.
24985 * intl/tst-translit.sh: Likewise.
24986 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24987 with $(test-program-cmd).
24988 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24989 $(run-program-prefix) with $(test-program-prefix).
24990 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24991 (test_program_prefix): This.
24992 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24993 $(run-program-prefix) with $(test-program-prefix).
24994 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24995 (test_program_prefix): This.
24996 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24997 * posix/Makefile ($(objpfx)globtest.out): Replace
24998 $(run-via-rtld-prefix) and $(test-wrapper) with
24999 $(test-program-prefix) and $(test-via-rtld-prefix).
25000 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25001 $(test-program-prefix).
25002 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25003 $(host-test-program-cmd).
25004 (tst-spawn-ARGS): Likewise.
25005 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25006 $(test-program-prefix).
25007 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25008 (test_via_rtld_prefix): This.
25009 (test_wrapper): Renamed to ...
25010 (test_program_prefix): This.
25011 (run_program_prefix): Replaced by test_program_prefix.
25012 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25013 (test_program_prefix): This.
25014 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25015 with $(host-test-program-cmd).
25016 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25017 $(run-program-prefix) with $(test-program-prefix).
25018 ($(objpfx)tst-printf.out): Likewise.
25019 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25020 $(test-program-cmd).
25021 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25022 (test_program_prefix): This.
25023 * stdio-common/tst-unbputc.sh: Likewise.
25024 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25025 $(run-program-prefix) with $(test-program-prefix).
25026 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25027 (test_program_prefix): This.
25028 * string/Makefile ($(objpfx)tst-svc.out): Replace
25029 $(built-program-cmd) with $(test-program-cmd).
25030
c6fe55cf
AJ
250312013-01-11 Andreas Jaeger <aj@suse.de>
25032
25033 [BZ #15003]
25034 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25035 value. Sync with Linux 3.7.
25036
9e6919c8
DM
250372013-01-10 David S. Miller <davem@davemloft.net>
25038
25039 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25040 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25041 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25042
1c9f1a02
RM
250432013-01-10 Roland McGrath <roland@hack.frob.com>
25044
25045 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25046 never set.
25047 * configure: Regenerated.
25048
b9de2dde
DM
250492013-01-10 David S. Miller <davem@davemloft.net>
25050
25051 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25052 sparc V9 rather than using V8 code.
25053 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25054 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25055
e7f68ef4
RM
250562013-01-10 Roland McGrath <roland@hack.frob.com>
25057
25058 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25059 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25060 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25061 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25062 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25063 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25064 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25065 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25066 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25067 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25068 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25069 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25070 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25071 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25072 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25073 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25074 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25075 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25076 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25077 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25078 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25079 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25080 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25081 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25082 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25083 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25084 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25085
5a47cc9c
DM
250862013-01-10 David S. Miller <davem@davemloft.net>
25087
25088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25089
4cf8f209
L
250902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25091
25092 * posix/Makefile (tests-static): New variable.
25093 (tests): Add $(tests-static).
25094 (tst-exec-static-ARGS): New variable.
25095 (tst-spawn-static-ARGS): Likewise.
25096 * posix/tst-exec-static.c: New file.
25097 * posix/tst-spawn-static.c: Likewise.
25098 * posix/tst-exec.c: Support run directly.
25099 * posix/tst-spawn.c: Likewise.
25100
fed0faa1
JM
251012013-01-10 Joseph Myers <joseph@codesourcery.com>
25102
828beb13
JM
25103 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25104 long.
25105 * math/bits/mathcalls.h (llrint): Likewise.
25106 (llround): Likewise.
25107 * stdlib/stdlib.h (struct drand48_data): Likewise.
25108 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25109 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25110 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25111 Likewise.
25112 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25113 Likewise.
25114 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25115 (elf_greg_t): Likewise.
25116 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25117 (__jmp_buf): Likewise.
25118 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25119 definitions.
25120 (llrint): Likewise, for all definitions.
25121 (llrintl): Likewise.
25122
fed0faa1
JM
25123 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25124 Remove [__GNUC__] condition.
25125 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25126 condition to just [__USE_ISOC99].
25127 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25128
1a20cb20
L
251292013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25130
25131 [BZ #14200]
25132 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25133 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25134 defined.
25135 (_POSIX_V6_ILP32_OFF32): Likewise.
25136 (_XBS5_ILP32_OFF32): Likewise.
25137 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25138 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25139
751b85f7
SP
251402013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25141
7490eb81
SP
25142 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25143
751b85f7
SP
25144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25145 doubles __mpexp_twomm1. Adjust usage.
25146 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25147 Remove.
25148
988197f0
AS
251492013-01-10 Andreas Schwab <schwab@suse.de>
25150
25151 [BZ #14964]
25152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25153 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25154
e83d7298
DM
251552013-01-09 David S. Miller <davem@davemloft.net>
25156
034ed64b 25157 [BZ #15003]
57f41c40
AS
25158 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25159 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25160 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25161 (TCP_FASTOPEN): Define.
e83d7298
DM
25162 (tcp_repair_opt): New structure.
25163 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25164 enum values.
57f41c40
AS
25165 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25166 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25167 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25168 (tcp_cookie_transactions): New structure.
25169
d5e0b9bd
AB
251702013-01-09 Anton Blanchard <anton@samba.org>
25171
25172 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25173 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25174 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25175 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25176
0c07e3ea
JM
251772013-01-09 Joseph Myers <joseph@codesourcery.com>
25178
25179 * include/features.h (__USE_ANSI): Remove.
25180
232f7002
RM
251812013-01-09 Roland McGrath <roland@hack.frob.com>
25182
ad98e30c
RM
25183 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25184
232f7002
RM
25185 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25186
950c99ca
SP
251872013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25188
b5792741
SP
25189 * sysdeps/s390/fpu/libm-test-ulps: Update.
25190
47cf2278
SP
25191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25192
950c99ca
SP
25193 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25194 (__acr): Likewise.
25195 (__cpy): Likewise.
25196 (norm): Likewise.
25197 (denorm): Likewise.
25198 (__mp_dbl): Likewise.
25199 (__dbl_mp): Likewise.
25200 (add_magnitudes): Likewise.
25201 (sub_magnitudes): Likewise.
25202 (__add): Likewise.
25203 (__sub): Likewise.
25204 (__mul): Likewise.
25205 (__inv): Likewise.
25206 (__dvd): Likewise.
25207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25208 (__acr): Likewise.
25209 (__cpy): Likewise.
25210 (norm): Likewise.
25211 (denorm): Likewise.
25212 (__mp_dbl): Likewise.
25213 (__dbl_mp): Likewise.
25214 (add_magnitudes): Likewise.
25215 (sub_magnitudes): Likewise.
25216 (__add): Likewise.
25217 (__sub): Likewise.
25218 (__mul): Likewise.
25219 (__inv): Likewise.
25220 (__dvd): Likewise.
25221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25222 (__acr): Likewise.
25223 (__cpy): Likewise.
25224 (norm): Likewise.
25225 (denorm): Likewise.
25226 (__mp_dbl): Likewise.
25227 (__dbl_mp): Likewise.
25228 (add_magnitudes): Likewise.
25229 (sub_magnitudes): Likewise.
25230 (__add): Likewise.
25231 (__sub): Likewise.
25232 (__mul): Likewise.
25233 (__inv): Likewise.
25234 (__dvd): Likewise.
25235
eede9df9
JM
252362013-01-08 Joseph Myers <joseph@codesourcery.com>
25237
25238 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25239 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25240 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25241 2 && __USE_EXTERN_INLINES]: Likewise.
25242
c40ea3d9
AJ
252432013-01-08 Andreas Jaeger <aj@suse.de>
25244
25245 [BZ# 14985]
25246 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25247 Remove.
25248 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25249 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25250
2ccdea26
AB
252512013-01-07 Anton Blanchard <anton@samba.org>
25252
25253 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25254 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25255 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25256 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25257 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25258 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25259 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25260 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25262 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25263 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25264 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25265 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25266 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25267 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25268 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25269 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25270 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25271 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25272 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25273 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25274 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25276 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25277 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25278 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25279 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25280 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25282 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25283 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25285 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25286 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25288 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25289 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25290 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25291 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25292 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25293 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25294 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25295 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25296
a9708fed
JM
252972013-01-07 Joseph Myers <joseph@codesourcery.com>
25298
375607b9
JM
25299 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25300 (__MALLOC_PMT): Likewise.
25301 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25302 [__GNUC__], only on [_LIBC].
25303 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25304 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25305 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25306 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25307 forward declaration.
25308 (realloc_hook_ini): Likewise.
25309 (memalign_hook_ini): Likewise.
25310 (__libc_memalign): Do not use __MALLOC_PMT in variable
25311 declaration.
25312 (__libc_valloc): Likewise.
25313 (__libc_pvalloc): Likewise.
25314 (__libc_calloc): Likewise.
25315 (__posix_memalign): Likewise.
25316
a9708fed
JM
25317 [BZ #14996]
25318 * math/s_casinh.c: Include <float.h>.
25319 (__casinh): Do not do computation with squaring and square root
25320 for large arguments.
25321 * math/s_casinhf.c: Include <float.h>.
25322 (__casinhf): Do not do computation with squaring and square root
25323 for large arguments.
25324 * math/s_casinhl.c: Include <float.h>.
25325 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25326 (__casinhl): Do not do computation with squaring and square root
25327 for large arguments.
25328 * math/libm-test.inc (casin_test): Add more tests.
25329 (casinh_test): Likewise.
25330 * sysdeps/i386/fpu/libm-test-ulps: Update.
25331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25332
afec409a
L
253332013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25334
25335 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25336 (__x86_64_raw_data_cache_size): Likewise.
25337 (__x86_64_data_cache_size_half): Likewise.
25338 (__x86_64_raw_data_cache_size_half): Likewise.
25339 (__x86_64_shared_cache_size): Likewise.
25340 (__x86_64_raw_shared_cache_size): Likewise.
25341 (__x86_64_shared_cache_size_half): Likewise.
25342 (__x86_64_raw_shared_cache_size_half): Likewise.
25343 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25344 to ...
25345 (__x86_data_cache_size): This.
25346 (__x86_64_raw_data_cache_size): Renamed to ...
25347 (__x86_raw_data_cache_size): This.
25348 (__x86_64_data_cache_size_half): Renamed to ...
25349 (__x86_data_cache_size_half): This.
25350 (__x86_64_raw_data_cache_size_half): Renamed to ...
25351 (__x86_raw_data_cache_size_half): This.
25352 (__x86_64_shared_cache_size): Renamed to ...
25353 (__x86_shared_cache_size): This.
25354 (__x86_64_raw_shared_cache_size): Renamed to ...
25355 (__x86_raw_shared_cache_size): This.
25356 (__x86_64_shared_cache_size_half): Renamed to ...
25357 (__x86_shared_cache_size_half): This.
25358 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25359 (__x86_raw_shared_cache_size_half): This.
25360 * sysdeps/x86_64/memcpy.S: Updated.
25361 * sysdeps/x86_64/memset.S: Likewise.
25362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25363 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25364 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25365
0b3986d0
DM
253662013-01-04 David S. Miller <davem@davemloft.net>
25367
25368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25369
e47686e9
AS
253702013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25371
d643bac1
AS
25372 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25373 1 to avoid redefinition warning.
25374 (__USE_GNU): Don't define.
25375 (init_signaling_nan): Protoize.
25376
e47686e9
AS
25377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25378
b18decba
SP
253792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25380
fffb407f
SP
25381 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25383 (__cpymn): Likewise.
25384 (norm): Remove commented code.
25385 (denorm): Likewise.
25386 (__mp_dbl): Likewise.
25387 (__inv): Likewise.
25388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25389 (__cpymn): Likewise.
25390 (norm): Remove commented code.
25391 (denorm): Likewise.
25392 (__mp_dbl): Likewise.
25393 (__inv): Likewise.
25394
b18decba
SP
25395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25396 mp_no value for 1.0 and 2.0.
25397 (norm): Use RADIXI instead of radixi.d.
25398 (denorm): Likewise.
25399 (__mul): Use 0.0 instead of zero.d.
25400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25401 mp_no value for 1.0 and 2.0.
25402 (norm): Use RADIXI instead of radixi.d.
25403 (denorm): Likewise.
25404 (__mul): Use 0.0 instead of zero.d.
25405
cdc1c96f
JM
254062013-01-04 Joseph Myers <joseph@codesourcery.com>
25407
25408 [BZ #14994]
25409 * math/s_casinh.c (__casinh): Reduce finite argument to first
25410 quadrant then set signs of results at the end.
25411 * math/s_casinhf.c (__casinhf): Likewise.
25412 * math/s_casinhl.c (__casinhl): Likewise.
25413 * math/libm-test.inc (casin_test): Add more tests.
25414 (casinh_test): Likewise.
25415 * sysdeps/i386/fpu/libm-test-ulps: Update.
25416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25417
302913e1
SP
254182013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25419
6420d207
SP
25420 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25421
a9e48ab4
SP
25422 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25423
b7837264
SP
25424 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25425 declarations.
25426 (denorm): Likewise.
25427 (__mp_dbl): Likewise.
25428 (__inv): Likewise.
25429
f8af25d2
SP
25430 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25431 and adjust the header comment.
25432
302913e1
SP
25433 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25434 variable name from declaration.
25435
5d7dd1ca
L
254362013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25437
25438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25439 Initialize COMMON_CPUID_INDEX_7 element.
25440 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25441 (CPUID_RTM): Likewise.
25442 (HAS_RTM): Likewise.
25443 (COMMON_CPUID_INDEX_7): New enum.
25444
2f5f40f4
AS
254452013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25446
25447 [BZ #14981]
25448 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25449 size is zero, record memory as freed.
25450
4056f4a0
AJ
254512013-01-03 Andreas Jaeger <aj@suse.de>
25452
25453 * po/ia.po: Add new Interlingua translation.
25454
ab15736f 254552012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
25456
25457 * locale/programs/localedef.c: Fix description of '--posix' flag.
25458
568035b7
JM
254592013-01-02 Joseph Myers <joseph@codesourcery.com>
25460
e6898b8d
JM
25461 * NEWS: Update dates in second copyright notice.
25462 * README: Update copyright dates in example.
25463 * manual/libc.texinfo: Update copyright dates.
25464 * scripts/test-installation.pl: Update copyright date in --version
25465 output.
25466
0e2f9562
JM
25467 * hurd/ctty-input.c: Fix copyright notice formatting.
25468 * hurd/ctty-output.c: Likewise.
25469 * hurd/dtable.c: Likewise.
25470 * hurd/hurd-raise.c: Likewise.
25471 * hurd/hurdprio.c: Likewise.
25472 * hurd/msgportdemux.c: Likewise.
25473 * misc/sys/file.h: Likewise.
25474 * misc/sys/ioctl.h: Likewise.
25475 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25476 * sysdeps/mach/hurd/chdir.c: Likewise.
25477 * sysdeps/mach/hurd/fchdir.c: Likewise.
25478 * sysdeps/mach/hurd/rename.c: Likewise.
25479 * sysdeps/mach/hurd/rmdir.c: Likewise.
25480 * sysdeps/mach/hurd/seekdir.c: Likewise.
25481 * sysdeps/mach/hurd/setsid.c: Likewise.
25482 * sysdeps/posix/wait3.c: Likewise.
25483
568035b7
JM
25484 * All files with FSF copyright notices: Update copyright dates
25485 using scripts/update-copyrights.
25486 * intl/plural.c: Regenerated.
25487 * locale/programs/charmap-kw.h: Likewise.
25488 * locale/programs/locfile-kw.h: Likewise.
25489
da08f647
SP
254902013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25491
0f5477af
SP
25492 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25493 four values.
25494
44e0d4c2
SP
25495 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25496 calculation loop and add branch prediction.
25497
4d55b4e5
SP
25498 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25499 check access beyond bounds of m1np.
25500
da08f647
SP
25501 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25502 MPTWO.
25503 (__inv): Remove local variable MPTWO to use the global
25504 constant.
25505 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25507 variable MPTWO.
25508 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25509 MP3HALFS static const.
25510
8e051029
DM
255112013-01-01 David S. Miller <davem@davemloft.net>
25512
25513 * po/ca.po: Update from translation team.
25514
f4cf5f2d
JM
255152013-01-01 Joseph Myers <joseph@codesourcery.com>
25516
25517 * scripts/update-copyrights: New file.
25518 * Makeconfig: Reformat copyright notice.
25519 * ctype/ctype.h: Likewise.
25520 * debug/swprintf_chk.c: Likewise.
25521 * elf/dl-cache.c: Likewise.
25522 * elf/dl-debug.c: Likewise.
25523 * elf/dl-object.c: Likewise.
25524 * grp/initgroups.c: Likewise.
25525 * hurd/Makefile: Likewise.
25526 * hurd/hurd/signal.h: Likewise.
25527 * hurd/hurdfault.c: Likewise.
25528 * hurd/hurdioctl.c: Likewise.
25529 * hurd/hurdlookup.c: Likewise.
25530 * hurd/intr-msg.c: Likewise.
25531 * iconv/gconv_open.c: Likewise.
25532 * libio/swprintf.c: Likewise.
25533 * locale/lc-ctype.c: Likewise.
25534 * locale/nl_langinfo.c: Likewise.
25535 * mach/Machrules: Likewise.
25536 * mach/Makefile: Likewise.
25537 * malloc/obstack.h: Likewise.
25538 * manual/Makefile: Likewise.
25539 * manual/tsort.awk: Likewise.
25540 * misc/bits/stab.def: Likewise.
25541 * nis/nis_print_group_entry.c: Likewise.
25542 * nis/nis_table.c: Likewise.
25543 * nis/nss_compat/compat-pwd.c: Likewise.
25544 * nis/nss_compat/compat-spwd.c: Likewise.
25545 * po/Makefile: Likewise.
25546 * posix/fnmatch.c: Likewise.
25547 * posix/regex.h: Likewise.
25548 * resolv/Makefile: Likewise.
25549 * resolv/nss_dns/dns-network.c: Likewise.
25550 * resolv/res_hconf.c: Likewise.
25551 * scripts/gen-sorted.awk: Likewise.
25552 * soft-fp/soft-fp.h: Likewise.
25553 * stdio-common/printf.h: Likewise.
25554 * stdlib/monetary.h: Likewise.
25555 * stdlib/random.c: Likewise.
25556 * stdlib/random_r.c: Likewise.
25557 * sysdeps/generic/Makefile: Likewise.
25558 * sysdeps/gnu/Makefile: Likewise.
25559 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25561 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25563 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25566 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25567 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25569 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25570 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25571 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25572 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25573 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25574 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25575 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25576 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25577 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25579 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25580 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25581 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25582 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25583 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25587 * sysdeps/mach/hurd/errnos.awk: Likewise.
25588 * sysdeps/mach/hurd/fork.c: Likewise.
25589 * sysdeps/mach/hurd/getcwd.c: Likewise.
25590 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25591 * sysdeps/mach/hurd/mmap.c: Likewise.
25592 * sysdeps/mach/hurd/utimes.c: Likewise.
25593 * sysdeps/mach/hurd/xmknod.c: Likewise.
25594 * sysdeps/posix/profil.c: Likewise.
25595 * sysdeps/posix/readdir_r.c: Likewise.
25596 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25597 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25598 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25599 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25601 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25602 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25603 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25605 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25606 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25607 * sysdeps/pthread/lio_listio.c: Likewise.
25608 * sysdeps/sparc/dl-procinfo.h: Likewise.
25609 * sysdeps/unix/i386/sysdep.S: Likewise.
25610 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25611 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25612 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25613 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25615 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25616 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25617 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25618 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25619 * sysdeps/wordsize-32/divdi3.c: Likewise.
25620 * time/sys/time.h: Likewise.
25621 * wcsmbs/Makefile: Likewise.
25622
0549fbba
DM
256232013-01-01 David S. Miller <davem@davemloft.net>
25624
a141f1a7
DM
25625 * po/fr.po: Update from translation team.
25626
0549fbba
DM
25627 * catgets/gencat.c: Update copyright year.
25628 * csu/version.c: Likewise.
25629 * debug/catchsegv.sh: Likewise.
25630 * debug/pcprofiledump.c: Likewise.
25631 * debug/xtrace.sh: Likewise.
25632 * elf/ldconfig.c: Likewise.
25633 * elf/ldd.bash.in: Likewise.
25634 * elf/pldd.c: Likewise.
25635 * elf/sotruss.ksh: Likewise.
25636 * elf/sprof.c: Likewise.
25637 * iconv/iconv_prog.c: Likewise.
25638 * iconv/iconvconfig.c: Likewise.
25639 * locale/programs/locale.c: Likewise.
25640 * locale/programs/localedef.c: Likewise.
25641 * login/programs/pt_chown.c: Likewise.
25642 * malloc/memusage.sh: Likewise.
25643 * malloc/memusagestat.c: Likewise.
25644 * malloc/mtrace.pl: Likewise.
25645 * nscd/nscd.c: Likewise.
25646 * nss/getent.c: Likewise.
25647 * nss/makedb.c: Likewise.
25648 * posix/getconf.c: Likewise.
25649
18ea052c
SP
256502012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25651
25652 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25653 numbers.
25654
9c89fca6
MF
256552012-12-30 Mike Frysinger <vapier@gentoo.org>
25656
25657 * math/bits/mathcalls.h (modf): Use __nonnull.
25658
085ec079
SP
256592012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25660
25661 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25662 (split): Use macro CN instead of the bare value.
25663 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25664 could be used.
25665 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25666 instead of the bare value.
25667 (power1): Likewise.
25668
6d9f97e1
SP
256692012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25670
d63f73be
SP
25671 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25672 __ATAN_TWOM.
25673 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25674
6d9f97e1
SP
25675 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25676 their values.
25677 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25678 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25679 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25680 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25681
4c4febf5
AJ
256822012-12-28 Andreas Jaeger <aj@suse.de>
25683
af5843ef
AJ
25684 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25685 values are from Linux 3.7.
25686
4c4febf5
AJ
25687 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25688 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25689
99136f82
SP
256902012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25691
2f216c3c 25692 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25693 TRUE case.
25694
99136f82
SP
25695 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25696 (norm): Likewise.
25697 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25698 variables with preprocessor constants.
25699 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25700 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25701 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25702
7fffbdff
BH
257032012-12-27 Bruno Haible <bruno@clisp.org>
25704
25705 [BZ #14317]
25706 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25707 only if needed.
25708
b76eb5f0
SP
257092012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25710
31a7fe5c
SP
25711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25712 and use variable directly.
25713 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25714
b76eb5f0
SP
25715 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25716 MPONE.
25717 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25718 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25719 variable MPONE.
25720 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25722 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25723 include directive. Remove local variable MPONE.
25724 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25725 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25726 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25727
2c8bfe7d
DM
257282012-12-25 David S. Miller <davem@davemloft.net>
25729
25730 * version.h (RELEASE): Set to "development".
25731 (VERSION): Set to "2.17.90".
25732 * NEWS: Add 2.18 section.
25733
147d03b0
DM
257342012-12-21 David S. Miller <davem@davemloft.net>
25735
25736 * po/hr.po: Update from translation team.
25737
a8ebb2b9
AK
257382012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25739
25740 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25741
95b4f1b6
SE
257422012-12-19 Steve Ellcey <sellcey@mips.com>
25743
b2d94007 25744 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25745
cedb2a90
MS
257462012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25747
25748 * manual/contrib.texi (Contributors): Spelling correction.
25749
bbf527d6
DM
257502012-12-15 David S. Miller <davem@davemloft.net>
25751
25752 * po/ru.po: Update from translation team.
25753
bc38c906
DM
257542012-12-13 David S. Miller <davem@davemloft.net>
25755
85429b1a
DM
25756 * NEWS: Mention IFUNC testsuite enhancements.
25757
d283e353
DM
25758 * po/pl.po: Update from translation team.
25759 * po/bg.po: Likewise.
25760
bc38c906
DM
25761 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25762 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25763
a181b0d7
DM
257642012-12-11 David S. Miller <davem@davemloft.net>
25765
4641d57e
DM
25766 * po/sv.po: Update from translation team.
25767
f7bc6495
DM
25768 * po/vi.po: Update from translation team.
25769
6fc9048f
DM
25770 * po/cs.po: Update from translation team.
25771
a181b0d7
DM
25772 * po/de.po: Update from translation team.
25773 * po/eo.po: Likewise.
25774 * po/nl.po: Likewise.
25775
f70bfe80
SP
257762012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25777
3c8b4190
SP
25778 [BZ #14246]
25779 * manual/argp.texi (Argp Helper Functions): Move node to follow
25780 Argp Parsing State.
25781
f70bfe80
SP
25782 [BZ #14872]
25783 * manual/conf.texi (Limits on File System Capacity): Mention if
25784 terminating null is included in the max size.
25785
188f0adf
AJ
257862012-12-10 Andreas Jaeger <aj@suse.de>
25787
25788 * po/cs.po: Update from translation team.
25789
56e7d3ad
SP
257902012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25791
25792 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25793 void pointer and cast to uintptr_t.
25794 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25795 path.
25796 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25797 * sysdeps/s390/s390-64/memset.S: Likewise.
25798
76f2d2ea 257992012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25800
25801 [BZ #14833]
25802 * menual/message.texi (Message Translation): Fix typos.
25803 (Helper programs for gettext): Likewise.
25804
67cbf9a2
AS
258052012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25806
25807 [BZ #14898]
25808 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25809 Change to -1.
25810
682d0e9a
DM
258112012-12-07 David S. Miller <davem@davemloft.net>
25812
25813 * po/libc.pot: Update.
25814
573cd484
RH
258152012-12-07 Richard Henderson <rth@redhat.com>
25816
7e9da188 25817 [BZ #10114]
573cd484
RH
25818 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25819 normal/normal case to before the switch.
25820 (_FP_DIV): Likewise.
25821
e933a943
MF
258222012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25823 Mike Frysinger <vapier@gentoo.org>
25824
25825 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25826 check for __NR_fadvise64_64.
25827
82123268
CM
258282012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25829
25830 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25831 0, not just to plain "0" as a statement.
25832 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25833 with cw.
25834
d9814526
JM
258352012-12-06 Joseph Myers <joseph@codesourcery.com>
25836
25837 * NEWS: Use sourceware.org in Bugzilla URL.
25838
7728c574
SP
258392012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25840
f16946dd
SP
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25842 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25843
5704bbcb
SP
25844 * stdio-common/tst-put-error.c (do_test): Add newline to the
25845 padded test to ensure flush.
25846
17aa0516
JL
258472012-12-05 Jeff Law <law@redhat.com>
25848
25849 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25850
363313b5
JM
258512012-12-05 Joseph Myers <joseph@codesourcery.com>
25852
effbd42a
JM
25853 * README: Don't refer to ports add-on as distributed separately.
25854 Mention AArch64 in list of systems supported in the ports add-on.
25855
87600365
JM
25856 * LICENSES: Add more non-FSF copyright and license notices.
25857
a0d7066a
JM
25858 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25859 ((unused)).
25860
66ca5a5b
JM
25861 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25862
363313b5
JM
25863 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25864 10000 as width of padded output.
25865
b37984ad
JM
258662012-12-04 Joseph Myers <joseph@codesourcery.com>
25867
9003570a
JM
25868 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25869
b37984ad
JM
25870 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25871 variable LX with __attribute__ ((unused)).
25872 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25873 Likewise.
25874 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25875 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25876 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25877 with __attribute__ ((unused)).
25878
c8df52ec
DM
258792012-12-04 David S. Miller <davem@abraco.davemloft.net>
25880
25881 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25882
b3b099af
JM
258832012-12-04 Joseph Myers <joseph@codesourcery.com>
25884
c33aa6e3
JM
25885 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25886 (CFLAGS-nldbl-acos.c): New variable.
25887 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25888 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25889 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25890 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25891 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25892 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25893 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25894 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25895 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25896 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25897 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25898 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25899 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25900 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25901 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25902 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25903 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25904 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25905 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25906 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25907 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25908 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25909 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25910 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25911 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25912 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25913 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25914 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25915 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25916 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25917 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25918 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25919 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25920 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25921 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25922 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25923 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25924 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25925 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25926 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25927 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25928 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25929 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25930 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25931 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25932 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25933 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25934 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25935 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25936 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25937 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25938 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25939 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25940 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25941 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25942 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25943 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25944 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25945 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25946 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25947 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25948 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25949 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25950 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25951 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25952 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25953 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25954 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25955 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25956 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25957 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25958 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25959 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25960 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25961 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25962 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25963 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25964 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25965 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25966 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25967 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25968 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25969 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25970 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25971 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25972 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25973 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25974 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25975 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25976 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25977 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25978 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25979 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25980 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25981 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25982 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25983 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25984
20f0018d
JM
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25986 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25987
b3b099af
JM
25988 [BZ #14914]
25989 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25990 whole low double instead of just low 47 bits when splitting values
25991 into two parts.
25992
029264d1
AM
259932012-12-03 Allan McRae <allan@archlinux.org>
25994
25995 * manual/stdio.texi (Predefined Printf Handlers): Remove
25996 @hsep and @vsep usage.
25997
c9d6789e
MF
259982012-12-03 Mike Frysinger <vapier@gentoo.org>
25999
26000 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26001 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26002
4b7634a5
JL
260032012-12-03 Jeff Law <law@redhat.com>
26004
26005 * time/sys/time.h (settimeofday): Do not mark TV argument
26006 as __nonnull.
26007
eb6cbd24
MF
260082012-12-01 Mike Frysinger <vapier@gentoo.org>
26009
26010 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26011 when currently writing and seek to current position when not.
26012 * libio/Makefile (tests): Remove bug-fclose1.
26013 * libio/bug-fclose1.c: Delete.
26014
f638872a
JM
260152012-12-01 Joseph Myers <joseph@codesourcery.com>
26016
26017 * manual/arith.texi (feenableexcept): Fix typo.
26018 (fedisableexcept): Likewise.
26019
48085d14
RM
260202012-11-30 Roland McGrath <roland@hack.frob.com>
26021
26022 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26023 second, differently-typed declaration, rather than a cast.
26024
1a538b9f
SP
260252012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26026
26027 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26028 * include/rpc/svc.h: ... here.
26029
d07f2ff1 260302012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26031
26032 [BZ #13013]
26033 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26034 depending n and resplen2 to catch cases where answer
26035 equals answerp2.
26036
c93ec1f0
CD
260372012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26038
26039 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26040 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26041
37db69de
MF
260422012-11-29 Mike Frysinger <vapier@gentoo.org>
26043
26044 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26045
e10c4e4f
RM
260462012-11-29 Roland McGrath <roland@hack.frob.com>
26047
26048 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26049
2af1b328
JL
260502012-11-28 Jeff Law <law@redhat.com>
26051
26052 [BZ #13761]
26053 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26054 dataset_temporary. Track alloca usage into alloca_used.
26055 If dataset is large allocate and release it via malloc/free.
26056
111db5b1
FW
260572012-06-04 Florian Weimer <fweimer@redhat.com>
26058
f06cc227 26059 [BZ #14197]
111db5b1
FW
26060 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26061
dd694abd
DM
260622012-11-28 David S. Miller <davem@davemloft.net>
26063
26064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26065
9984dd01
JM
260662012-11-28 Joseph Myers <joseph@codesourcery.com>
26067
26068 [BZ #14803]
26069 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26070 of pi/2 rounded to nearest to 64 bits.
26071 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26072 nearest to 64 bits.
26073 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26074 bits.
26075
14bc93a9
JL
260762012-11-28 Jeff Law <law@redhat.com>
26077 Martin Osvald <mosvald@redhat.com>
26078
26079 [BZ #14889]
26080 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26081 * sunrpc/svc.c: Include time.h.
26082 (__svc_accept_failed): New function.
26083 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26084 any reason other than EINTR, call __svc_accept_failed.
26085 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26086 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26087
e3c6aa3a
AS
260882012-11-28 Andreas Schwab <schwab@suse.de>
26089
26090 * scripts/abilist.awk: Also handle indirect functions in .opd
26091 section.
26092
1bead169
JM
260932012-11-28 Joseph Myers <joseph@codesourcery.com>
26094
26095 [BZ #13881]
26096 * sysdeps/x86/fpu/powl_helper.c: New file.
26097 * sysdeps/x86/fpu/Makefile: Likewise.
26098 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26099 (p3): New object.
26100 (__ieee754_powl): Use __powl_helper for finite arguments except
26101 integer exponents below 8.
26102 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26103 (p3): New object.
26104 (__ieee754_powl): Use __powl_helper for finite arguments except
26105 integer exponents below 8.
26106 * math/libm-test.inc (pow_test): Add more tests and enable some
26107 previously disabled tests.
26108 * sysdeps/i386/fpu/libm-test-ulps: Update.
26109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26110
0817d63d
SP
261112012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26112 Carlos O'Donell <carlos_odonell@mentor.com>
26113
26114 * nss/makedb.c (is_prime): Assert that input is odd and greater
26115 than 4. Note that fact in a comment too.
26116 (next_prime): Add 4 to input.
26117
de2fd463
SP
261182012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26119
26120 [BZ #11741]
26121 * libio/Makefile (tests): Add test case tst-fwrite-error.
26122 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26123 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26124 * libio/tst-fwrite-error.c: New test case.
26125
c515fb51
L
261262012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26127
26128 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26129 before casting to void *.
26130 * include/libc-internal.h (__pointer_type): New macro.
26131 (__integer_if_pointer_type_sub): Likewise.
26132 (__integer_if_pointer_type): Likewise.
26133 (cast_to_integer): Likewise.
26134 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26135 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26136 before casting to atomic64_t.
26137 (atomic_exchange_acq): Likewise.
26138 (__arch_exchange_and_add_body): Likewise.
26139 (__arch_add_body): Likewise.
26140 (atomic_add_negative): Likewise.
26141 (atomic_add_zero): Likewise.
26142
4cf77aa9
JM
261432012-11-26 Joseph Myers <joseph@codesourcery.com>
26144
26145 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26146 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26147 (add_fdes): Likewise.
26148 (linear_search_fdes): Likewise.
26149 (binary_search_unencoded_fdes): Likewise.
26150
d260b3b4
AS
261512012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26152
26153 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26154
67060746
AC
261552012-11-24 Adam Conrad <adconrad@0c3.net>
26156
26157 * configure.in: Autodetect C++ header directories.
26158 * configure: Regenerated.
26159
800938a1
MF
261602012-11-23 Mike Frysinger <vapier@gentoo.org>
26161
26162 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26163
4e6e34e6
AS
261642012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26165
26166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26167
7c7feb47
JM
261682012-11-22 Joseph Myers <joseph@codesourcery.com>
26169
7184dcdf
JM
26170 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26171 LDBL_MANT_DIG == 106]: Disable some tests.
26172 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26173 Likewise.
26174 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26175 Likewise.
26176
0a42601f
JM
26177 [BZ #14871]
26178 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26179 input for small inputs. Return +/- pi/2 for large inputs.
26180 * math/libm-test.inc (atan_test): Add more tests.
26181
79c9b9fe
JM
26182 * sysdeps/generic/unwind-dw2-fde-glibc.c
26183 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26184 __attribute__ ((unused)).
26185
c60d3bf2
JM
26186 [BZ #14645]
26187 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26188 x * y if x and y are nonzero and z is zero.
26189
ef1e0867
JM
26190 [BZ #14811]
26191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26192 nonzero exponents with absolute value below 0x1p-117 to +/-
26193 0x1p-117.
26194
1468ded3
JM
26195 [BZ #14869]
26196 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26197 up arguments below 2**-450, not just those below 2**-500.
26198 * math/libm-test.inc (hypot_test): Add another test.
26199
8e27e3cc
JM
26200 [BZ #14868]
26201 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26202 Return a+b for ratio over 2**120, not 2**60.
26203 * math/libm-test.inc (hypot_test): Add another test.
26204
c9c0279b
JM
26205 * math/libm-test.inc (clog_test): Use
26206 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26207 (clog10_test): Likewise.
26208
7c7feb47
JM
26209 [BZ #6778]
26210 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26211
fff1530e
AS
262122012-11-22 Andreas Schwab <schwab@suse.de>
26213
26214 * sysdeps/i386/fpu/libm-test-ulps: Update.
26215
94558d30
PT
262162012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26217
26218 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26219 printf output with newline.
26220
7e1be741
L
262212012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26222
6bfea974
L
26223 [BZ #14865]
26224 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26225 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26226 -z nodlopen, -z initfirst and -z execstack support.
26227 * configure: Regenerated.
26228
7e1be741
L
26229 * elf/elf.h (DF_1_NODIRECT): New macro.
26230 (DF_1_IGNMULDEF): Likewise.
26231 (DF_1_NOKSYMS): Likewise.
26232 (DF_1_NOHDR): Likewise.
26233 (DF_1_EDITED): Likewise.
26234 (DF_1_NORELOC): Likewise.
26235 (DF_1_SYMINTPOSE): Likewise.
26236 (DF_1_GLOBAUDIT): Likewise.
26237 (DF_1_SINGLETON): Likewise.
26238 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26239 DT_1_SUPPORTED_MASK bits.
26240 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26241
105ce2ce
CD
262422012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26243
26244 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26245
123be9de
TS
262462012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26247
d072f3f7
TS
26248 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26249 macro.
26250
123be9de
TS
26251 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26252 (sendmmsg): Move declarations...
26253 * socket/sys/socket.h: ... here.
26254 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26255 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26256 include it from...
26257 * socket/recvmmsg.c: ... this new file.
26258 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26259 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26260 definition of __sendmmsg hidden.
26261 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26262 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26263 Move ENOSYS stub into and include it from...
26264 * socket/sendmmsg.c: ... this new file.
26265 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26266 (sysdep_routines): Move recvmmsg and sendmmsg...
26267 * socket/Makefile (routines): ... here.
26268 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26269 (GLIBC_PRIVATE): Add __sendmmsg.
26270 * include/sys/socket.h (__sendmmsg): Add declarations.
26271 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26272 sendmmsg.
26273
cf9a5d18
JM
262742012-11-20 Joseph Myers <joseph@codesourcery.com>
26275
26276 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26277 variable I1 with __attribute__ ((unused)).
26278 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26279
ecd4caf9
JM
262802012-11-19 Joseph Myers <joseph@codesourcery.com>
26281
be14d48f
JM
26282 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26283 DUMMY variables with __attribute__ ((unused)).
26284
ecd4caf9
JM
26285 * bits/byteswap.h: Include <bits/types.h>.
26286 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26287
986cab95
PT
262882012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26289
26290 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26291 string_t. Do not manually set errno.
26292 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26293 length with __strnlen. Make sure to both set errno and return it on
26294 failure.
26295
6d33cc9d
DM
262962012-11-19 David S. Miller <davem@davemloft.net>
26297
26298 With help from Joseph Myers.
26299 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26300 very large arguments properly.
26301 * math/libm-test.inc (atan_test): New tests.
26302 (atan2_test): New tests.
26303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26305
ee663277
JM
263062012-11-19 Joseph Myers <joseph@codesourcery.com>
26307
877f2d8e
JM
26308 [BZ #14856]
26309 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26310 Define to 3.
26311
116fc08a
JM
26312 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26313 [POSIX] (EADDRNOTAVAIL): Likewise.
26314 [POSIX] (EAFNOSUPPORT): Likewise.
26315 [POSIX] (EALREADY): Likewise.
26316 [POSIX] (ECONNABORTED): Likewise.
26317 [POSIX] (ECONNREFUSED): Likewise.
26318 [POSIX] (ECONNRESET): Likewise.
26319 [POSIX] (EDESTADDRREQ): Likewise.
26320 [POSIX] (EDQUOT): Likewise.
26321 [POSIX] (EHOSTUNREACH): Likewise.
26322 [POSIX] (EIDRM): Likewise.
26323 [POSIX] (EISCONN): Likewise.
26324 [POSIX] (ELOOP): Likewise.
26325 [POSIX] (EMULTIHOP): Likewise.
26326 [POSIX] (ENETDOWN): Likewise.
26327 [POSIX] (ENETUNREACH): Likewise.
26328 [POSIX] (ENOBUFS): Likewise.
26329 [POSIX] (ENODATA): Likewise.
26330 [POSIX] (ENOLINK): Likewise.
26331 [POSIX] (ENOMSG): Likewise.
26332 [POSIX] (ENOPROTOOPT): Likewise.
26333 [POSIX] (ENOSR): Likewise.
26334 [POSIX] (ENOSTR): Likewise.
26335 [POSIX] (ENOTCONN): Likewise.
26336 [POSIX] (ENOTSOCK): Likewise.
26337 [POSIX] (EOPNOTSUPP): Likewise.
26338 [POSIX] (EOVERFLOW): Likewise.
26339 [POSIX] (EPROTO): Likewise.
26340 [POSIX] (EPROTONOSUPPORT): Likewise.
26341 [POSIX] (EPROTOTYPE): Likewise.
26342 [POSIX] (ESTALE): Likewise.
26343 [POSIX] (ETIME): Likewise.
26344 [POSIX] (ETXTBSY): Likewise.
26345 [POSIX] (EWOULDBLOCK): Likewise.
26346 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26347 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26348 [POSIX] (SEEK_CUR): Likewise.
26349 [POSIX] (SEEK_END): Likewise.
26350 [POSIX || UNIX98] (mode_t): Do not require.
26351 [POSIX] (off_t): Likewise.
26352 [POSIX] (pid_t): Likewise.
26353 [POSIX] (sys/stat.h): Do not allow header.
26354 [POSIX] (unistd.h): Likewise.
26355 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26356 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26357 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26358 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26359 require.
26360 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26361 sigevent): Specify elements.
26362 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26363 entry.
26364 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26365 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26366
a483863f
JM
26367 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26368 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26369 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26370 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26371 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26372 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26373 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26374 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26375 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26376 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26377 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26378 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26379 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26380 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26381 Likewise.
26382 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26383 Likewise.
26384 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26385 Likewise.
26386 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26387 Likewise.
26388 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26389 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26390 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26391 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26392 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26393 Specify lower bound on value.
26394 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26395 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26396 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26397 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26398 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26399 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26400 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26401 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26402 value.
26403 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26404 as optional.
26405 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26406 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26407 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26408 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26409 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26410 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26411 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26412 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26413 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26414 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26415 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26416 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26417 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26418 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26419 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26420 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26421 entry.
26422 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26423 optional.
26424 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26425 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26426 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26427 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26428 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26429 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26430 Likewise.
26431 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26432 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26433 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26434 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26435 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26436 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26437 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26438 as optional.
26439 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26440 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26441 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26442 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26443 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26444 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26445 specify as optional.
26446 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26447 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26448 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26449 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26450 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26451 [XPG3] (NL_LANGMAX): Likewise.
26452 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26453 [POSIX || XPG3] (NL_NMAX): Likewise.
26454 [POSIX || XPG3] (NL_SETMAX): Likewise.
26455 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26456 [XPG3] (NZERO): Likewise.
26457 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26458 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26459 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26460 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26461 (REG_ERANGE): Expect.
26462 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26463 optional-constant.
26464 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26465 Use (void) in prototype.
26466 [POSIX] (*_t): Allow.
26467 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26468 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26469 (WRDE_BADVAL): Expect.
26470
5ba924e3
JM
26471 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26472 expect.
26473 [XPG3 || XPG4] (O_RSYNC): Likewise.
26474 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26475 Likewise.
26476 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26477 [XPG3 || XPG4] (sigqueue): Likewise.
26478 [XPG3 || XPG4] (sigtimedwait): Likewise.
26479 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26480 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26481 [XPG3 || XPG4] (vsnprintf): Likewise.
26482 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26483 Likewise.
26484 [XPG3 || XPG4] (blksize_t): Likewise.
26485 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26486 Likewise.
26487 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26488 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26489 [XPG3 || XPG4] (struct itimerspec): Likewise.
26490 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26491 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26492 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26493 [XPG3 || XPG4] (clockid_t): Likewise.
26494 [XPG3 || XPG4] (timer_t): Likewise.
26495 [XPG3 || XPG4] (clock_getres): Likewise.
26496 [XPG3 || XPG4] (clock_gettime): Likewise.
26497 [XPG3 || XPG4] (clock_settime): Likewise.
26498 [XPG3 || XPG4] (nanosleep): Likewise.
26499 [XPG3 || XPG4] (timer_create): Likewise.
26500 [XPG3 || XPG4] (timer_delete): Likewise.
26501 [XPG3 || XPG4] (timer_gettime): Likewise.
26502 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26503 [XPG3 || XPG4] (timer_settime): Likewise.
26504 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26505 [XPG3 || XPG4] (getlogin_r): Likewise.
26506 [XPG3 || XPG4] (pread): Likewise.
26507 [XPG3 || XPG4] (pthread_atfork): Likewise.
26508 [XPG3 || XPG4] (pwrite): Likewise.
26509
ee663277
JM
26510 [BZ #14835]
26511 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26512 <bits/siginfo.h>.
26513
942caa16
PT
265142012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26515
e19af380
PT
26516 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26517 finalizing MALLSTREAM.
26518
942caa16
PT
26519 * sysdeps/mach/hurd/syncfs.c: New file.
26520
cfde9b46
SP
265212012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26522
26523 [BZ #14719]
26524 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26525 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26526 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26527 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26528 (_nss_dns_gethostbyname4_r): Likewise.
26529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26530 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26531
f6da27e5
PH
265322012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26533
26534 [BZ #13763]
26535 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26536
6665d4a2
SM
265372012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26538
1f51ee92
SM
26539 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26540 * elf/cache.c (print_entry): Print ",AArch64" for
26541 FLAG_AARCH64_LIB64
26542
6665d4a2
SM
26543 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26544 * elf/cache.c (print_entry): Print ",hard-float" for
26545 FLAG_ARM_LIBHF.
26546
05b227bd
DM
265472012-11-18 David S. Miller <davem@davemloft.net>
26548
26549 With help from Joseph Myers.
26550 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26551 cutoff to 2**-13.
26552 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26553 cutoff to 2**-25.
26554 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26555 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26556 small.
26557 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26558 * math/libm-test.inc (y0_test): New tests.
26559 (y1_test): New tests.
26560 * sysdeps/i386/fpu/libm-test-ulps: Update.
26561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26563
786b0b67
AS
265642012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26565
26566 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26567 64-bit targets.
26568 * configure: Regenerated.
26569
8e18b86d
DM
265702012-11-17 David S. Miller <davem@davemloft.net>
26571
26572 [BZ #14811]
26573 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26574 nonzero exponents with absolute value below 0x1p-128 to +/-
26575 0x1p-128.
26576
531f1ae0
JM
265772012-11-17 Joseph Myers <joseph@codesourcery.com>
26578
12df29e2
JM
26579 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26580
150dc1a0
JM
26581 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26582
531f1ae0
JM
26583 * posix/getconf-speclist.c: New file.
26584 * posix/posix-envs.def: Likewise.
26585 * posix/confstr.c (START_ENV_GROUP): New macro.
26586 (END_ENV_GROUP): Likewise.
26587 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26588 (KNOWN_PRESENT_ENV_STRING): Likewise.
26589 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26590 (UNKNOWN_ENVIRONMENT): Likewise.
26591 (confstr): Include posix-envs.def instead of handling
26592 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26593 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26594 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26595 (END_ENV_GROUP): Likewise.
26596 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26597 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26598 (UNKNOWN_ENVIRONMENT): Likewise.
26599 (__sysconf): Include posix-envs.def instead of handling associated
26600 cases directly here.
26601 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26602 preprocessing getconf-speclist.c rather than running getconf or
26603 generating empty file.
26604
a93f9cbc
PT
266052012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26606
26607 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26608
d64d9f87
AL
266092012-11-16 Andrej Lajovic <natrij@gmail.com>
26610
26611 [BZ #14672]
26612 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26613
447885eb
DM
266142012-11-16 David S. Miller <davem@davemloft.net>
26615
26616 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26617 smaller than LDBL_EPSILON/2.0L, just return xm1.
26618
bcbf9830
L
266192012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26620
26621 * elf/tst-array1.c (init): Set constructor priority to 1000.
26622 (fini): Set destructor priority to 1000.
26623 * elf/tst-array2dep.c: Likewise.
26624
2b766585
SP
266252012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26626
26627 [BZ #11741]
26628 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26629 (_IO_new_file_xsputn): Also return EOF if none of the input
26630 data was written when overflow failed.
26631 * libio/iopadn.c (_IO_padn): Likewise.
26632 * libio/iowpadn.c (_IO_wpadn): Likewise.
26633 * stdio-common/tst-put-error.c: Add copyright notice.
26634 (do_test): Add case for printing padded string.
26635 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26636 _IO_padn returned error.
26637 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26638 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26639 return EOF.
26640
b1848fde
SP
266412012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26642
26643 * libio/libioP.h: Add comment note that the references to C++
26644 bits are now obsolete.
26645
2fd89785
MS
266462012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26647
26648 * math/libm-test.inc (check_complex): Use asprintf.
26649
e3ea5409
JM
266502012-11-14 Joseph Myers <joseph@codesourcery.com>
26651
26652 * debug/pcprofiledump.c (print_version): Update copyright year.
26653 * malloc/memusagestat.c (print_version): Likewise.
26654
2e64d265
L
266552012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26656
26657 [BZ #14831]
26658 * elf/Makefile (tests): Add tst-audit8.
26659 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26660 ($(objpfx)tst-audit8.out): New target.
26661 (tst-audit8-ENV): New variable.
26662 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26663 audit if l_reloc_result is NULL.
26664 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26665 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26666 * elf/tst-audit8.c: New file.
26667
c485e4d2
MS
266682012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26669
26670 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26671 * misc/Makefile (CFLAGS-select.c): Define.
26672 * posix/Makefile (CFLAGS-pause.c): Define.
26673
3a0d900a
DM
266742012-11-13 David S. Miller <davem@davemloft.net>
26675
26676 * crypt/Makefile: Move test targets after toplevel Rules
26677 inclusion. Grab any necessary sysdep routines when linking.
26678 * crypt/md5.c (md5_process_block): Remove define, we will always
26679 name it __md5_process_block.
26680 (md5_finish_ctx): Update md5_process_block call.
26681 (md5_stream): Likewise.
26682 (md5_process_bytes): Likewise.
26683 (md5_process_block): Rename to __md5_process_block and move to ...
26684 * crypt/md5-block.c: ... here.
26685 * crypt/sha256.c (sha256_process_block): Move to ...
26686 * crypt/sha256-block.c: ... here.
26687 * crypt/sha512.c (sha512_process_block): Move to ...
26688 * crypt/sha512-block.c: ... here.
26689 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26690 path.
26691 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26692 * sysdeps/sparc/sparc64/multiarch/Makefile
26693 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26694 crypt subdir.
26695 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26696 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26697 multiarch changes.
26698 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26699 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26700 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26701 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26702 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26703 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26704 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26705 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26706 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26707 file.
26708 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26709 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26710 file.
26711 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26712
8ca89318
JM
267132012-11-13 Joseph Myers <joseph@codesourcery.com>
26714
e27d476a
JM
26715 * timezone/tzselect.ksh: Update from tzcode git revision
26716 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26717 * timezone/zdump.c: Likewise.
26718 * timezone/zic.c: Likewise.
26719 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26720 in TZVERSION setting, not $(PKGVERSION).
26721 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26722 REPORT_BUGS_TO settings.
26723
8ca89318
JM
26724 [BZ #14838]
26725 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26726 macro.
26727
47594329
MS
267282012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26729
26730 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26731 detection to immediately after _FP_ROUND().
26732 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26733 bits are 0.
26734
640ac3f1
DM
267352012-11-11 David S. Miller <davem@davemloft.net>
26736
26737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26738 inttypes.h
26739 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26740 __close rather than their public counterparts.
26741
3d2577bb
JM
267422012-11-10 Joseph Myers <joseph@codesourcery.com>
26743
26744 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26745 file.
26746 [UNIX98] (sem_timedwait): Do not expect.
26747 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26748 [XPG4 || UNIX98] (sockatmark): Do not expect.
26749 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26750 (clock_getcpuclockid): Do not expect.
26751 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26752 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26753 Do not expect.
26754 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26755 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26756 [UNIX98] (vwscanf): Likewise.
26757 [UNIX98] (vswscanf): Likewise.
26758
fb1ae1ee
JM
267592012-11-09 Joseph Myers <joseph@codesourcery.com>
26760
9ec6f8bd
JM
26761 * timezone/version.h: Remove file.
26762 * timezone/README: Do not refer to version.h.
26763 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26764 $(objpfx)version.h.
26765 ($(objpfx)zdump.o): Likewise.
c3f81911 26766 ($(objpfx)version.h): New target.
9ec6f8bd 26767
0aa8f8a1
JM
26768 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26769 2012i.
26770 * timezone/README: Don't mention modification to tzselect.ksh.
26771 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26772 work on unmodified tzselect.ksh. Substitute version numbers in
26773 tzselect.ksh.
26774
4e87147f
JM
26775 * Makefile (format-me): Remove.
26776 (INSTALL): Adjust indentation. Use commands directly instead of
26777 using $(format-me).
26778
8b748aed
JM
26779 * aclocal.m4 (ACX_PKGVERSION): New macro.
26780 (ACX_BUGURL): Likewise.
26781 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26782 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26783 (REPORT_BUGS_TO): Likewise.
26784 * configure: Regenerated.
26785 * config.h.in (PKGVERSION): New macro.
26786 (REPORT_BUGS_TO): Likewise.
26787 * config.make.in (PKGVERSION): New variable.
26788 (PKGVERSION_TEXI): Likewise.
26789 (REPORT_BUGS_TO): Likewise.
26790 (REPORT_BUGS_TEXI): Likewise.
26791 * Makefile (format-me): Use -I$(common-objpfx)manual.
26792 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26793 ($(common-objpfx)manual/%): New target.
26794 (manual/%): Remove target.
26795 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26796 (print_version): Use PKGVERSION.
26797 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26798 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26799 and REPORT_BUGS_TO.
26800 ($(objpfx)xtrace): Likewise.
26801 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26802 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26803 (print_version): Use PKGVERSION.
26804 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26805 (do_version): Use PKGVERSION.
26806 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26807 REPORT_BUGS_TO.
26808 (common-ldd-rewrite): Likewise.
26809 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26810 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26811 (print_version): Use PKGVERSION.
26812 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26813 * elf/pldd.c (argp_program_bug_address): Remove variable.
26814 (more_help): New function.
26815 (argp): Use more_help.
26816 (print_version): Use PKGVERSION.
26817 * elf/sln.c (main): Use PKGVERSION.
26818 (usage): Use REPORT_BUGS_TO.
26819 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26820 (top level): Use PKGVERSION.
26821 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26822 (print_version): Use PKGVERSION.
26823 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26824 (print_version): Use PKGVERSION.
26825 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26826 (print_version): Use PKGVERSION.
26827 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26828 (print_version): Use PKGVERSION.
26829 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26830 (print_version): Use PKGVERSION.
26831 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26832 (print_version): Use PKGVERSION.
26833 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26834 and BUGURL.
26835 ($(objpfx)memusage): Likewise.
26836 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26837 (do_version): Use PKGVERSION.
26838 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26839 (print_version): Use PKGVERSION.
26840 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26841 ($PKGVERSION): New variable.
26842 ($REPORT_BUGS_TO): Likewise.
26843 (usage): Use $REPORT_BUGS_TO.
26844 (top level): Use $PKGVERSION.
26845 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26846 ($(objpfx)pkgvers.texi): New rule.
26847 ($(objpfx)stamp-pkgvers): Likewise.
26848 * manual/install.texi: Include pkgvers.texi.
26849 (--with-pkgversion): Document new configure option.
26850 (--with-bugurl): Likewise.
26851 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26852 than necessarily for this particular distribution. Use
26853 REPORT_BUGS_TO for where to report bugs.
26854 * INSTALL: Regenerated.
26855 * manual/libc.texinfo: Include pkgvers.texi.
26856 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26857 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26858 (print_version): Use PKGVERSION.
26859 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26860 (print_version): Use PKGVERSION.
26861 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26862 (print_version): Use PKGVERSION.
26863 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26864 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26865 macro.
26866 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26867 (print_version): Use PKGVERSION.
26868 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26869 (print_version): Use PKGVERSION.
26870 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26871 and PKGVERSION.
26872
92e4b6a9
JM
26873 * timezone/checktab.awk: Update from tzcode 2012i.
26874 * timezone/ialloc.c: Likewise.
26875 * timezone/private.h: Likewise.
26876 * timezone/scheck.c: Likewise.
26877 * timezone/tzfile.h: Likewise.
26878 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26879 (TZVERSION): Hardcode tzcode version number.
26880 * timezone/zdump.c: Update from tzcode 2012i.
26881 * timezone/zic.c: Likewise.
26882 * timezone/version.h: New file.
26883 * timezone/README: Describe version.h. Update upstream location.
26884
9bde902c
JM
26885 [BZ #14824]
26886 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26887 (mktemp): Enable declaration.
26888 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26890 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26892 Likewise.
26893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26894 Likewise.
26895 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26896 Likewise.
26897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26898 Likewise.
26899 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26900 Likewise.
26901 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26902 Likewise.
26903
fb1ae1ee
JM
26904 [BZ #14821]
26905 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26906 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26907 for copies of such integer values.
26908 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26909 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26910
2c1adbcb
AJ
269112012-11-09 Andreas Jaeger <aj@suse.de>
26912
26913 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26914 definitions and declarations that are provided by
26915 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26916
d0f8457e
AK
269172012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26918
3a235abb 26919 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26920 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26921 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26922 definition.
26923
57241e26
MS
269242012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26925
26926 * elf/elf.h: Update comment before AArch64 relocations.
26927
60e8270d
DM
269282012-11-07 David S. Miller <davem@davemloft.net>
26929
26930 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26931 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26932 (__start_context): Declare.
26933 (__makecontext_ret): Delete.
26934 (__makecontext): Hook up __start_context instead of
26935 __makecontext_ret.
26936 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26937 (sysdep_routines): Add __start_context when in stdlib.
26938
0fbb0fbc
JM
269392012-11-07 Joseph Myers <joseph@codesourcery.com>
26940
26941 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26942 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26943 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26944 hardcoded "nm".
26945 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26946 (READELF): New variable. Use it instead of hardcoded "readelf".
26947
eb48db7e
L
269482012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26949
26950 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26951 * sysdeps/x86/Makefile: Here.
26952 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26953 * sysdeps/x86/tst-xmmymm.sh: This.
26954
05bcf62a
JM
269552012-11-07 Joseph Myers <joseph@codesourcery.com>
26956
c4b6cf53
JM
26957 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26958 expectations.
26959 [UNIX98] (pthread_barrier_t): Do not expect.
26960 [UNIX98] (pthread_barrierattr_t): Likewise.
26961 [UNIX98] (pthread_spinlock_t): Likewise.
26962 [UNIX98] (pthread_barrier_destroy): Likewise.
26963 [UNIX98] (pthread_barrier_init): Likewise.
26964 [UNIX98] (pthread_barrier_wait): Likewise.
26965 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26966 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26967 [UNIX98] (pthread_barrierattr_init): Likewise.
26968 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26969 [UNIX98] (pthread_getcpuclockid): Likewise.
26970 [UNIX98] (pthread_mutex_timedlock): Likewise.
26971 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26972 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26973 [UNIX98] (pthread_sigmask): Likewise.
26974 [UNIX98] (pthread_spin_destroy): Likewise.
26975 [UNIX98] (pthread_spin_init): Likewise.
26976 [UNIX98] (pthread_spin_lock): Likewise.
26977 [UNIX98] (pthread_spin_trylock): Likewise.
26978 [UNIX98] (pthread_spin_unlock): Likewise.
26979 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26980 Do not expect.
26981 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26982 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26983 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26984 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26985 [XPG3 || XPG4] (pthread_key_t): Likewise.
26986 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26987 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26988 [XPG3 || XPG4] (pthread_once_t): Likewise.
26989 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26990 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26991 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26992 [XPG3 || XPG4] (pthread_t): Likewise.
26993
cbe6e120
JM
26994 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26995 not expect.
26996 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26997
1b126443
JM
26998 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26999 Change function return type to int.
27000
b961a573
JM
27001 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27002 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27003 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27004 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27005 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27006 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27007 [!POSIX] (posix_madvise): Likewise.
27008 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27009 && !UNIX98].
27010 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27011 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27012 (mode_t): Likewise.
27013 (posix_mem_offset): Likewise.
27014 (posix_typed_mem_get_info): Likewise.
27015 (posix_typed_mem_open): Likewise.
27016
9e188909
JM
27017 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27018 Change condition to [XOPEN2K8].
27019
05bcf62a
JM
27020 * conform/conformtest.pl: Preprocess allow-header data with -x c
27021 instead of from stdin.
27022 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27023 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27024 [C99-based standards] (cerfc): Likewise.
27025 [C99-based standards] (cexp2): Likewise.
27026 [C99-based standards] (cexpm1): Likewise.
27027 [C99-based standards] (clog10): Likewise.
27028 [C99-based standards] (clog1p): Likewise.
27029 [C99-based standards] (clog2): Likewise.
27030 [C99-based standards] (clgamma): Likewise.
27031 [C99-based standards] (ctgamma): Likewise.
27032 [C99-based standards] (cerff): Likewise.
27033 [C99-based standards] (cerfcf): Likewise.
27034 [C99-based standards] (cexp2f): Likewise.
27035 [C99-based standards] (cexpm1f): Likewise.
27036 [C99-based standards] (clog10f): Likewise.
27037 [C99-based standards] (clog1pf): Likewise.
27038 [C99-based standards] (clog2f): Likewise.
27039 [C99-based standards] (clgammaf): Likewise.
27040 [C99-based standards] (ctgammaf): Likewise.
27041 [C99-based standards] (cerfl): Likewise.
27042 [C99-based standards] (cerfcl): Likewise.
27043 [C99-based standards] (cexp2l): Likewise.
27044 [C99-based standards] (cexpm1l): Likewise.
27045 [C99-based standards] (clog10l): Likewise.
27046 [C99-based standards] (clog1pl): Likewise.
27047 [C99-based standards] (clog2l): Likewise.
27048 [C99-based standards] (clgammal): Likewise.
27049 [C99-based standards] (ctgammal): Likewise.
27050 * conform/data/inttypes.h-data [C99-based standards]: Include
27051 stdint.h-data. Remove all expectations for stdint.h contents.
27052 [C99-based standards] (PRI*): Do not allow.
27053 [C99-based standards] (SCN*): Likewise.
27054 [C99-based standards] (*_t): Likewise.
27055 [C99-based-standards] (PRId8): Expect macro.
27056 [C99-based-standards] (PRIi8): Likewise.
27057 [C99-based-standards] (PRIo8): Likewise.
27058 [C99-based-standards] (PRIu8): Likewise.
27059 [C99-based-standards] (PRIx8): Likewise.
27060 [C99-based-standards] (PRIX8): Likewise.
27061 [C99-based-standards] (SCNd8): Likewise.
27062 [C99-based-standards] (SCNi8): Likewise.
27063 [C99-based-standards] (SCNo8): Likewise.
27064 [C99-based-standards] (SCNu8): Likewise.
27065 [C99-based-standards] (SCNx8): Likewise.
27066 [C99-based-standards] (PRIdLEAST8): Likewise.
27067 [C99-based-standards] (PRIiLEAST8): Likewise.
27068 [C99-based-standards] (PRIoLEAST8): Likewise.
27069 [C99-based-standards] (PRIuLEAST8): Likewise.
27070 [C99-based-standards] (PRIxLEAST8): Likewise.
27071 [C99-based-standards] (PRIXLEAST8): Likewise.
27072 [C99-based-standards] (SCNdLEAST8): Likewise.
27073 [C99-based-standards] (SCNiLEAST8): Likewise.
27074 [C99-based-standards] (SCNoLEAST8): Likewise.
27075 [C99-based-standards] (SCNuLEAST8): Likewise.
27076 [C99-based-standards] (SCNxLEAST8): Likewise.
27077 [C99-based-standards] (PRIdFAST8): Likewise.
27078 [C99-based-standards] (PRIiFAST8): Likewise.
27079 [C99-based-standards] (PRIoFAST8): Likewise.
27080 [C99-based-standards] (PRIuFAST8): Likewise.
27081 [C99-based-standards] (PRIxFAST8): Likewise.
27082 [C99-based-standards] (PRIXFAST8): Likewise.
27083 [C99-based-standards] (SCNdFAST8): Likewise.
27084 [C99-based-standards] (SCNiFAST8): Likewise.
27085 [C99-based-standards] (SCNoFAST8): Likewise.
27086 [C99-based-standards] (SCNuFAST8): Likewise.
27087 [C99-based-standards] (SCNxFAST8): Likewise.
27088 [C99-based-standards] (PRId16): Likewise.
27089 [C99-based-standards] (PRIi16): Likewise.
27090 [C99-based-standards] (PRIo16): Likewise.
27091 [C99-based-standards] (PRIu16): Likewise.
27092 [C99-based-standards] (PRIx16): Likewise.
27093 [C99-based-standards] (PRIX16): Likewise.
27094 [C99-based-standards] (SCNd16): Likewise.
27095 [C99-based-standards] (SCNi16): Likewise.
27096 [C99-based-standards] (SCNo16): Likewise.
27097 [C99-based-standards] (SCNu16): Likewise.
27098 [C99-based-standards] (SCNx16): Likewise.
27099 [C99-based-standards] (PRIdLEAST16): Likewise.
27100 [C99-based-standards] (PRIiLEAST16): Likewise.
27101 [C99-based-standards] (PRIoLEAST16): Likewise.
27102 [C99-based-standards] (PRIuLEAST16): Likewise.
27103 [C99-based-standards] (PRIxLEAST16): Likewise.
27104 [C99-based-standards] (PRIXLEAST16): Likewise.
27105 [C99-based-standards] (SCNdLEAST16): Likewise.
27106 [C99-based-standards] (SCNiLEAST16): Likewise.
27107 [C99-based-standards] (SCNoLEAST16): Likewise.
27108 [C99-based-standards] (SCNuLEAST16): Likewise.
27109 [C99-based-standards] (SCNxLEAST16): Likewise.
27110 [C99-based-standards] (PRIdFAST16): Likewise.
27111 [C99-based-standards] (PRIiFAST16): Likewise.
27112 [C99-based-standards] (PRIoFAST16): Likewise.
27113 [C99-based-standards] (PRIuFAST16): Likewise.
27114 [C99-based-standards] (PRIxFAST16): Likewise.
27115 [C99-based-standards] (PRIXFAST16): Likewise.
27116 [C99-based-standards] (SCNdFAST16): Likewise.
27117 [C99-based-standards] (SCNiFAST16): Likewise.
27118 [C99-based-standards] (SCNoFAST16): Likewise.
27119 [C99-based-standards] (SCNuFAST16): Likewise.
27120 [C99-based-standards] (SCNxFAST16): Likewise.
27121 [C99-based-standards] (PRId32): Likewise.
27122 [C99-based-standards] (PRIi32): Likewise.
27123 [C99-based-standards] (PRIo32): Likewise.
27124 [C99-based-standards] (PRIu32): Likewise.
27125 [C99-based-standards] (PRIx32): Likewise.
27126 [C99-based-standards] (PRIX32): Likewise.
27127 [C99-based-standards] (SCNd32): Likewise.
27128 [C99-based-standards] (SCNi32): Likewise.
27129 [C99-based-standards] (SCNo32): Likewise.
27130 [C99-based-standards] (SCNu32): Likewise.
27131 [C99-based-standards] (SCNx32): Likewise.
27132 [C99-based-standards] (PRIdLEAST32): Likewise.
27133 [C99-based-standards] (PRIiLEAST32): Likewise.
27134 [C99-based-standards] (PRIoLEAST32): Likewise.
27135 [C99-based-standards] (PRIuLEAST32): Likewise.
27136 [C99-based-standards] (PRIxLEAST32): Likewise.
27137 [C99-based-standards] (PRIXLEAST32): Likewise.
27138 [C99-based-standards] (SCNdLEAST32): Likewise.
27139 [C99-based-standards] (SCNiLEAST32): Likewise.
27140 [C99-based-standards] (SCNoLEAST32): Likewise.
27141 [C99-based-standards] (SCNuLEAST32): Likewise.
27142 [C99-based-standards] (SCNxLEAST32): Likewise.
27143 [C99-based-standards] (PRIdFAST32): Likewise.
27144 [C99-based-standards] (PRIiFAST32): Likewise.
27145 [C99-based-standards] (PRIoFAST32): Likewise.
27146 [C99-based-standards] (PRIuFAST32): Likewise.
27147 [C99-based-standards] (PRIxFAST32): Likewise.
27148 [C99-based-standards] (PRIXFAST32): Likewise.
27149 [C99-based-standards] (SCNdFAST32): Likewise.
27150 [C99-based-standards] (SCNiFAST32): Likewise.
27151 [C99-based-standards] (SCNoFAST32): Likewise.
27152 [C99-based-standards] (SCNuFAST32): Likewise.
27153 [C99-based-standards] (SCNxFAST32): Likewise.
27154 [C99-based-standards] (PRId64): Likewise.
27155 [C99-based-standards] (PRIi64): Likewise.
27156 [C99-based-standards] (PRIo64): Likewise.
27157 [C99-based-standards] (PRIu64): Likewise.
27158 [C99-based-standards] (PRIx64): Likewise.
27159 [C99-based-standards] (PRIX64): Likewise.
27160 [C99-based-standards] (SCNd64): Likewise.
27161 [C99-based-standards] (SCNi64): Likewise.
27162 [C99-based-standards] (SCNo64): Likewise.
27163 [C99-based-standards] (SCNu64): Likewise.
27164 [C99-based-standards] (SCNx64): Likewise.
27165 [C99-based-standards] (PRIdLEAST64): Likewise.
27166 [C99-based-standards] (PRIiLEAST64): Likewise.
27167 [C99-based-standards] (PRIoLEAST64): Likewise.
27168 [C99-based-standards] (PRIuLEAST64): Likewise.
27169 [C99-based-standards] (PRIxLEAST64): Likewise.
27170 [C99-based-standards] (PRIXLEAST64): Likewise.
27171 [C99-based-standards] (SCNdLEAST64): Likewise.
27172 [C99-based-standards] (SCNiLEAST64): Likewise.
27173 [C99-based-standards] (SCNoLEAST64): Likewise.
27174 [C99-based-standards] (SCNuLEAST64): Likewise.
27175 [C99-based-standards] (SCNxLEAST64): Likewise.
27176 [C99-based-standards] (PRIdFAST64): Likewise.
27177 [C99-based-standards] (PRIiFAST64): Likewise.
27178 [C99-based-standards] (PRIoFAST64): Likewise.
27179 [C99-based-standards] (PRIuFAST64): Likewise.
27180 [C99-based-standards] (PRIxFAST64): Likewise.
27181 [C99-based-standards] (PRIXFAST64): Likewise.
27182 [C99-based-standards] (SCNdFAST64): Likewise.
27183 [C99-based-standards] (SCNiFAST64): Likewise.
27184 [C99-based-standards] (SCNoFAST64): Likewise.
27185 [C99-based-standards] (SCNuFAST64): Likewise.
27186 [C99-based-standards] (SCNxFAST64): Likewise.
27187 [C99-based-standards] (PRIdMAX): Likewise.
27188 [C99-based-standards] (PRIiMAX): Likewise.
27189 [C99-based-standards] (PRIoMAX): Likewise.
27190 [C99-based-standards] (PRIuMAX): Likewise.
27191 [C99-based-standards] (PRIxMAX): Likewise.
27192 [C99-based-standards] (PRIXMAX): Likewise.
27193 [C99-based-standards] (SCNdMAX): Likewise.
27194 [C99-based-standards] (SCNiMAX): Likewise.
27195 [C99-based-standards] (SCNoMAX): Likewise.
27196 [C99-based-standards] (SCNuMAX): Likewise.
27197 [C99-based-standards] (SCNxMAX): Likewise.
27198 [C99-based-standards] (PRIdPTR): Likewise.
27199 [C99-based-standards] (PRIiPTR): Likewise.
27200 [C99-based-standards] (PRIoPTR): Likewise.
27201 [C99-based-standards] (PRIuPTR): Likewise.
27202 [C99-based-standards] (PRIxPTR): Likewise.
27203 [C99-based-standards] (PRIXPTR): Likewise.
27204 [C99-based-standards] (SCNdPTR): Likewise.
27205 [C99-based-standards] (SCNiPTR): Likewise.
27206 [C99-based-standards] (SCNoPTR): Likewise.
27207 [C99-based-standards] (SCNuPTR): Likewise.
27208 [C99-based-standards] (SCNxPTR): Likewise.
27209 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27210 allow.
27211 * conform/data/stdint.h-data: Update comments to clarify
27212 requirements.
27213 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27214 type.
27215 [C99-based standards] (INT8_MAX): Likewise.
27216 [C99-based standards] (INT16_MIN): Likewise.
27217 [C99-based standards] (INT16_MAX): Likewise.
27218 [C99-based standards] (INT32_MIN): Likewise.
27219 [C99-based standards] (INT32_MAX): Likewise.
27220 [C99-based standards] (INT64_MIN): Likewise.
27221 [C99-based standards] (INT64_MAX): Likewise.
27222 [C99-based standards] (UINT8_MAX): Likewise.
27223 [C99-based standards] (UINT16_MAX): Likewise.
27224 [C99-based standards] (UINT32_MAX): Likewise.
27225 [C99-based standards] (UINT64_MAX): Likewise.
27226 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27227 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27228 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27229 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27230 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27231 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27232 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27233 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27234 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27235 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27236 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27237 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27238 [C99-based standards] (INT_FAST8_MIN): Likewise.
27239 [C99-based standards] (INT_FAST8_MAX): Likewise.
27240 [C99-based standards] (INT_FAST16_MIN): Likewise.
27241 [C99-based standards] (INT_FAST16_MAX): Likewise.
27242 [C99-based standards] (INT_FAST32_MIN): Likewise.
27243 [C99-based standards] (INT_FAST32_MAX): Likewise.
27244 [C99-based standards] (INT_FAST64_MIN): Likewise.
27245 [C99-based standards] (INT_FAST64_MAX): Likewise.
27246 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27247 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27248 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27249 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27250 [C99-based standards] (INTPTR_MIN): Likewise.
27251 [C99-based standards] (INTPTR_MAX): Likewise.
27252 [C99-based standards] (UINTPTR_MAX): Likewise.
27253 [C99-based standards] (INTMAX_MIN): Likewise.
27254 [C99-based standards] (INTMAX_MAX): Likewise.
27255 [C99-based standards] (UINTMAX_MAX): Likewise.
27256 [C99-based standards] (PTRDIFF_MIN): Likewise.
27257 [C99-based standards] (PTRDIFF_MAX): Likewise.
27258 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27259 [C99-based standards] (SIZE_MAX): Likewise.
27260 [C99-based standards] (WCHAR_MAX): Likewise.
27261 [C99-based standards] (WINT_MAX): Likewise.
27262 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27263 constraint on value.
27264 [C99-based standards] (WCHAR_MIN): Likewise.
27265 [C99-based standards] (WINT_MIN): Likewise.
27266 [C99-based standards] (*_t): Allow.
27267 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27268 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27269 Include math.h-data and complex.h-data. Remove all expectations
27270 of math.h and complex.h contents.
27271 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27272 at end of line.
27273 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27274 (struct tm): Expect tag.
27275 [C99-based-standards] (wcstof): Expect function.
27276 [C99-based-standards] (wcstold): Likewise.
27277 [C99-based-standards] (wcstoll): Likewise.
27278 [C99-based-standards] (wcstoull): Likewise.
27279 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27280 macro-int-constant. Specify type.
27281 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27282 constraint on value.
27283 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27284 Specify type.
27285 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27286 Specify value.
27287 [ISO C standards]: Do not allow headers.
27288 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27289 wcs[abcdefghijklmnopqrstuvwxyz]*.
27290 [ISO C standards] (*_t): Do not allow.
27291 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27292 Expect function.
27293 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27294 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27295 Specify type.
27296 [ISO C standards]: Do not allow headers.
27297 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27298 is[abcdefghijklmnopqrstuvwxyz]*.
27299 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27300 to[abcdefghijklmnopqrstuvwxyz]*.
27301 [ISO C standards] (*_t): Do not allow.
27302 * conform/data/stdalign.h-data: New file.
27303 * conform/data/stdbool.h-data: Likewise.
27304 * conform/data/stdnoreturn.h-data: Likewise.
27305
7514feb8
RM
273062012-11-07 Roland McGrath <roland@hack.frob.com>
27307
27308 [BZ #14815]
27309 * manual/filesys.texi (Directory Entries): Typo fix.
27310 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27311
19b2ecfc
MS
273122012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27313
27314 * elf/elf.h (EM_AARCH64): New macro.
27315 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27316 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27317 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27318 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27319 (R_AARCH64_TLSDESC): Likewise.
27320 (NT_ARM_TLS): Likewise.
27321 (NT_ARM_HW_BREAK): Likewise.
27322 (NT_ARM_HW_WATCH): Likewise.
27323
60e235ee
JM
273242012-11-07 Joseph Myers <joseph@codesourcery.com>
27325
27326 [BZ #14811]
27327 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27328 (__ieee754_powl): Saturate nonzero exponents with absolute value
27329 below 0x1p-79 to +/- 0x1p-79.
27330 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27331 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27332 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27333 nonzero exponents with absolute value below 0x1p-32 to +/-
27334 0x1p-32.
27335 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27336 (__ieee754_powl): Saturate nonzero exponents with absolute value
27337 below 0x1p-79 to +/- 0x1p-79.
27338 * math/libm-test.inc (pow_test): Add more tests.
27339
0ab234b7
AK
273402012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27341
27342 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27343 _dl_s390_cap_flags with kernel. Increase string length.
27344 (_dl_s390_platforms): Add z196 and zEC12.
27345
45832f74
JM
273462012-11-07 Joseph Myers <joseph@codesourcery.com>
27347
27348 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27349 Change XOPEN21K to XOPEN2K.
27350
19218757
MK
273512012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27352
27353 * string/memmove.c: Use memcpy when possible.
27354
c5f45721
AJ
273552012-11-06 Andreas Jaeger <aj@suse.de>
27356
27357 * po/eo.po: Update from translation team.
27358
82477c28
JM
273592012-11-06 Joseph Myers <joseph@codesourcery.com>
27360
27361 [BZ #14793]
27362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27363 exponent and small x and y exponents, scale x or y up. Increase
27364 by 2 the exponent used in scaling up.
27365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27367 * math/libm-test.inc (fma_test): Add more tests.
27368 (fma_test_towardzero): Likewise.
27369 (fma_test_downward): Likewise.
27370 (fma_test_upward): Likewise.
27371
99252c8c
JM
273722012-11-05 Joseph Myers <joseph@codesourcery.com>
27373
acfa885f
JM
27374 [BZ #14805]
27375 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27376 fenv_t *.
27377
99252c8c
JM
27378 [BZ #14801]
27379 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27380 namespace for names of struct fields.
27381 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27382 fenv_t fields.
27383 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27384 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27385
d6d98dea
ST
273862012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27387
27388 [BZ #3665]
27389 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27390
e10bb107
TS
273912012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27392
27393 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27394 PTR_DEMANGLE.
27395
27396 [BZ #5246]
27397 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27398 PTR_DEMANGLE.
27399
a0c2940d
JM
274002012-11-04 Joseph Myers <joseph@codesourcery.com>
27401
27402 [BZ #14797]
27403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27404 definitely overflow as x * y not x * y + z.
27405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27407 * math/libm-test.inc (fma_test): Add more tests.
27408 (fma_test_towardzero): Likewise.
27409 (fma_test_downward): Likewise.
27410 (fma_test_upward): Likewise.
27411
b830319d
TS
274122012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27413
27414 [BZ #157]
27415
27416 * include/stub-tag.h: Remove file.
27417 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27418 '#include' of it.
27419 * manual/maint.texi (Porting): Don't reference it.
27420 * Makerules ($(objpfx)stubs): Likewise.
27421 * dirent/closedir.c: Don't include <stub-tag.h>.
27422 * dirent/dirfd.c: Likewise.
27423 * dirent/fdopendir.c: Likewise.
27424 * dirent/getdents.c: Likewise.
27425 * dirent/getdents64.c: Likewise.
27426 * dirent/opendir.c: Likewise.
27427 * dirent/readdir.c: Likewise.
27428 * dirent/readdir64.c: Likewise.
27429 * dirent/readdir64_r.c: Likewise.
27430 * dirent/readdir_r.c: Likewise.
27431 * dirent/rewinddir.c: Likewise.
27432 * dirent/seekdir.c: Likewise.
27433 * dirent/telldir.c: Likewise.
27434 * gmon/profil.c: Likewise.
27435 * grp/setgroups.c: Likewise.
27436 * inet/if_index.c: Likewise.
27437 * io/access.c: Likewise.
27438 * io/chdir.c: Likewise.
27439 * io/chmod.c: Likewise.
27440 * io/chown.c: Likewise.
27441 * io/close.c: Likewise.
27442 * io/dup.c: Likewise.
27443 * io/dup2.c: Likewise.
27444 * io/dup3.c: Likewise.
27445 * io/euidaccess.c: Likewise.
27446 * io/faccessat.c: Likewise.
27447 * io/fchdir.c: Likewise.
27448 * io/fchmod.c: Likewise.
27449 * io/fchmodat.c: Likewise.
27450 * io/fchown.c: Likewise.
27451 * io/fchownat.c: Likewise.
27452 * io/fcntl.c: Likewise.
27453 * io/flock.c: Likewise.
27454 * io/fstatfs.c: Likewise.
27455 * io/fstatfs64.c: Likewise.
27456 * io/fstatvfs.c: Likewise.
27457 * io/fstatvfs64.c: Likewise.
27458 * io/futimens.c: Likewise.
27459 * io/fxstat.c: Likewise.
27460 * io/fxstat64.c: Likewise.
27461 * io/fxstatat.c: Likewise.
27462 * io/fxstatat64.c: Likewise.
27463 * io/getcwd.c: Likewise.
27464 * io/isatty.c: Likewise.
27465 * io/lchmod.c: Likewise.
27466 * io/lchown.c: Likewise.
27467 * io/link.c: Likewise.
27468 * io/linkat.c: Likewise.
27469 * io/lseek.c: Likewise.
27470 * io/lseek64.c: Likewise.
27471 * io/lxstat64.c: Likewise.
27472 * io/mkdir.c: Likewise.
27473 * io/mkdirat.c: Likewise.
27474 * io/mkfifo.c: Likewise.
27475 * io/mkfifoat.c: Likewise.
27476 * io/open.c: Likewise.
27477 * io/open64.c: Likewise.
27478 * io/openat.c: Likewise.
27479 * io/openat64.c: Likewise.
27480 * io/pipe.c: Likewise.
27481 * io/pipe2.c: Likewise.
27482 * io/poll.c: Likewise.
27483 * io/posix_fadvise.c: Likewise.
27484 * io/posix_fadvise64.c: Likewise.
27485 * io/posix_fallocate.c: Likewise.
27486 * io/posix_fallocate64.c: Likewise.
27487 * io/read.c: Likewise.
27488 * io/readlink.c: Likewise.
27489 * io/readlinkat.c: Likewise.
27490 * io/rmdir.c: Likewise.
27491 * io/sendfile.c: Likewise.
27492 * io/sendfile64.c: Likewise.
27493 * io/statfs.c: Likewise.
27494 * io/statfs64.c: Likewise.
27495 * io/statvfs.c: Likewise.
27496 * io/statvfs64.c: Likewise.
27497 * io/symlink.c: Likewise.
27498 * io/symlinkat.c: Likewise.
27499 * io/ttyname.c: Likewise.
27500 * io/ttyname_r.c: Likewise.
27501 * io/umask.c: Likewise.
27502 * io/unlink.c: Likewise.
27503 * io/unlinkat.c: Likewise.
27504 * io/utime.c: Likewise.
27505 * io/utimensat.c: Likewise.
27506 * io/write.c: Likewise.
27507 * io/xmknod.c: Likewise.
27508 * io/xmknodat.c: Likewise.
27509 * io/xstat.c: Likewise.
27510 * io/xstat64.c: Likewise.
27511 * login/getpt.c: Likewise.
27512 * login/grantpt.c: Likewise.
27513 * login/unlockpt.c: Likewise.
27514 * math/e_acoshl.c: Likewise.
27515 * math/e_acosl.c: Likewise.
27516 * math/e_asinl.c: Likewise.
27517 * math/e_atan2l.c: Likewise.
27518 * math/e_atanhl.c: Likewise.
27519 * math/e_coshl.c: Likewise.
27520 * math/e_expl.c: Likewise.
27521 * math/e_fmodl.c: Likewise.
27522 * math/e_gammal_r.c: Likewise.
27523 * math/e_hypotl.c: Likewise.
27524 * math/e_j0l.c: Likewise.
27525 * math/e_j1l.c: Likewise.
27526 * math/e_jnl.c: Likewise.
27527 * math/e_lgammal_r.c: Likewise.
27528 * math/e_log10l.c: Likewise.
27529 * math/e_log2l.c: Likewise.
27530 * math/e_logl.c: Likewise.
27531 * math/e_powl.c: Likewise.
27532 * math/e_rem_pio2l.c: Likewise.
27533 * math/e_sinhl.c: Likewise.
27534 * math/e_sqrtl.c: Likewise.
27535 * math/fclrexcpt.c: Likewise.
27536 * math/fedisblxcpt.c: Likewise.
27537 * math/feenablxcpt.c: Likewise.
27538 * math/fegetenv.c: Likewise.
27539 * math/fegetexcept.c: Likewise.
27540 * math/fegetround.c: Likewise.
27541 * math/feholdexcpt.c: Likewise.
27542 * math/fesetenv.c: Likewise.
27543 * math/fesetround.c: Likewise.
27544 * math/feupdateenv.c: Likewise.
27545 * math/fgetexcptflg.c: Likewise.
27546 * math/fraiseexcpt.c: Likewise.
27547 * math/fsetexcptflg.c: Likewise.
27548 * math/ftestexcept.c: Likewise.
27549 * math/k_cosl.c: Likewise.
27550 * math/k_rem_pio2l.c: Likewise.
27551 * math/k_sinl.c: Likewise.
27552 * math/k_tanl.c: Likewise.
27553 * math/s_asinhl.c: Likewise.
27554 * math/s_atanl.c: Likewise.
27555 * math/s_cbrtl.c: Likewise.
27556 * math/s_erfl.c: Likewise.
27557 * math/s_expm1l.c: Likewise.
27558 * math/s_log1pl.c: Likewise.
27559 * math/s_tanhl.c: Likewise.
27560 * misc/acct.c: Likewise.
27561 * misc/brk.c: Likewise.
27562 * misc/chflags.c: Likewise.
27563 * misc/chroot.c: Likewise.
27564 * misc/fchflags.c: Likewise.
27565 * misc/fgetxattr.c: Likewise.
27566 * misc/flistxattr.c: Likewise.
27567 * misc/fremovexattr.c: Likewise.
27568 * misc/fsetxattr.c: Likewise.
27569 * misc/fsync.c: Likewise.
27570 * misc/ftruncate.c: Likewise.
27571 * misc/futimes.c: Likewise.
27572 * misc/futimesat.c: Likewise.
27573 * misc/getdomain.c: Likewise.
27574 * misc/getdtsz.c: Likewise.
27575 * misc/gethostid.c: Likewise.
27576 * misc/gethostname.c: Likewise.
27577 * misc/getloadavg.c: Likewise.
27578 * misc/getpagesize.c: Likewise.
27579 * misc/getsysstats.c: Likewise.
27580 * misc/getxattr.c: Likewise.
27581 * misc/gtty.c: Likewise.
27582 * misc/ioctl.c: Likewise.
27583 * misc/lgetxattr.c: Likewise.
27584 * misc/listxattr.c: Likewise.
27585 * misc/llistxattr.c: Likewise.
27586 * misc/lremovexattr.c: Likewise.
27587 * misc/lsetxattr.c: Likewise.
27588 * misc/lutimes.c: Likewise.
27589 * misc/madvise.c: Likewise.
27590 * misc/mincore.c: Likewise.
27591 * misc/mlock.c: Likewise.
27592 * misc/mlockall.c: Likewise.
27593 * misc/mmap.c: Likewise.
27594 * misc/mprotect.c: Likewise.
27595 * misc/msync.c: Likewise.
27596 * misc/munlock.c: Likewise.
27597 * misc/munlockall.c: Likewise.
27598 * misc/munmap.c: Likewise.
27599 * misc/preadv.c: Likewise.
27600 * misc/preadv64.c: Likewise.
27601 * misc/ptrace.c: Likewise.
27602 * misc/pwritev.c: Likewise.
27603 * misc/pwritev64.c: Likewise.
27604 * misc/readv.c: Likewise.
27605 * misc/reboot.c: Likewise.
27606 * misc/remap_file_pages.c: Likewise.
27607 * misc/removexattr.c: Likewise.
27608 * misc/revoke.c: Likewise.
27609 * misc/select.c: Likewise.
27610 * misc/setdomain.c: Likewise.
27611 * misc/setegid.c: Likewise.
27612 * misc/seteuid.c: Likewise.
27613 * misc/sethostid.c: Likewise.
27614 * misc/sethostname.c: Likewise.
27615 * misc/setregid.c: Likewise.
27616 * misc/setreuid.c: Likewise.
27617 * misc/setxattr.c: Likewise.
27618 * misc/sstk.c: Likewise.
27619 * misc/stty.c: Likewise.
27620 * misc/swapoff.c: Likewise.
27621 * misc/swapon.c: Likewise.
27622 * misc/sync.c: Likewise.
27623 * misc/syncfs.c: Likewise.
27624 * misc/syscall.c: Likewise.
27625 * misc/truncate.c: Likewise.
27626 * misc/ualarm.c: Likewise.
27627 * misc/usleep.c: Likewise.
27628 * misc/ustat.c: Likewise.
27629 * misc/utimes.c: Likewise.
27630 * misc/vhangup.c: Likewise.
27631 * misc/writev.c: Likewise.
27632 * posix/_exit.c: Likewise.
27633 * posix/alarm.c: Likewise.
27634 * posix/execve.c: Likewise.
27635 * posix/fexecve.c: Likewise.
27636 * posix/fork.c: Likewise.
27637 * posix/fpathconf.c: Likewise.
27638 * posix/getaddrinfo.c: Likewise.
27639 * posix/getegid.c: Likewise.
27640 * posix/geteuid.c: Likewise.
27641 * posix/getgid.c: Likewise.
27642 * posix/getgroups.c: Likewise.
27643 * posix/getlogin.c: Likewise.
27644 * posix/getlogin_r.c: Likewise.
27645 * posix/getpgid.c: Likewise.
27646 * posix/getpid.c: Likewise.
27647 * posix/getppid.c: Likewise.
27648 * posix/getresgid.c: Likewise.
27649 * posix/getresuid.c: Likewise.
27650 * posix/getsid.c: Likewise.
27651 * posix/getuid.c: Likewise.
27652 * posix/glob64.c: Likewise.
27653 * posix/nanosleep.c: Likewise.
27654 * posix/pathconf.c: Likewise.
27655 * posix/pause.c: Likewise.
27656 * posix/posix_madvise.c: Likewise.
27657 * posix/pread.c: Likewise.
27658 * posix/pread64.c: Likewise.
27659 * posix/pwrite.c: Likewise.
27660 * posix/pwrite64.c: Likewise.
27661 * posix/sched_getaffinity.c: Likewise.
27662 * posix/sched_getp.c: Likewise.
27663 * posix/sched_gets.c: Likewise.
27664 * posix/sched_primax.c: Likewise.
27665 * posix/sched_primin.c: Likewise.
27666 * posix/sched_rr_gi.c: Likewise.
27667 * posix/sched_setaffinity.c: Likewise.
27668 * posix/sched_setp.c: Likewise.
27669 * posix/sched_sets.c: Likewise.
27670 * posix/sched_yield.c: Likewise.
27671 * posix/setgid.c: Likewise.
27672 * posix/setlogin.c: Likewise.
27673 * posix/setpgid.c: Likewise.
27674 * posix/setresgid.c: Likewise.
27675 * posix/setresuid.c: Likewise.
27676 * posix/setsid.c: Likewise.
27677 * posix/setuid.c: Likewise.
27678 * posix/sleep.c: Likewise.
27679 * posix/spawni.c: Likewise.
27680 * posix/sysconf.c: Likewise.
27681 * posix/times.c: Likewise.
27682 * posix/wait.c: Likewise.
27683 * posix/wait3.c: Likewise.
27684 * posix/wait4.c: Likewise.
27685 * posix/waitpid.c: Likewise.
27686 * resolv/gai_sigqueue.c: Likewise.
27687 * resource/getpriority.c: Likewise.
27688 * resource/getrlimit.c: Likewise.
27689 * resource/getrusage.c: Likewise.
27690 * resource/nice.c: Likewise.
27691 * resource/setpriority.c: Likewise.
27692 * resource/setrlimit.c: Likewise.
27693 * resource/ulimit.c: Likewise.
27694 * rt/aio_cancel.c: Likewise.
27695 * rt/aio_fsync.c: Likewise.
27696 * rt/aio_read.c: Likewise.
27697 * rt/aio_sigqueue.c: Likewise.
27698 * rt/aio_suspend.c: Likewise.
27699 * rt/aio_write.c: Likewise.
27700 * rt/clock_getres.c: Likewise.
27701 * rt/clock_gettime.c: Likewise.
27702 * rt/clock_nanosleep.c: Likewise.
27703 * rt/clock_settime.c: Likewise.
27704 * rt/lio_listio.c: Likewise.
27705 * rt/mq_close.c: Likewise.
27706 * rt/mq_getattr.c: Likewise.
27707 * rt/mq_notify.c: Likewise.
27708 * rt/mq_open.c: Likewise.
27709 * rt/mq_receive.c: Likewise.
27710 * rt/mq_send.c: Likewise.
27711 * rt/mq_setattr.c: Likewise.
27712 * rt/mq_timedreceive.c: Likewise.
27713 * rt/mq_timedsend.c: Likewise.
27714 * rt/mq_unlink.c: Likewise.
27715 * rt/shm_open.c: Likewise.
27716 * rt/shm_unlink.c: Likewise.
27717 * rt/timer_create.c: Likewise.
27718 * rt/timer_delete.c: Likewise.
27719 * rt/timer_getoverr.c: Likewise.
27720 * rt/timer_gettime.c: Likewise.
27721 * rt/timer_settime.c: Likewise.
27722 * setjmp/__longjmp.c: Likewise.
27723 * setjmp/setjmp.c: Likewise.
27724 * signal/kill.c: Likewise.
27725 * signal/killpg.c: Likewise.
27726 * signal/raise.c: Likewise.
27727 * signal/sigaction.c: Likewise.
27728 * signal/sigaltstack.c: Likewise.
27729 * signal/sigblock.c: Likewise.
27730 * signal/sigignore.c: Likewise.
27731 * signal/sigintr.c: Likewise.
27732 * signal/signal.c: Likewise.
27733 * signal/sigpause.c: Likewise.
27734 * signal/sigpending.c: Likewise.
27735 * signal/sigqueue.c: Likewise.
27736 * signal/sigreturn.c: Likewise.
27737 * signal/sigset.c: Likewise.
27738 * signal/sigsetmask.c: Likewise.
27739 * signal/sigstack.c: Likewise.
27740 * signal/sigsuspend.c: Likewise.
27741 * signal/sigtimedwait.c: Likewise.
27742 * signal/sigvec.c: Likewise.
27743 * signal/sigwait.c: Likewise.
27744 * signal/sigwaitinfo.c: Likewise.
27745 * signal/sysv_signal.c: Likewise.
27746 * socket/accept.c: Likewise.
27747 * socket/accept4.c: Likewise.
27748 * socket/bind.c: Likewise.
27749 * socket/connect.c: Likewise.
27750 * socket/getpeername.c: Likewise.
27751 * socket/getsockname.c: Likewise.
27752 * socket/getsockopt.c: Likewise.
27753 * socket/isfdtype.c: Likewise.
27754 * socket/listen.c: Likewise.
27755 * socket/recv.c: Likewise.
27756 * socket/recvfrom.c: Likewise.
27757 * socket/recvmsg.c: Likewise.
27758 * socket/send.c: Likewise.
27759 * socket/sendmsg.c: Likewise.
27760 * socket/sendto.c: Likewise.
27761 * socket/setsockopt.c: Likewise.
27762 * socket/shutdown.c: Likewise.
27763 * socket/sockatmark.c: Likewise.
27764 * socket/socket.c: Likewise.
27765 * socket/socketpair.c: Likewise.
27766 * stdio-common/ctermid.c: Likewise.
27767 * stdio-common/cuserid.c: Likewise.
27768 * stdio-common/remove.c: Likewise.
27769 * stdio-common/rename.c: Likewise.
27770 * stdio-common/renameat.c: Likewise.
27771 * stdio-common/tempname.c: Likewise.
27772 * stdlib/getcontext.c: Likewise.
27773 * stdlib/makecontext.c: Likewise.
27774 * stdlib/setcontext.c: Likewise.
27775 * stdlib/swapcontext.c: Likewise.
27776 * stdlib/system.c: Likewise.
27777 * streams/fattach.c: Likewise.
27778 * streams/fdetach.c: Likewise.
27779 * streams/getmsg.c: Likewise.
27780 * streams/getpmsg.c: Likewise.
27781 * streams/putmsg.c: Likewise.
27782 * streams/putpmsg.c: Likewise.
27783 * sysdeps/unix/bsd/getpt.c: Likewise.
27784 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27785 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27786 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27788 Likewise.
27789 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27790 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27791 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27792 * sysvipc/msgctl.c: Likewise.
27793 * sysvipc/msgget.c: Likewise.
27794 * sysvipc/msgrcv.c: Likewise.
27795 * sysvipc/msgsnd.c: Likewise.
27796 * sysvipc/semctl.c: Likewise.
27797 * sysvipc/semget.c: Likewise.
27798 * sysvipc/semop.c: Likewise.
27799 * sysvipc/semtimedop.c: Likewise.
27800 * sysvipc/shmat.c: Likewise.
27801 * sysvipc/shmctl.c: Likewise.
27802 * sysvipc/shmdt.c: Likewise.
27803 * sysvipc/shmget.c: Likewise.
27804 * termios/tcdrain.c: Likewise.
27805 * termios/tcflow.c: Likewise.
27806 * termios/tcflush.c: Likewise.
27807 * termios/tcgetattr.c: Likewise.
27808 * termios/tcgetpgrp.c: Likewise.
27809 * termios/tcsendbrk.c: Likewise.
27810 * termios/tcsetattr.c: Likewise.
27811 * termios/tcsetpgrp.c: Likewise.
27812 * time/adjtime.c: Likewise.
27813 * time/clock.c: Likewise.
27814 * time/getitimer.c: Likewise.
27815 * time/gettimeofday.c: Likewise.
27816 * time/setitimer.c: Likewise.
27817 * time/settimeofday.c: Likewise.
27818 * time/stime.c: Likewise.
27819 * time/time.c: Likewise.
27820
278212012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27822
a20492cf
PT
27823 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27824 /usr/old/bin.
27825
72e182e3
PT
27826 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27827 instead of spaces.
27828 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27829
fbeafede
JM
278302012-11-03 Joseph Myers <joseph@codesourcery.com>
27831
5b5b04d6
JM
27832 [BZ #14796]
27833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27834 FE_TONEAREST before applying Dekker multiplication and Knuth
27835 addition. Clear inexact exceptions and check for exact zero
27836 results afterwards.
27837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27838 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27840 * math/libm-test.inc (fma_test): Add more tests.
27841 (fma_test_towardzero): Likewise.
27842 (fma_test_downward): Likewise.
27843 (fma_test_upward): Likewise.
27844 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27845 function.
27846 (libc_fesetround): New macro.
27847 (libc_fesetroundf): Likewise.
27848 (libc_fesetroundl): Likewise.
27849 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27850 function.
27851 (libc_fesetround_387): Likewise.
27852 (libc_fesetroundf): New macro.
27853 (libc_fesetround): Likewise.
27854 (libc_fesetroundl): Likewise.
27855 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27856 function.
27857 (libc_fesetroundf): New macro.
27858 (libc_fesetround): Likewise.
27859 (libc_fesetroundl): Likewise.
27860 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27861 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27862 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27863 libm_hidden_ver.
27864 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27865 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27866 libm_hidden_def.
27867 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27868 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27869 libm_hidden_ver.
27870 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27871 libm_hidden_def.
27872
fbeafede
JM
27873 [BZ #3439]
27874 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27875 integer constant usable in #if and use that to give value to enum
27876 constant.
27877 (FE_DIVBYZERO): Likewise.
27878 (FE_UNDERFLOW): Likewise.
27879 (FE_OVERFLOW): Likewise.
27880 (FE_INVALID): Likewise.
27881 (FE_INVALID_SNAN): Likewise.
27882 (FE_INVALID_ISI): Likewise.
27883 (FE_INVALID_IDI): Likewise.
27884 (FE_INVALID_ZDZ): Likewise.
27885 (FE_INVALID_IMZ): Likewise.
27886 (FE_INVALID_COMPARE): Likewise.
27887 (FE_INVALID_SOFTWARE): Likewise.
27888 (FE_INVALID_SQRT): Likewise.
27889 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27890 (FE_TONEAREST): Likewise.
27891 (FE_TOWARDZERO): Likewise.
27892 (FE_UPWARD): Likewise.
27893 (FE_DOWNWARD): Likewise.
27894 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27895 (FE_DIVBYZERO): Likewise.
27896 (FE_OVERFLOW): Likewise.
27897 (FE_UNDERFLOW): Likewise.
27898 (FE_INEXACT): Likewise.
27899 (FE_TONEAREST): Likewise.
27900 (FE_DOWNWARD): Likewise.
27901 (FE_UPWARD): Likewise.
27902 (FE_TOWARDZERO): Likewise.
27903 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27904 (FE_UNDERFLOW): Likewise.
27905 (FE_OVERFLOW): Likewise.
27906 (FE_DIVBYZERO): Likewise.
27907 (FE_INVALID): Likewise.
27908 (FE_TONEAREST): Likewise.
27909 (FE_TOWARDZERO): Likewise.
27910 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27911 (FE_OVERFLOW): Likewise.
27912 (FE_UNDERFLOW): Likewise.
27913 (FE_DIVBYZERO): Likewise.
27914 (FE_INEXACT): Likewise.
27915 (FE_TONEAREST): Likewise.
27916 (FE_TOWARDZERO): Likewise.
27917 (FE_UPWARD): Likewise.
27918 (FE_DOWNWARD): Likewise.
27919 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27920 (FE_DIVBYZERO): Likewise.
27921 (FE_OVERFLOW): Likewise.
27922 (FE_UNDERFLOW): Likewise.
27923 (FE_INEXACT): Likewise.
27924 (FE_TONEAREST): Likewise.
27925 (FE_DOWNWARD): Likewise.
27926 (FE_UPWARD): Likewise.
27927 (FE_TOWARDZERO): Likewise.
27928
105ca950
CM
279292012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27930
27931 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27932
a542b389
AS
279332012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27934
27935 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27936 commands. Quote $PWD.
27937 (blacklist_exports): Don't use remove_newlines. Replace "declare
27938 -x" by "export".
27939 (remove_newlines): Remove.
27940
f62c8abc
L
279412012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27942
27943 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27944 * stdlib/stdlib.h (atof): Moved to ...
27945 * include/bits/stdlib-float.h: Here. New file.
27946 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27947 * stdlib/bits/stdlib-float.h: New file.
27948 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27949 -mno-sse -mno-mmx.
27950 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27951 <xmmintrin.h>.
27952
0155d5b2
JM
279532012-11-02 Joseph Myers <joseph@codesourcery.com>
27954
a68d0680
JM
27955 * conform/conformtest.pl (@headers): Add fenv.h.
27956 * conform/data/fenv.h-data: New file.
27957 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27958 include of <math/fenv.h>.
27959
caf7f573
JM
27960 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27961 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27962 && !UNIX98]. Enables tests for XOPEN2K8.
27963 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27964 POSIX2008]: Likewise.
27965
6c073ad6
JM
27966 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27967 (struct rusage): Do not expect type or its members.
27968
0155d5b2
JM
27969 [BZ #3439]
27970 * math/math.h (FP_NAN): Define macro to integer constant usable in
27971 #if and use that to give value to enum constant.
27972 (FP_INFINITE): Likewise.
27973 (FP_ZERO): Likewise.
27974 (FP_SUBNORMAL): Likewise.
27975 (FP_NORMAL): Likewise.
27976
b5dcacb4
AS
279772012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27978
27979 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27980 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27981 arguments.
27982
f7934be8
RM
279832012-11-02 Roland McGrath <roland@hack.frob.com>
27984
27985 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27986 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27987 autoconf-time if not.
27988 * configure.in: Remove AC_PREREQ.
27989
d7d08bde
TMQMF
279902012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27991
27992 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27993 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27994 of the internal implementation.
27995
dcdae19a
JM
279962012-11-02 Joseph Myers <joseph@codesourcery.com>
27997
27998 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27999 except include of <misc/sys/syslog.h>.
28000
d6cffd3e
AS
280012012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28002
28003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28004 function returns with a NULL context exit with zero.
28005
b3563932
TMQMF
280062012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28007
28008 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28009
b288a93d
L
280102012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28011
28012 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28013 (run_program_cmd): This.
28014 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28015 (tst_langinfo): New variable. Use it.
28016
a2421a68
SAS
280172012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28018
28019 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28020 floating point opcodes.
28021
6f796e1b
TS
280222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28023
7402596b
TS
28024 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28025 variable.
28026
d0d4f868
TS
28027 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28028
6f796e1b
TS
28029 * sysdeps/mach/hurd/powerpc: Remove directory.
28030 * sysdeps/mach/powerpc: Likewise.
28031
4da224a2
AS
280322012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28033
28034 * scripts/check-local-headers.sh: Ignore c++ headers.
28035
341dd673
TS
280362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28037
28038 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28039 __libc_cleanup_region_start argument.
28040
473611b2
JM
280412012-11-01 Joseph Myers <joseph@codesourcery.com>
28042
28043 [BZ #14784]
28044 [BZ #14785]
28045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28046 x * y using scaling, not as x * y + z.
28047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28048 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28049 * math/libm-test.inc (fma_test): Add more tests.
28050 (fma_test_towardzero): Likewise.
28051 (fma_test_downward): Likewise.
28052 (fma_test_upward): Likewise.
28053
4078da3d
TS
280542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28055
28056 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28057
903252aa
JM
280582012-10-31 Joseph Myers <joseph@codesourcery.com>
28059
28060 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28061 New variable.
28062
cbc818d0
TS
280632012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28064
28065 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28066
5a03cb1e
AS
280672012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28068
28069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28070 Fix sort order.
28071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28072 Likewise.
28073
90aff2ff
TMQMF
280742012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28075
28076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28077 Fix the order of the list for glibc 2.17.
28078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28079 Likewise.
28080
1818fcb7
AS
280812012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28082
28083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28084
ef82f4da
JM
280852012-10-31 Joseph Myers <joseph@codesourcery.com>
28086
16a0e2ec
JM
28087 [BZ #14610]
28088 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28089 for low part of x being zero before using __atanl (y).
28090 * math/libm-test.inc (atan2_test): Add another test.
28091
0eb69512
JM
28092 * manual/install.texi (Configuring and compiling): Document
28093 general use of test-wrapper and test-wrapper-env.
28094 * INSTALL: Regenerated.
28095
ef82f4da
JM
28096 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28097 (__fma): Do not extract and scale down low bits on after-rounding
28098 systems when result rounded to normal precision would have normal
28099 exponent.
28100 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28101 (__fmal): Do not extract and scale down low bits on after-rounding
28102 systems when result rounded to normal precision would have normal
28103 exponent.
28104 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28105 (__fmal): Do not extract and scale down low bits on after-rounding
28106 systems when result rounded to normal precision would have normal
28107 exponent.
28108 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28109 macro.
28110 (fma_test): Add more tests.
28111 (fma_test_towardzero): Likewise.
28112 (fma_test_downward): Likewise.
28113 (fma_test_upward): Likewise.
28114
954ef0d9
L
281152012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28116
28117 * sysdeps/i386/tininess.h: Renamed to ...
28118 * sysdeps/x86/tininess.h: This.
28119 * sysdeps/x86_64/tininess.h: Removed.
28120
df61ffb2
JM
281212012-10-30 Joseph Myers <joseph@codesourcery.com>
28122
28123 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28124 input. Use $(build-program-cmd).
28125 ($(objpfx)tst-array1-static.out): Likewise.
28126 ($(objpfx)tst-array2.out): Likewise.
28127 ($(objpfx)tst-array3.out): Likewise.
28128 ($(objpfx)tst-array4.out): Likewise.
28129 ($(objpfx)tst-array5.out): Likewise.
28130 ($(objpfx)tst-array5-static.out): Likewise.
28131
01767843
CM
281322012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28133
47cc1490
CM
28134 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28135 if defined.
28136
01767843
CM
28137 * nss/nsswitch.h (nss_interface_function): Provide new
28138 macro for use with NSS functions.
28139 * grp/initgroups.c: Use new macro.
28140 * nss/getXXbyYY.c: Likewise.
28141 * nss/getXXbyYY_r.c: Likewise.
28142 * nss/getXXent.c: Likewise.
28143 * nss/getXXent_r.c: Likewise.
28144 * sysdeps/posix/getaddrinfo.c: Likewise.
28145
8321aa97
AJ
281462012-10-30 Andreas Jaeger <aj@suse.de>
28147
28148 * po/ru.po: Update Russion translation from translation project.
28149
2a27fd6d
JM
281502012-10-30 Joseph Myers <joseph@codesourcery.com>
28151
8627a232
JM
28152 [BZ #14152]
28153 [BZ #14783]
28154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28155 result and shift together with sticky bit instead of replicating
28156 round-to-nearest rounding.
28157 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28159 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28160 missing underflow exceptions.
28161 (fma_test_towardzero): Add more tests.
28162 (fma_test_downward): Likewise.
28163 (fma_test_upward): Likewise.
28164
2a27fd6d
JM
28165 [BZ #14047]
28166 * sysdeps/generic/tininess.h: New file.
28167 * sysdeps/i386/tininess.h: Likewise.
28168 * sysdeps/sh/tininess.h: Likewise.
28169 * sysdeps/x86_64/tininess.h: Likewise.
28170 * stdlib/tst-strtod-underflow.c: Likewise.
28171 * stdlib/tst-tininess.c: Likewise.
28172 * stdlib/strtod_l.c: Include <tininess.h>.
28173 (round_and_return): Do not set errno for exact underflow cases.
28174 Force an underflow exception when setting errno for underflow.
28175 Determine underflow based on rounding to normal precision if
28176 TININESS_AFTER_ROUNDING.
28177 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28178 ERANGE for exact underflow cases.
28179 * stdlib/Makefile (tests): Add tst-tininess and
28180 tst-strtod-underflow.
28181 ($(objpfx)tst-tininess): Use $(link-libm).
28182 ($(objpfx)tst-strtod-underflow): Likewise.
28183
e7170363
AJ
281842012-10-30 Andreas Jaeger <aj@suse.de>
28185
e5088dc6
AJ
28186 [BZ#14767]
28187 * elf/Makefile (tests): Remove conditional for have-initfini-array
28188 since this is now always required and the variable does not exist
28189 anymore.
28190 (tests-static): Likewise.
28191 (modules-names): Likewise.
28192
e7170363 28193 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28194
28195 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28196 merged with constructor/destructor.
28197 (init_array): Likewise.
28198 * elf/tst-array2dep.c (fini_array): Likewise.
28199 (init_array): Likewise.
28200
60457d8a
MF
282012012-10-29 Mike Frysinger <vapier@gentoo.org>
28202
28203 * manual/message.texi: Delete @cartouche tags.
28204
8bece752
PT
282052012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28206
94ce799f
PT
28207 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28208 EOPNOTSUPP.
28209 * sysdeps/mach/hurd/fsync.c: Likewise.
28210
8bece752
PT
28211 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28212 [_POSIX_REALTIME_SIGNALS]: Change condition to
28213 [_POSIX_REALTIME_SIGNALS > 0].
28214
86ebe6b1
AJ
282152012-10-27 Andreas Jaeger <aj@suse.de>
28216
28217 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28218 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28220 [__WORDSIZE != 64]: Likewise.
28221
54399c08
L
282222012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28223
28224 * iconvdata/tst-table.sh: Remove ${SHELL}.
28225 * iconvdata/tst-tables.sh: Likewise.
28226
e2211bed
DM
282272012-10-25 David S. Miller <davem@davemloft.net>
28228
28229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28230 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28231 of strtoull.
28232
f303f97c
DM
28233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28234 ifunc-impl-list.c
28235 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28236 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28237 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28238 file.
28239
1e9d84cd
RM
282402012-10-25 Roland McGrath <roland@hack.frob.com>
28241
28242 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28243 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28244 __getdirentries.
28245
df381762
JM
282462012-10-25 Joseph Myers <joseph@codesourcery.com>
28247 Jim Blandy <jimb@codesourcery.com>
28248
28249 * scripts/cross-test-ssh.sh: New file.
28250 * manual/install.texi (Configuring and compiling): Document use of
28251 cross-test-ssh.sh.
28252 * INSTALL: Regenerated.
28253
bff64913
PT
282542012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28255
28256 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28257 EOPNOTSUPP.
28258
25fe8932
JM
282592012-10-25 Joseph Myers <joseph@codesourcery.com>
28260
28261 * Makeconfig (run-program-prefix): Fix comment.
28262
cc1290d0
JM
282632012-10-24 Joseph Myers <joseph@codesourcery.com>
28264 Jim Blandy <jimb@codesourcery.com>
28265
28266 * Makeconfig (test-wrapper): New variable,
28267 (test-wrapper-env): Likewise.
28268 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28269 (run-built-tests): Define to yes.
28270 (run-program-prefix): Use $(test-wrapper).
28271 (built-program-cmd): Likewise.
28272 * Rules (make-test-out): Use $(test-wrapper-env) and
28273 $(host-built-program-cmd).
28274 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28275 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28276 tst-pathopt.sh.
28277 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28278 $(test-wrapper-env) to tst-rtld-load-self.sh.
28279 ($(objpfx)order2.out): Use $(test-wrapper).
28280 ($(objpfx)tst-initorder.out): Likewise.
28281 ($(objpfx)tst-initorder2.out): Likewise.
28282 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28283 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28284 (test_wrapper_env): New variable. Use it to run ld.so.
28285 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28286 Use it to run ld.so.
28287 (test_wrapper_env): Likewise.
28288 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28289 $(test-wrapper) to run-iconv-test.sh.
28290 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28291 (ICONV): Use $test_wrapper.
28292 * posix/Makefile ($(objpfx)globtest.out): Pass
28293 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28294 globtest.sh, not $(run-program-prefix).
28295 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28296 (test_wrapper): Likewise.
28297 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28298 set together with run_via_rtld_prefix.
28299 (run_program_prefix): Define in terms of test_wrapper and
28300 run_via_rtld_prefix.
28301
6e6249d0
RM
283022012-10-24 Roland McGrath <roland@hack.frob.com>
28303
28304 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28305 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28306 Targets removed.
28307
28308 [BZ #14743]
28309 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28310 Declare __clock_getres, __clock_gettime, __clock_settime,
28311 __clock_nanosleep, and __clock_getcpuclockid.
28312 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28313 Remove librt_hidden_def (clock_gettime).
28314 * sysdeps/unix/clock_gettime.c: Likewise.
28315 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28316 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28317 * rt/clock_getres.c: Define __clock_getres as an alias.
28318 * sysdeps/posix/clock_getres.c: Likewise.
28319 * rt/clock_settime.c: Define __clock_settime as an alias.
28320 * sysdeps/unix/clock_settime.c: Likewise.
28321 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28322 * sysdeps/unix/clock_nanosleep.c: Likewise.
28323 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28324 * rt/clock-compat.c: New file.
28325 * rt/Makefile (librt-routines): Add clock-compat and move
28326 $(clock-routines) to ...
28327 (routines): ... here, new variable.
28328 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28329 Don't add get_clockfreq here.
28330 * rt/Versions (libc: GLIBC_2.17): New version set.
28331 Add clock_* symbols here.
28332 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28334 (GLIBC_2.17): Add clock_* symbols.
28335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28339 Likewise.
28340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28341 Likewise.
28342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28346 * NEWS: Mention the move.
28347
28348 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28349 Use __open, __read, __close rather than their public counterparts.
28350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28351 (__get_clockfreq_via_cpuinfo): Likewise.
28352 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28353 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28354
28355 * config.h.in (HAVE_IFUNC): New #undef.
28356 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28357 was successful.
28358 * configure: Regenerated.
28359
0cae3f4b
MF
283602012-10-24 Mike Frysinger <vapier@gentoo.org>
28361
28362 * configure.in: Move READELF check to start of file.
28363 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28364 libc_cv_asm_gnu_indirect_function in the process.
28365 * configure: Regenerated.
28366
8175a253
MF
283672012-10-24 Mike Frysinger <vapier@gentoo.org>
28368
28369 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28370 send the output to /dev/null.
28371 (libc_cv_cc_with_libunwind): Likewise.
28372 (libc_cv_as_noexecstack): Likewise.
28373 * configure: Regenerate.
28374
0708a7d1
JM
283752012-10-24 Joseph Myers <joseph@codesourcery.com>
28376
10b40d85
JM
28377 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28378
0708a7d1
JM
28379 * posix/globtest.sh (TMPDIR): Do not set.
28380 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28381 (testout): Likewise.
28382
9fddec1a
AJ
283832012-10-24 Andreas Jaeger <aj@suse.de>
28384
3a8db22f
AJ
28385 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28386 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28387 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28388 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28389 posix_fadvise64, posix_fallocate64.
28390
9fddec1a
AJ
28391 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28392 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28393 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28394 Likewise.
28395 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28396 Likewise.
28397 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28398
28399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28400 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28401 <bits/fcntl-linux.h>.
28402 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28403
28404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28405 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28406 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28407 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28408 [__WORDSIZE != 64]: Likewise.
28409
ebfd1bbd
JM
284102012-10-23 Joseph Myers <joseph@codesourcery.com>
28411
03ac099f
JM
28412 * Makeconfig (run-built-tests): New variable.
28413 * Rules [$(cross-compiling) = yes]: Change condition to
28414 [$(run-built-tests) = no].
28415 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28416 to [$(run-built-tests) = yes].
28417 * elf/Makefile [$(cross-compiling) = no]: Likewise
28418 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28419 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28420 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28421 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28422 * io/Makefile [$(cross-compiling) = no]: Likewise.
28423 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28424 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28425 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28426 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28427 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28428 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28429 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28430 * string/Makefile [$(cross-compiling) = no]: Likewise.
28431
ebfd1bbd
JM
28432 * posix/Makefile ($(objpfx)globtest.out): Pass
28433 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28434 $(rtld-installed-name).
28435 * posix/globtest.sh (elf_objpfx): Remove variable.
28436 (rtld_installed_name): Likewise.
28437 (library_path): Likewise.
28438 (run_program_prefix): New variable. Use for running globtest
28439 binary.
28440
166bca24
JB
284412012-10-23 Jim Blandy <jimb@codesourcery.com>
28442 Joseph Myers <joseph@codesourcery.com>
28443
28444 * Makeconfig (host-built-program-cmd): New variable.
28445 * elf/Makefile (tst-stackguard1-ARGS): Use
28446 $(host-built-program-cmd).
28447 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28448 (tst-spawn-ARGS): Likewise.
28449 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28450
88866099
JM
284512012-10-23 Joseph Myers <joseph@codesourcery.com>
28452 Jim Blandy <jimb@codesourcery.com>
28453
28454 * Makeconfig (run-via-rtld-prefix): New variable.
28455 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28456 (built-program-cmd): Likewise.
28457
b4b4c296
AJ
284582012-10-22 Andreas Jaeger <aj@suse.de>
28459
28460 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28461 __O_RSYNC if it exists, otherwise to O_SYNC.
28462
6fb54a22
JB
284632012-10-22 Jim Blandy <jimb@codesourcery.com>
28464 Joseph Myers <joseph@codesourcery.com>
28465
28466 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28467 /dev/null.
28468 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28469 from /dev/null
28470 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28471 /dev/null.
28472
481b90b9
AJ
284732012-10-22 Andreas Jaeger <aj@suse.de>
28474
2a0e2669
AJ
28475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28476 Define always.
28477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28478
76e38f9a
AJ
28479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28480 bits/fcntl-linux.h.
28481
7cd37b43
AJ
28482 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28483 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28484
481b90b9
AJ
28485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28486 to __O_LARGEFILE.
28487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28488 to __O_LARGEFILE.
28489
aba75984
JB
284902012-10-21 Jim Blandy <jimb@codesourcery.com>
28491 Joseph Myers <joseph@codesourcery.com>
28492
28493 * config.make.in (NM): New variable.
28494
88d4247f
AJ
284952012-10-21 Andreas Jaeger <aj@suse.de>
28496
28497 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28498 definitions and declarations that are provided by
28499 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28500
f2eed205
L
285012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28502
28503 [BZ #14683]
28504 * elf/Makefile (tests-static): Add tst-leaks1-static.
28505 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28506 ($(objpfx)tst-leaks1-static): New rule.
28507 ($(objpfx)tst-leaks1-static-mem): Likewise.
28508 (tst-leaks1-static-ENV): New macro.
28509 * elf/dl-open.c (dl_open_worker): Check the main application
28510 only if SHARED is defined.
28511 * elf/tst-leaks1-static.c: New file.
28512
335e6931
AJ
285132012-10-20 Andreas Jaeger <aj@suse.de>
28514
28515 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28516 generic values for Linux.
28517 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28518 and declarations that are provided by <bits/fcntl-linux.h> and
28519 include <bits/fcntl-linux.h>.
28520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28522
ac5c94d3
RM
285232012-10-20 Roland McGrath <roland@hack.frob.com>
28524
28525 * io/fcntl.h: Move include of <bits/types.h> to the top and
28526 include it unconditionally.
28527
de54b33a
L
285282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28529
228cfb01
L
28530 * wcsmbs/Makefile (tests-ifunc): New variable.
28531 (tests): Add $(tests-ifunc).
28532 * wcsmbs/test-wcschr-ifunc.c: New file.
28533 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28534 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28535 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28536 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28537 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28538
69f07e5f
L
28539 * string/Makefile (tests-ifunc): New variable.
28540 (tests): Add $(tests-ifunc).
28541 * string/test-memccpy.c (TEST_NAME): New macro.
28542 * string/test-memchr.c (TEST_NAME): Likewise.
28543 * string/test-memcmp.c (TEST_NAME): Likewise.
28544 * string/test-memcpy.c (TEST_NAME): Likewise.
28545 * string/test-memmem.c (TEST_NAME): Likewise.
28546 * string/test-memmove.c (TEST_NAME): Likewise.
28547 * string/test-memset.c (TEST_NAME): Likewise.
28548 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28549 * string/test-stpcpy.c (TEST_NAME): Likewise.
28550 * string/test-stpncpy.c (TEST_NAME): Likewise.
28551 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28552 * string/test-strcasestr.c (TEST_NAME): Likewise.
28553 * string/test-strcat.c (TEST_NAME): Likewise.
28554 * string/test-strchr.c (TEST_NAME): Likewise.
28555 * string/test-strcmp.c(TEST_NAME): Likewise.
28556 * string/test-strcpy.c (TEST_NAME): Likewise.
28557 * string/test-strcspn.c (TEST_NAME): Likewise.
28558 * string/test-strlen.c (TEST_NAME): Likewise.
28559 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28560 * string/test-strncmp.c (TEST_NAME): Likewise.
28561 * string/test-strncpy.c (TEST_NAME): Likewise.
28562 * string/test-strnlen.c (TEST_NAME): Likewise.
28563 * string/test-strpbrk.c (TEST_NAME): Likewise.
28564 * string/test-strrchr.c (TEST_NAME): Likewise.
28565 * string/test-strspn.c (TEST_NAME): Likewise.
28566 * string/test-strstr.c (TEST_NAME): Likewise.
28567 * string/test-bcopy-ifunc.c: New file.
28568 * string/test-bzero-ifunc.c: Likewise.
28569 * string/test-memccpy-ifunc.c: Likewise.
28570 * string/test-memchr-ifunc.c: Likewise.
28571 * string/test-memcmp-ifunc.c: Likewise.
28572 * string/test-memcpy-ifunc.c: Likewise.
28573 * string/test-memmem-ifunc.c: Likewise.
28574 * string/test-memmove-ifunc.c: Likewise.
28575 * string/test-mempcpy-ifunc.c: Likewise.
28576 * string/test-memset-ifunc.c: Likewise.
28577 * string/test-rawmemchr-ifunc.c: Likewise.
28578 * string/test-stpcpy-ifunc.c: Likewise.
28579 * string/test-stpncpy-ifunc.c: Likewise.
28580 * string/test-strcasecmp-ifunc.c: Likewise.
28581 * string/test-strcasestr-ifunc.c: Likewise.
28582 * string/test-strcat-ifunc.c: Likewise.
28583 * string/test-strchr-ifunc.c: Likewise.
28584 * string/test-strchrnul-ifunc.c: Likewise.
28585 * string/test-strcmp-ifunc.c: Likewise.
28586 * string/test-strcpy-ifunc.c: Likewise.
28587 * string/test-strcspn-ifunc.c: Likewise.
28588 * string/test-strlen-ifunc.c: Likewise.
28589 * string/test-strncasecmp-ifunc.c: Likewise.
28590 * string/test-strncat-ifunc.c: Likewise.
28591 * string/test-strncmp-ifunc.c: Likewise.
28592 * string/test-strncpy-ifunc.c: Likewise.
28593 * string/test-strnlen-ifunc.c: Likewise.
28594 * string/test-strpbrk-ifunc.c: Likewise.
28595 * string/test-strrchr-ifunc.c: Likewise.
28596 * string/test-strspn-ifunc.c: Likewise.
28597 * string/test-strstr-ifunc.c: Likewise.
28598
de54b33a
L
28599 * debug/Makefile (tests-ifunc): New variable.
28600 (tests): Add $(tests-ifunc).
28601 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28602 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28603 * debug/test-stpcpy_chk-ifunc.c: New file.
28604 * debug/test-strcpy_chk-ifunc.c: Likewise.
28605
88481c16
SP
286062012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28607
28608 [BZ #13601]
28609 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28610 header is not read in.
28611
135948bd
JM
286122012-10-19 Joseph Myers <joseph@codesourcery.com>
28613
89f1c388
JM
28614 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28615 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28616 directly. Pass built executable to script as
28617 $(built-program-cmd).
28618 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28619 $testprogram without using LD_LIBRARY_PATH and $ldso.
28620
e40a0d21
JM
28621 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28622 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28623 $(rtld-installed-name).
28624 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28625 (rtld_installed_name): Likewise.
28626 (library_path): Likewise.
28627 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28628 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28629 $(run-program-prefix) to tst-tables.sh.
28630 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28631 it to run tst-table-from and tst-table-to.
28632 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28633 Pass it to tst-table.sh.
28634 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28635 $(run-program-prefix) to tst-gettext.sh.
28636 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28637 tst-translit.sh.
28638 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28639 tst-gettext2.sh.
28640 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28641 to run tst-gettext.
28642 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28643 to run tst-gettext2.
28644 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28645 to run tst-translit.
28646 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28647 $(run-program-prefix) to tst-mtrace.sh.
28648 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28649 to run tst-mtrace.
28650 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28651 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28652 $(rtld-installed-name).
28653 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28654 (rtld_installed_name): Likewise.
28655 (run_program_prefix): New variable. Use it to run wordexp-test.
28656
728e272a
JM
28657 * Makeconfig (ARCH): Remove all definitions.
28658 (machine): Likewise.
28659 [ARCH]: Remove conditional code.
28660 [!objdir]: Give error.
28661 [!objdir] (objpfx): Remove.
28662 [!objdir] (common-objpfx): Likewise.
28663 [!objdir] (common-objdir): Likewise.
28664 * configure.in (config_makefile): Remove. Hardcode Makefile in
28665 AC_CONFIG_FILES call.
28666 * configure: Regenerated.
28667
d528cdcf
JM
28668 [BZ #13888]
28669 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28670 or TMPDIR.
28671 (testout): Likewise.
28672
135948bd
JM
28673 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28674 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28675 $(rtld-installed-name).
28676 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28677 (rtld_installed_name): Likwise.
28678 (runit): Remove function.
28679 (run_getconf): New variable, Use it for running getconf binary.
28680
38c78296
L
286812012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28682
28683 [BZ #14716]
28684 * string/test-memmem.c (check_result): New function.
28685 (do_one_test): Use it.
28686 (check1): New function.
28687 (test_main): Use it.
28688
d077f65f
MT
286892012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28690
28691 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28692
ced52c71
JM
286932012-10-18 Joseph Myers <joseph@codesourcery.com>
28694
28695 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28696 (_G_LSEEK64): Likewise.
28697 (_G_MMAP64): Likewise.
28698 (_G_FSTAT64): Likewise.
28699 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28700 (_G_LSEEK64): Likewise.
28701 (_G_MMAP64): Likewise.
28702 (_G_FSTAT64): Likewise.
28703 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28704 unconditional. Call __mmap64 directly.
28705 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28706 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28707 __lseek64 directly.
28708 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28709 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28710 __mmap64 directly.
28711 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28712 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28713 __lseek64 directly.
28714 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28715 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28716 __lseek64 directly.
28717 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28718 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28719 __lseek64 directly.
28720 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28721 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28722 __fxstat64 directly.
28723 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28724 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28725 unconditional.
28726 (freopen64) [!_G_OPEN64]: Remove conditional code.
28727 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28728 unconditional.
28729 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28730 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28731 unconditional.
28732 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28733 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28734 unconditional.
28735 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28736 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28737 unconditional.
28738 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28739 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28740 unconditional.
28741 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28742 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28743 unconditional.
28744 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28745 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28746 unconditional.
28747 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28748
b741de23
SP
287492012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28750
28751 [BZ #12140]
28752 * manual/memory.texi (Malloc Tunable Parameters): Add note
28753 about free list pointers overwriting some perturb bytes.
28754 Wording suggested by Roland McGrath.
28755
f9b9d9c9
JM
287562012-10-17 Joseph Myers <joseph@codesourcery.com>
28757
28758 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28759 (lgamma_test): Likewise.
28760 (tgamma_test): Likewise.
28761
172a631a
FW
287622012-10-16 Florian Weimer <fweimer@redhat.com>
28763
28764 [BZ #14700]
28765 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28766 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28767
e9f37252
MK
287682012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28769
28770 * NEWS: Mention BZ #14716.
28771 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28772 when removing AVAILABLE1_USES_J macro.
28773
d394eb74
L
287742012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28775
28776 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28777 (__bswap_64): __uint64_t for unsigned 64-bit int.
28778
ca38dc17
AS
287792012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28780
28781 * include/string.h (memmem): Declare libc hidden alias.
28782 * string/memmem.c (memmem): Define libc hidden alias.
28783 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28784 __read, __close instead of open, read, close.
28785
9a387d1f
L
287862012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28787
ac49ecaf
L
28788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28789 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28790 global and hidden.
28791 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28792 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28793 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28794 Likewise.
28795 (__rawmemchr_sse2): Likewise.
28796 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28797 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28798 (__strchr_sse2): Likewise.
28799 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28800 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28801 (__strcasecmp_sse2): Likewise.
28802 (__strncasecmp_sse2): Likewise.
28803 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28804 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28805 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28806 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28807 (__strrchr_sse2): Likewise.
28808 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28809 ifunc-impl-list.c.
28810 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28811 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28812 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28813 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28814 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28815 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28816 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28817 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28818 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28819 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28820 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28821 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28822 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28823 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28824 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28825 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28826 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28827 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28828 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28829 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28830 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28831 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28832 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28833 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28834 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28835 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28836 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28837 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28838 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28839 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28840
b090e8ea
L
28841 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28842 global and hidden.
28843 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28844 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28845 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28846 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28847 Likewise.
28848 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28849 Likewise.
28850 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28851 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28852 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28853 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28854 ifunc-impl-list.c.
28855 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28856 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28857 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28858 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28859 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28860 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28861 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28862 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28863 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28864 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28865 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28866 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28867 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28868 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28869 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28870 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28871 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28872 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28873 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28874 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28875 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28876 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28877 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28878 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28879 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28880 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28881 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28882 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28883 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28884 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28885 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28886 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28887 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28888 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28889 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28890 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28891 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28892 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28893 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28894 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28895 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28896
11dd4af6
L
28897 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28898 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28899 * include/ifunc-impl-list.h: New file.
28900 * misc/ifunc-impl-list.c: Likewise.
28901 * misc/Makefile (routines): Add ifunc-impl-list.
28902 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28903 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28904 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28905 TEST_NAME]: New variables.
11dd4af6
L
28906 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28907 are defined.
28908 (test_init): Call __libc_ifunc_impl_list to initialize
28909 func_list if TEST_IFUNC and TEST_NAME are defined.
28910
9a387d1f
L
28911 * string/Makefile (strop-tests): Add bcopy and bzero.
28912 * string/test-bcopy.c: New file.
28913 * string/test-bzero.c: Likewise.
28914 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28915 defined.
28916 * string/test-memset.c: Support bzero test if TEST_BZERO is
28917 defined.
28918 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28919 __libc_memmove.
28920 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28921 __libc_memset.
28922 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28923 of memset.
28924
472371b9
JM
289252012-10-10 Joseph Myers <joseph@codesourcery.com>
28926
1e4a9536
JM
28927 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28928 * configure: Regenerated.
28929
d173d12e
JM
28930 * Makeconfig (+link-static-before-libc): Don't include
28931 $(link-static-libc).
28932
472371b9
JM
28933 * libio/libio.h (_IO_pos_t): Remove.
28934
89a3ad0b
AO
289352012-10-10 Alexandre Oliva <aoliva@redhat.com>
28936
28937 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28938 McGrath.
28939
e7451425
AO
289402012-10-10 Alexandre Oliva <aoliva@redhat.com>
28941
28942 * crypt/crypt-entry.c: Include fips-private.h.
28943 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28944 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28945 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28946 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28947
4ba74a35
AO
289482012-10-10 Alexandre Oliva <aoliva@redhat.com>
28949
28950 * crypt/crypt-private.h: Include stdbool.h.
28951 (_ufc_setup_salt_r): Return bool.
28952 * crypt/crypt-entry.c: Include errno.h.
28953 (__crypt_r): Return NULL with EINVAL for bad salt.
28954 * crypt/crypt_util.c (bad_for_salt): New.
28955 (_ufc_setup_salt_r): Check that salt is long enough and within
28956 the specified alphabet.
28957 * crypt/badsalttest.c: New file.
28958 * crypt/Makefile (tests): Add it.
28959 ($(objpfx)badsalttest): New.
28960
f96f1242
MK
289612012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28962
28963 * NEWS: Add entry for BZ #14602.
28964
0e8e0c1c
JM
289652012-10-09 Joseph Myers <joseph@codesourcery.com>
28966
28967 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28968 type-generic.
28969 * math/libm-test.inc: Update comment listing what functions and
28970 macros are tested.
28971 (isgreater_test): New function.
28972 (isgreaterequal_test): Likewise.
28973 (isless_test): Likewise.
28974 (islessequal_test): Likewise.
28975 (islessgreater_test): Likewise.
28976 (isunordered_test): Likewise.
28977 (main): Call the new functions.
28978
273edc5e
RM
289792012-10-09 Roland McGrath <roland@hack.frob.com>
28980
b8493de0
RM
28981 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28982 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28983 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28984 * sysdeps/i386/configure: Regenerated.
28985 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28986 * sysdeps/mach/configure: Regenerated.
28987 * sysdeps/mach/hurd/configure: Regenerated.
28988 * sysdeps/powerpc/configure: Regenerated.
28989 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28990 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28991 * sysdeps/s390/s390-32/configure: Regenerated.
28992 * sysdeps/s390/s390-64/configure: Regenerated.
28993 * sysdeps/sh/configure: Regenerated.
28994 * sysdeps/sparc/configure: Regenerated.
28995 * sysdeps/unix/sysv/linux/configure: Regenerated.
28996 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28997 * sysdeps/x86_64/configure: Regenerated.
28998
273edc5e
RM
28999 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29000 defined. Don't check if MAP is NULL.
29001
c8450f70
JM
290022012-10-09 Joseph Myers <joseph@codesourcery.com>
29003
29004 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29005 (_G_stat64): Likewise.
29006 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29007 (_G_stat64): Likewise.
29008 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29009 instead of struct _G_stat64.
29010 * libio/fileops.c (mmap_remap_check): Likewise.
29011 (decide_maybe_mmap): Likewise.
29012 (_IO_new_file_seekoff): Likewise.
29013 (_IO_file_stat): Likewise.
29014 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29015 _G_off64_t.
29016 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29017 instead of struct _G_stat64.
29018 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29019
57e605ba
MK
290202012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29021
29022 [BZ #14602]
29023 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29024 Replace with ...
29025 (CHECK_EOL): New macro.
29026 (two_way_short_needle): Check beginning of haystack for EOL. Use
29027 CHECK_EOL.
29028 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29029 Replace with CHECK_EOL.
29030 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29031 Replace with CHECK_EOL.
29032
ef1bb361
JM
290332012-10-08 Joseph Myers <joseph@codesourcery.com>
29034
29035 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29036 type-generic.
29037 * math/libm-test.inc: Update comment listing what functions and
29038 macros are tested.
29039 (finite_test): New function.
29040 (isinf_test): Likewise.
29041 (isnan_test): Likewise.
29042 (fpclassify_test): Test subnormal input.
29043 (isfinite_test): Likewise.
29044 (isnormal_test): Likewise.
29045 (main): Call the new functions.
29046
55f11534
JN
290472012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29048
29049 [BZ #14660]
29050 * Makerules (%.dynsym): Force C locale when running
29051 $(OBJDUMP) --dynamic-syms.
29052
1ab29350
AS
290532012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29054
29055 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29056 <stdint.h>.
29057
f1ecb7ef
DM
290582012-10-06 David S. Miller <davem@davemloft.net>
29059
29060 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29061 upper 32-bits of the length value in %o2 since we use branch-on-register
29062 tests which consider the entire 64-bit register.
29063
5d41d91a
L
290642012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29065
29066 * string/test-strstr.c (check2): Add a test for page boundary.
29067
3baddb72
DM
290682012-10-05 David S. Miller <davem@davemloft.net>
29069
29070 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29071 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29072 file.
29073 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29074 sysdep_routines.
29075 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29076 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29077 and bzero when HWCAP_SPARC_CRYPTO is present.
29078
9cee5585
L
290792012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29080
d7e0dab9
L
29081 [BZ #14602]
29082 * string/test-strstr.c (check2): New function.
29083 (test_main): Call check2.
29084
03759f47
L
29085 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29086 and bug-strchr1.
29087 * string/bug-strcasestr1.c (do_test): Moved to ...
29088 * string/test-strcasestr.c (check1): Here. New function.
29089 (do_one_test): Break out result checking code into ...
29090 (check_result): This. New function.
29091 (do_one_test): Call check_result.
29092 (test_main): Call check1.
29093 * string/bug-strchr1.c (do_test): Moved to ...
29094 * string/test-strchr.c (check1): Here. New function.
29095 (do_one_test): Break out result checking code into ...
29096 (check_result): This. New function.
29097 (do_one_test): Call check_result.
29098 (test_main): Call check1.
29099 * string/bug-strstr1.c (main): Moved to ...
046f153e 29100 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29101 (do_one_test): Break out result checking code into ...
29102 (check_result): This. New function.
29103 (do_one_test): Call check_result.
29104 (test_main): Call check1.
29105 * string/bug-strcasestr1.c: Removed.
29106 * string/bug-strchr1.c: Likewise.
29107 * string/bug-strstr1.c: Likewise.
29108
53cea63e
L
29109 * elf/Makefile (dl-routines): Add hwcaps.
29110 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29111 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29112 (_dl_important_hwcaps): Moved to ...
29113 * elf/dl-hwcaps.c: Here. New file.
29114 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29115
9cee5585 29116 [BZ #14557]
bb859b06
L
29117 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29118 if IS_IN_rtld isn't defined.
29119
9cee5585
L
29120 * elf/dl-support.c (_dl_sysinfo_map): New.
29121 Include "get-dynamic-info.h" and "setup-vdso.h".
29122 (_dl_non_dynamic_init): Call setup_vdso.
29123 * elf/dynamic-link.h: Don't include <assert.h>.
29124 (elf_get_dynamic_info): Moved to ...
29125 * elf/get-dynamic-info.h: Here. New file.
29126 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29127 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29128 * elf/setup-vdso.h: Here. New file.
29129 * elf/rtld.c: Include "setup-vdso.h".
29130 (dl_main): Call setup_vdso.
29131
23c31b76
JM
291322012-10-05 Joseph Myers <joseph@codesourcery.com>
29133
28234b07
JM
29134 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29135 creal in comment listing functions tested. List finite, isinf,
29136 isnan, isless, islessequal, isgreater, isgreaterequal,
29137 islessgreater, isunordered, lgamma_r and pow10 as functions and
29138 macros not tested. Mention which functions not tested are aliases
29139 for other functions. Fix typo. Note that signs of NaNs are not
29140 tested.
29141
23c31b76
JM
29142 * scripts/config.guess: Update from config.git.
29143 * scripts/config.sub: Likewise.
29144
9043e228
RM
291452012-10-04 Roland McGrath <roland@hack.frob.com>
29146
29147 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29148 * misc/madvise.c (madvise): Renamed to __madvise.
29149 Make madvise a weak alias.
29150 * include/sys/mman.h: Declare __madvise.
29151 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29152 * sysdeps/unix/syscalls.list
29153 (madvise): Make __madvise the strong name, and madvise a weak alias.
29154 * sysdeps/unix/sysv/linux/syscalls.list
29155 (madvise, mmap): Remove redundant entries.
29156 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29157 * malloc/malloc.c (mtrim): Likewise.
29158 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29159
f57f8055
RM
291602012-10-03 Roland McGrath <roland@hack.frob.com>
29161
29162 * sysdeps/mach/hurd/dl-cache.c: File removed.
29163 * config.h.in (USE_LDCONFIG): New #undef.
29164 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29165 * configure: Regenerated.
29166 * elf/Makefile (dl-routines): Add dl-cache only under
29167 [$(use-ldconfig) = yes].
29168 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29169 cache on [USE_LDCONFIG].
29170 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29171 [USE_LDCONFIG].
29172 * elf/rtld.c (dl_main): Likewise.
29173
5bb0c10a
PT
291742012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29175
29176 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29177 _SC_LEVEL4_CACHE_LINESIZE.
29178
010188c6
RM
291792012-10-03 Roland McGrath <roland@hack.frob.com>
29180
29181 * sysdeps/unix/bsd/confstr.h: File removed.
29182
b6c5ec07
AO
291832012-10-02 Alexandre Oliva <aoliva@redhat.com>
29184
29185 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29186 sys/sdt-config.h.
29187
408223d4
RM
291882012-10-02 Roland McGrath <roland@hack.frob.com>
29189
29190 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29191 Make 'mapoff' field ElfW(Off) rather than off_t.
29192
bb9510dc
DL
291932012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29194
fc997c6e
DL
29195 * nscd/Makefile: Remove nscd-cflags and all its users.
29196 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29197 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29198
bb9510dc
DL
29199 [BZ #10631]
29200 * malloc.c (malloc_printerr): Clarify error message.
29201
05699367
L
292022012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29203
29204 [BZ #14648]
29205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29206 Set bit_FMA_Usable if FMA is supported.
29207 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29208 macro.
29209 (bit_FMA4_Usable): Updated.
29210 (index_FMA_Usable): New macro.
29211 (CPUID_FMA): Likewise
29212 (HAS_FMA): Defined with bit_FMA_Usable.
29213
51367701
RM
292142012-10-01 Roland McGrath <roland@hack.frob.com>
29215
29216 * bits/types.h (__swblk_t): Type removed.
29217 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29218 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29220 (__SWBLK_T_TYPE): Likewise.
29221 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29222 (__SWBLK_T_TYPE): Likewise.
29223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29224 (__SWBLK_T_TYPE): Likewise.
29225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29226 (__SWBLK_T_TYPE): Likewise.
29227
4d57bf63 292282012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29229 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29230
29231 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29232 (xdr_mapname): Use YPMAXMAP as maxsize.
29233 (xdr_peername): Use YPMAXPEER as maxsize.
29234 (xdr_keydat): Use YPAXRECORD as maxsize.
29235 (xdr_valdat): Use YPMAXRECORD as maxsize.
29236
93c65d43
RM
292372012-10-01 Roland McGrath <roland@hack.frob.com>
29238
497a03d6
RM
29239 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29240
93c65d43
RM
29241 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29242 * csu/init-first.c: ... here.
29243 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29244 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29245 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29246 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29247 * sysdeps/i386/init-first.c: File removed.
29248 * sysdeps/sh/init-first.c: File removed.
29249
bec749fd
JM
292502012-10-01 Joseph Myers <joseph@codesourcery.com>
29251
29252 [BZ #14645]
29253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29254 if x * y might underflow to zero and z is zero.
29255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29257 * math/libm-test.inc (min_subnorm_value): New variable.
29258 (fma_test): Add more tests.
29259 (fma_test_towardzero): Likewise.
29260 (fma_test_downward): Likewise
29261 (fma_test_upward): Likewise.
29262 (initialize): Set min_subnorm_value.
29263
8ec5b013
JM
292642012-09-29 Joseph Myers <joseph@codesourcery.com>
29265
29266 [BZ #14638]
29267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29268 0 + 0.
29269 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29270 mode for addition resulting in exact zero.
29271 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29273 exact 0 + 0.
29274 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29276 * math/libm-test.inc (fma_test): Add more tests.
29277 (fma_test_towardzero): New function.
29278 (fma_test_downward): Likewise.
29279 (fma_test_upward): Likewise.
29280 (main): Call the new functions.
29281
b1fa802e
DM
292822012-09-28 David S. Miller <davem@davemloft.net>
29283
29284 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29285
d3b9fd9e
RM
292862012-09-28 Roland McGrath <roland@hack.frob.com>
29287
ea4d37b3
RM
29288 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29289 instead of SIGALRM.
29290
ac51c949
RM
29291 * sysdeps/gnu/_G_config.h: Moved to ...
29292 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29293 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29294 * sysdeps/generic/_G_config.h: ... here.
29295
28c195f7
RM
29296 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29297
848917f9
RM
29298 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29299
6bacf05b
RM
29300 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29301 Conditionalize target on [libnss_test1.so-version].
29302
91363dbb
RM
29303 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29304
cc87f7d8
RM
29305 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29306 (elfobjdir): Move out of conditionals.
29307
b1c608fe
RM
29308 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29309 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29310 (__nss_lookup_function): Conditionalize label remove_from_tree on
29311 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29312
1d9a6d96
DM
293132012-09-28 David S. Miller <davem@davemloft.net>
29314
29315 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29316 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29317 file.
29318 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29319 sysdep_routines.
29320 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29322 when HWCAP_SPARC_CRYPTO is present.
29323
72581615
PT
293242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29325
29326 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29327
715a900c
JL
293282012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29329
29330 [BZ #6530]
29331 * stdio-common/vfprintf.c (process_string_arg): Revert
29332 2000-07-22 change.
29333
293342011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29335
29336 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29337 for testcase.
29338 * stdio-common/tst-sprintf.c: Include <locale.h>
29339 (main): Test sprintf's handling of incomplete multibyte
29340 characters.
29341
9bac1d86
L
293422012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29343
29344 * elf/dl-runtime.c (VERSYMIDX): Removed.
29345 * elf/dl-version.c (VERSYMIDX): Likewise.
29346 * elf/do-rel.h (VERSYMIDX): Likewise.
29347 (VALIDX): Likewise.
29348 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29349 * elf/rtld.c (VALIDX): Likewise.
29350 (ADDRIDX): Likewise.
9bac1d86
L
29351 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29352 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29353 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29354 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29355 (VALIDX): Likewise.
29356 (ADDRIDX): Likewise.
9bac1d86 29357
b31606c0
PT
293582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29359
29360 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29361
11541177
JL
293622012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29363
29364 [BZ #11438]
29365 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29366 to global scope.
29367 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29368 addresses are in the same scope as 192.0.2/24.
29369 * posix/gai.conf: Document new scope table defaults.
29370
adb26fae
SP
293712012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29372
29373 [BZ #5298]
29374 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29375 for ftell. Compute offsets from write pointers instead.
29376 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29377
4573c6b0
SP
293782012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29379
29380 [BZ #14543]
29381 * libio/Makefile (tests): New test case tst-fseek.
29382 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29383 combination works in wide mode.
29384 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29385 state when the external buffer state changes.
29386
aa9bbfe6
DM
293872012-09-27 David S. Miller <davem@davemloft.net>
29388
29389 [BZ #14376]
29390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29391 pass reloc->r_addend in as the 'high' argument to
29392 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29393
784421e7
DM
29394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29395
c39bc8b8
PT
293962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29397
29398 * rt/tst-aio2.c: Include <pthread.h>.
29399 * rt/tst-aio3.c: Likewise.
29400
1ccc2399
SE
294012012-09-27 Steve Ellcey <sellcey@mips.com>
29402
29403 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29404
31ed4153
L
294052012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29406
25f5f885
L
29407 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29408 contents on [SHARED].
31ed4153 29409
b7bfe116
MP
294102012-09-26 Marek Polacek <polacek@redhat.com>
29411
29412 [BZ #14530]
29413 [BZ #13741]
29414 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29415 for C++ and GCC <4.3 as well as for non GCC compilers.
29416
43c4edba
MT
294172012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29418
29419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29420
6a1bf82f
RM
294212012-09-25 Roland McGrath <roland@hack.frob.com>
29422
29423 * Makefile.in (all, install): Declare with .PHONY.
29424 Reported by Michael Hope <michael.hope@linaro.org>.
29425
8ad11b9a
TMQMF
294262012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29427
29428 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29429 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29430 system header.
29431 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29432 Likewise.
29433 (sydep_routines): Add the new and the internal functions.
29434 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29435 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29437 (GLIBC_2.17): Add the new function.
29438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29439 (GLIBC_2.17): Likewise.
29440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29441 (GLIBC_2.17): Likewise.
29442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29443 (GLIBC_2.17): Likewise.
29444 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29445
7e2fca8d
AM
294462012-09-25 Alan Modra <amodra@gmail.com>
29447
29448 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29449 Add release barrier before setting once_control to say
29450 initialisation is done. Add hints on lwarx. Use macro in
29451 place of isync.
29452 (clear_once_control): Add release barrier.
29453
b87c4b24
JM
294542012-09-25 Joseph Myers <joseph@codesourcery.com>
29455
d032e0d2
JM
29456 [BZ #13629]
29457 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29458 specially.
29459 * math/s_clog10.c (__clog10): Likewise.
29460 * math/s_clog10f.c (__clog10f): Likewise.
29461 * math/s_clog10l.c (__clog10l): Likewise.
29462 * math/s_clogf.c (__clogf): Likewise.
29463 * math/s_clogl.c (__clogl): Likewise.
29464 * math/Makefile (libm-calls): Add x2y2m1.
29465 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29466 (__x2y2m1): Likewise.
29467 (__x2y2m1l): Likewise.
29468 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29469 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29470 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29472 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29473 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29474 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29475 * sysdeps/i386/fpu/libm-test-ulps: Update.
29476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29477
b87c4b24
JM
29478 [BZ #14621]
29479 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29480 int as type of variable DEPTH.
29481 (glob): Use size_t instead of int as type of variables NEWCOUNT
29482 and OLD_PATHC.
29483
6d3bf199
LD
294842012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29485
22bf5c17
LD
29486 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29487 Add s_sincosf-sse2.
29488 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29489 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29490 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29491 macros for using routine as __sincosf_ia32.
29492 Use macro for function declaration and weak_alias.
29493 * sysdeps/i386/fpu/libm-test-ulps: Update.
29494
29495 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29497
29498 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
29499 subnormal argument.
29500 * math/s_cexpf.c (__cexpf): Likewise.
29501 * math/s_csinf.c (__csinf): Likewise.
29502 * math/s_csinhf.c (__csinhf): Likewise.
29503 * math/s_ctanf.c (__ctanf): Likewise.
29504 * math/s_ctanhf.c (__ctanhf): Likewise.
29505 * math/s_ccosh.c (__ccoshf): Likewise.
29506 * math/s_cexp.c (__cexpl): Likewise.
29507 * math/s_csin.c (__csin): Likewise.
29508 * math/s_csinh.c (__csinh): Likewise.
29509 * math/s_ctan.c (__ctan): Likewise.
29510 * math/s_ctanh.c (ctanh): Likewise.
29511 * math/s_ccoshl.c (__ccoshl): Likewise.
29512 * math/s_cexpl.c (__cexpl): Likewise.
29513 * math/s_csinl.c (__csinl): Likewise.
29514 * math/s_csinhl.c (__csinhl): Likewise.
29515 * math/s_ctanl.c (__ctanl): Likewise.
29516 * math/s_ctanhl.c (__ctanhl): Likewise.
29517
203e5603
JM
295182012-09-25 Joseph Myers <joseph@codesourcery.com>
29519
29520 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29521 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29522 (_IO_off_t): Define to __off_t, not _G_off_t.
29523 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29524 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29525 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29526 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29527 type of __dummy and __dummy2 fields.
29528 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29529 (_G_ssize_t): Likewise.
29530 (_G_off_t): Likewise.
29531 (_G_pid_t): Likewise.
29532 (_G_uid_t): Likewise.
29533 (_G_wchar_t): Likewise.
29534 (_G_wint_t): Likewise.
29535 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29536 (_G_ssize_t): Likewise.
29537 (_G_off_t): Likewise.
29538 (_G_pid_t): Likewise.
29539 (_G_uid_t): Likewise.
29540 (_G_wchar_t): Likewise.
29541 (_G_wint_t): Likewise.
29542 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29543 (_G_ssize_t): Likewise.
29544 (_G_off_t): Likewise.
29545 (_G_pid_t): Likewise.
29546 (_G_uid_t): Likewise.
29547 (_G_wchar_t): Likewise.
29548 (_G_wint_t): Likewise.
29549
9fab36eb
SP
295502012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29551
29552 * malloc/arena.c: Include malloc-sysdep.h.
29553 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29554 is sufficient to shrink the heap or an unmap is needed.
29555 * sysdeps/generic/malloc-sysdep.h: New file. Define
29556 new function check_may_shrink_heap.
29557 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29558 new function check_may_shrink_heap.
29559
2b4f00d1
SP
295602012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29561
29562 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29563 comments.
29564
9a9028b1
DL
295652012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29566
57c69bef
DL
29567 * catgets/test-gencat.sh: Add "set -e".
29568 * elf/tst-pathopt.sh: Likewise.
29569 * grp/tst_fgetgrent.sh: Likewise.
29570 * iconvdata/run-iconv-test.sh: Likewise.
29571 * intl/tst-gettext.sh: Likewise.
29572 * intl/tst-gettext2.sh: Likewise.
29573 * intl/tst-gettext4.sh: Likewise.
29574 * intl/tst-gettext6.sh: Likewise.
29575 * intl/tst-translit.sh: Likewise.
29576 * io/ftwtest-sh: Likewise.
29577 * libio/test-freopen.sh: Likewise.
29578 * malloc/tst-mtrace.sh: Likewise.
29579 * posix/globtest.sh: Likewise.
29580 * posix/tst-getconf.sh: Likewise.
29581 * posix/wordexp-tst.sh: Likewise.
29582 * stdio-common/tst-printf.sh: Likewise.
29583 * stdio-common/tst-unbputc.sh: Likewise.
29584 * stdlib/tst-fmtmsg.sh: Likewise.
29585 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29586 * catgets/Makefile: Do not specify -e option when running
29587 testsuite shell scripts.
29588 * elf/Makefile: Likewise.
29589 * grp/Makefile: Likewise.
29590 * iconvdata/Makefile: Likewise.
29591 * intl/Makefile: Likewise.
29592 * io/Makefile: Likewise.
29593 * libio/Makefile: Likewise.
29594 * malloc/Makefile: Likewise.
29595 * posix/Makefile: Likewise.
29596 * stdio-common/Makefile: Likewise.
29597 * stdlib/Makefile: Likewise.
29598 * sysdeps/x86_64/Makefile: Likewise.
29599
9a9028b1
DL
29600 * io/ftwtest-sh: Add copyright header.
29601 * posix/globtest.sh: Likewise.
29602 * posix/tst-getconf.sh: Likewise.
29603 * posix/wordexp-tst.sh: Likewise.
29604 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29605
ced6f16e
L
296062012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29607
94b32c39
L
29608 [BZ #13679]
29609 * Makeconfig (+link): Defined as $(+link-static) if
29610 $(build-shared) isn't yes.
29611 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29612 isn't yes.
29613 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29614
189e935b
L
29615 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29616
ced6f16e
L
29617 [BZ #14562]
29618 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29619 new chunk size with MALLOC_ALIGN_MASK.
29620
a9f8e53a
JM
296212012-09-24 Joseph Myers <joseph@codesourcery.com>
29622
29623 [BZ #5044]
29624 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29625 <rounding-mode.h>.
29626 (__printf_fphex): Determine rounding using get_rounding_mode and
29627 round_away.
29628 * stdio-common/tst-printf-round.c (struct hex_test): New
29629 structure.
29630 (hex_tests): New variable.
29631 (test_hex_in_one_mode): New function.
29632 (do_test): Also run tests for hex float output.
29633
43153109
JM
296342012-09-21 Joseph Myers <joseph@codesourcery.com>
29635
29636 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29637 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29638 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29639 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29640 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29641 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29642 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29643 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29644
8a26625d
JM
296452012-09-20 Joseph Myers <joseph@codesourcery.com>
29646
29647 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29648 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29649 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29650 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29651
f3fd569c
DL
296522012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29653
29654 [BZ #14579]
29655 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29656 mode only.
29657 * elf/tst-rtld-load-self.sh: New test.
29658 * elf/Makefile: Run it.
29659
63bbedd4
JM
296602012-09-18 Joseph Myers <joseph@codesourcery.com>
29661
29662 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29663 (tst-writev-ENV): Remove.
29664 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29665
626f8b6a
CM
296662012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29667
29668 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29669
b7aaa4d6
JM
296702012-09-17 Joseph Myers <joseph@codesourcery.com>
29671
29672 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29673 unconditional.
29674 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29675 Likewise.
29676 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29677 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29678 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29679 Likewise.
29680
65513990
L
296812012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29682
29683 [BZ #14587]
29684 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29685 * config.make.in (have-cpp-asm-debuginfo): Removed.
29686 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29687 * configure: Regenerated.
29688
784761be
JM
296892012-09-14 Joseph Myers <joseph@codesourcery.com>
29690
29691 [BZ #5044]
29692 * stdio-common/printf_fp.c: Include <stdbool.h> and
29693 <rounding-mode.h>.
29694 (___printf_fp): Determine rounding using get_rounding_mode and
29695 round_away.
29696 * stdio-common/tst-printf-round.c: New file.
29697 * stdio-common/Makefile (tests): Add tst-printf-round.
29698 (link-libm): New variable.
29699 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29700
9503345f
L
297012012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29702
29703 [BZ #14576]
29704 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29705 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29706 Likewise.
29707 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29708 Likewise.
29709
ad35fc00
JM
297102012-09-13 Joseph Myers <joseph@codesourcery.com>
29711
29712 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29713 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29714 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29715 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29716
6c9b0f68
JM
297172012-09-12 Joseph Myers <joseph@codesourcery.com>
29718
29719 [BZ #14518]
29720 * include/rounding-mode.h: New file.
29721 * sysdeps/generic/get-rounding-mode.h: Likewise.
29722 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29723 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29724 (MAX_VALUE): New macro.
29725 (MIN_VALUE): Likewise.
29726 (overflow_value): New function.
29727 (underflow_value): Likewise.
29728 (round_and_return): Use overflow_value and underflow_value to
29729 determine return values in overflow and underflow cases. Use
29730 round_away to determine rounding depending on rounding mode.
29731 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29732 determine return values in overflow and underflow cases.
29733 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29734 (struct test_results): New structure.
29735 (struct test): Use struct test_results to store expected results
29736 for all rounding modes.
29737 (TEST): Include expected results for all rounding modes.
29738 (test_in_one_mode): New function.
29739 (do_test): Use test_in_one_mode to compute and check results.
29740 Check results for all rounding modes.
29741 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29742 $(link-libm).
29743
19fcedd5
AM
297442012-12-09 Allan McRae <allan@archlinux.org>
29745
1e9d84cd 29746 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29747
8bbfd2f1
JM
297482012-09-11 Joseph Myers <joseph@codesourcery.com>
29749
29750 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29751 (_G_int32_t): Likewise.
29752 (_G_uint16_t): Likewise.
29753 (_G_uint32_t): Likewise.
29754 (_G_HAVE_BOOL): Likewise.
29755 (_G_HAVE_ATEXIT): Likewise.
29756 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29757 (_G_HAVE_IO_FILE_OPEN): Likewise.
29758 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29759 (_G_int32_t): Likewise.
29760 (_G_uint16_t): Likewise.
29761 (_G_uint32_t): Likewise.
29762 (_G_HAVE_BOOL): Likewise.
29763 (_G_HAVE_ATEXIT): Likewise.
29764 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29765 (_G_HAVE_IO_FILE_OPEN): Likewise.
29766 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29767 (_G_int32_t): Likewise.
29768 (_G_uint16_t): Likewise.
29769 (_G_uint32_t): Likewise.
29770 (_G_HAVE_BOOL): Likewise.
29771 (_G_HAVE_ATEXIT): Likewise.
29772 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29773 (_G_HAVE_IO_FILE_OPEN): Likewise.
29774
b1dc5912
L
297752012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29776
29777 * csu/libc-tls.c: Update copyright years.
29778
0e886ef9
JM
297792012-09-10 Joseph Myers <joseph@codesourcery.com>
29780
28361c5e
JM
29781 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29782 [!_G_USING_THUNKS]: Remove conditional code.
29783 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29784 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29785
0e886ef9
JM
29786 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29787 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29788 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29789 (_G_VTABLE_LABEL_PREFIX): Likewise.
29790 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29791 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29792 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29793 (_G_VTABLE_LABEL_PREFIX): Likewise.
29794 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29795 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29796 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29797 (_G_VTABLE_LABEL_PREFIX): Likewise.
29798 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29799
bcba7aa2
L
298002012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29801
29802 * libio/Makefile: Include ../Makeconfig before tests.
29803 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29804 only if $(build-shared) is yes.
29805
06585ee8
L
29806 * iconv/gconv_db.c: Update copyright years.
29807
80ccd52c
LD
298082012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29809
29810 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29811 unwind info if defined PIC. Fix special cases description.
29812 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29813
29814 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29815 DP_HI_MASK entry.
29816 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29817
691bc9c1
L
298182012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29819
3d9b46b3
L
29820 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29821
de2139a9
L
29822 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29823 is NULL.
29824
5ca78dd0
L
29825 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29826 (LDLIBS-tst-chk4): This.
29827 (LDFLAGS-tst-chk5): Renamed to ...
29828 (LDLIBS-tst-chk5): This.
29829 (LDFLAGS-tst-chk6): Renamed to ...
29830 (LDLIBS-tst-chk6): This.
29831 (LDFLAGS-tst-lfschk4): Renamed to ...
29832 (LDLIBS-tst-lfschk4): This.
29833 (LDFLAGS-tst-lfschk5): Renamed to ...
29834 (LDLIBS-tst-lfschk5): This.
29835 (LDFLAGS-tst-lfschk6): Renamed to ...
29836 (LDLIBS-tst-lfschk6): This.
29837
691bc9c1
L
29838 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29839 on $(common-objpfx)soversions.mk.
29840
65cafb1c
JM
298412012-09-07 Joseph Myers <joseph@codesourcery.com>
29842
29843 [BZ #10014]
29844 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29845 example host name.
29846
c78ab094
SP
298472012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29848
29849 * malloc/arena.c (arena_get_retry): New function that gets
29850 another arena for the caller to try its request on.
29851 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29852 current arena cannot fulfill the request.
29853 (__libc_memalign): Likewise.
29854 (__libc_memalign): Likewise.
29855 (__libc_pvalloc): Likewise.
29856 (__libc_calloc): Likewise.
29857
01f49f59
JT
298582012-09-05 John Tobey <john.tobey@gmail.com>
29859
29860 [BZ #13542]
29861 * manual/arith.texi (Operations on Complex): Fix description
29862 of carg branch cut.
29863
4c23fed5
JM
298642012-09-06 Joseph Myers <joseph@codesourcery.com>
29865
1d3c8572
JM
29866 [BZ #10014]
29867 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29868 host name.
29869
4c23fed5
JM
29870 [BZ #10038]
29871 * manual/memory.texi (Memory): Make order of menu items match
29872 order of sections.
29873
04570aaa
L
298742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29875
29876 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29877 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29878 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29879
b80af2f4
L
298802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29881
29882 * csu/libc-tls.c (static_dtv): Renamed to ...
29883 (_dl_static_dtv): This. Make it global.
29884 (_dl_initial_dtv): Removed.
29885 (__libc_setup_tls): Updated.
29886 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29887 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29888 DL_INITIAL_DTV.
29889
2abe9f15
PM
298902012-09-06 Petr Machata <pmachata@redhat.com>
29891
29892 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29893 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29894 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29895 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29896
0948c3af
L
298972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29898
29899 [BZ #14545]
29900 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29901 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29902 freeing dtv[-1].
29903
a5055ad1
L
299042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29905
29906 [BZ #14544]
29907 * Makeconfig (link-static-before-libc): Replace $(+prector)
29908 with $(+prectorT).
29909 (link-static-after-libc): Replace $(+postctor) with
29910 $(+postctorT).
29911 (link-bounded): Replace $(+prector)/$(+postctor) with
29912 $(+prectorT)/$(+postctorT).
29913 (+prectorT): New macro.
29914 (+postctorT): Likewise.
29915
ed8c2ecd
JM
299162012-09-06 Joseph Myers <joseph@codesourcery.com>
29917
29918 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29919 (round_str): Handle values above the maximum for IBM long double
29920 as inexact.
29921 * stdlib/tst-strtod-round.c (tests): Regenerated.
29922
14c996c8
AK
299232012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29924
29925 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29926 assembler flag.
29927 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29928 zarch_nohighgprs around the zarch optimized routines.
29929 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29930 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29931 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29932 for zarch.
29933
430d6ce6
DM
299342012-09-05 David S. Miller <davem@davemloft.net>
29935
29936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29937
57f41c40
AS
29938 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29939 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29940 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29941 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29942 entries.
29943
24d4e01b
AO
299442012-09-05 Alexandre Oliva <aoliva@redhat.com>
29945
29946 * malloc/arena.c: Fold copyright years.
29947 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29948
61d58174
AO
299492012-09-05 Alexandre Oliva <aoliva@redhat.com>
29950
29951 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29952
20196a5e
AO
299532012-09-05 Alexandre Oliva <aoliva@redhat.com>
29954
29955 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29956
5c447383
AO
299572012-09-05 Alexandre Oliva <aoliva@redhat.com>
29958
29959 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29960 change internal state upon failure.
29961
fad64255
AO
299622012-09-05 Alexandre Oliva <aoliva@redhat.com>
29963
29964 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29965 * malloc/memusage.c (mmap): Likewise.
29966 (mmap64, mremap): Likewise. Adjust name in comment.
29967
1ffb8c90
SP
299682012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29969
29970 * libio/fileops.c: Fix typos in comments.
29971 * libio/oldfileops.c: Likewise.
29972 * libio/wfileops.c: Likewise.
29973
6ef9cc37
SP
299742012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29975
29976 [BZ #1349]
29977 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29978 (tst-malloc-usable-ENV): Set environment for test case.
29979 * malloc/hooks.c (malloc_check_get_size): New function to get
29980 requested size.
29981 * malloc/malloc.c (musable): Use malloc_check_get_size.
29982 * malloc/tst-malloc-usable.c: New test case.
29983
4d038ae3
AS
299842012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29985
29986 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29987
c4e85184
AM
299882012-09-05 Allan McRae <allan@archlinux.org>
29989
b9dafc56 29990 [BZ #13966]
c4e85184
AM
29991 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29992 determine header location.
29993 * configure: Regenerated.
29994
e1343020
AS
299952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29996
29997 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29998 float format.
29999 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30000 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30001 format.
e1343020
AS
30002 (test): Regenerate.
30003
0a9f1987
DM
300042012-09-04 David S. Miller <davem@davemloft.net>
30005
30006 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30007 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30008 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30009
29237804
FW
300102012-09-04 Florian Weimer <fweimer@redhat.com>
30011
30012 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30013 failures.
30014
edb3cb88
FW
30015 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30016
60160d83
JM
300172012-09-04 Joseph Myers <joseph@codesourcery.com>
30018
30019 [BZ #9914]
30020 * libio/iogetdelim.c: Include <limits.h>.
30021 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30022 + len + 1 would overflow.
30023
bcd6c8dc
AJ
300242012-09-03 Andreas Jaeger <aj@suse.de>
30025
30026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30027 * sysdeps/i386/fpu/libm-test-ulps: Update.
30028
4ffffbd2
LD
300292012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30030
30031 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30032 Add s_sinf-sse2, s_conf-sse2.
30033
30034 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30035 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30036 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30037 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30038
30039 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30040 for using routine as __sinf_ia32.
30041 Use macro for function declaration and weak_alias.
30042 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30043 for using routine as __cosf_ia32.
30044 Use macro for function declaration and weak_alias.
30045
30046 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30047 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30048
30049 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30050 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30052
30053 * math/libm-test.inc (cos_test): Add more test cases.
30054 (sin_test): Likewise.
30055 (sincos_test): Likewise.
30056
511fa286
AK
300572012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30058
30059 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30060 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30061 hidden.
30062 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30063
5f30cfec
L
300642012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30065
30066 [BZ #14538]
30067 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30068 first element of the GOT.
30069 (elf_machine_load_address): Return the difference between
30070 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30071
0786794f
AM
300722012-09-01 Allan McRae <allan@archlinux.org>
30073
5f30cfec
L
30074 [BZ #13412]
30075 * configure.in (AWK): Require gawk version 3.0 or later.
30076 * configure: Regenerated.
0786794f 30077
26889eac
JM
300782012-09-01 Joseph Myers <joseph@codesourcery.com>
30079
30080 * sysdeps/unix/sysv/linux/kernel-features.h
30081 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30082 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30083 [__NR_clock_getres]: Make code unconditional.
30084 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30085 (clock_getcpuclockid): Remove code left unreachable by removal of
30086 conditionals.
30087 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30088 code unconditional.
30089 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30090 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30091 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30092 Make code unconditional.
30093 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30094 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30095 * sysdeps/unix/sysv/linux/clock_settime.c
30096 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30097 conditional code.
30098 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30099 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30100
d22e28b0
L
301012012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30102
30103 [BZ #14476]
30104 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30105 scripts/test-installation.pl.
30106
30107 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30108 and $ld_so_version if it is set.
30109
050af9c4
SP
301102012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30111
30112 [BZ #14516]
30113 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30114 failure if reading from procfs failed.
30115 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30116
ad845c0b
JM
301172012-08-27 Joseph Myers <joseph@codesourcery.com>
30118
30119 * sysdeps/unix/sysv/linux/kernel-features.h
30120 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30121 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30122 Remove conditional code.
30123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30124 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30125 Remove conditional code.
30126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30127 * sysdeps/unix/sysv/linux/i386/fxstat.c
30128 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30130 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30131 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30133 * sysdeps/unix/sysv/linux/i386/lxstat.c
30134 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30136 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30137 Remove conditional code.
30138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30139 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30140 Remove conditional code.
30141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30142 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30143 <kernel-features.h>.
30144 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30145 Remove.
30146 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30147 Remove conditional code.
30148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30149 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30150 Remove conditional.
30151
5dbf56af
MF
301522012-08-27 Mike Frysinger <vapier@gentoo.org>
30153
30154 [BZ #5400]
30155 * NEWS: Add fixed bug number.
30156
d6e70f43
JM
301572012-08-27 Joseph Myers <joseph@codesourcery.com>
30158
7efb4737
JM
30159 [BZ #14519]
30160 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30161 underflowing exponent in case of negative sign.
30162 * stdlib/tst-strtod-round-data: Add more tests.
30163 * stdlib/tst-strtod-round.c (tests): Regenerated.
30164
af92131a
JM
30165 [BZ #3479]
30166 * stdlib/strtod_l.c (NDIG): Remove.
30167 (HEXNDIG): Likewise.
30168 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30169 smallest representable value.
30170 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30171 lie within an exact representation of 1/2 ulp of the result.
30172 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30173 unconditionally.
30174 (TENS_P9_IDX): Define unconditionally.
30175 (TENS_P9_SIZE): Likewise.
30176 (TENS_P10_IDX): Likewise.
30177 (TENS_P10_SIZE): Likewise.
30178 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30179 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30180 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30181 entries for 10^2^13 and 10^2^14.
30182 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30183 (TENS_P13_IDX): Define.
30184 (TENS_P13_SIZE): Likewise.
30185 (TENS_P14_IDX): Likewise.
30186 (TENS_P14_SIZE): Likewise.
30187 (_fpioconst_pow10): Change array size to
30188 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30189 unconditional.
30190 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30191 1024]: Add entries for 10^2^13 and 10^2^14.
30192 [LAST_POW10 > _LAST_POW10]: Remove #error.
30193 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30194 (_fpioconst_pow10): Change array size to
30195 FPIOCONST_POW10_ARRAY_SIZE.
30196 * stdlib/gen-fpioconst.c: New file.
30197 * stdlib/gen-tst-strtod-round.c: Likewise.
30198 * stdlib/tst-strtod-round-data: Likewise.
30199 * stdlib/tst-strtod-round.c: Likewise.
30200 * stdlib/Makefile (tests): Add tst-strtod-round.
30201
d6e70f43
JM
30202 [BZ #14459]
30203 * stdlib/strtod_l.c: Include <stdint.h>.
30204 (NDEBUG): Do not define.
30205 (round_and_return): Change EXPONENT parameter to type intmax_t.
30206 Rearrange calculations to avoid internal overflow possibilities.
30207 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30208 Rearrange calculations to avoid internal overflow possibilities.
30209 Assert that number fits inside MPNSIZE limbs.
30210 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30211 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30212 calculations and add assertions to avoid internal overflow
30213 possibilities. Add casts to avoid signed/unsigned operations.
30214 * stdlib/tst-strtod-overflow.c: New file.
30215 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30216
1f529f7d
MP
302172012-08-25 Marek Polacek <polacek@redhat.com>
30218
30219 * time/time.h: Fix some typos in comments.
30220
59a629f1
RM
302212012-08-23 Roland McGrath <roland@hack.frob.com>
30222
30223 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30224 * posix/tst-rfc3484-2.c: Likewise.
30225 * posix/tst-rfc3484-3.c: Likewise.
30226
d3bafbc9
SM
302272012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30228
30229 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30230 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30231
4efcc022
JM
302322012-08-23 Joseph Myers <joseph@codesourcery.com>
30233
30234 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30235 #include of fxstatat64.c.
30236
3cc3ef96
RM
302372012-08-22 Roland McGrath <roland@hack.frob.com>
30238
f04e2132
RM
30239 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30240 * shadow/getspent_r.c: Likewise.
30241 * shadow/getspnam.c: Likewise.
30242 * shadow/getspnam_r.c: Likewise.
30243 * gshadow/getsgent.c: Likewise.
30244 * gshadow/getsgent_r.c: Likewise.
30245 * gshadow/getsgnam.c: Likewise.
30246 * gshadow/getsgnam_r.c: Likewise.
30247 * inet/getnetbyad.c: Likewise.
30248 * inet/getnetbyad_r.c: Likewise.
30249 * inet/getnetbynm.c: Likewise.
30250 * inet/getnetbynm_r.c: Likewise.
30251 * inet/getnetent.c: Likewise.
30252 * inet/getnetent_r.c: Likewise.
30253 * inet/getproto.c: Likewise.
30254 * inet/getproto_r.c: Likewise.
30255 * inet/getprtent.c: Likewise.
30256 * inet/getprtent_r.c: Likewise.
30257 * inet/getprtname.c: Likewise.
30258 * inet/getprtname_r.c: Likewise.
30259 * inet/getrpcbyname.c: Likewise.
30260 * inet/getrpcbyname_r.c: Likewise.
30261 * inet/getrpcbynumber.c: Likewise.
30262 * inet/getrpcbynumber_r.c: Likewise.
30263 * inet/getrpcent.c: Likewise.
30264 * inet/getrpcent_r.c: Likewise.
30265 * inet/getaliasent.c: Likewise.
30266 * inet/getaliasent_r.c: Likewise.
30267 * inet/getaliasname.c: Likewise.
30268 * inet/getaliasname_r.c: Likewise.
30269 * nscd/getgrgid_r.c: Likewise.
30270 * nscd/getgrnam_r.c: Likewise.
30271 * nscd/gethstbyad_r.c: Likewise.
30272 * nscd/gethstbynm3_r.c: Likewise.
30273 * nscd/getpwnam_r.c: Likewise.
30274 * nscd/getpwuid_r.c: Likewise.
30275 * nscd/getsrvbynm_r.c: Likewise.
30276 * nscd/getsrvbypt_r.c: Likewise.
30277 * nscd/gai.c: Likewise.
30278
c53d909c
RM
30279 * configure.in (build_nscd): New substituted variable, set
30280 by --disable-build-nscd and defaults to $use_nscd.
30281 * configure: Regenerated.
30282 * config.make.in (build-nscd): New substituted variable.
30283 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30284 Change conditional to require [$(build-nscd) = yes] as well.
30285 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30286
3cc3ef96
RM
30287 [BZ# 13696]
30288 * configure.in (use_nscd): New substituted variable, set by
30289 --disable-nscd. If enabled, define USE_NSCD.
30290 * configure: Regenerated.
30291 * config.h.in: Add USE_NSCD.
30292 * config.make.in (use-nscd): New substituted variable.
30293 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30294 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30295 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30296 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30297 (CFLAGS-getgrnam_r.c): Likewise.
30298 (CFLAGS-initgroups.c): Likewise.
30299 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30300 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30301 Variables removed.
30302 * inet/getnetgrent_r.c
30303 (nscd_setnetgrent): New function, broken out of ...
30304 (setnetgrent): ... here. Call it.
30305 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30306 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30307 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30308 * nscd/Makefile (routines, aux): Move definitions after include of
30309 Makeconfig. Conditionalize on [$(use-nscd) != no].
30310 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30311 Conditionalize on [USE_NSCD].
30312 (is_nscd, nscd_init_cb): Likewise.
30313 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30314 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30315 * nss/nss_db/db-init.c: Likewise.
30316 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30317 [USE_NSCD].
30318 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30319 (make_request): Use it.
30320 (cache_valid_p): New function.
30321 (__check_pf): Use it.
30322 * NEWS: Add item for --disable-nscd.
30323
07e51550
DL
303242012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30325
30326 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30327 to support sed >= 4.2.1-20-ga9bf076.
30328 * configure: Regenerated.
30329
35a5b08b
RM
303302012-08-22 Roland McGrath <roland@hack.frob.com>
30331
30332 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30333 Conditionalize whole body on [IREL].
30334
8479f23a
JL
303352012-08-22 Jeff Law <law@redhat.com>
30336
30337 [BZ #14505]
30338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30339 if the family is PF_UNSPEC.
30340
48da0b21
MF
303412012-08-22 Mike Frysinger <vapier@gentoo.org>
30342
30343 * Makerules (lib-version): Rename from V.
30344 (install-lib-nosubdir): Change V to lib-version.
30345
15d0da8c
WS
303462012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30347
30348 [BZ #14252]
30349 * powerpc32/power6/wcschr.c: New file.
30350 * powerpc32/power6/wcscpy.c: New file.
30351 * powerpc32/power6/wcsrchr.c: New file.
30352 * powerpc64/power6/wcschr.c: New file.
30353 * powerpc64/power6/wcscpy.c: New file.
30354 * powerpc64/power6/wcsrchr.c: New file.
30355
bcca0895
MK
303562012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30357
30358 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30359 (two_way_short_needle): Use it.
5a4aaa33
RM
30360 * string/strstr.c (AVAILABLE1_USES_J): Define.
30361 * string/strcasestr.c: Likewise.
99677e57
MK
30362
30363 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30364 array references.
30365 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30366
400726de
MK
30367 [BZ #11607]
30368 * NEWS: Add an entry.
30369 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30370 define their defaults.
30371 (two_way_short_needle): Detect end-of-string on-the-fly.
30372 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30373 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30374 * string/bug-strcasestr1.c: New test.
30375 * string/Makefile: Run it.
30376
20a71f2c
MK
303772012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30378
30379 [BZ #11607]
30380 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30381 the first character.
30382
21ad0558
RM
303832012-08-21 Roland McGrath <roland@hack.frob.com>
30384
30385 * csu/elf-init.c (__libc_csu_irel): Function removed.
30386 * csu/libc-start.c (apply_irel): New function.
30387 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30388
0e1d9911
JM
303892012-08-21 Joseph Myers <joseph@codesourcery.com>
30390
30391 * sysdeps/unix/sysv/linux/kernel-features.h
30392 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30393 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30394 <kernel-features.h>.
30395 [__NR_fadvise64_64]: Make code unconditional.
30396 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30397 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30398 !__NR_fadvise64_64)]: Likewise.
30399 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30400 !__NR_fadvise64_64))]: Likewise.
30401 [__NR_fadvise64]: Make code unconditional.
30402 [!__NR_fadvise64]: Remove conditional code.
30403 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30404 <kernel-features.h>.
30405 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30406 unconditional.
30407 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30408 conditional code.
30409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30410 not include <kernel-features.h>.
30411 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30412 unconditional.
30413 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30414 conditional code.
30415 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30416 include <kernel-features.h>.
30417 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30418 unconditional.
30419 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30420 conditional code.
30421
14a50c9d
WS
304222012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30423
30424 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30425 slight instruction rearrangements per scrollpipe analysis.
30426 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30427
c0f4faf0
RM
304282012-08-20 Roland McGrath <roland@hack.frob.com>
30429
696da859
RM
30430 * manual/syslog.texi (syslog; vsyslog, closelog):
30431 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30432 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30433
c0f4faf0
RM
30434 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30435 DSOCAPS to match condition on defining it.
30436
348363b2
JM
304372012-08-20 Joseph Myers <joseph@codesourcery.com>
30438
a35cbf28
JM
30439 * sysdeps/unix/sysv/linux/kernel-features.h
30440 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30442 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30443 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30445 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30446 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30448 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30449 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30450
445f7ecd
JM
30451 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30452 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30453
348363b2
JM
30454 * sysdeps/unix/sysv/linux/kernel-features.h
30455 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30456 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30457 unconditional.
30458 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30459 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30460 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30461 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30462 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30463 Make code unconditional.
30464 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30465 (__mmap64) [!__NR_mmap2]: Likewise.
30466 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30467 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30468 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30469 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30470 [__NR_mmap2]: Make code unconditional.
30471 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30472 (__mmap64) [!__NR_mmap2]: Likewise.
30473
bc5bc0e5
AK
304742012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30475
30476 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30477
88d506de
AJ
304782012-08-18 Andreas Jaeger <aj@suse.de>
30479
30480 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30481
493387d2
MF
304822012-08-18 Mike Frysinger <vapier@gentoo.org>
30483
30484 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30485 * include/unistd.h (__have_sock_cloexec): Likewise.
30486 (__have_pipe2): Likewise.
30487 (__have_dup3): Likewise.
30488
a277af22
MF
304892012-08-18 Mike Frysinger <vapier@gentoo.org>
30490
30491 [BZ #9685]
30492 * include/unistd.h (__have_pipe2): Change define into an extern int.
30493 (__have_dup3): Likewise.
30494 * socket/have_sock_cloexec.c: Include fcntl.h.
30495 (__have_pipe2): New variable.
30496 (__have_dup3): Likewise.
30497
fdab8fd3
MF
304982012-08-17 Mike Frysinger <vapier@gentoo.org>
30499
30500 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30501
31035e80
MP
305022012-08-17 Marek Polacek <polacek@redhat.com>
30503
30504 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30505 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30506
3bd9e993
RM
305072012-08-17 Roland McGrath <roland@hack.frob.com>
30508
c91c505f
RM
30509 * configure.in: Add AC_SUBST for sysheaders.
30510 * configure: Regenerated.
30511 * config.make.in (sysheaders): New substituted variable.
30512
7c6f9d53
RM
30513 * sysdeps/unix/mkfifo.c: Moved ...
30514 * sysdeps/posix/mkfifo.c: ... here.
30515 * sysdeps/unix/mkfifoat.c: Moved ...
30516 * sysdeps/posix/mkfifoat.c: ... here.
30517
30518 * sysdeps/unix/utime.c: Moved ...
30519 * sysdeps/posix/utime.c: ... here.
30520
30521 * sysdeps/unix/time.c: Moved ...
30522 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
30523 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30524 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
30525
30526 * sysdeps/unix/nice.c: Moved ...
30527 * sysdeps/posix/nice.c: ... here.
30528
30529 * sysdeps/unix/alarm.c: Moved ...
30530 * sysdeps/posix/alarm.c: ... here.
30531
3bd9e993
RM
30532 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30533
d1f09384
JL
305342012-08-17 Jeff Law <law@redhat.com>
30535
30536 * intl/Makefile (codeset_mo): New variable.
30537 ($(codeset_mo)): New target.
30538 (tst-codeset.out): Depend on that. Remove explicit rule.
30539 (tst-gettext3.out, tst-gettext5.out): Likewise.
30540 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30541 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30542 * intl/tst-codeset.sh: Remove.
30543 * intl/tst-gettext3.sh: Likewise.
30544 * intl/tst-gettext5.sh: Likewise.
30545
2ae1ae5c
RM
305462012-08-17 Roland McGrath <roland@hack.frob.com>
30547
c31fdb83
RM
30548 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30549 * sysdeps/unix/syscalls.list: ... here.
30550
a0844057
RM
30551 * sysdeps/posix/getaddrinfo.c
30552 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30553 (gaiconf_init, gaiconf_reload): Use them.
30554 [!_STATBUF_ST_NSEC]
30555 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30556 Define using time_t rather than struct timespec.
30557
750c1f2a
RM
30558 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30559 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30560 Macros removed.
30561 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30562 [!NO_THREADS].
30563 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30564 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30565 Likewise.
30566
2ae1ae5c
RM
30567 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30568 __libc_cleanup_push argument.
30569
e66a42f5
RM
30570 * bits/param.h: New file.
30571 * misc/sys/param.h: New file.
30572 * include/sys/param.h: New file.
30573 * misc/Makefile (headers): Add bits/param.h.
30574 * sysdeps/generic/sys/param.h: File removed.
30575 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30576 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30577 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30578 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30579
b7c08a66
RM
30580 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30581 last change.
30582
b2e1c562
RM
30583 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30584 [_IO_MTSAFE_IO].
30585 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30586 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30587 New macros.
30588
c75ccd4c
RM
30589 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30590 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30591 rather than -D_IO_MTSAFE_IO conditionally.
30592 * stdio-common/Makefile (CPPFLAGS): Likewise.
30593 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30594 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30595 Use $(libio-mtsafe).
30596 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30597 of -D_IO_MTSAFE_IO.
30598 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30599 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30600 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30601 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30602 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30603 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30604 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30605 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30606 (CFLAGS-fread_u_chk.c): Likewise.
30607 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30608 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30609 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30610 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30611 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30612 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30613 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30614 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30615 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30616
30617 * libio/Makefile: Test [$(libc-reentrant) = yes]
30618 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30619
30620 * Makeconfig
30621 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30622 * sysdeps/pthread/configure: File removed.
30623 * sysdeps/pthread/Makeconfig: New file.
30624 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30625 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30626
d9195db8
GB
306272012-08-16 Gary Benson <gbenson@redhat.com>
30628
30629 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30630 unmapping the first object in a namespace.
30631
86466cd9
RM
306322012-08-16 Roland McGrath <roland@hack.frob.com>
30633
30634 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30635 (__internal_setnetgrent): ... this. Add internal_function to
30636 definition. Add libc_hidden_def.
30637 (setnetgrent): Update caller.
30638 (internal_endnetgrent): Renamed to ...
30639 (__internal_endnetgrent): ... this. Add internal_function to
30640 definition. Add libc_hidden_def.
30641 (endnetgrent): Update caller.
30642 (internal_getnetgrent_r): Renamed to ...
30643 (__internal_getnetgrent_r): ... this. Add internal_function to
30644 definition. Add libc_hidden_def.
30645 (__getnetgrent_r): Update caller.
30646 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30647
c3c8283c
JM
306482012-08-16 Joseph Myers <joseph@codesourcery.com>
30649
30650 * stdlib/longlong.h: Update from GCC.
30651
db1ee0a8
RM
306522012-08-16 Roland McGrath <roland@hack.frob.com>
30653
30654 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30655 on _QL, which is set by umul_ppmm but never used.
30656 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30657 variables, which are set by GMP macros but never used.
30658 * stdio-common/_itowa.c (_itowa): Likewise.
30659 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30660 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30661
30f69637
CD
306622012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30663
30664 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30665 struct La_sh_regs is not constant.
30666 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30667 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30668 and struct La_sparc64_regs are not constant.
30669
93a78ac4
JM
306702012-08-16 Joseph Myers <joseph@codesourcery.com>
30671
30672 * sysdeps/unix/sysv/linux/kernel-features.h
30673 (__ASSUME_POSIX_TIMERS): Remove.
30674 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30676 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30677 Make code unconditional.
30678 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30679 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30680 Make code unconditional.
30681 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30682 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30683 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30685 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30686 Make code unconditional.
30687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30688 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30689 (__libc_missing_posix_timers): Remove.
30690
dd924cd7
RM
306912012-08-15 Roland McGrath <roland@hack.frob.com>
30692
4b4f2771
RM
30693 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30694 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30695
601c888b
RM
30696 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30697
176790a7
RM
30698 * elf/dl-sym.c: Include <stdlib.h>.
30699
329bc018
RM
30700 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30701 constants, which avoids warnings in 32-bit builds.
30702
e04e272d
RM
30703 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30704 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30705
952bf94a
RM
30706 * misc/lseek.c: File moved to ...
30707 * io/lseek.c: ... here.
30708
7c99b50a
RM
30709 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30710
dd924cd7
RM
30711 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30712 shifting LEN more than 31 bits at once.
30713
b3f479a8
LD
307142012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30715
30716 [BZ #14195]
8c4ae0d4
RM
30717 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30718 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30719 * string/test-strncasecmp.c (check1): Renamed to...
30720 (bz12205): ...this.
30721 (bz14195): Add new testcase for two empty input strings and N > 0.
30722 (test_main): Call new testcase, adapt for renamed function.
30723
9c55864e
AJ
307242012-08-15 Andreas Jaeger <aj@suse.de>
30725
30726 [BZ #14090]
30727 * crypt/md5test2.c: New test, based on test supplied by Serge
30728 Belyshev <belyshev@depni.sinp.msu.ru>.
30729 * crypt/Makefile (xtests): Add md5test-giant..
30730 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30731
02dcb6c5
PE
307322012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30733
30734 [BZ #14090]
30735 * crypt/md5.c (md5_process_block): Don't assume the buffer
30736 length is less than 2**32.
30737 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30738 length is less than 2**64.
30739
a3f95dcc
RM
307402012-08-15 Roland McGrath <roland@hack.frob.com>
30741
be75d758
RM
30742 * string/str-two-way.h: Include <sys/param.h>.
30743 (MAX): Macro removed.
30744
7312ca90
RM
30745 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30746 Move #define and #undef of memmove to just before and after
30747 including <string.h>.
30748
9a0a5486
RM
30749 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30750 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30751 and after including <string.h>. Move declarations of
30752 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30753 to before #include "string/memmove.c".
30754
67cc348d
RM
30755 * include/dirent.h: Declare __getdirentries.
30756
a3f95dcc
RM
30757 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30758 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30759
ca98e171
MF
307602012-08-14 Mike Frysinger <vapier@gentoo.org>
30761
30762 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30763 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30764 * sysdeps/i386/configure: Regenerated.
30765 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30766 STABS_CURRENT_FILE, and STABS_FUN.
30767 (END): Remove call to STABS_FUN_END.
30768 (STABS_CURRENT_FILE1): Delete.
30769 (STABS_CURRENT_FILE): Likewise.
30770 (STABS_FUN): Likewise.
30771 (STABS_FUN_END): Likewise.
30772 (STABS_FUN2): Likewise.
30773 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30774 * sysdeps/x86_64/configure: Regenerated.
30775
5908bf46
RM
307762012-08-14 Roland McGrath <roland@hack.frob.com>
30777
30778 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30779 * elf/dl-lookup.c: Likewise.
5908bf46 30780
f2c05b9e
JM
307812012-08-14 Joseph Myers <joseph@codesourcery.com>
30782
30783 * sysdeps/unix/sysv/linux/kernel-features.h
30784 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30785 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30786 unconditionally.
30787 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30788 unconditionally.
30789 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30790 condition on __ASSUME_CLONE_THREAD_FLAGS.
30791
e11f5155
AJ
307922012-08-14 Andreas Jaeger <aj@suse.de>
30793
30794 * sysdeps/i386/fpu/libm-test-ulps: Update.
30795
51a9ba86
MK
307962012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30797
2fdd4f78
AJ
30798 * include/atomic.h (atomic_exchange_and_add): Split into ...
30799 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30800 New atomic macros.
51a9ba86 30801
ba6cba9e
MT
308022012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30803
30804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30805
42443a47
JL
308062012-08-13 Jeff Law <law@redhat.com>
30807
30808 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30809 null byte in the output string.
30810
121dce05
JM
308112012-08-10 Joseph Myers <joseph@codesourcery.com>
30812
30813 * sysdeps/unix/sysv/linux/kernel-features.h
30814 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30815 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30816 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30817 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30818 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30819 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30820 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30821
bf51f568
JL
308222012-08-09 Jeff Law <law@redhat.com>
30823
30824 [BZ #13939]
30825 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30826 When avoid_arena is set, don't retry in the that arena. Pick the
30827 next one, whatever it might be.
30828 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30829 (arena_lock): Pass in new parameter to arena_get2.
30830 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30831 arena_get2.
30832 (__libc_malloc): Unify retrying after main arena failure with
30833 __libc_memalign version.
30834 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30835
f85fa270
L
308362012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30837
30838 [BZ #14166]
30839 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30840 to __redirect_strstr.
30841 (__strstr_sse42): Use typeof __redirect_strstr.
30842 (__strstr_ia32): Likewise.
30843 (__libc_strstr): New prototype.
30844 (strstr): Renamed to ...
30845 (__libc_strstr): This.
30846 (strstr): New strong alias of __libc_strstr.
30847 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30848 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30849 __redirect_time.
30850 Include <time.h>.
30851 (__libc_time): New prototype.
30852 (time_ifunc): Replace time with __libc_time.
30853 (time): New strong alias and hidden definition of __libc_time.
30854 (__GI_time): Remove strong alias.
30855 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30856 Include <stddef.h>.
30857 (memmove): Redefined to __redirect_memmove.
30858 (__memmove_sse2): Use typeof __redirect_memmove.
30859 (__memmove_ssse3): Likewise.
30860 (__memmove_ssse3_back): Likewise.
30861 (__libc_memmove): New prototype.
30862 (memmove): Renamed to ...
30863 (__libc_memmove): This.
30864 (memmove): New strong alias of __libc_memmove.
30865
33b4a91e
MS
308662012-08-08 Mark Salter <msalter@redhat.com>
30867
30868 * elf/elf.h
30869 (R_MN10300_TLS_GD): Define.
30870 (R_MN10300_TLS_LD): Likewise.
30871 (R_MN10300_TLS_LDO): Likewise.
30872 (R_MN10300_TLS_GOTIE): Likewise.
30873 (R_MN10300_TLS_IE): Likewise.
30874 (R_MN10300_TLS_LE): Likewise.
30875 (R_MN10300_TLS_DTPMOD): Likewise.
30876 (R_MN10300_TLS_DTPOFF): Likewise.
30877 (R_MN10300_TLS_TPOFF): Likewise.
30878 (R_MN10300_SYM_DIFF): Likewise.
30879 (R_MN10300_ALIGN): Likewise.
30880 (R_MN10300_NUM): Update.
30881
b36137f1
JM
308822012-08-08 Joseph Myers <joseph@codesourcery.com>
30883
30884 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30885 Remove.
30886
cdd915fd
RM
308872012-08-08 Roland McGrath <roland@hack.frob.com>
30888
a2433aac
RM
30889 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30890
cdd915fd
RM
30891 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30892 sysdeps/unix -> sysdeps/posix move.
30893 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30894
bf9b740a
AM
308952012-08-07 Allan McRae <allan@archlinux.org>
30896
30897 [BZ #14303]
30898 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30899 (SUNOS_CPP): Likewise.
30900 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30901 not found.
30902 (open_input): Call CPP using execvp.
30903
93df14ee
JM
309042012-08-07 Joseph Myers <joseph@codesourcery.com>
30905
30906 * sysdeps/unix/sysv/linux/kernel-features.h
30907 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30908 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30909 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30910 (__ASSUME_WAITID_SYSCALL): Likewise.
30911 * sysdeps/unix/sysv/linux/dl-execstack.c
30912 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30913 code unconditional.
30914 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30915 conditional code.
30916 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30917 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30918 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30919 code.
30920 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30921 unconditional.
30922 [__ASSUME_WAITID_SYSCALL]: Likewise.
30923 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30924
d34689de
RM
309252012-08-07 Roland McGrath <roland@hack.frob.com>
30926
a281decc
RM
30927 * sysdeps/unix/closedir.c: Renamed to ...
30928 * sysdeps/posix/closedir.c: ... here.
30929 * sysdeps/unix/dirfd.c: Renamed to ...
30930 * sysdeps/posix/dirfd.c: ... here.
30931 * sysdeps/unix/dirstream.h: Renamed to ...
30932 * sysdeps/posix/dirstream.h: ... here.
30933 * sysdeps/unix/fdopendir.c: Renamed to ...
30934 * sysdeps/posix/fdopendir.c: ... here.
30935 * sysdeps/unix/opendir.c: Renamed to ...
30936 * sysdeps/posix/opendir.c: ... here.
30937 * sysdeps/unix/readdir.c: Renamed to ...
30938 * sysdeps/posix/readdir.c: ... here.
30939 * sysdeps/unix/readdir_r.c: Renamed to ...
30940 * sysdeps/posix/readdir_r.c: ... here.
30941 * sysdeps/unix/rewinddir.c: Renamed to ...
30942 * sysdeps/posix/rewinddir.c: ... here.
30943 * sysdeps/unix/seekdir.c: Renamed to ...
30944 * sysdeps/posix/seekdir.c: ... here.
30945 * sysdeps/unix/telldir.c: Renamed to ...
30946 * sysdeps/posix/telldir.c: ... here.
30947 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30948 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30949 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30950 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30951
22895b47
RM
30952 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30953 * bits/fcntl.h: ... here.
30954
707a53b6
RM
30955 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30956 not 0.
30957 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30958 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30959 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30960 (struct flock): Move l_start, l_len to the beginning.
30961 Use __pid_t for l_pid.
30962 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30963 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30964 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30965 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30966 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30967 [__USE_LARGEFILE64] (struct flock64): New type.
30968 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30969
f0bd3e25
RM
30970 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30971 * bits/dirent.h: ... here.
30972
d34689de
RM
30973 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30974 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30975
6dad2c06
JM
309762012-08-07 Joseph Myers <joseph@codesourcery.com>
30977
30978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30979 Change from 2.6.0 to 2.6.16.
30980 * sysdeps/unix/sysv/linux/configure: Regenerated.
30981 * sysdeps/unix/sysv/linux/kernel-features.h
30982 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30983 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30984 version.
30985 (__ASSUME_UTIMES): Likewise.
30986 (__ASSUME_CLONE_STOPPED): Remove.
30987 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30988 architectures, not kernel version.
30989 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30990 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30991 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30992 (__ASSUME_WAITID_SYSCALL): Likewise.
30993 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30994 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30995 * README: State 2.6.16 as minimum Linux kernel version. Do not
30996 refer to older versions.
30997
03af9520
RM
309982012-08-06 Roland McGrath <roland@hack.frob.com>
30999
8e49df1d
RM
31000 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31001 Define alphasort64 as an alias.
31002 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31003 Define versionsort64 as an alias.
31004 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31005 Define scandir64 as an alias.
31006 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31007 Define scandirat64 as an alias.
31008 * dirent/alphasort64.c (alphasort64):
31009 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31010 * dirent/versionsort64.c: Likewise.
31011 * dirent/scandir64.c: Likewise.
31012 * dirent/scandirat64.c: Likewise.
31013 * sysdeps/wordsize-64/alphasort.c: File removed.
31014 * sysdeps/wordsize-64/alphasort64.c: File removed.
31015 * sysdeps/wordsize-64/scandir.c: File removed.
31016 * sysdeps/wordsize-64/scandir64.c: File removed.
31017 * sysdeps/wordsize-64/scandirat.c: File removed.
31018 * sysdeps/wordsize-64/scandirat64.c: File removed.
31019 * sysdeps/wordsize-64/versionsort.c: File removed.
31020 * sysdeps/wordsize-64/versionsort64.c: File removed.
31021 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31022 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31023 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31024 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31025 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31026 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31027 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31028 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31029
31030 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31031 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31032 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31033 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31034 [defined __arch64__ || defined __sparcv9]
31035 (__INO_T_MATCHES_INO64_T): New macro.
31036 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31037 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31038 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31039 * sysdeps/unix/sysv/linux/bits/dirent.h
31040 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31041 (_DIRENT_MATCHES_DIRENT64): New macro.
31042
03af9520
RM
31043 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31044 Define lockf64 as an alias.
31045 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31046 Define fseeko64 as an alias.
31047 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31048 Define ftello64 as an alias.
31049 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31050 Define _IO_fgetpos64 and fgetpos64 as aliases.
31051 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31052 Define _IO_fsetpos64 and fsetpos64 as aliases.
31053 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31054 Conditionalize body on this.
31055 * libio/fseeko64.c: Likewise.
31056 * libio/ftello64.c: Likewise.
31057 * libio/iofgetpos64.c: Likewise.
31058 * libio/iofsetpos64.c: Likewise.
31059 * sysdeps/wordsize-64/lockf.c: File removed.
31060 * sysdeps/wordsize-64/lockf64.c: File removed.
31061 * sysdeps/wordsize-64/fseeko.c: File removed.
31062 * sysdeps/wordsize-64/fseeko64.c: File removed.
31063 * sysdeps/wordsize-64/ftello.c: File removed.
31064 * sysdeps/wordsize-64/ftello64.c: File removed.
31065 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31066 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31067 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31068 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31069 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31071 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31073 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31075 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31076 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31077 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31079
31080 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31082 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31084 [defined __arch64__ || defined __sparcv9]
31085 (__OFF_T_MATCHES_OFF64_T): New macro.
31086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31087 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31089 (__OFF_T_MATCHES_OFF64_T): New macro.
31090
c5757acd
L
310912012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31092
31093 * stdlib/secure-getenv.c (__secure_getenv): Replace
31094 GLIBC_2_16 with GLIBC_2_17.
31095
3a31811e
L
310962012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31097
31098 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31099 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31100
faa2bccb
DM
311012012-08-03 David S. Miller <davem@davemloft.net>
31102
31103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31104
85fe1997
JM
311052012-08-03 Joseph Myers <joseph@codesourcery.com>
31106
31107 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31108 Remove.
31109 (__ASSUME_CORRECT_SI_PID): Likewise.
31110 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31111 (__ASSUME_TMPFS_NAME): Likewise.
31112 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31113 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31114 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31115 (HAVE_AUX_SECURE): Make definition unconditional.
31116 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31117 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31118
4f75b7a0
RM
311192012-08-03 Roland McGrath <roland@hack.frob.com>
31120
31121 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31122 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31123 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31124 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31125 __eloop_threshold instead of SYMLOOP_MAX.
31126
31127 * sysdeps/generic/eloop-threshold.h: New file.
31128 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31129 of MAXSYMLINKS.
31130 * elf/chroot_canon.c (chroot_canon): Likewise.
31131
7aab07e4
JM
311322012-08-03 Joseph Myers <joseph@codesourcery.com>
31133
31134 [BZ #13717]
31135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31136 Change to 2.6.0 everywhere.
31137 * sysdeps/unix/sysv/linux/configure: Regenerated.
31138 * sysdeps/unix/sysv/linux/kernel-features.h
31139 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31140 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31141 kernel versions.
31142 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31143 (__ASSUME_FUTEX_REQUEUE): Remove.
31144 (__ASSUME_STATFS64): Define unconditionally.
31145 (__ASSUME_AT_SECURE): Likewise.
31146 (__ASSUME_CORRECT_SI_PID): Likewise.
31147 (__ASSUME_TGKILL): Define without depending on kernel version for
31148 i386.
31149 (__ASSUME_UTIMES): Likewise.
31150 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31151 kernel version.
31152 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31153 (__ASSUME_TMPFS_NAME): Likewise.
31154 * README: Update reference to Linux kernel versions.
31155
b67e9372
MP
311562012-08-02 Marek Polacek <polacek@redhat.com>
31157
1f529f7d 31158 [BZ# 14150]
b67e9372
MP
31159 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31160 libc_cv_asm_type_prefix with %.
31161 * configure: Regenerated.
d2441631
RM
31162 * include/libc-symbols.h: Remove comment about
31163 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31164 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31165 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31166 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31167 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31168 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31169 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31170 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31171 * elf/tst-unique2mod1.c: Likewise.
31172 * elf/tst-unique1mod2.c: Likewise.
31173 * elf/tst-unique1mod1.c: Likewise.
31174 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31175 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31176 Replace ASM_TYPE_DIRECTIVE with .type.
31177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31178 * sysdeps/i386/sysdep.h: Likewise.
31179 * sysdeps/x86_64/sysdep.h: Likewise.
31180 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31182 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31183 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31184 * sysdeps/powerpc/powerpc32/sysdep.h:
31185 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31186 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31187 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31188 * sysdeps/i386/fpu/e_powf.S: Likewise.
31189 * sysdeps/i386/fpu/e_expl.S: Likewise.
31190 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31191 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31192 * sysdeps/i386/fpu/e_pow.S: Likewise.
31193 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31194 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31195 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31196 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31197 * sysdeps/i386/fpu/e_log2.S: Likewise.
31198 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31199 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31200 * sysdeps/i386/fpu/e_powl.S: Likewise.
31201 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31202 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31203 * sysdeps/i386/fpu/e_logl.S: Likewise.
31204 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31205 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31206 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31207 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31208 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31209 * sysdeps/i386/fpu/e_log.S: Likewise.
31210 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31211 * sysdeps/i386/fpu/e_logf.S: Likewise.
31212 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31213 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31214 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31215 * sysdeps/i386/fpu/e_log10.S: Likewise.
31216 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31217 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31218 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31219 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31220 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31221 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31222 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31223 * sysdeps/i386/i686/strtok.S: Likewise.
31224 * sysdeps/i386/i386-mcount.S: Likewise.
31225 * sysdeps/i386/strtok.S: Likewise.
31226 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31227 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31228 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31229 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31230 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31231 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31232 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31233 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31234 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31235 * sysdeps/x86_64/_mcount.S: Likewise.
31236 * sysdeps/x86_64/strtok.S: Likewise.
31237 * sysdeps/sh/_mcount.S: Likewise.
31238
2747bf9a
RM
312392012-08-01 Roland McGrath <roland@hack.frob.com>
31240
31241 * libio/iofopen.c: Include <fcntl.h>.
31242 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31243 (_IO_fopen64, fopen64): Define as aliases.
31244 * libio/iofopen64.c: Include <fcntl.h>.
31245 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31246 Conditionalize body on this.
31247 * sysdeps/wordsize-64/iofopen.c: File removed.
31248 * sysdeps/wordsize-64/iofopen64.c: File removed.
31249
3fb791b8
MP
312502012-08-01 Marek Polacek <polacek@redhat.com>
31251
31252 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31253 Use dlfcn directly instead of a variable.
31254 (binfmt-subdir): Do not define.
31255 (dlfcn): Likewise.
31256
a9f1039f
JM
312572012-08-01 Joseph Myers <joseph@codesourcery.com>
31258
23bddc06
JM
31259 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31260 Remove all definitions.
31261 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31262 <kernel-features.h>.
31263 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31264 (miss_F_GETOWN_EX): Remove all definitions.
31265 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31266 macro definition.
31267 [!__ASSUME_FCNTL64]: Remove conditional code.
31268 [__ASSUME_FCNTL64]: Make code unconditional.
31269 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31270 <kernel-features.h>.
31271 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31272 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31273 (lockf64) [__NR_fcntl64]: Make code unconditional.
31274 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31275
a9f1039f
JM
31276 * sysdeps/unix/sysv/linux/kernel-features.h
31277 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31278 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31279 Make code unconditional.
31280 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31281 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31283 [__NR_vfork]: Make code unconditional.
31284 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31285 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31287 [__NR_vfork]: Make code unconditional.
31288 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31289 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31290
09c0ee5f
RM
312912012-08-01 Roland McGrath <roland@hack.frob.com>
31292
48aec5b9
RM
31293 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31294 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31295
cd97c966
RM
31296 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31297 Define mkstemp64 as an alias.
3f55550c
RM
31298 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31299 Define mkstemps64 as an alias.
cd97c966
RM
31300 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31301 Define mkostemp64 as an alias.
b8625cfc
RM
31302 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31303 Define mkostemps64 as an alias.
cd97c966
RM
31304 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31305 Conditionalize body on this.
31306 * misc/mkostemp64.c: Likewise.
b8625cfc 31307 * misc/mkostemps64.c: Likewise.
3f55550c 31308 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31309 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31310 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31311 * sysdeps/wordsize-64/mkostemp.c: File removed.
31312 * sysdeps/wordsize-64/mkstemp.c: File removed.
31313 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31314 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31315 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31316 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31317
09c0ee5f
RM
31318 [BZ #14138]
31319 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31320 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31321 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31322 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31323
31324 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31325 compat_symbol macros from <shlib-compat.h> rather than the underlying
31326 default_symbol_version and symbol_version macros, so that DEFAULT
31327 lines in shlib-versions are respected.
31328 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31329
7e66ee51
FW
313302012-08-01 Florian Weimer <fweimer@redhat.com>
31331
31332 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31333 Declare with warn_unused_result.
31334 (setgid, setregid, setegid, setresgid): Likewise.
31335 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31336 Likewise.
31337 * WUR-REPORT: Remove set*id functions.
31338
d2a54255
PT
313392012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31340
31341 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31342
7ecdb005
RM
313432012-07-31 Roland McGrath <roland@hack.frob.com>
31344
b4180a5e 31345 [BZ #10191]
789bd351
RM
31346 * include/sys/socket.h (__libc_accept, __libc_accept4):
31347 Add attribute_hidden.
31348 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31349
40ce302d
RM
31350 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31351 use of PTR_MANGLE.
31352 * inet/getnetgrent_r.c (setup): Likewise.
31353
7ecdb005
RM
31354 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31355
e2eabb2c
DM
313562012-07-31 David S. Miller <davem@davemloft.net>
31357
31358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31359
d0419dbf
JM
313602012-07-31 Joseph Myers <joseph@codesourcery.com>
31361
31362 [BZ #13629]
31363 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31364 value between 1.0 and 2.0 and smaller part has absolute value less
31365 than 1.0.
31366 * math/s_clog10.c (__clog10): Likewise.
31367 * math/s_clog10f.c (__clog10f): Likewise.
31368 * math/s_clog10l.c (__clog10l): Likewise.
31369 * math/s_clogf.c (__clogf): Likewise.
31370 * math/s_clogl.c (__clogl): Likewise.
31371 * math/libm-test.inc (clog_test): Add more tests.
31372 (clog10_test): Likewise.
31373 * sysdeps/i386/fpu/libm-test-ulps: Update.
31374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31375
2bc13872
FW
313762012-07-31 Florian Weimer <fweimer@redhat.com>
31377
31378 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31379 Exit with zero in case no suitable GID is found, and write a
31380 message to standard error.
31381
bea9b193
RM
313822012-07-30 Roland McGrath <roland@hack.frob.com>
31383
31384 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31385 rather than to 1.
31386 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31387 (MAXPATHLEN): Removed.
31388 (NOGROUP, NODEV): New macros.
31389 (setbit, clrbit, isset, isclr): New macros.
31390 (howmany, roundup, powerof2): New macros.
31391 (DEV_BSIZE): New macro.
31392
31393 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31394 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31395
31396 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31397 definition on [!__NO_LONG_DOUBLE_MATH].
31398
31399 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31400 PTR_MANGLE and PTR_DEMANGLE.
31401
31402 * socket/accept4.c (accept4): Rename to __libc_accept4.
31403 Define accept4 as a weak alias.
31404
31405 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31406 on [_DIRENT_HAVE_D_TYPE].
31407 * io/ftw.c (ftw_dir): Likewise.
31408
31409 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31410
31411 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31412
31413 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31414 Use the BSD numbers rather than the arbitrary ones we had.
31415 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31416 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31417 (SIGXCPU, SIGXFSZ): New macros.
31418 (_NSIG): Now 32.
31419
31420 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31421 initializer on [_LIBC_REENTRANT].
31422
31423 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31424 definitions inside [_POSIX_MAPPED_FILES].
31425
31426 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31427
31428 * dirent/opendir.c: Include <fcntl.h>.
31429
31430 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31431 (__libc_getspecific): Likewise.
31432 (__libc_key_create): Likewise.
31433
31434 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31435 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31436 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31437 (tmpfile64): Define as alias.
31438 * sysdeps/wordsize-64/tmpfile.c: File removed.
31439 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31440 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31441 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31442
31443 * stdio-common/vfscanf.c: Include <stdbool.h>.
31444 * nss/makedb.c: Likewise.
31445 * stdio-common/_i18n_number.h: Likewise.
31446 * argp/argp-help.c: Likewise.
31447 * posix/wordexp.c: Likewise.
31448 * sysdeps/posix/spawni.c: Likewise.
31449 * nss/nss_files/files-initgroups.c: Likewise.
31450 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31451 * nss/nss_files/files-initgroups.c: Likewise.
31452 * nss/nss_db/db-netgrp.c: Likewise.
31453 * nss/nss_db/db-initgroups.c: Likewise.
31454 * io/fchmodat.c: Include <sys/stat.h>.
31455
31456 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31457 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31458
31459 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31460 [HAVE_MMAP].
31461
31462 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31463 Add multiple inclusion protection.
31464
e5abc686
DM
314652012-07-27 David S. Miller <davem@davemloft.net>
31466
31467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31468
815e6fa3
GB
314692012-07-27 Gary Benson <gbenson@redhat.com>
31470
31471 [BZ #14298]
31472 * elf/rtld.c: Include <stap-probe.h>.
31473 (dl_main): Added static probes "init_start" and "init_complete".
31474 * elf/dl-load.c: Include <stap-probe.h>.
31475 (lose): Take new parameter "nsid".
31476 Added static probe "map_failed".
31477 (_dl_map_object_from_fd): Pass namespace id to lose.
31478 Added static probe "map_start".
31479 (open_verify): Pass namespace id to lose.
31480 * elf/dl-open.c: Include <stap-probe.h>.
31481 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31482 and "reloc_complete".
31483 * elf/dl-close.c: Include <stap-probe.h>.
31484 (_dl_close_worker): Added static probes "unmap_start" and
31485 "unmap_complete".
31486 * elf/rtld-debugger-interface.txt: New file documenting the above.
31487
9f98c16c
RM
314882012-07-26 Roland McGrath <roland@hack.frob.com>
31489
31490 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31491 rather than a string variable.
31492 * sunrpc/rpc_main.c (h_output): Likewise.
31493 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31494
f3c22df3
PT
314952012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31496
31497 * inet/check_native.c: New file.
31498
3129cfc6
JM
314992012-07-26 Joseph Myers <joseph@codesourcery.com>
31500
da865e95
JM
31501 [BZ #13629]
31502 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31503 if larger part has absolute value 1.0.
31504 * math/s_clog10.c (__clog10): Likewise.
31505 * math/s_clog10f.c (__clog10f): Likewise.
31506 * math/s_clog10l.c (__clog10l): Likewise.
31507 * math/s_clogf.c (__clogf): Likewise.
31508 * math/s_clogl.c (__clogl): Likewise.
31509 * math/libm-test.inc (clog_test): Add more tests.
31510 (clog10_test): Likewise.
31511 * sysdeps/i386/fpu/libm-test-ulps: Update.
31512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31513
3129cfc6
JM
31514 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31515 (pltexit): Likewise.
31516 (La_regs): Likewise.
31517 (La_retval): Likewise.
31518 (int_retval): Likewise.
31519 Update #error for removed macros to refer only to definitions in
31520 tst-audit.h.
31521 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31522 macro.
31523 (pltexit): Likewise.
31524 (La_regs): Likewise.
31525 (La_retval): Likewise.
31526 (int_retval): Likewise.
31527 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31528 macro.
31529 (pltexit): Likewise.
31530 (La_regs): Likewise.
31531 (La_retval): Likewise.
31532 (int_retval): Likewise.
31533 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31534 macro.
31535 (pltexit): Likewise.
31536 (La_regs): Likewise.
31537 (La_retval): Likewise.
31538 (int_retval): Likewise.
31539 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31540 macro.
31541 (pltexit): Likewise.
31542 (La_regs): Likewise.
31543 (La_retval): Likewise.
31544 (int_retval): Likewise.
31545 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31546 macro.
31547 (pltexit): Likewise.
31548 (La_regs): Likewise.
31549 (La_retval): Likewise.
31550 (int_retval): Likewise.
31551 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31552 macro.
31553 (pltexit): Likewise.
31554 (La_regs): Likewise.
31555 (La_retval): Likewise.
31556 (int_retval): Likewise.
31557 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31558 macro definitions in tst-audit.h.
31559 * sysdeps/i386/tst-audit.h: New file.
31560 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31561 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31562 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31563 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31564 * sysdeps/sh/tst-audit.h: Likewise.
31565 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31566 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31567 * sysdeps/x86_64/tst-audit.h: Likewise.
31568
bfc07087
AJ
315692012-07-26 Andreas Jaeger <aj@suse.de>
31570
b1b2aaf8
AJ
31571 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31572 ptrace.
31573
31574 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31575 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31576 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31577 PTRACE_O_MASK.
31578 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31579 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31580 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31581
bfc07087
AJ
31582 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31583 value.
31584
31585 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31586 _sigsys.
31587 (si_call_addr, si_syscall, si_arch): Define new macro.
31588 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31589 _sigsys.
31590 (si_call_addr, si_syscall, si_arch): Define new marcro.
31591 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31592 _sigsys.
31593 (si_call_addr, si_syscall, si_arch): Define new macro.
31594 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31595 _sigsys.
31596 (si_call_addr, si_syscall, si_arch): Define new macro.
31597
89b4b02f
JM
315982012-07-25 Joseph Myers <joseph@codesourcery.com>
31599
31600 [BZ #13717]
31601 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31602 Change to 2.4.21 where previously 2.4.1.
31603 * sysdeps/unix/sysv/linux/configure: Regenerated.
31604 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31605 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31606 Linux kernel version.
31607 (__ASSUME_STD_AUXV): Remove.
31608 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31609 kernel version.
31610 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31611 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31612 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31613 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31614 (__ASSUME_NETLINK_SUPPORT): Likewise.
31615 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31616 (__no_netlink_support): Remove conditional definition.
31617 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31618 Remove.
31619 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31620 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31621 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31622 (if_nameindex_ioctl): Remove.
31623 (if_nameindex_netlink): Do not handle __no_netlink_support.
31624 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31625 code.
31626 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31627 Remove conditional code.
31628 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31629 code.
31630 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31631 unconditional.
31632 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31633 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31634 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31635 Remove.
31636 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31637 [!__ASSUME_STD_AUXV]: Remove conditional code.
31638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31639 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31640 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31642 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31643 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31644 code.
31645 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31647 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31648 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31649 conditional code.
31650 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31652 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31653 code.
31654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31655 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31656 conditional code.
31657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31658 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31659 code unconditional.
31660 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31661 conditional code.
31662 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31663 unconditional.
31664 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31665 conditional code.
31666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31667 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31668 unconditional.
31669 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31670 conditional code.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31672 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31673 code unconditional.
31674 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31675 conditional code.
31676 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31677 unconditional.
31678 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31679 conditional code.
31680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31681 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31682 code unconditional.
31683 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31684 conditional code.
31685 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31686 unconditional.
31687 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31688 conditional code.
31689
842a39cd
AS
316902012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31691
31692 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31693 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31694 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31695 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31696 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31697 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31698 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31699 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31700 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31701 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31702 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31703 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31704 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31705 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31706 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31707 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31708 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31710 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31712 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31713 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31714 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31715
84b3fd84
FW
317162012-07-25 Florian Weimer <fweimer@redhat.com>
31717
31718 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31719 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31720 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31721 Introduce __libc_secure_getenv.
0c7936d5
FW
31722 * stdlib/Versions (2.17): Add secure_getenv
31723 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31724 * stdlib/secure-getenv.c: Rename __secure_getenv to
31725 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31726 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31727 * stdlib/tst-secure-getenv.c: New.
31728 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31729 * manual/startup.texi (Environment Access): Document
31730 secure_getenv.
84b3fd84
FW
31731 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31732 __libc_secure_getenv.
31733 * inet/ruserpass.c (ruserpass): Likewise.
31734 * malloc/mtrace.c (mtrace): Likewise.
31735 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31736 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31737 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31738 * sysdeps/posix/tempname.c: Likewise. Evaluate
31739 HAVE_SECURE_GETENV.
31740 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31741 __secure_getenv to __libc_secure_getenv.
84b3fd84 31742 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31744 Likewise.
31745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31746 Likewise.
31747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31754
56e49b71
JM
317552012-07-25 Joseph Myers <joseph@codesourcery.com>
31756
31757 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31758 (struct La_i86_retval): Likewise.
31759 (struct La_x86_64_regs): Likewise.
31760 (struct La_x86_64_retval): Likewise.
31761 (struct La_x32_regs): Likewise.
31762 (struct La_x32_retval): Likewise.
31763 (struct La_ppc32_regs): Likewise.
31764 (struct La_ppc32_retval): Likewise.
31765 (struct La_ppc64_regs): Likewise.
31766 (struct La_ppc64_retval): Likewise.
31767 (struct La_sh_regs): Likewise.
31768 (struct La_sh_retval): Likewise.
31769 (struct La_s390_32_regs): Likewise.
31770 (struct La_s390_32_retval): Likewise.
31771 (struct La_s390_64_regs): Likewise.
31772 (struct La_s390_64_retval): Likewise.
31773 (struct La_sparc32_regs): Likewise.
31774 (struct La_sparc32_retval): Likewise.
31775 (struct La_sparc64_regs): Likewise.
31776 (struct La_sparc64_retval): Likewise.
31777 (struct audit_ifaces): Remove architecture-specific pltenter and
31778 pltexit members.
31779 * sysdeps/i386/ldsodefs.h: New file.
31780 * sysdeps/powerpc/ldsodefs.h: Likewise.
31781 * sysdeps/s390/ldsodefs.h: Likewise.
31782 * sysdeps/sh/ldsodefs.h: Likewise.
31783 * sysdeps/sparc/ldsodefs.h: Likewise.
31784 * sysdeps/x86_64/ldsodefs.h: Likewise.
31785
354691b7
MP
317862012-07-25 Marek Polacek <polacek@redhat.com>
31787
31788 [BZ #6808]
31789 * math/libm-test.inc (yn_test): Add another test.
31790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31791 to ERANGE when the result is +-Inf.
31792 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31793 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31794 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31795 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31796
bf9e2071
JM
317972012-07-24 Joseph Myers <joseph@codesourcery.com>
31798
31799 * conform/data/time.h-data (NULL): Use macro-constant. Require
31800 equal to 0.
31801 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31802 clock_t.
31803 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31804
57633811
TS
318052012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31806
31807 * configure.in <sysdeps resolving>: Correct printing
31808 Implies_before.
31809 * configure: Regenerate.
31810
c23c33b0
TS
318112012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31812
31813 * math/w_ilogb.c: Include <limits.h>.
31814 * math/w_ilogbl.c: Likewise.
31815
b5982523
JM
318162012-07-20 Joseph Myers <joseph@codesourcery.com>
31817
31818 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31819 va_copy. Document allowing for unavailable va_copy only as
31820 pre-C99 compatibility.
31821 * manual/string.texi (Copying and Concatenation): Use va_copy
31822 instead of __va_copy in concat example.
31823
ac4ea442
PT
318242012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31825
31826 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31827 (__sendto): Use create_address_port. Initialize APORT and deallocate
31828 it if not null.
31829
f98eafbd
PT
31830 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31831 with O_NOLINK passed to __file_name_lookup.
31832
898c7aab
PT
31833 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31834 with O_NOLINK passed to __file_name_lookup.
31835
0ced335a
PT
31836 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31837 negative N or less than NGIDS.
31838
b3404dbd
PT
31839 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31840 type to string_t. Set ERANGE as errno and return it if NAME is not big
31841 enough. Use memcpy instead of strncpy.
31842
0f48659e
JM
318432012-07-20 Joseph Myers <joseph@codesourcery.com>
31844
31845 * elf/Makefile (check-data): Remove.
31846 (localplt.data): New vpath directive.
31847 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31848 instead of $(check-data).
31849 * scripts/data/localplt-generic.data: Move to ...
31850 * sysdeps/generic/localplt.data: ... here.
31851 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31852 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31853 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31855 ... here.
31856 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31858 ... here.
31859 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31861 ... here.
31862 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31864 ... here.
31865 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31867 ... here.
31868 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31870 ... here.
31871
d37cbdaa
AZ
318722012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31873
31874 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31875 PPC32 and PPC64 files.
31876 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31877 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31878
46f85fc2
AK
318792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31880
31881 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31882 __makecontext_ret to ...
31883 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31884 ... here and call exit if uc_link is NULL. New file.
31885 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31886 __makecontext_ret.S.
31887 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31888 __makecontext_ret to ...
31889 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31890 ... here and call exit if uc_link is NULL. New file.
31891 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31892 __makecontext_ret.S.
31893
08f43f9b
AK
318942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31895
31896 * elf/elf.h (R_390_IRELATIVE): New definition.
31897 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31898 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31899 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31900 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31901 (elf_machine_lazy_rel): Likewise.
31902 * sysdeps/s390/dl-irel.h: New file.
31903 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31904 * sysdeps/s390/s390-64/memset.S: New asm code.
31905 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31906 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31907 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31908 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31909 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31910 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31911 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31912 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31913 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31914 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31915 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31916 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31917 * sysdeps/s390/s390-32/memset.S: New asm code.
31918 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31919
3b05db33
MP
319202012-07-17 Marek Polacek <polacek@redhat.com>
31921
31922 [BZ #14349]
31923 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31924 * sysdeps/s390/s390-64/configure.in: Likewise.
31925 * sysdeps/sparc/configure.in: Likewise.
31926 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31927 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31928 * sysdeps/i386/configure.in: Likewise.
31929 * sysdeps/x86_64/configure.in: Likewise.
31930 * sysdeps/sh/configure.in: Likewise.
31931 * sysdeps/s390/s390-32/configure: Regenerated.
31932 * sysdeps/s390/s390-64/configure: Likewise.
31933 * sysdeps/x86_64/configure: Likewise.
31934 * sysdeps/sh/configure: Likewise.
31935 * sysdeps/powerpc/powerpc64/configure: Likewise.
31936 * sysdeps/powerpc/powerpc32/configure: Likewise.
31937 * sysdeps/sparc/configure: Likwise.
31938 * sysdeps/i386/configure: Likewise.
31939
a66877c6
MP
31940 * elf/dl-open.c: Comment fixes.
31941
cfc82fd8
JM
319422012-07-17 Joseph Myers <joseph@codesourcery.com>
31943
bd29910a
JM
31944 * Makefile [CXX] (check-data): Remove.
31945 [CXX] (c++-types.data): New vpath directive.
31946 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31947 vpath. Do not allow for C++ type data being missing.
31948 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31949 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31950 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31951 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31952 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31953 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31954 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31956 ... here.
31957 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31959 ... here.
31960 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31962 ... here.
31963 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31965 ... here.
31966 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31968 ... here.
31969 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31971 ... here.
31972 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31974 ... here.
31975 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31977
cfc82fd8
JM
31978 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31979 definitions to architecture-specific files.
31980 (TLS_IE): Likewise.
31981 (TLS_LD): Likewise.
31982 (TLS_GD): Likewise.
31983 * sysdeps/i386/tls-macros.h: New file.
31984 * sysdeps/powerpc/tls-macros.h: Likewise.
31985 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31986 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31987 * sysdeps/sh/tls-macros.h: Likewise.
31988 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31989 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31990 * sysdeps/x86_64/tls-macros.h: Likewise.
31991
f7db3170
TS
319922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31993
07cbfc23
TS
31994 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31995 zero value for regular exit case.
31996
f7db3170
TS
31997 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31998 (__start_context): Preserve zero value for regular exit case.
31999
dc97c227
TS
320002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32001 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32002
32003 * manual/setjmp.texi (setcontext): Clarify normal process
32004 termination when uc_link is the null pointer.
32005 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32006 exit call.
32007
d0cd7d02
AS
320082012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32009
32010 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32011 preprocessor. Test for each exception mask separately.
32012
dd318934
AJ
320132012-07-16 Andreas Jaeger <aj@suse.de>
32014
32015 * po/ru.po: Update from translation team.
32016
8048311a
JM
320172012-07-15 Joseph Myers <joseph@codesourcery.com>
32018
32019 * conform/data/string.h-data (NULL): Use macro-constant. Require
32020 equal to 0.
32021 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32022 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32023 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32024 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32026
b637d46e
AJ
320272012-07-13 Andreas Jaeger <aj@suse.de>
32028
32029 * po/fr.po: Update from translation team.
32030
541428fe
MP
320312012-07-12 Marek Polacek <polacek@redhat.com>
32032
32033 [BZ #14173]
32034 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32035 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32036 loop condition.
32037
ec332e94
JM
320382012-07-12 Joseph Myers <joseph@codesourcery.com>
32039
32040 [BZ #13717]
32041 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32042 Change to 2.4.1 where previously 2.4.0.
32043 * sysdeps/unix/sysv/linux/configure: Regenerated.
32044 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32045 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32046 version.
32047 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32048 (__ASSUME_AT_CLKTCK): Remove.
32049 (__ASSUME_AT_PAGESIZE): Likewise.
32050 (__ASSUME_AT_XID): Likewise.
32051 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32052 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32053 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32054 unconditionally.
32055 (HAVE_AUX_PAGESIZE): Likewise.
32056 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32057 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32058 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32059
7b6e99be
JB
320602012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32061
32062 [BZ #14307]
32063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32064 the temporary buffer used to invoke __gethostbyname2_r,
32065 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32066 host_data / struct gaih_addrtuple.
32067 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32068 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32069 header file nss/nsswitch.h.
32070 * nss/nsswitch.h (global scope): Add definition of implementation
32071 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32072 resolv/nss_dns/dns-host.c).
32073
608404eb
AJ
320742012-07-11 Andreas Jaeger <aj@suse.de>
32075
32076 * po/fr.po: Update from translation team.
32077
71220aca
AJ
32078 * po/sv.po: Update from translation team
32079 * po/fr.po: Another update from translation team.
32080
28cfe843
AZ
320812012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32082
32083 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32084 for subnormals or multiply small sinh result by itself.
32085 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32087
6b90f981
DM
320882012-07-11 David S. Miller <davem@davemloft.net>
32089
32090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32091
c6825772
AS
320922012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32093
32094 [BZ #14347]
32095 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32096 (INTERNAL_MARK): Shift it here.
32097
7b8e0d49
MP
320982012-07-10 Marek Polacek <polacek@redhat.com>
32099
32100 [BZ #14151]
32101 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32102 libc_cv_asm_global_directive with .globl.
32103 * configure: Regenerated.
32104 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32105 with .globl.
32106 * sysdeps/i386/configure: Regenerated.
32107 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32108 with .globl.
32109 * sysdeps/x86_64/configure: Regenerated.
32110 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32111 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32112 * elf/tst-unique2mod2.c: Likewise.
32113 * elf/tst-unique2mod1.c: Likewise.
32114 * elf/tst-unique1mod2.c: Likewise.
32115 * elf/tst-unique1mod1.c: Likewise.
32116 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32117 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32118 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32119 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32120 * sysdeps/mach/sysdep.h: Likewise.
32121 * sysdeps/i386/sysdep.h: Likewise.
32122 * sysdeps/i386/i386-mcount.S: Likewise.
32123 * sysdeps/x86_64/_mcount.S: Likewise.
32124 * sysdeps/x86_64/sysdep.h: Likewise.
32125 * sysdeps/sh/_mcount.S: Likewise.
32126 * sysdeps/sh/sysdep.h: Likewise.
32127 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32128 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32129 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32130 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32131 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32132 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32133 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32134 * locale/localeinfo.h: Likewise.
32135 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32136 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32137
6c55cda3
RM
321382012-07-09 Roland McGrath <roland@hack.frob.com>
32139
32140 [BZ #14336]
32141 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32142 system".
32143 * manual/message.texi (The Uniforum approach): Likewise.
32144 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32145 (glibc iconv Implementation): Likewise.
32146
638a572e
JM
321472012-07-09 Joseph Myers <joseph@codesourcery.com>
32148
32149 [BZ #14337]
32150 * math/s_clog.c (__clog): Avoid scaling a value down where that
32151 could result in underflow.
32152 * math/s_clog10.c (__clog10): Likewise.
32153 * math/s_clog10f.c (__clog10f): Likewise.
32154 * math/s_clog10l.c (__clog10l): Likewise.
32155 * math/s_clogf.c (__clogf): Likewise.
32156 * math/s_clogl.c (__clogl): Likewise.
32157 * math/libm-test.inc (clog_test): Add more tests.
32158 (clog10_test): Likewise.
32159 * sysdeps/i386/fpu/libm-test-ulps: Update.
32160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32161
261f4859
AS
321622012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32163
0abaf3e4
AS
32164 [BZ #14283]
32165 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32166 by 7 not 8 to examine high bit of fractional part.
32167
261f4859
AS
32168 [BZ #14042]
32169 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32170 for call to __mcount_internal.
32171 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32172 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32173 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32174
f17ac40d
JM
321752012-07-06 Joseph Myers <joseph@codesourcery.com>
32176
9ad63c23
JM
32177 [BZ #14154]
32178 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32179 approximation for values within 0x1p-13f of an odd multiple of
32180 pi/4.
32181 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32182 exception. Add more tests.
32183 * sysdeps/i386/fpu/libm-test-ulps: Update.
32184
f17ac40d
JM
32185 [BZ #6778]
32186 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32187 inputs and return -1 for them. Do not check for +Inf in case not
32188 reachable for +Inf.
32189 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32190 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32191 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32192 and return -1 for them. Do not check for +Inf in case not
32193 reachable for +Inf.
32194 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32195 define.
32196 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32197 and return -1 for them. Do not check for +Inf in case not
32198 reachable for +Inf.
32199 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32200 spurious underflow.
32201 * sysdeps/i386/fpu/libm-test-ulps: Update.
32202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32203
fb21f89b
MF
322042012-07-06 Mike Frysinger <vapier@gentoo.org>
32205
32206 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32207
cdfe2c5e
JM
322082012-07-05 Joseph Myers <joseph@codesourcery.com>
32209
32210 [BZ #14157]
32211 [BZ #14331]
32212 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32213 could result in spurious underflow. Scale down values above
32214 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32215 * math/s_csqrtf.c (__csqrtf): Likewise.
32216 * math/s_csqrtl.c (__csqrtl): Likewise.
32217 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32218 spurious underflow.
32219 * sysdeps/i386/fpu/libm-test-ulps: Update.
32220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32221
70d35b67
AS
322222012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32223
704bc459
AS
32224 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32225 xopen-msg.sed.
32226 * catgets/xopen-msg.awk: New file.
32227 * catgets/xopen-msg.sed: Removed.
32228
70d35b67
AS
32229 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32230 po2text.sed.
32231 * intl/po2test.awk: New file.
32232 * intl/po2test.sed: Removed.
32233
ca61cf32
JM
322342012-07-04 Joseph Myers <joseph@codesourcery.com>
32235
32236 [BZ #14328]
32237 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32238 or multiply small sinh result by itself.
32239 * math/s_ctanf.c (__ctanf): Likewise.
32240 * math/s_ctanh.c (__ctanh): Likewise.
32241 * math/s_ctanhf.c (__ctanhf): Likewise.
32242 * math/s_ctanhl.c (__ctanhl): Likewise.
32243 * math/s_ctanl.c (__ctanl): Likewise.
32244 * math/libm-test.inc (ctan_test_tonearest): New function.
32245 (ctan_test_towardzero): Likewise.
32246 (ctan_test_downward): Likewise.
32247 (ctan_test_upward): Likewise.
32248 (ctanh_test_tonearest): Likewise.
32249 (ctanh_test_towardzero): Likewise.
32250 (ctanh_test_downward): Likewise.
32251 (ctanh_test_upward): Likewise.
32252 (main): Call these new functions.
32253 * sysdeps/i386/fpu/libm-test-ulps: Update.
32254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32255
ca48a46a
MF
322562012-07-03 Mike Frysinger <vapier@gentoo.org>
32257
32258 * .gitignore: Delete /ports entry.
32259
9d63d37d
AJ
322602012-07-03 Andreas Jaeger <aj@suse.de>
32261
32262 * po/bg.po: Update from translation team.
32263 * po/cs.po: Likewise.
32264 * po/de.po: Likewise.
32265 * po/hr.po: Likewise.
32266 * po/nl.pl: Likewise.
32267 * po/pl.po: Likewise.
32268 * po/vi.po: Likewise.
32269
370ca3d2
JM
322702012-07-03 Joseph Myers <joseph@codesourcery.com>
32271
95f5a9a8
JM
32272 * Makeconfig [!+link] (+link-before-libc): New variable.
32273 [!+link] (+link-after-libc): Likewise.
32274 [!+link] (+link-tests): Likewise.
32275 [!+link] (+link): Define in terms of $(+link-before-libc) and
32276 $(+link-after-libc).
32277 [!+link-static] (+link-static-before-libc): New variable.
32278 [!+link-static] (+link-static-after-libc): Likewise.
32279 [!+link-static] (+link-static-tests): Likewise.
32280 [!+link-static] (+link-static): Define in terms of
32281 $(+link-static-before-libc) and $(+link-static-after-libc).
32282 [build-shared] (link-libc-before-gnulib): New variable.
32283 [build-shared] (link-libc-tests): Likewise.
32284 [build-shared] (link-libc): Define in terms of
32285 $(link-libc-before-gnulib).
32286 [!build-shared] (link-libc-tests): New variable.
32287 (link-libc-static-tests): New variable.
32288 [!gnulib] (gnulib-arch): New variable.
32289 [!gnulib] (gnulib-tests): Likewise.
32290 [!gnulib] (static-gnulib-arch): Likewise.
32291 [!gnulib] (static-gnulib-tests): Likewise.
32292 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32293 Define with "=" instead of ":=".
32294 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32295 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32296 * Rules (binaries-all-notests): New variable.
32297 (binaries-all-tests): Likewise.
32298 (binaries-static-notests): Likewise.
32299 (binaries-static-tests): Likewise.
32300 (binaries-all): Define using $(binaries-all-notests) and
32301 $(binaries-all-tests).
32302 (binaries-static): Define using $(binaries-static-notests) and
32303 $(binaries-static-tests).
32304 (binaries-shared-tests): New variable.
32305 (binaries-shared-notests): Likewise.
32306 (binaries-shared): Remove variable.
32307 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32308 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32309 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32310 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32311 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32312 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32313 * elf/Makefile (sln-modules): New variable.
32314 (extra-objs): Add $(sln-modules:=.o).
32315 (ldconfig-modules): Add static-stubs.
32316 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32317 * elf/static-stubs.c: New file.
32318
7a845b2c
JM
32319 [BZ #14283]
32320 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32321 by 7 not 8 to examine high bit of fractional part. Use volatile
32322 variables when splitting into final array of floats if
32323 __FLT_EVAL_METHOD__ != 0.
32324 * math/libm-test.inc (cos_test): Add another test.
32325 (sin_test): Likewise.
32326 * sysdeps/i386/fpu/libm-test-ulps: Update.
32327
e2283f38
JM
32328 [BZ #14273]
32329 * math/libm-test.inc (cosh_test): Add more tests.
32330
370ca3d2
JM
32331 * version.h (RELEASE): Set to "development".
32332 (VERSION): Set to "2.16.90".
32333
ee9247c3
CD
323342012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32335
32336 * NEWS: Update copyright. Remove last-updated date.
32337 Mention math library bug fixes and timezone data changes.
32338 * README: Mention GNU/Hurd, x32, and HPPA support status.
32339
4648c381
TS
323402012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32341
32342 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32343
aac78a43
AJ
323442012-06-27 Andreas Jaeger <aj@suse.de>
32345
32346 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32347
ed3dbfad
AJ
323482012-06-25 Andreas Jaeger <aj@suse.de>
32349
32350 * sysdeps/s390/fpu/libm-test-ulps: Update.
32351
4d0ee855
AS
323522012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32353 Thomas Schwinge <thomas@codesourcery.com>
32354
32355 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32356 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32357 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32358 fanotify_mark.
32359
af1bce34
TS
323602012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32361
a9fa33ba
TS
32362 * sysdeps/mach/start.c: Remove file.
32363 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32364 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32365 * sysdeps/sh/init-first.c: Likewise.
32366
58f902b8
TS
32367 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32368 registers for frame unwinding purposes, add CFI directives.
32369 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32370 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32371 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32372 Likewise.
32373
1518f58b
TS
32374 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32375 __fortify_fail returning.
32376 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32377
db9b5059
TS
32378 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32379 sysdeps/sh/____longjmp_chk.S.
32380 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32381 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32382 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32383 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32384
967705fe
TS
32385 * sysdeps/sh/abort-instr.h: New file.
32386 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32387 process in case exit returns.
32388
a9def8c4
TS
32389 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32390 initialize the GOT register before use.
32391
2a649725
TS
32392 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32393 calculation of ARGC > 4.
32394
af1bce34
TS
32395 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32396 meaningful names to some local labels.
32397
d230f50a
KK
323982012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32399 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32400
32401 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32402 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32403 (__arch_compare_and_exchange_val_16_acq): Likewise.
32404 (__arch_compare_and_exchange_val_32_acq): Likewise.
32405 (atomic_exchange_and_add): Fix gUSA sequence.
32406 (atomic_add): Likewise.
32407 (atomic_add_negative): Likewise.
32408 (atomic_add_zero): Likewise.
32409 (atomic_bit_test_set): Likewise.
32410
0479b305
AS
324112012-06-22 Andreas Schwab <schwab@redhat.com>
32412
32413 [BZ #13579]
32414 * include/link.h (struct link_map): Add l_free_initfini.
32415 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32416 l_initfini.
32417 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32418 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32419 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32420 set.
32421
0e3933b9
CD
324222012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32423
32424 * configure.in: Use AC_LANG_SOURCE.
32425 * configure: Regenerate.
32426
4248b1b1
RM
324272012-06-22 Roland McGrath <roland@hack.frob.com>
32428
32429 * configure.in (libc_cv_localstatedir): New substituted variable.
32430 * configure: Regenerated.
32431 * config.make.in (localstatedir): New variable, substituted from
32432 libc_cv_localstatedir.
32433 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32434 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32435 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32436 * sysdeps/gnu/configure: Regenerated.
32437
006dd861
JL
324382012-06-21 Jeff Law <law@redhat.com>
32439
32440 [BZ #14277]
32441 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32442 free. Simplify list management for _LIBC case.
32443
79662d42
JM
324442012-06-21 Joseph Myers <joseph@codesourcery.com>
32445
b7abb4bf
JM
32446 [BZ #14273]
32447 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32448 Clear sign bit of 64-bit integer value before comparing against
32449 overflow value.
32450
79662d42
JM
32451 * sysdeps/mach/configure: Regenerated.
32452
1f150908
L
324532012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32454
32455 [BZ #14278]
32456 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32457
28363bbf
JL
324582012-06-21 Jeff Law <law@redhat.com>
32459
32460 [BZ #13882]
32461 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32462 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 32463 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
32464 * elf/dl-open.c (dl_open_worker): Likewise.
32465
09615db4
CD
324662012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32467
32468 * scripts/list-sources.sh: Scan PORTS for translations.
32469 * po/libc.pot: Regenerated.
32470
2174c6dd
AJ
324712012-06-21 Andreas Jaeger <aj@suse.de>
32472
32473 [BZ #12194]
32474 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32475 warning.
32476 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32477 * bits/byteswap-16.h (__bswap_16): Likewise.
32478 * bits/byteswap.h (__bswap_constant_16): Likewise.
32479
3ee947b1
L
324802012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32481
32482 [BZ #14117]
a2f34833
L
32483 * sysdeps/i386/fpu_control.h: Removed.
32484 * sysdeps/x86_64/fpu_control.h: Moved to ...
32485 * sysdeps/x86/fpu_control.h: Here.
32486
3ee947b1
L
32487 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32488 (_FPU_SETCW): Likewise.
32489
ed1825f8
L
324902012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32491
25f1282a
L
32492 [BZ #14117]
32493 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32494 * sysdeps/x86/fpu/bits/mathinline.h: This.
32495 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32496
ed1825f8
L
32497 [BZ #14050]
32498 [BZ #14117]
32499 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32500 functions if __x86_64__ is defined.
32501
36d54b74
CLT
325022012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32503
32504 * string/endian.h: Add !__ASSEMBLER__ condition for including
32505 conversion interfaces.
32506
10285c21
JM
325072012-06-15 Joseph Myers <joseph@codesourcery.com>
32508
32509 [BZ #14241]
32510 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32511 of ABS(x) in calculating zero to negative powers other than odd
32512 integers.
32513 * math/libm-test.inc (pow_test): Add more tests.
32514
06c5abbd
AJ
325152012-06-15 Andreas Jaeger <aj@suse.de>
32516
32517 * manual/contrib.texi (Contributors): Update entry of Liubov
32518 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32519 Machado Filho.
32520
a3aeac40
CH
325212012-06-15 Cyril Hrubis <metan@ucw.cz>
32522
32523 * string/string.h: Add __wur to GNU version of strerror_r.
32524
49bdf4c1
L
325252012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32526
32527 [BZ #14229]
32528 * string/Makefile (tests): Add tst-strtok_r.
32529 * string/tst-strtok_r.c: New file.
32530 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32531 RAX_LP/RDX_LP on SAVE_PTR.
32532
834f9b8d
RM
325332012-06-14 Roland McGrath <roland@hack.frob.com>
32534
32535 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32536
75fa1921
JM
325372012-06-14 Joseph Myers <joseph@codesourcery.com>
32538
32539 * libm_test.inc (csqrt_test): Allow more spurious underflow
32540 exceptions.
32541 (j0_test): Likewise.
32542 (j1_test): Likewise.
32543 (y0_test): Likewise.
32544 (y1_test): Likewise.
32545
771766df
CD
325462012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32547
32548 * po/Makefile (libc.pot): Use UTF-8 charset.
32549
ceb9e56b
PP
325502012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32551
32552 [BZ #14210]
32553 Suppress sign-conversion warning from FD_SET.
32554 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32555 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32556 not unsigned long int.
32557 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32558
ddb28975
L
325592012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32560
32561 [BZ #14050]
32562 [BZ #14117]
32563 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32564 __extern_always_inline instead of __extern_inline.
32565 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32566 (__signbit): Likewise.
32567 (__signbitl): Support C++ namespace.
32568 (lrintf): New inline function.
32569 (lrint): Likewise.
32570 (llrintf): Likewise.
32571 (llrint): Likewise.
32572 (fmaxf): Likewise.
32573 (fmax): Likewise.
32574 (fminf): Likewise.
32575 (fmin): Likewise.
32576 (rint): Likewise.
32577 (rintf): Likewise.
32578 (ceil): Likewise.
32579 (ceilf): Likewise.
32580 (floor): Likewise.
32581 (floorf): Likewise.
32582 (nearbyint): Likewise.
32583 (nearbyintf): Likewise.
32584
d7b4fb26
TS
325852012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32586
32587 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32588 non-default versions.
32589
eb55f5c2
RM
325902012-06-11 Roland McGrath <roland@hack.frob.com>
32591
32592 [BZ #14218]
32593 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32594
366af02c
TS
325952012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32596
99ff6e5c
TS
32597 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32598 (FE_UPWARD, FE_DOWNWARD): Don't define.
32599 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32600 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32601
366af02c
TS
32602 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32603 reading it.
32604 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32605 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32606
793ea851
KK
326072012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32608
32609 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32610 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32611 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32612 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32613
a728a38f
L
326142012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32615
32616 [BZ #14117]
c08010c7
L
32617 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32618 * sysdeps/i386/fpu/Implies: New file.
32619 * sysdeps/x86_64/fpu/Implies: Likewise.
32620 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32621 * sysdeps/x86/fpu/bits/fenv.h: This.
32622
a728a38f
L
32623 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32624 __SSE_MATH__.
32625
6e230d11
SP
326262012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32627
32628 [BZ #14134]
32629 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32630 character 0xffff that matches the last element of the
32631 conversion table.
32632
1b671feb
AZ
326332012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32634
32635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32636 fmodl commit.
32637
6043738b
AZ
326382012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32639
32640 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32641 values higher than 25.6283.
32642
34ae0b32
AZ
326432012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32644
32645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32646 subnormal exponent extraction and add some __builtin_expect.
32647 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32648 Fix for subnormal mantissa calculation.
32649
1214ec8f
MF
326502012-06-04 Mike Frysinger <vapier@gentoo.org>
32651
32652 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32653 cpu2 is -1 and errno is not ENOSYS.
32654
f3d1f93c
L
326552012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32656
32657 [BZ #14117]
0e4a3cd7
L
32658 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32659 * sysdeps/x86/bits/string.h: This.
32660 * sysdeps/x86_64/bits/string.h: Removed.
32661
6704c645
L
32662 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32663 if not compiling for x86-64, but compiling for >= i486.
32664
48495318
L
32665 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32666 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32667
14adcbfc
L
32668 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32669 New macro from Linux kernel 3.4.0.
32670 (FP_XSTATE_MAGIC2): Likewise.
32671 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32672 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32673 (struct _fpx_sw_bytes): New struct.
32674 (struct _xsave_hdr): Likewise.
32675 (struct _ymmh_state): Likewise.
32676 (struct _xstate): Likewise.
32677
68e408ab
L
32678 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32679 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32680 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32681 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32682 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32683 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32684
f3d1f93c
L
32685 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32686 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32687 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32688 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32689 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32690 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32691
d9dc34cd
TMQMF
326922012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32693
32694 [BZ #13743]
32695 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32696 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32697 (sysdep_headers): Include sys/platform/ppc.h.
32698 * sysdeps/powerpc/test-gettimebase.c: Test for
32699 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32700 * manual/Makefile (appendices): Include platform.texi.
32701 * manual/contrib.texi (Contributors): Update @node pointers.
32702 * manual/maint.texi (Maintenance): Likewise.
32703 (Platform): New node.
32704 * manual/platform.texi: New file. Document the new features.
32705
4af3879c
SP
327062012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32707 Jakub Jelinek <jakub@redhat.com>
32708
32709 [BZ #14188]
32710 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32711 where __builtin_expect is unavailable.
32712
2fd6ff13
DM
327132012-06-03 David S. Miller <davem@davemloft.net>
32714
32715 * stdlib/longlong.h: Updated from GCC.
32716
173f7220
AS
327172012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32718
32719 [BZ #14042]
32720 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32721 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32722 __mcount_internal.
32723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32724 (GLIBC_2.16): Likewise.
32725
f34a1c6f
L
327262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32727
32728 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32729
88a4576f
JM
327302012-06-01 Joseph Myers <joseph@codesourcery.com>
32731
ea32bcdd
JM
32732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32733 (default-abi): New variable.
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32735 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32736 variable.
32737 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32738 Likewise.
32739 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32740 Likewise.
32741 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32742 Likewise.
32743
88a4576f
JM
32744 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32745 definition. Document in comment.
32746
402fe938
DM
327472012-06-01 David S. Miller <davem@davemloft.net>
32748
32749 * stdlib/longlong.h: Updated from GCC.
32750
3553723f
L
327512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32752
32753 [BZ #14117]
3bd872c4
L
32754 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32755 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32756 sys/debugreg.h sys/io.h here.
32757 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32758 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32759 sys/io.h.
32760 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32761 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32762 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32763 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32764 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32765 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32766
3553723f
L
32767 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32768 Define only if __x86_64__ is defined.
32769
4842e4fe
JM
327702012-06-01 Joseph Myers <joseph@codesourcery.com>
32771
c5bfe3d5
JM
32772 [BZ #14048]
32773 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32774 Use int64_t for variable i.
32775 * math/libm-test.inc (fmod_test): Add more tests.
32776
4842e4fe
JM
32777 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32778 z computation is not scheduled after fetestexcept.
32779 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32780 Use math_force_eval instead of asm to ensure calculation scheduled
32781 before exception test.
32782 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32783 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32784
efb73488
AJ
327852012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32786
32787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32788 computation is not scheduled after fetestexcept.
32789
29bcce7c
L
327902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32791
32792 [BZ #14117]
32793 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32794 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32795
73a68f94
AZ
327962012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32797
32798 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32799 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32800
67b6df78
L
328012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32802
edf2933a 32803 [BZ #14117]
ebc64a18
L
32804 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32805 <bits/wordsize.h>.
32806 (__WCHAR_MIN): Support __WORDSIZE == 64.
32807 (__WCHAR_MAX): Likewise.
32808
edf2933a
L
32809 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32811
57c6cf40
L
32812 [BZ #14183]
32813 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32814 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32815
67b6df78 32816 [BZ #14117]
8eb6281e
L
32817 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32818 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32819
aac639f4
L
32820 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32821 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32822
67b6df78
L
32823 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32824 Defined to 1 if __x86_64__ isn't defined.
32825 (_STAT_VER_LINUX_OLD): New.
32826 (st_atime): Remove duplicate.
32827 (st_mtime): Likewise.
32828 (st_ctime): Likewise.
32829
1c2cfe81
DM
328302012-05-31 David S. Miller <davem@davemloft.net>
32831
32832 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32833 entries.
32834
5be8418c
AS
328352012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32836
e7725326
AS
32837 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32838 gen-libm-test.pl.
32839
5be8418c
AS
32840 [BZ #14132]
32841 * elf/dl-reloc.c: Include <_itoa.h>.
32842 (_dl_reloc_bad_type): Remove use of INTUSE.
32843 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32844 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32845 * stdio-common/psiginfo.c (psiginfo): Likewise.
32846 * stdio-common/psignal.c (psignal): Likewise.
32847 * string/strsignal.c (strsignal): Likewise.
32848 * include/signal.h (_sys_siglist): Declare hidden proto.
32849 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32850 INTVARDEF with libc_hidden_data_def.
32851 * stdio-common/itoa-udigits.c: Likewise.
32852 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32853 (_itoa_lower_digits_internal): Remove declaration.
32854 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32855 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32856 (_sys_sigabbrev_internal): Remove aliases.
32857 (_sys_siglist): Define hidden alias.
32858
507352f1
MT
328592012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32860
32861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32862 bits/sysctl.h.
32863
42bbb1c3
L
328642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32865
32866 [BZ #14117]
6bd784b6
L
32867 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32868 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32869
8bca20f0
L
32870 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32871 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32872 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32873 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32874 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32875 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32876
f9e890a9
L
32877 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32878 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32879 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32880
471101a1
L
32881 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32882 with __addr.
32883 (insw): Likewise.
32884 (insl): Likewise.
32885 (outsb): Likewise.
32886 (outsw): Likewise.
32887 (outsl): Likewise.
32888
6451c862
L
32889 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32890 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32891 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32892
a254b8c9
L
32893 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32894 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32895 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32896 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32897 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32898 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32899
b8dfdd92
L
32900 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32901 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32902
578cd270
L
32903 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32904 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32905
de662f5f
L
32906 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32907 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32908 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32909
25653439
L
32910 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32911 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32912 to ...
32913 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32914
6bad24a0
L
32915 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32916 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32917 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32918
42bbb1c3
L
32919 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32920 for x86-64.
32921 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32922
2d10d547
JM
329232012-05-31 Joseph Myers <joseph@codesourcery.com>
32924
32925 * math/math.h (M_El): Use two more decimal places.
32926 (M_LOG2El): Likewise.
32927 (M_LOG10El): Likewise.
32928 (M_LN2l): Likewise.
32929 (M_LN10l): Likewise.
32930 (M_PIl): Likewise.
32931 (M_PI_2l): Likewise.
32932 (M_PI_4l): Likewise.
32933 (M_1_PIl): Likewise.
32934 (M_2_PIl): Likewise.
32935 (M_2_SQRTPIl): Likewise.
32936 (M_SQRT2l): Likewise.
32937 (M_SQRT1_2l): Likewise.
32938
f230c29b
DM
329392012-05-31 David S. Miller <davem@davemloft.net>
32940
32941 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32942 values between float registers.
32943 * sysdeps/sparc/sparc64/memset.S: Likewise.
32944 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32945
fed806c3
MF
329462012-05-31 Mike Frysinger <vapier@gentoo.org>
32947
32948 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32949 -D_FORTIFY_SOURCE=1.
32950 (CPPFLAGS-tst-longjmp_chk.c): Define.
32951 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32952 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32953 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32954 CFLAGS-tst-wchar-h.c.
32955
30917259
MP
329562012-05-31 Marek Polacek <polacek@redhat.com>
32957
32958 [BZ #14132]
32959 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32960 __endmntent_internal): Remove declaration.
32961 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32962 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32963 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32964
1c58d5dc
DM
329652012-05-30 David S. Miller <davem@davemloft.net>
32966
32967 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32968 (___Q_simulate_exceptions): Use real FP ops rather than writing
32969 into the %fsr.
32970 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32971 Likewise.
32972
7dc00e0d
L
329732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32974
32975 [BZ #14117]
0bd53985
L
32976 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32977 * sysdeps/x86/bits/xtitypes.h: This.
32978
3a257e66
L
32979 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32980 * sysdeps/x86/bits/wordsize.h: This.
32981
62f62904
L
32982 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32983 * sysdeps/x86/bits/huge_vall.h: This.
32984
404fe9d9
L
32985 * sysdeps/i386/bits/select.h: Removed.
32986 * sysdeps/x86_64/bits/select.h: Renamed to ...
32987 * sysdeps/x86/bits/select.h: This.
32988
d48d0446
L
32989 * sysdeps/i386/bits/setjmp.h: Removed.
32990 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32991 * sysdeps/x86/bits/setjmp.h: This.
32992
7dc00e0d
L
32993 * sysdeps/i386/bits/mathdef.h: Removed.
32994 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32995 * sysdeps/x86/bits/mathdef.h: This.
32996
03277f8f
AS
329972012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32998
32999 [BZ #14132]
33000 * include/sys/socket.h (__connect_internal)
33001 (__libc_sa_len_internal): Remove declaration.
33002 (__connect, __libc_sa_len): Declare hidden_proto.
33003 (SA_LEN): Remove use of INTUSE.
33004 * socket/connect.c: Add libc_hidden_def.
33005 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33006 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33007 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33008 alias.
33009 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33010 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33011 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33012 of adding _internal alias.
33013
13764867
L
330142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33015
33016 [BZ #14117]
6bd97696
L
33017 * sysdeps/i386/bits/link.h: Removed.
33018 * sysdeps/i386/bits/linkmap.h: Likewise.
33019 * sysdeps/x86_64/bits/link.h: Renamed to ...
33020 * sysdeps/x86/bits/link.h: This.
33021 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33022 * sysdeps/x86/bits/linkmap.h: This.
33023
f726f0bb
L
33024 * sysdeps/i386/bits/endian.h: Removed.
33025 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33026 * sysdeps/x86/bits/endian.h: This.
33027
13764867
L
33028 * sysdeps/i386/bits/byteswap.h: Removed.
33029 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33030 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33031 * sysdeps/x86/bits/byteswap.h: This.
33032 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33033 * sysdeps/x86/bits/byteswap-16.h: This.
33034 * sysdeps/i386/Implies: Add x86.
33035 * sysdeps/x86_64/Implies: Likewise.
33036
ae251b0b
DM
330372012-05-30 David S. Miller <davem@davemloft.net>
33038
33039 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33040 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33041 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33042 (FP_TRAPPING_EXCEPTIONS): Define.
33043 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33044 (FP_TRAPPING_EXCEPTIONS): Define.
33045 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33046 subnormals only when inexact has been signalled or underflow
33047 exceptions are enabled.
33048 (_FP_PACK_CANONICAL): Likewise.
33049
d5c90867
L
330502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33051
33052 [BZ #14183]
33053 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33054 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33055
63f1549e
RH
330562012-05-30 Richard Henderson <rth@twiddle.net>
33057
8d8f2279
RH
33058 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33059 with #ifndef NOT_IN_libc.
33060
63f1549e
RH
33061 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33062 marked to avoid plt entry.
33063
0ab0291b
L
330642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33065
33066 [BZ #14112]
33067 * Makeconfig (default-abi): New macro.
33068 (abi-includes): Likewise.
33069 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33070 $(abi-$(default-abi)-lib-soname) for soname if defined.
33071 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33072 abi-variants.
33073 * Makefile (installed-stubs): Likewise.
33074 * include/stubs-biarch.h: Removed.
33075 * scripts/lib-names.awk: Only handle one library at a time.
33076 * scripts/soversions.awk: Remove WORDSIZE support.
33077 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33078 entries.
33079 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33080 Removed.
33081 (syscall-list-default-condition): Likewise.
33082 (syscall-list-default-condition): Likewise.
33083 (syscall-list-includes): Likewise.
33084 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33085 syscall-list-* with abi-*. Handle undefined abi-variants.
33086 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33087 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33088 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33089 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33090 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33091 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33092 Removed.
33093 (syscall-list-32-options): Likewise.
33094 (syscall-list-32-condition): Likewise.
33095 (syscall-list-64-options): Likewise.
33096 (syscall-list-64-condition): Likewise.
33097 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33098 macro.
33099 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33100 Renamed to ...
33101 (abi-*): This.
33102 (abi-64-ld-soname): New macro.
33103 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33104 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33105 Renamed to ...
33106 (abi-*): This.
33107 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33108 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33109
4da0431d
JM
331102012-05-30 Joseph Myers <joseph@codesourcery.com>
33111
3a85279c
JM
33112 * sysdeps/unix/sysv/linux/kernel-features.h
33113 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33114 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33115 include <kernel-features.h>.
33116 [!__NR_ftruncate64]: Remove conditional code.
33117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33118 [__NR_ftruncate64]: Make code unconditional.
33119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33120 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33121 include <kernel-features.h>.
33122 [!__NR_ftruncate64]: Remove conditional code.
33123 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33124 [__NR_ftruncate64]: Make code unconditional.
33125 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33127 include <kernel-features.h>.
33128 [!__NR_ftruncate64]: Remove conditional code.
33129 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33130 [__NR_ftruncate64]: Make code unconditional.
33131 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33133 include <kernel-features.h>.
33134 [!__NR_ftruncate64]: Remove conditional code.
33135 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33136 [__NR_ftruncate64]: Make code unconditional.
33137 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33138
4da0431d
JM
33139 * configure.in (libc_cv_fpie): Weaken to a compile test using
33140 LIBC_TRY_CC_OPTION.
33141 * configure: Regenerated.
33142
11ef492c
AK
331432012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33144
33145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33149 Refreshed.
33150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33156 Refreshed.
33157
d66ef399
DM
331582012-05-27 David S. Miller <davem@davemloft.net>
33159
33160 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33161 (___Q_zero): New.
33162 (__Q_simulate_exceptions): Return void. Change to simulate
33163 exceptions by writing into the %fsr.
33164 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33165 (__Qp_handle_exceptions): Likewise.
33166 (numbers): Delete.
33167 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33168 __Qp_handle_exceptions.
33169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33170 __Qp_handle_exceptions.
33171 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33172 as unused and give dummy FP_RND_NEAREST initializer.
33173 (FP_INHIBIT_RESULTS): Define.
33174 (___Q_simulate_exceptions): Update declaration.
33175 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33176 formatting.
33177 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33178 as unused and give dummy FP_RND_NEAREST initializer.
33179 (__Qp_handle_exceptions): Update declaration.
33180 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33181 formatting.
33182
04fb54b5
TS
331832012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33184
33185 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33186 the temporary FPU control word.
33187 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33188 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33189 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33190 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33191 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33192 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33193 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33194 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33195 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33196 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33197 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33198
3f99608f
KK
331992012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33200
33201 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33202 fields.
33203
65a4de4e
CLT
332042012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33205
33206 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33207 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33208 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33209 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33210 Likewise.
33211 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33212 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33213 Likewise.
33214
15749d40
UD
332152012-05-27 Ulrich Drepper <drepper@gmail.com>
33216
33217 * po/h.po: Update from translation team.
33218
25dbcb27
AS
332192012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33220
3d3f8e55
AS
33221 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33222
25dbcb27
AS
33223 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33224 handling of denormals.
33225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33226 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33227 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33228 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33232 Likewise.
33233
7ad47a80 332342012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33235
33236 [BZ #14152]
33237 * math/libm-test.inc (fma_test): Don't always expect underflow
33238 exception.
33239
9c6ea9fa
SP
332402012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33241
33242 [BZ #12416]
33243 * elf/tst-execstack.c: Include stackinfo.h.
33244 (do_test): Adjust test case to ensure that pthread_getattr_np
33245 behaviour remains the same after marking stack executable.
33246
a8239222
JM
332472012-05-25 Joseph Myers <joseph@codesourcery.com>
33248
33249 * sysdeps/unix/sysv/linux/kernel-features.h
33250 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33251 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33252 kernel-features.h.
33253 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33254 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33255 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33256 kernel-features.h.
33257 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33258 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33259
918b5606
L
332602012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33261
33262 * configure.in: Define the default includes to being none.
33263 * configure: Regenerated.
33264
3a097cc7
RM
332652012-05-25 Roland McGrath <roland@hack.frob.com>
33266
8422c9a5
RM
33267 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33268 * sysdeps/x86_64/setjmp.S: Likewise.
33269 * sysdeps/i386/bsd-setjmp.S: Likewise.
33270 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33271 * sysdeps/i386/setjmp.S: Likewise.
33272 * sysdeps/i386/__longjmp.S: Likewise.
33273 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33274 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33275
3a097cc7
RM
33276 * include/stap-probe.h: New file.
33277 * configure.in: Handle --enable-systemtap.
33278 * configure: Regenerated.
33279 * config.h.in (USE_STAP_PROBE): New #undef.
33280 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33281 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33282 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33283
21708942
JM
332842012-05-25 Joseph Myers <joseph@codesourcery.com>
33285
33286 [BZ #13717]
33287 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33288 to 2.4.0 where earlier.
33289 * sysdeps/unix/sysv/linux/configure: Regenerated.
33290 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33291 <kernel-features.h>.
33292 [__ASSUME_32BITUIDS]: Make code unconditional.
33293 [!__ASSUME_32BITUIDS]: Remove conditional code.
33294 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33295 <kernel-features.h>.
33296 [__ASSUME_32BITUIDS]: Make code unconditional.
33297 [!__ASSUME_32BITUIDS]: Remove conditional code.
33298 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33299 [__ASSUME_32BITUIDS]: Make code unconditional.
33300 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33301 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33302 <kernel-features.h>.
33303 [__ASSUME_32BITUIDS]: Make code unconditional.
33304 [!__ASSUME_32BITUIDS]: Remove conditional code.
33305 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33306 <kernel-features.h>.
33307 [__ASSUME_32BITUIDS]: Make code unconditional.
33308 [!__ASSUME_32BITUIDS]: Remove conditional code.
33309 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33310 <kernel-features.h>.
33311 [__ASSUME_32BITUIDS]: Make code unconditional.
33312 [!__ASSUME_32BITUIDS]: Remove conditional code.
33313 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33314 <kernel-features.h>.
33315 [__ASSUME_32BITUIDS]: Make code unconditional.
33316 [!__ASSUME_32BITUIDS]: Remove conditional code.
33317 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33318 <kernel-features.h>.
33319 [__ASSUME_32BITUIDS]: Make code unconditional.
33320 [!__ASSUME_32BITUIDS]: Remove conditional code.
33321 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33322 <kernel-features.h>.
33323 [__ASSUME_32BITUIDS]: Make code unconditional.
33324 [!__ASSUME_32BITUIDS]: Remove conditional code.
33325 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33326 <kernel-features.h>.
33327 [__ASSUME_32BITUIDS]: Make code unconditional.
33328 [!__ASSUME_32BITUIDS]: Remove conditional code.
33329 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33330 <kernel-features.h>.
33331 [__ASSUME_32BITUIDS]: Make code unconditional.
33332 [!__ASSUME_32BITUIDS]: Remove conditional code.
33333 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33334 <kernel-features.h>.
33335 [__ASSUME_32BITUIDS]: Make code unconditional.
33336 [!__ASSUME_32BITUIDS]: Remove conditional code.
33337 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33338 <kernel-features.h>.
33339 [__ASSUME_32BITUIDS]: Make code unconditional.
33340 [!__ASSUME_32BITUIDS]: Remove conditional code.
33341 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33342 <kernel-features.h>.
33343 [__NR_setresgid] (__setresgid): Do not declare.
33344 [__ASSUME_32BITUIDS]: Make code unconditional.
33345 [!__ASSUME_32BITUIDS]: Remove conditional code.
33346 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33347 <kernel-features.h>.
33348 [__NR_setresuid] (__setresuid): Do not declare.
33349 [__ASSUME_32BITUIDS]: Make code unconditional.
33350 [!__ASSUME_32BITUIDS]: Remove conditional code.
33351 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33352 <kernel-features.h>.
33353 [__ASSUME_32BITUIDS]: Make code unconditional.
33354 [!__ASSUME_32BITUIDS]: Remove conditional code.
33355 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33356 <kernel-features.h>.
33357 [__ASSUME_32BITUIDS]: Make code unconditional.
33358 [!__ASSUME_32BITUIDS]: Remove conditional code.
33359 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33360 <kernel-features.h>.
33361 [__ASSUME_32BITUIDS]: Make code unconditional.
33362 [!__ASSUME_32BITUIDS]: Remove conditional code.
33363 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33364 <kernel-features.h>.
33365 [__ASSUME_32BITUIDS]: Make code unconditional.
33366 [!__ASSUME_32BITUIDS]: Remove conditional code.
33367 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33368 <kernel-features.h>.
33369 [__ASSUME_32BITUIDS]: Make code unconditional.
33370 [!__ASSUME_32BITUIDS]: Remove conditional code.
33371 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33372 <kernel-features.h>.
33373 [__ASSUME_32BITUIDS]: Make code unconditional.
33374 [!__ASSUME_32BITUIDS]: Remove conditional code.
33375 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33376 <kernel-features.h>.
33377 [__ASSUME_32BITUIDS]: Make code unconditional.
33378 [!__ASSUME_32BITUIDS]: Remove conditional code.
33379 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33380 <kernel-features.h>.
33381 [__ASSUME_32BITUIDS]: Make code unconditional.
33382 [!__ASSUME_32BITUIDS]: Remove conditional code.
33383 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33384 <kernel-features.h>.
33385 [__ASSUME_32BITUIDS]: Make code unconditional.
33386 [!__ASSUME_32BITUIDS]: Remove conditional code.
33387 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33388 <kernel-features.h>.
33389 [__ASSUME_32BITUIDS]: Make code unconditional.
33390 [!__ASSUME_32BITUIDS]: Remove conditional code.
33391 * sysdeps/unix/sysv/linux/kernel-features.h
33392 (__ASSUME_SETRESUID_SYSCALL): Remove.
33393 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33394 (__ASSUME_32BITUIDS): Likewise.
33395 (__ASSUME_LDT_WORKS): Likewise.
33396 (__ASSUME_O_DIRECTORY): Likewise.
33397 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33398 architecture but not kernel version.
33399 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33400 (__ASSUME_MMAP2_SYSCALL): Likewise.
33401 (__ASSUME_STAT64_SYSCALL): Likewise.
33402 (__ASSUME_IPC64): Likewise.
33403 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33404 <kernel-features.h>.
33405 [__ASSUME_32BITUIDS]: Make code unconditional.
33406 [!__ASSUME_32BITUIDS]: Remove conditional code.
33407 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33408 <kernel-features.h>.
33409 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33410 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33411 132096]: Remove conditional code.
33412 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33413 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33414 <kernel-features.h>.
33415 [__ASSUME_32BITUIDS]: Make code unconditional.
33416 [!__ASSUME_32BITUIDS]: Remove conditional code.
33417 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33418 <kernel-features.h>.
33419 [__ASSUME_32BITUIDS]: Make code unconditional.
33420 [!__ASSUME_32BITUIDS]: Remove conditional code.
33421 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33422 <kernel-features.h>.
33423 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33424 unconditional.
33425 (__setresgid): Do not declare.
33426 [__ASSUME_32BITUIDS]: Make code unconditional.
33427 [!__ASSUME_32BITUIDS]: Remove conditional code.
33428 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33429 <kernel-features.h>.
33430 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33431 unconditional.
33432 (__setresuid): Do not declare.
33433 [__ASSUME_32BITUIDS]: Make code unconditional.
33434 [!__ASSUME_32BITUIDS]: Remove conditional code.
33435 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33436 <kernel-features.h>.
33437 [__ASSUME_32BITUIDS]: Make code unconditional.
33438 [!__ASSUME_32BITUIDS]: Remove conditional code.
33439 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33440 <kernel-features.h>.
33441 [__ASSUME_32BITUIDS]: Make code unconditional.
33442 [!__ASSUME_32BITUIDS]: Remove conditional code.
33443
a386f1cc
RH
334442012-05-25 Richard Henderson <rth@twiddle.net>
33445
33446 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33447 dl_hwcap to ifunc resolver.
33448 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33449 elf_ifunc_invoke.
33450 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33451 dl_hwcap to ifunc resolver.
33452 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33453
b6550497
JM
334542012-05-24 Joseph Myers <joseph@codesourcery.com>
33455
33456 [BZ #14153]
33457 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33458 for |x| <= 2**-26, not 2**-57.
33459 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33460 exception.
33461
b0bc23a1
JL
334622012-05-24 Jeff Law <law@redhat.com>
33463
33464 * stdio-common/Makefile (tests): Add bug25.
33465 * stdio-common/bug25.c: New test.
33466
347c92e9
L
334672012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33468
33469 [BZ #13576]
33470 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33471 multiple of MALLOC_ALIGNMENT in size.
33472 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33473
6bcc8b3f
JM
334742012-05-24 Joseph Myers <joseph@codesourcery.com>
33475
33476 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33477 Require >= 256.
33478 (FILENAME_MAX): Use macro-int-constant.
33479 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33480 (_IOFBF): Use macro-int-constant.
33481 (_IOLBF): Likewise.
33482 (_IONBF): Likewise.
33483 (SEEK_CUR): Likewise.
33484 (SEEK_END): Likewise.
33485 (SEEK_SET): Likewise.
33486 (TMP_MAX): Likewise.
33487 (EOF): Use macro-int-constant. Require < 0.
33488 (NULL): Use macro-constant. Require == 0.
33489 (stdin): Require type to be FILE *.
33490 (stdout): Likewise.
33491 (stderr): Likewise.
33492 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33493 macro-int-constant.
33494 (EXIT_SUCCESS): Likewise.
33495 (NULL): Use macro-constant. Require == 0.
33496 (RAND_MAX): Use macro-int-constant.
33497 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33498 [C99-based standards] (strtof): Require function.
33499 [C99-based standards] (strtold): Likewise.
33500 [C99-based standards] (strtoll): Likewise.
33501 [C99-based standards] (strtoull): Likewise.
33502 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33503 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33504 [ISO || ISO99 || ISO11] (math.h): Likewise.
33505 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33506 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33508
d18ea0c5
AS
335092012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33510
33511 [BZ #14132]
56d25bb8
AS
33512 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33513 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33514 * intl/dgettext.c (DCGETTEXT): Likewise.
33515 * intl/gettext.c (DCGETTEXT): Likewise.
33516 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33517 * posix/regex_internal.h (gettext): Likewise.
33518 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33519 Remove declaration.
33520 * include/argz.h (__argz_count_internal)
33521 (__argz_stringify_internal): Remove declaration.
33522 (__argz_count, __argz_stringify): Declare hidden proto.
33523 * intl/dcgettext.c: Remove use of INTDEF.
33524 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33525 * string/argz-stringify.c: Likewise.
33526 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33527 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33528 Declare hidden proto.
d18ea0c5
AS
33529 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33530 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33531 Declare hidden proto.
33532 * include/stdio.h (__asprintf_internal): Don't declare.
33533 (__asprintf): Don't define as macro. Declare hidden proto.
33534 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33535 (__fsetlocking): Declare hidden proto.
33536 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33537 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33538 hidden proto.
33539 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33540 (_IO_setlinebuf): Remove use of INTUSE.
33541 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33542 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33543 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33544 Remove declaration.
33545 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33546 (_IO_do_flush): Remove use of INTUSE.
33547 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33548 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33549 (_IO_adjust_column, _IO_least_wmarker)
33550 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33551 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33552 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33553 (_IO_default_doallocate, _IO_wdefault_doallocate)
33554 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33555 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33556 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33557 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33558 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33559 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33560 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33561 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33562 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33563 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33564 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33565 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33566 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33567 proto.
33568 (_IO_flush_all_internal, _IO_adjust_column_internal)
33569 (_IO_default_uflow_internal, _IO_default_finish_internal)
33570 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33571 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33572 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33573 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33574 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33575 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33576 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33577 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33578 (_IO_file_close_internal, _IO_file_close_it_internal)
33579 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33580 (_IO_file_init_internal, _IO_file_attach_internal)
33581 (_IO_file_fopen_internal, _IO_file_read_internal)
33582 (_IO_file_sync_internal, _IO_file_seek_internal)
33583 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33584 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33585 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33586 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33587 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33588 (_IO_list_all_internal, _IO_link_in_internal)
33589 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33590 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33591 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33592 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33593 (_IO_do_write_internal, _IO_padn_internal)
33594 (_IO_getline_info_internal, _IO_getline_internal)
33595 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33596 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33597 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33598 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33599 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33600 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33601 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33602 with libc_hidden_ver, remove use of INTUSE.
33603 * libio/genops.c: Likewise.
33604 * libio/freopen.c: Likewise.
33605 * libio/freopen64.c: Likewise.
33606 * libio/iofclose.c: Likewise.
33607 * libio/iofdopen.c: Likewise.
33608 * libio/iofflush.c: Likewise.
33609 * libio/iofflush_u.c: Likewise.
33610 * libio/iofgets.c: Likewise.
33611 * libio/iofgets_u.c: Likewise.
33612 * libio/iofopen.c: Likewise.
33613 * libio/iofopncook.c: Likewise.
33614 * libio/iofread.c: Likewise.
33615 * libio/iofread_u.c: Likewise.
33616 * libio/ioftell.c: Likewise.
33617 * libio/iofwrite.c: Likewise.
33618 * libio/iogetline.c: Likewise.
33619 * libio/iogets.c: Likewise.
33620 * libio/iogetwline.c: Likewise.
33621 * libio/iopadn.c: Likewise.
33622 * libio/iopopen.c: Likewise.
33623 * libio/ioseekoff.c: Likewise.
33624 * libio/ioseekpos.c: Likewise.
33625 * libio/iosetbuffer.c: Likewise.
33626 * libio/iosetvbuf.c: Likewise.
33627 * libio/ioungetc.c: Likewise.
33628 * libio/ioungetwc.c: Likewise.
33629 * libio/iovdprintf.c: Likewise.
33630 * libio/iovsprintf.c: Likewise.
33631 * libio/iovsscanf.c: Likewise.
33632 * libio/memstream.c: Likewise.
33633 * libio/obprintf.c: Likewise.
33634 * libio/oldfileops.c: Likewise.
33635 * libio/oldiofclose.c: Likewise.
33636 * libio/oldiofdopen.c: Likewise.
33637 * libio/oldiofopen.c: Likewise.
33638 * libio/oldiopopen.c: Likewise.
33639 * libio/oldstdfiles.c: Likewise.
33640 * libio/putc.c: Likewise.
33641 * libio/setbuf.c: Likewise.
33642 * libio/setlinebuf.c: Likewise.
33643 * libio/stdfiles.c: Likewise.
33644 * libio/strops.c: Likewise.
33645 * libio/vasprintf.c: Likewise.
33646 * libio/vscanf.c: Likewise.
33647 * libio/vsnprintf.c: Likewise.
33648 * libio/vswprintf.c: Likewise.
33649 * libio/wfiledoalloc.c: Likewise.
33650 * libio/wfileops.c: Likewise.
33651 * libio/wgenops.c: Likewise.
33652 * libio/wmemstream.c: Likewise.
33653 * libio/wstrops.c: Likewise.
33654 * libio/__fpurge.c: Likewise.
33655 * libio/__fsetlocking.c: Likewise.
33656 * assert/assert.c: Likewise.
33657 * debug/fgets_chk.c: Likewise.
33658 * debug/fgets_u_chk.c: Likewise.
33659 * debug/fread_chk.c: Likewise.
33660 * debug/fread_u_chk.c: Likewise.
33661 * debug/gets_chk.c: Likewise.
33662 * debug/obprintf_chk.c: Likewise.
33663 * debug/vasprintf_chk.c: Likewise.
33664 * debug/vdprintf_chk.c: Likewise.
33665 * debug/vsnprintf_chk.c: Likewise.
33666 * debug/vsprintf_chk.c: Likewise.
33667 * malloc/mtrace.c: Likewise.
33668 * misc/error.c: Likewise.
33669 * misc/syslog.c: Likewise.
33670 * stdio-common/asprintf.c: Likewise.
33671 * stdio-common/fxprintf.c: Likewise.
33672 * stdio-common/getw.c: Likewise.
33673 * stdio-common/isoc99_fscanf.c: Likewise.
33674 * stdio-common/isoc99_scanf.c: Likewise.
33675 * stdio-common/isoc99_vfscanf.c: Likewise.
33676 * stdio-common/isoc99_vscanf.c: Likewise.
33677 * stdio-common/isoc99_vsscanf.c: Likewise.
33678 * stdio-common/printf-prs.c: Likewise.
33679 * stdio-common/printf_fp.c: Likewise.
33680 * stdio-common/printf_fphex.c: Likewise.
33681 * stdio-common/printf_size.c: Likewise.
33682 * stdio-common/putw.c: Likewise.
33683 * stdio-common/scanf.c: Likewise.
33684 * stdio-common/sprintf.c: Likewise.
33685 * stdio-common/tmpfile.c: Likewise.
33686 * stdio-common/vfprintf.c: Likewise.
33687 * stdio-common/vfscanf.c: Likewise.
33688 * stdlib/strfmon_l.c: Likewise.
33689 * sunrpc/openchild.c: Likewise.
33690 * sunrpc/xdr_stdio.c: Likewise.
33691 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33692 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33693
d6c33fda
RM
336942012-05-24 Roland McGrath <roland@hack.frob.com>
33695
c1487492
RM
33696 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33697
33698 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33699 in the third column, to generate for the shared library an IFUNC
33700 that uses _dl_vdso_vsym.
33701 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33702 * Makeconfig (object-suffixes-noshared): New variable.
33703
33704 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33705 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33706 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33707 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33708
d6c33fda
RM
33709 [BZ #14132]
33710 * include/sys/time.h (__gettimeofday): Remove macro.
33711 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33712 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33713 Remove INTDEF.
33714 (__gettimeofday): Add libc_hidden_def.
33715 (gettimeofday): Add libc_hidden_weak.
33716 * sysdeps/mach/gettimeofday.c: Likewise.
33717 * sysdeps/posix/gettimeofday.c: Likewise.
33718 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33719 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33721 (__gettimeofday_internal): Remove strong_alias.
33722 (__gettimeofday): Add libc_hidden_def.
33723 (gettimeofday): Add libc_hidden_weak.
33724 * sysdeps/unix/syscalls.list (gettimeofday):
33725 Remove __gettimeofday_internal alias.
33726
b5a2bbe6
L
337272012-05-24 Daniel Jacobowitz <drow@false.org>
33728 H.J. Lu <hongjiu.lu@intel.com>
33729
33730 [BZ #12495]
33731 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33732 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33733 (largebin_index_32_big): New.
33734 (largebin_index): Use it for 16-byte alignment.
33735 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33736 correction with front_misalign.
33737
cfba4fda
L
337382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33739
7f907421
L
33740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33742 Likewise.
33743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33744 Likewise.
33745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33746 Likewise.
33747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33748 Likewise.
33749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33750 Likewise.
33751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33752 Likewise.
33753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33754 Likewise.
33755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33756 Likewise.
33757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33758 Likewise.
33759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33760 Likewise.
33761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33762 Likewise.
33763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33764 Likewise.
33765
cfba4fda
L
33766 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33767 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33768
80bad0cc
JM
337692012-05-24 Joseph Myers <joseph@codesourcery.com>
33770
7a25eb06
JM
33771 [BZ #10846]
33772 [BZ #14036]
33773 * math/libm-test.inc (exp_test): Add test from bug 14036.
33774 (pow_test): Add test from bug 10846.
33775
795405f9
JM
33776 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33777 and other flags.
33778 (special_function): Do not include flags in test name.
33779 (parse_args): Likewise.
33780 * sysdeps/i386/fpu/libm-test-ulps: Update.
33781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33782 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33783 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33785
80bad0cc
JM
33786 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33787 exceptions.
33788 * math/libm-test.inc ("Philosophy"): Update comment about
33789 exception testing.
33790 (UNDERFLOW_EXCEPTION): New macro.
33791 (UNDERFLOW_EXCEPTION_OK): Likewise.
33792 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33793 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33794 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33795 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33796 (INVALID_EXCEPTION_OK): Update value.
33797 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33798 (OVERFLOW_EXCEPTION_OK): Likewise.
33799 (IGNORE_ZERO_INF_SIGN): Likewise.
33800 (test_exceptions): Handle underflow exceptions.
33801 (acos_test): Update for underflow exception expectations.
33802 (cexp_test): Likewise.
33803 (clog_test): Likewise.
33804 (clog10_test): Likewise.
33805 (csqrt_test): Likewise.
33806 (ctan_test): Likewise.
33807 (ctanh_test): Likewise.
33808 (exp_test): Likewise.
33809 (exp10_test): Likewise.
33810 (exp2_test): Likewise.
33811 (expm1_test): Likewise.
33812 (fma_test): Likewise.
33813 (j0_test): Likewise.
33814 (jn_test): Likewise.
33815 (nexttoward_test): Likewise.
33816 (pow_test): Likewise.
33817 (scalbn_test): Likewise.
33818 (scalbln_test): Likewise.
33819 (tan_test): Likewise.
33820 (y1_test): Likewise.
33821 * sysdeps/i386/fpu/libm-test-ulps: Update.
33822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33823
9e0e3d0b
DM
338242012-05-23 David S. Miller <davem@davemloft.net>
33825
33826 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33827 (__libc_sigaction): Remove unused local variables.
33828
ccd0a08f
L
338292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33830
33831 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33832
62bdf9a6
PE
338332012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33834
f8591f80
PE
33835 mktime: avoid signed integer overflow
33836 * time/mktime.c (__mktime_internal): Do not mishandle the case
33837 where diff == INT_MIN.
33838
94c7d826
PE
33839 mktime: simplify computation of average
33840 * time/mktime.c (ranged_convert): Use new time_t_avg function
33841 instead of rolling our own (probably-slower) code.
33842
ce73d683
PE
33843 mktime: do not assume signed right shift propagates sign bit
33844 * time/mktime.c (isdst_differ): New static function.
33845 (__mktime_internal): No need to normalize tm_isdst now.
33846 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33847 tm_isdst values.
33848
72a22e59
PE
33849 mktime: merge another wrapv change from gnulib
33850 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33851 from some compilers.
33852
68605433
PE
33853 mktime: remove incorrect attempt at unusual arithmetics
33854 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33855 The code didn't really work on such machines anyway.
33856 (TYPE_MINIMUM): Assume two's complement.
33857 (twos_complement_arithmetic): Verify that long_int and time_t
33858 are two's complement (or unsigned, in the latter case).
33859
03cf7fe3
PE
33860 mktime: check signed shifts on long_int and time_t, too
33861 * time/mktime.c (SHR): Check that shifts work as desired
33862 on the types long_int and time_t too, as SHR is used on
33863 such types.
33864
f04dfbc2
PE
33865 mktime: do not assume 'long' is wide enough
33866 * time/mktime.c (verify): Move decl up.
33867 (long_int): New type.
33868 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33869 to remove assumption in the code that 'long' is wide enough to
33870 store year values. This assumption is not true on x32 and on
33871 some non-glibc platforms.
33872
62bdf9a6
PE
33873 mktime: merge wrapv change from gnulib
33874 * time/mktime.c (WRAPV): New macro.
33875 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33876 (guess_time_tm, __mktime_internal): Do not assume that signed
33877 integer overflow wraps around; modern compilers generate code
33878 where this assumption is no longer valid.
33879
5e292e4f
L
338802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33881
33882 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33883 Replace "jmp L(pseudo_end)" with "ret".
33884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33885 Likewise.
33886
8caf8c87
AJ
338872012-05-23 Andreas Jaeger <aj@suse.de>
33888
33889 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33890 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33891
1a09dc56
AJ
338922012-05-23 Andreas Jaeger <aj@suse.de>
33893 Maximilian Attems <max@stro.at>
33894
33895 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33896 New macros.
33897
1c87aba0
L
338982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33899
33900 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33901 code so that pseudo_end is just ret and the stack pointer is
33902 correct also for static library in error case.
33903
40e45bd5
JM
339042012-05-23 Joseph Myers <joseph@codesourcery.com>
33905
c2670533
JM
33906 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33907 move to syscalls.list.
33908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33912
40e45bd5
JM
33913 * manual/install.texi (Running make install): Do not mention Linux
33914 kernel version for which pt_chown is not needed.
33915 (Linux): Do not mention problems with nscd with 2.0 kernels.
33916 * INSTALL: Regenerated.
33917
be08eda5
AJ
339182012-05-23 Andreas Jaeger <aj@suse.de>
33919
33920 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33921 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33922 macro.
33923 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33924 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33925 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33926 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33927 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33929 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33930 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33931 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33932 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33933 * sysdeps/unix/sysv/linux/bits/in.h
33934 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33935
a6a056bb
RM
339362012-05-22 Roland McGrath <roland@hack.frob.com>
33937
33938 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33939 (PREPARE_VERSION): Just use assert instead, it will be elided
33940 under [NDEBUG] anyway.
33941
c9009328
L
339422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33943
33944 * sysdeps/unix/sysv/linux/Makefile: Include
33945 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33946 (sysdep_routines): Remove sysctl.
c9009328
L
33947 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33948 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33949 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33950 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33951 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33952
73338355
AJ
339532012-05-22 Andreas Jaeger <aj@suse.de>
33954
33955 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33956 that pseudo_end is just ret and the stack pointer is correct also
33957 for static library in error case.
33958
d44638b0
PP
339592012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33960
33961 [BZ #14122]
33962 * nss/nsswitch.c (defconfig_entries): New variable.
33963 (__nss_database_lookup): Don't leak defconfig entries.
33964 (nss_parse_service_list): Don't leak on error paths.
33965 (free_database_entries): New function.
33966 (free_defconfig): New function.
33967 (free_mem): Move common code to free_database_entries.
33968
31a39bd8
L
339692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33970
da0331a8
L
33971 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33972 Add arch_prctl.
33973 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33974
31a39bd8
L
33975 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33976 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33978 New macro.
33979 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33980 (INTERNAL_SYSCALL_TYPES): Likewise.
33981 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33982 (LOAD_REGS_TYPES_[1-6]): Likewise.
33983 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33984 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33985
45470df3
AZ
339862012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33987
33988 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33989 copysignl for GLIBC_2_0.
33990 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33991 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33993 logbl for GLIBC_2_0.
33994 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33995 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33996
98a61bcb
L
339972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33998
a4f6e481
L
33999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34000 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34001
f63d5db6
L
34002 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34003 Use "neg %eax".
34004
98a61bcb
L
34005 * time/mktime.c: Update copyright years.
34006
95770f14
PE
340072012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34008
6226efbd
PE
34009 mktime: merge comment-quoting-style change from gnulib
34010 * time/mktime.c: Quote 'like this' in comments.
34011 The GNU coding standards suggest that we no longer quote `like this',
34012 as "`" and "'" are typically rendered asymmetrically nowadays.
34013 The typical gnulib style is to quote 'like this' when quoting
34014 code, and "like this" when quoting English.
34015
b99e4f78
PE
34016 * time/mktime.c (compile-command): Add "-I.".
34017
643e01e6
PE
34018 mktime: merge mktime-internal.h change from gnulib
34019 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34020
2554247d
PE
34021 mktime: merge time_r change from gnulib
34022 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34023
826dd0ab
PE
34024 mktime: merge DEBUG change from gnulib
34025 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34026 case system <time.h> has a #define.
34027
bd83aabe
PE
34028 mktime: merge <sys/types.h> change from gnulib
34029 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34030 since <time.t> is now guaranteed to define time_t.
34031
95770f14
PE
34032 mktime: merge HAVE_CONFIG_H change from gnulib
34033 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34034
5e1a27a9
L
340352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34036
0e44a77e
L
34037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34038 Use "neg %eax".
34039
5e1a27a9
L
34040 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34041 __rlim_t cast.
34042 (struct rusage): Use anonymous union to pad each field to
34043 __syscall_slong_t.
34044
46259bec
DM
340452012-05-21 David S. Miller <davem@davemloft.net>
34046
34047 * Makefules (o-iterator): Remove .s cases.
34048 (compile-command.s): Delete.
34049 (COMPILE.s): Delete.
34050 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34051
59f0c22e
JM
340522012-05-21 Joseph Myers <joseph@codesourcery.com>
34053
34054 * configure.in (libc_cv_predef_stack_protector): Only consider
34055 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34056 * configure: Regenerated.
34057
20c07380
L
340582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34059
bbb3154b
L
34060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34061 New macro. Use R*LP on int and pointer.
34062 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34063 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34064 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34065 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34066
20c07380
L
34067 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34068 [__WORDSIZE_TIME64_COMPAT32] instead of
34069 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34070 (struct utmp): Likewise.
34071 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34072 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34073 Renamed to ...
34074 (__WORDSIZE_TIME64_COMPAT32): This.
34075 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34076 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34077 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34078 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34079 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34080 (__WORDSIZE_TIME64_COMPAT32): New macro.
34081
d8d1017e
AJ
340822012-05-21 Andreas Jaeger <aj@suse.de>
34083
34084 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34085 only if [SHARED]. Add prototype for __wcschr_ia32.
34086
6c7fb145
RM
340872012-05-21 Roland McGrath <roland@hack.frob.com>
34088
34089 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34090 of %rbp unmolested in the jmp_buf while mangling the low bits.
34091 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34092 unmolested high bits of %rbp while demangling the low bits.
34093 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34094
66274218
AJ
340952012-05-21 Andreas Jaeger <aj@suse.de>
34096
07c58f8f
AJ
34097 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34098 * sunrpc/svc_simple.c: Use it for registerrpc.
34099 * sunrpc/xcrypt.c: Use it for passwd2des.
34100
66274218
AJ
34101 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34102
61f65140
L
341032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34104
34105 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34106 Don't define if [__SYSCALL_WORDSIZE != 32].
34107 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34108 New macro.
34109
5fefb436
AJ
341102012-05-21 Bruno Haible <bruno@clisp.org>
34111 Andreas Jaeger <aj@suse.de>
34112
34113 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34114 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34115 inptr and inend for must_buffer_ch.
34116 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34117 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34118 * stdio-common/Makefile (tests): Remove bug15.
34119 (bug15-ENV): Remove macro.
34120 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34121 anymore.
34122
d8e272ab
AJ
341232012-05-19 Andreas Jaeger <aj@suse.de>
34124 Roland McGrath <roland@hack.frob.com>
34125
34126 * manual/contrib.texi: Completely rewritten. It contains now an
34127 alphabetical list of contributors and their contributions.
34128
4a56a162
RH
341292012-05-21 Richard Henderson <rth@twiddle.net>
34130
34131 * misc/getauxval.c (__getauxval): Use unsigned long int.
34132 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34133 (getauxval): Use unsigned long int.
34134
d024d23c
L
341352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34136
34137 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34138
cbc00a03
RM
341392012-05-21 Roland McGrath <roland@hack.frob.com>
34140
34141 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34142 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34143 __alignof__ (long double).
34144
478143fa
AZ
341452012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34146
34147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34148
c7683a6d
RH
341492012-05-20 Richard Henderson <rth@twiddle.net>
34150
34151 * misc/getauxval.c: New file.
34152 * misc/sys/auxv.h: New file.
34153 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34154 (routines): Add getauxval.
34155 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34156 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34157 * elf/dl-sysdep.c (_dl_auxv): Remove.
34158 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34159 * elf/dl-support.c (_dl_auxv): New variable.
34160 (_dl_aux_init): Initialize it.
34161 * manual/startup.texi (Auxiliary Vector): New node.
34162 * sysdeps/generic/bits/hwcap.h: New file.
34163 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34164 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34165 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34166 * sysdeps/sparc/sysdep.h: ... here. Include it.
34167 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34170 Update.
c7683a6d
RH
34171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34179
a6f1845d
AZ
341802012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34181
34182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34183
cbcbe830
DM
341842012-05-19 David S. Miller <davem@davemloft.net>
34185
34186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34187
e0b16cc2
JM
341882012-05-19 Joseph Myers <joseph@codesourcery.com>
34189
34190 [BZ #14123]
34191 * math/s_ccosh.c: Include <float.h>
34192 (__ccosh): Avoid internal overflow calculating sinh and cosh
34193 values before multiplying by sin and cos values.
34194 * math/s_ccoshf.c: Likewise.
34195 * math/s_ccoshl.c: Likewise.
34196 * math/s_csin.c: Likewise.
34197 * math/s_csinf.c: Likewise.
34198 * math/s_csinl.c: Likewise.
34199 * math/s_csinh.c: Likewise.
34200 * math/s_csinhf.c: Likewise.
34201 * math/s_csinhl.c: Likewise.
34202 * math/libm-test.inc (ccos_test): Add more tests.
34203 (ccosh_test): Likewise.
34204 (csin_test): Likewise.
34205 (csinh_test): Likewise.
34206 * sysdeps/i386/fpu/libm-test-ulps: Update.
34207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34208
6ad13e08
L
342092012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34210
f66f0ce8
L
34211 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34212 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34213
6ad13e08
L
34214 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34215
b1d072a7
JM
342162012-05-19 Joseph Myers <joseph@codesourcery.com>
34217
34218 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34219 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34220 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34221 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34222 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34223 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34224 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34225 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34226 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34227 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34228 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34229 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34230 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34231 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34232 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34233 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34234 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34235 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34236 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34237 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34238 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34239 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34240 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34241 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34242 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34243 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34244 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34245 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34246 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34247 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34248 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34249
9eae47cb
AJ
342502012-05-18 Andreas Jaeger <aj@suse.de>
34251
34252 * csu/.gitignore: Delete.
34253
bb07f69f
L
342542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34255
34256 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34257 (timex): Use __syscall_slong_t.
34258
e6bdb741
AJ
342592012-05-18 Andreas Jaeger <aj@suse.de>
34260 Carlos O'Donell <carlos_odonell@mentor.com>
34261
34262 * manual/install.texi (Configuring and compiling): Update
34263 description about files modified in the source directory.
d6c33fda 34264 * INSTALL: Regenerated.
e6bdb741 34265
1b74487e
L
342662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34267
34268 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34269 value. Use "or" to set return value to -1.
34270 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34271 negate return value.
34272
a88b64b9
TMQMF
342732012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34274
57f41c40
AS
34275 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34276 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34277 failure if the compiler has Graphite support disabled.
34278 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34279 Likewise.
57f41c40
AS
34280 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34281 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34282 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34283 Likewise.
34284
3707636e
L
342852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34286
610b8622
L
34287 * sysdeps/x86_64/x32/_itoa.h: New file.
34288
7cd195df
L
34289 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34290 getdents system call only if kernel and user dirents have the
34291 same d_ino and d_off.
34292
94b07d20
L
34293 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34294 LLONG_MAX != LONG_MAX.
34295 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34296 (_fitoa_word): Likewise.
34297
18298070
L
34298 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34299 years.
34300 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34301 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34302 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34303
553c7ea4
L
34304 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34305 include <bits/wordsize.h>. Check __x86_64__ instead of
34306 __WORDSIZE.
34307 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34308 if __x86_64__ is defined. Use anonymous union on fpstate.
34309
3707636e
L
34310 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34311 anonymous union.
34312
b53ef01a
AS
343132012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34314
37fb1dc0
AS
34315 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34316 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34317 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34318 Refer to _rtld_local_ro instead of _rtld_global_ro.
34319 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34320 Likewise.
34321 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34322 Likewise.
34323 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34324 Likewise.
34325 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34326 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34327 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34328
b53ef01a
AS
34329 * sysdeps/powerpc/powerpc32/dl-machine.c
34330 (__elf_machine_runtime_setup) [PROF]: Don't reference
34331 _dl_prof_resolve.
34332
7a185db2
AJ
343332012-05-18 Andreas Jaeger <aj@suse.de>
34334
34335 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34336 function only available for GCCs before 3.4 since GCC 3.4
34337 introduced a builtin.
34338 (lrint): Likewise.
34339 (llrintf): Likewise.
34340 (llrint): Likewise.
34341 (fmaxf): Likewise.
34342 (fmax): Likewise.
34343 (fminf): Likewise.
34344 (fmin): Likewise.
34345 (rint): Likewise.
34346 (rintf): Likewise.
34347 (nearbyint): Likewise.
34348 (nearbyintf): Likewise.
34349 (ceil): Likewise.
34350 (ceilf): Likewise.
34351 (floor): Likewise.
34352 (floorf): Likewise.
34353
3e5aef87
L
343542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34355
428bd707
L
34356 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34357 on both fields and cast pointer to __syscall_ulong_t.
34358
3e5aef87
L
34359 * bits/types.h (__fsword_t): New type.
34360 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34361 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34363 (__FSWORD_T_TYPE): Likewise.
34364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34365 (__FSWORD_T_TYPE): Likewise.
34366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34367 (__FSWORD_T_TYPE): Likewise.
34368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34369 (__FSWORD_T_TYPE): Likewise.
34370 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34371 __SWORD_TYPE with __fsword_t.
34372 (statfs64): Likewise.
34373
1ba7c3dc
DM
343742012-05-17 David S. Miller <davem@davemloft.net>
34375
34376 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34377
59910343
AJ
343782012-05-17 Andreas Jaeger <aj@suse.de>
34379
34380 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34381 warning.
34382
2e4c1e9e
L
343832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34384
34385 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34386
de7f5ce7
AJ
343872012-05-17 Andreas Jaeger <aj@suse.de>
34388
34389 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34390 when it is used.
34391
286abc3d
CM
343922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34393
34394 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34395
477cc68e
L
343962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34397
34398 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34399 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34400
1a0994f5
CD
344012012-05-17 Andreas Jaeger <aj@suse.de>
34402 Carlos O'Donell <carlos_odonell@mentor.com>
34403
34404 [BZ #14059]
34405 * sysdeps/x86_64/multiarch/init-arch.h
34406 (bit_YMM_Usable): Rename to...
34407 (bit_AVX_Usable): ... this.
34408 (bit_FMA4_Usable): New macro.
34409 (bit_XMM_state): New macro.
34410 (bit_YMM_state): New macro.
34411 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34412 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34413 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34414 (CPUID_OSXSAVE): New macro.
34415 (CPUID_AVX): New macro.
34416 (CPUID_FMA4): New macro.
34417 (index_YMM_Usable): Rename to...
34418 (index_AVX_Usable): ... this.
34419 (HAS_AVX): Use HAS_ARCH_FEATURE.
34420 (HAS_FMA4): Likewise.
34421 (HAS_YMM_USABLE): Remove.
34422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34423 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34424 are present.
34425 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34426 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34427 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34428 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34429 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34430
0af797de
CM
344312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34432
34433 * math/libm-test.c: Support platforms without multiple rounding modes.
34434 * math/bug-nextafter.c: Support platforms without FP exceptions.
34435 * math/bug-nexttoward.c: Likewise.
34436 * math/test-fenv.c: Likewise.
34437 * math/test-misc.c: Likewise.
34438 * stdlib/bug-getcontext.c: Likewise.
34439
e39745ff
AJ
344402012-05-17 Andreas Jaeger <aj@suse.de>
34441
34442 * manual/examples/search.c (critter_cmp): Change signature to
34443 avoid warnings.
34444 * manual/string.texi (Collation Functions): Likewise.
34445
48970aba
L
344462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34447
34448 * bits/types.h: Fold copyright years.
34449 * bits/typesizes.h: Likewise.
34450 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34454 * time/time.h: Likewise.
34455
bedee953
PP
344562012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34457
34458 [BZ #208]
34459 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34460 in instead of returning them. Return void.
34461 (__libc_mallinfo): Accumulate over all arenas.
34462 (__malloc_stats): Adjust for change in int_mallinfo interface.
34463
61653dfb
RM
344642012-05-16 Roland McGrath <roland@hack.frob.com>
34465
30b99d79
RM
34466 [BZ #10375]
34467 * configure.in (NM): Add AC_CHECK_TOOL for it.
34468 (libc_extra_cflags): New substituted variable.
34469 Check for -fstack-protector being used implicitly.
34470 * configure: Regenerated.
34471 * config.make.in (config-extra-cflags): New variable,
34472 gets @libc_extra_cflags@.
34473 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34474
61653dfb
RM
34475 [BZ #10375]
34476 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34477 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34478 * configure: Regenerated.
34479 * config.make.in (CPPUNDEFS): New substituted variable.
34480 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34481 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34482 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34483
661768bb
L
344842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34485
34486 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34487 (mq_attr): Use __syscall_slong_t.
34488
d4261567
L
344892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34490
34491 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34492 Check __x86_64__ instead of __WORDSIZE.
34493 (_STAT_VER_LINUX): Likewise.
34494 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34495 __syscall_ulong_t and __syscall_slong_t.
34496 (stat64): Likewise.
34497
cf3ff365
L
344982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34499
34500 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34501
76cf3e4d
L
345022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34503
34504 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34505
a637753a
L
345062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34507
34508 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34509 __syscall_ulong_t.
34510
d5e05119
L
34511 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34512 include <bits/wordsize.h>. Check __x86_64__ instead of
34513 __WORDSIZE.
34514 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34515 defined.
34516 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34517
f62ee380
L
34518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34519 include <bits/wordsize.h>. Check __x86_64__ instead of
34520 __WORDSIZE.
34521 (user_regs_struct): Use "__extension__ unsigned long long"
34522 instead of "unsigned long" if __x86_64__ is defined.
34523 (user): Likewise. Pad after pointer field if __ILP32__ is
34524 defined.
34525
4e124ced
JM
345262012-05-16 Joseph Myers <joseph@codesourcery.com>
34527
6a3951a0
JM
34528 * configure.in (makeinfo): Require version 4.5 or later. Allow
34529 versions 5 to 9.
34530 * configure: Regenerated.
34531 * manual/install.texi (texinfo): Increase version requirement to
34532 4.5 or later.
34533 * INSTALL: Regenerated.
34534
4e124ced
JM
34535 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34536
953ca31a
L
345372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34538
34539 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34540
617aca05
L
34541 * sysdeps/x86_64/x32/ffs.c: New file.
34542
5762f7ae
L
34543 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34544 __syscall_ulong_t.
34545 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34546 defined. Use __syscall_ulong_t.
34547 (shminfo): Use __syscall_ulong_t.
34548 (shm_info): Likewise.
34549
a26b6856
L
34550 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34551 __syscall_ulong_t.
34552
cb2b9ef7
L
34553 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34554 <bits/wordsize.h>.
34555 (msgqnum_t): Use __syscall_ulong_t.
34556 (msglen_t): Likewise.
34557 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34558 __syscall_ulong_t.
34559
34683bb0
L
34560 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34561 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34562
84a68786
L
34563 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34564
48baa5f1
L
34565 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34566 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34567
180be88b
L
34568 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34569 __syscall_slong_t.
34570
5e90c8ad
L
34571 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34572 include <bits/wordsize.h>. Check __x86_64__ instead of
34573 __WORDSIZE.
34574
23dfb58b
L
34575 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34576 "unsigned long long int" if __x86_64__ is defined.
34577 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34578
ce5d54b0
L
34579 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34580 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34581 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34582
13dc9eac
L
34583 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34584 <stdint.h>.
34585 (GET_PC): Cast to uintptr_t first.
34586 (GET_FRAME): Likewise.
34587 (GET_STACK): Likewise.
34588
a7895d15
L
34589 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34590 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34591 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34592 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34593 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34594 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34595 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34596 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34597 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34600 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34604 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34605 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34606 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34607 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34608 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34609 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34611 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34613 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34614 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34615 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34616 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34617 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34618
656416c9
AS
346192012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34620
5bd66283
AS
34621 * Makerules (+depfiles): Also collect depfiles from .oS in
34622 $(extra-objs).
34623 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34624 .oS, $(libnldbl-routines)).
34625
656416c9
AS
34626 * Makerules (native-compile-mkdep-flags): Define.
34627 * sunrpc/Makefile (extra-objs): Add $(addprefix
34628 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34629 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34630 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34631 calling $(make-target-directory).
34632
a46f2169
L
346332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34634
34635 * bits/types.h (__snseconds_t): Removed.
34636 * time/time.h (struct timespec): Replace __snseconds_t with
34637 __syscall_slong_t.
34638 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34639 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34640 Likewise.
34641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34642 (__SNSECONDS_T_TYPE): Likewise.
34643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34644 (__SNSECONDS_T_TYPE): Likewise.
34645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34646 (__SNSECONDS_T_TYPE): Likewise.
34647
6af6528b
L
346482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34649
34650 * sysdeps/mach/hurd/bits/typesizes.h
34651 (__SYSCALL_SLONG_TYPE): New macro.
34652 (__SYSCALL_ULONG_TYPE): Likewise.
34653
de986b56
L
346542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34655
34656 * bits/types.h (__syscall_slong_t): New type.
34657 (__syscall_ulong_t): Likewise.
34658
34659 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34660 (__SYSCALL_ULONG_TYPE): Likewise.
34661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34662 (__SYSCALL_SLONG_TYPE): Likewise.
34663 (__SYSCALL_ULONG_TYPE): Likewise.
34664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34665 (__SYSCALL_SLONG_TYPE): Likewise.
34666 (__SYSCALL_ULONG_TYPE): Likewise.
34667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34668 (__SYSCALL_SLONG_TYPE): Likewise.
34669 (__SYSCALL_ULONG_TYPE): Likewise.
34670
85736dc7
L
346712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34672
34673 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34674 Add sigaltstack-offsets.sym.
34675 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34676 <sigaltstack-offsets.h>.
34677 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34678 longjmp_msg pointer.
34679 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34680 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34681 signal stack.
34682 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34683
cc03b296
JM
346842012-05-15 Joseph Myers <joseph@codesourcery.com>
34685
a9538892
JM
34686 * elf/stackguard-macros.h: Remove file.
34687 * sysdeps/generic/stackguard-macros.h: New file.
34688 * sysdeps/i386/stackguard-macros.h: Likewise.
34689 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34690 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34691 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34692 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34693 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34694 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34695 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34696 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34697 <elf/stackguard-macros.h>.
34698
cc03b296
JM
34699 [BZ #14109]
34700 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34701 __aligned__ in attribute.
34702 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34703 (gregset_t): Likewise.
34704
93171016
L
347052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34706
34707 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34708 * sysdeps/x86_64/64/Implies-after: Here. New file.
34709 * sysdeps/x86_64/x32/Implies-after: New file.
34710
d86813a0
L
347112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34712
34713 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34714 and access return value for _dl_profile_fixup. Use R10_LP to
34715 load frame size.
34716
2953ec75
L
347172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34718
34719 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34720
3b550e9e
L
347212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34722
34723 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34724 * sysdeps/x86_64/x32/sysdep.h: New file.
34725
eda41706
L
347262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34727
34728 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34729 * sysdeps/x86_64/setjmp.S: Likewise.
34730
9ea01d93
AZ
347312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34732
34733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34734 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34735 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34736 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34737 remove unused global constant.
34738
02a91938
CM
347392012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34740
34741 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34742 include of <not-cancel.h>.
34743
6540185f
RM
347442012-05-15 Roland McGrath <roland@hack.frob.com>
34745
34746 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34747
509072a0
AJ
347482012-05-15 Jeff Law <law@redhat.com>
34749 Andreas Jaeger <aj@suse.de>
34750
34751 [BZ #13594]
34752 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34753 out from...
34754 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34755 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34756 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34757 code changing __hst_map_handle.map.
34758
ba75122d
RM
347592012-05-15 Roland McGrath <roland@hack.frob.com>
34760
34761 * configure.in (sysnames): Look for Implies-before and Implies-after
34762 files.
34763 * configure: Regenerated.
34764
890d8bd8
L
347652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34766
34767 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34768 8-byte data alignment with LP_SIZE alignment.
34769
f6ee6623
L
347702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34771
34772 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34773 into R10_LP.
34774
ea2626f6
L
347752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34776
34777 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34778
085f715e
L
347792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34780
34781 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34782 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34784 Likewise.
34785 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34786
be8498fc
L
347872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34788
34789 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34790 (stackinfo_sub_sp): Likewise.
34791
70bc83b9
L
347922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34793
34794 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34795 RAX_LP.
34796
9bc0b730
L
347972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34798
34799 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34800 into R*_LP.
34801
6d2850e7
L
348022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34803
34804 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34805 sizes into R*_LP.
34806
3cb84561
L
348072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34808
34809 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34810
54e2ed81
L
348112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34812
34813 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34814 into R11_LP and load __x86_64_shared_cache_size_half into
34815 R8_LP.
34816
8a17f349
L
348172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34818
34819 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34820 R8_LP.
34821
777b1eea
AZ
348222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34823
34824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34825 logb for POWER7.
34826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34827 logbf for POWER7.
34828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34829 logbl for POWER7.
34830 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34831 powerpc32/power7/fpu/s_logb.c via #include.
34832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34833 powerpc32/power7/fpu/s_logbf.c via #include.
34834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34835 powerpc32/power7/fpu/s_logbl.c via #include.
34836
d20d4ac2
JM
348372012-05-15 Joseph Myers <joseph@codesourcery.com>
34838
34839 * README.libm: Remove file.
34840
6cdef1ab
L
348412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34842
34843 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34844 count for x32. Use R*_LP and omit operand-size suffix.
34845
0b254d8f
L
348462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34847
34848 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34849 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34850 * sysdeps/x86_64/x32/shlib-versions: New file.
34851
ceb809dc
RM
348522012-05-14 Roland McGrath <roland@hack.frob.com>
34853
34854 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34855 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34856 Use _dl_fatal_printf instead.
34857
37f1abd4
JM
348582012-05-14 Joseph Myers <joseph@codesourcery.com>
34859
34860 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34861 set if not set by the user. Do not allow for being unset.
34862 * sysdeps/unix/sysv/linux/configure: Regenerated.
34863
11de3a33
L
348642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34865
34866 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34867 the `q' suffix from lea and replace .quad with ASM_ADDR.
34868
e02f153a
L
348692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34870
34871 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34872 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34873 instead of $17.
34874 (PTR_DEMANGLE): Likewise.
34875
520ae0fd
L
348762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34877
34878 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34879 (LP_OP): Likewise.
34880 (ASM_ADDR): Likewise.
34881 (RAX_LP): Likewise.
34882 (RBP_LP): Likewise.
34883 (RBX_LP): Likewise.
34884 (RCX_LP): Likewise.
34885 (RDI_LP): Likewise.
34886 (RSI_LP): Likewise.
34887 (RSP_LP): Likewise.
34888 (R8_LP): Likewise.
34889 (R9_LP): Likewise.
34890 (R10_LP): Likewise.
34891 (R10_LP): Likewise.
34892 (R11_LP): Likewise.
34893 (R12_LP): Likewise.
34894 (R13_LP): Likewise.
34895 (R14_LP): Likewise.
34896 (R15_LP): Likewise.
34897
b985be81
L
348982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34899
34900 * sysdeps/x86_64/x32/dl-machine.h: New file.
34901
6a4888ff
AJ
349022012-05-14 Andreas Jaeger <aj@suse.de>
34903
34904 * manual/Makefile (subdir): Remove export of subdir.
34905 (all): Remove target.
34906 (.PHONY): Remove all from list.
34907 (mkinstalldirs): Remove.
34908 (.PHONY): Remove installdirs from list.
34909 ($(inst_infodir)/libc.info): Use make-target-directory.
34910 (installdirs): Remove.
34911 (subdir_%): Remove.
34912 (glibc-targets): Remove.
34913 (lib): Remove.
34914 (stubs): Remove.
34915 ($(objpfx)stubs ../po/manual.pot): Remove.
34916 ($(objpfx)stamp%): Remove.
34917 (make-target-directory): Remove.
34918 (subdir_install): Remove.
34919 (routines): Remove.
34920 (aux): Remove.
34921 (sources): Remove.
34922 (objects): Remove.
34923 (headers): Remove.
34924
34925 [BZ #13750]
34926 * manual/.gitignore: Remove, it's not needed anymore.
34927 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34928 all files in it.
34929 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34930 directory.
34931 (texis): Renamed to $(objpfx)texis.
34932 (texis-path): New, contains path to generated files.
34933 (chapters.%): Use texis-path for complete path, add extra argument
34934 libc-texinfo.sh.
34935 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34936 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34937 (summary,texi, stamp-summary): Use complete path of
34938 files. Generate files in build dir.
34939 (dir-add.texi): Build in build dir.
34940 (libm-err.texi,stamp-libm-err): Likewise.
34941 (version.texi, stamp-version): Likewise.
34942 (.%c.texi): Likewise.
34943 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34944 (mostlyclean): Remove target.
34945 (realclean): Remove target.
34946 (generated): Add new variable with contents from mostlyclean and
34947 realclean, remove entries duplicated in common-mostlyclean, add
34948 stamp-libm-err and stamp-version.
34949 (generated-dirs): Add libc directory.
34950 ($(inst_infodir)/libc.info): Install files from build dir.
34951
34952 * manual/install.texi (Configuring and compiling): Adjust since
34953 the info files are not part of the tar ball anymore.
34954
7ac77294
AJ
349552012-05-14 Andreas Jaeger <aj@suse.de>
34956
34957 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34958 variable.
34959
ffb7875d
JM
349602012-05-14 Joseph Myers <joseph@codesourcery.com>
34961
34962 [BZ #13717]
34963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34964 to 2.2.0 where earlier.
34965 * sysdeps/unix/sysv/linux/configure: Regenerated.
34966 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34967 Remove conditional code.
34968 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34969 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34970 Remove conditional code.
34971 [!__NR_lchown]: Likewise.
34972 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34973 [__NR_lchown]: Likewise.
34974 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34975 comment referencing __ASSUME_LCHOWN_SYSCALL.
34976 * sysdeps/unix/sysv/linux/i386/sigaction.c
34977 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34978 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34979 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34980 Remove conditional code.
34981 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34982 (__protocol_available): Remove #if 0 code.
34983 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34984 conditional code.
34985 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34986 * sysdeps/unix/sysv/linux/kernel-features.h
34987 (__ASSUME_GETCWD_SYSCALL): Don't define.
34988 (__ASSUME_REALTIME_SIGNALS): Likewise.
34989 (__ASSUME_PREAD_SYSCALL): Likewise.
34990 (__ASSUME_PWRITE_SYSCALL): Likewise.
34991 (__ASSUME_POLL_SYSCALL): Likewise.
34992 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34993 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34994 non-SPARC.
34995 (__ASSUME_SIOCGIFNAME): Don't define.
34996 (__ASSUME_MSG_NOSIGNAL): Likewise.
34997 (__ASSUME_SENDFILE): Define unconditionally.
34998 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34999 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35000 conditional code.
35001 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35002 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35003 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35004 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35005 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35006 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35007 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35009 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35012 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35021 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35024 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35027 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35030 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35032 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35033 Remove conditional code.
35034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35035 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35036 Remove conditional code.
35037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35038 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35039 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35040 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35041 Remove conditional code.
35042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35043 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35044 Remove conditional code.
35045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35046 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35047 Remove conditional code.
35048 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35049 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35050 Remove conditional code.
35051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35052 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35053 Remove conditional code.
35054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35055 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35056 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35058 * sysdeps/unix/sysv/linux/sigaction.c
35059 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35060 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35061 * sysdeps/unix/sysv/linux/sigpending.c
35062 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35063 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35064 * sysdeps/unix/sysv/linux/sigprocmask.c
35065 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35066 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35067 * sysdeps/unix/sysv/linux/sigsuspend.c
35068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35070 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35071 (__libc_missing_rt_sigs): Remove.
35072 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35073 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35074 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35075 Remove conditional code.
35076 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35077 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35078 return 1.
35079 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35080 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35081 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35082 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35083
1bfb7291
AJ
350842012-05-14 Andreas Jaeger <aj@suse.de>
35085
caae5a81
AJ
35086 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35087 it's not used in glibc.
35088 (__coshm1): Likewise.
35089 (__acosh1p): Likewise.
35090 (__sgn): Likewise.
35091
1bfb7291
AJ
35092 * manual/string.texi (Copying and Concatenation): Add missing
35093 variable in concat example.
35094 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35095
c044d724
L
350962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35097
144c5467 35098 [BZ #14103]
c044d724
L
35099 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35100 __builtin_clzl with __builtin_clzll.
35101
2523c62b
L
351022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35103
35104 [BZ #14104]
35105 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35106 libc_freeres_ptr.
35107
d7bb4c42
LD
351082012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35109
35110 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35111 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35112 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35113 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35114
9dc4e1fb
MF
351152012-05-14 Mike Frysinger <vapier@gentoo.org>
35116
35117 * NEWS: Update ia64 info.
35118
c7df0112
AS
351192012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35120
35121 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35122 used as bcopy.
35123
dc70356c
TS
351242012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35125
35126 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35127 * sysdeps/unix/syscalls.list (dup3): Likewise.
35128 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35129 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35130
9fb1a21f
L
351312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35132
35133 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35134 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35135
4822a2a5
L
351362012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35137
35138 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35139 thread pointer.
35140 (TLS_IE): Use mov/add instead of movq/addq to load thread
35141 pointer.
35142 (TLS_GD_PREFIX): New.
35143 (TLS_GD): Use it.
35144
842b81d6
DM
351452012-05-11 David S. Miller <davem@davemloft.net>
35146
35147 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35148 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35149 (_FPU_SETCW): Likewise.
35150
1cf463cd
L
351512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35152
35153 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35154 is 32-byte aligned.
35155
60cc4a18
AS
351562012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35157
35158 [BZ #11837]
35159 * iconvdata/gb18030.c: Update tables.
35160 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35161 characters specially.
35162 (BODY for TO_LOOP): Add encoding of missing ranges.
35163
febb44a4
TS
351642012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35165
35166 [BZ #13673]
35167 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35168 * sysdeps/mach/hurd/dup3.c: Likewise.
35169 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35170 * sysdeps/powerpc/memmove.c:: Likewise.
35171
0a10fb9e
L
351722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35173
35174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35175 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35176
df8a552f
L
351772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35178
35179 * elf/elf.h (R_X86_64_RELATIVE64): New.
35180 (R_X86_64_NUM): Updated.
35181 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35182 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35183 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35184 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35185 tst-quad1pie tst-quad2pie
35186 (modules-names): Add tst-quadmod1 tst-quadmod2.
35187 ($(objpfx)tst-quad1): New dependency.
35188 ($(objpfx)tst-quad2): Likewise.
35189 ($(objpfx)tst-quad1pie): Likewise.
35190 ($(objpfx)tst-quad2pie): Likewise.
35191 * sysdeps/x86_64/tst-quad1.c: New file.
35192 * sysdeps/x86_64/tst-quad1pie.c: New file.
35193 * sysdeps/x86_64/tst-quad2.c: Likewise.
35194 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35195 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35196 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35197 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35198 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35199
f34d6f84
ST
352002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35201
f42d41d1
ST
35202 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35203 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35204 * streams/stropts.h (t_scalar_t): Define type.
35205
3c3571fc
ST
35206 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35207 (_PATH_PRESERVE): Set to "/var/lib".
35208 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35209
61f06bd3
ST
35210 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35211 instead of int.
35212
918d4d71
ST
35213 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35214 if __dir_mkfile succeeded.
35215
f34d6f84
ST
35216 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35217 checking for _hurd_dtablesize. Unlock it right after having
35218 finished _hurd_dtable allocation.
35219
10589b4a
TS
352202012-05-10 Thomas Schwinge <thomas@schwinge.name>
35221
674cdbc7
TS
35222 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35223 * sysdeps/mach/hurd/configure: Regenerated.
35224 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35225 special-casing to...
35226 * sysdeps/gnu/configure.in: ... this new file.
35227 * sysdeps/unix/sysv/linux/configure: Regenerated.
35228 * sysdeps/gnu/configure: New generated file.
35229
8e41b99f
TS
35230 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35231 for Linux: use nsec instead of usec, as well as:
35232 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35233 members of type struct timespec.
35234 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35235 New macros.
35236 (struct stat64): Likewise.
35237 (_STATBUF_ST_NSEC): New macro.
35238 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35239
10589b4a
TS
35240 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35241 __strtoul_internal rather than strtoul.
35242
63643c85
PT
352432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35244
35245 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35246 and reject them.
35247
3faebe6a
ST
352482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35249
35250 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35251 which preserves existing values.
35252 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35253
c6474b07
PT
352542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35255
35256 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35257 TIMEOUT values. Return EINVAL for NFDS values either negative or
35258 greater than FD_SETSIZE.
35259
1043890b
ST
352602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35261
35262 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35263 allocated, call __vm_protect to finish enabling the existing space, and
35264 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35265 allocate the remainder.
35266
37ed8b9b
PT
352672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35268
35269 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35270 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35271
db653660
ST
352722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35273
37ed8b9b
PT
35274 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35275 sysdeps/mach/hurd/readlink.c.
b29d4053 35276
db653660
ST
35277 * posix/tst-sysconf.c (posix_options): Only use
35278 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35279 _POSIX_SYNCHRONIZED_IO when they are defined
35280 * sysdeps/mach/hurd/bits/posix_opt.h:
35281 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35282 (_XOPEN_REALTIME): Undefine macro.
35283 (_XOPEN_REALTIME_THREADS): Undefine macro.
35284 (_XOPEN_SHM): Undefine macro.
35285 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35286 macro to -1.
35287 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35288 macro to -1.
35289 (_POSIX_ASYNC_IO): Undefine macro.
35290 (_POSIX_PRIORITIZED_IO): Undefine macro.
35291 (_POSIX_SPIN_LOCKS): Define macro to -1.
35292
ee16e894
ST
35293 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35294 SA_NODEFER, SA_RESETHAND.
35295 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35296 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35297 F_DUPFD_CLOEXEC.
35298
6103ae3b
TS
352992012-05-10 Thomas Schwinge <thomas@schwinge.name>
35300
35301 * elf/Makefile (pldd-modules): Define unconditionally.
35302
80b4e5f3
TS
353032012-05-10 Thomas Schwinge <thomas@schwinge.name>
35304
35305 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35306
edadcbd6
ST
353072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35308
35309 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35310 Return ENOENT when name is empty.
35311 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35312
80694780
TS
353132012-05-10 Thomas Schwinge <thomas@schwinge.name>
35314
1792c087
TS
35315 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35316
80694780
TS
35317 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35318
6b645f0d
ST
353192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35320
80694780
TS
35321 Fix mlock in all cases except non-readable pages.
35322 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35323 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35324
6b645f0d
ST
35325 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35326 (__mkdir): When path is `/', just fail with EEXIST.
35327 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35328
e468f8a3
TS
353292012-05-10 Thomas Schwinge <thomas@schwinge.name>
35330
35331 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35332 <sys/uio.h> (for writev).
35333 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35334 and <sys/param.h> (for MIN).
35335
a4186cff
PT
353362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35337
35338 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35339 REQUESTED_TIME. Properly set the remaining time and return EINTR
35340 if interrupted.
35341
510bbf14
TS
353422012-05-10 Thomas Schwinge <thomas@schwinge.name>
35343
35344 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35345 Depend on against $(link-rpcuserlibs).
35346
5d5722e8
ST
353472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35348
a4186cff
PT
35349 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35350 (__libc_stack_end): Do not use attribute_relro.
35351 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35352 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35353 to libthread-provided value.
a4186cff
PT
35354 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35355 attribute_relro.
5d5722e8 35356
37233df9
TS
353572012-05-10 Thomas Schwinge <thomas@schwinge.name>
35358
be971a2b
TS
35359 [BZ #3748]
35360 * bits/libc-lock.h (__libc_once_get): New macro.
35361 * sysdeps/mach/bits/libc-lock.h: Likewise.
35362 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35363 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35364 instead of using implementation details.
35365
37233df9
TS
35366 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35367 * libio/freopen.c: Likewise.
35368 * libio/freopen64.c: Likewise.
35369 * misc/syslog.c: Likewise.
35370 * nscd/connections.c: Likewise.
35371 * nscd/netgroupcache.c: Likewise.
35372 * sysdeps/posix/getcwd.c: Likewise.
35373
38de94a5
RM
353742012-05-10 Roland McGrath <roland@hack.frob.com>
35375
35376 * math/w_ilogbf.c: Add #include <limits.h>.
35377
67530489
ST
353782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35379
a4186cff 35380 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
35381 path instead of returning without unlocking.
35382
67530489
ST
35383 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35384 immediate-write ioctls.
35385 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35386
5aa3a74a
TS
353872012-05-10 Thomas Schwinge <thomas@schwinge.name>
35388
18bad2ae
TS
35389 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35390 __builtin_frame_address instead of making assumptions about the
35391 location of the return address relative to DATA. Force early load of
35392 the return address.
35393 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35394 __builtin_frame_address.
35395
5aa3a74a
TS
35396 dup3 for GNU Hurd.
35397 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35398 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35399 implement dup3 and do some further code clean-ups.
35400 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35401 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35402
ecd0de9a
ST
354032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35404
cd9fa985
ST
35405 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35406
a4186cff
PT
35407 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35408 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35409 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35410 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35411 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35412 d->port.lock.
802ca5a5 35413
a4186cff
PT
35414 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35415 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35416 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 35417
bcf55240
TS
354182012-05-10 Thomas Schwinge <thomas@schwinge.name>
35419
6960eb42
TS
35420 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35421 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35422 definitions.
35423
eb43375f
TS
35424 accept4 for GNU Hurd.
35425 * include/sys/socket.h (__libc_accept4): New prototype.
35426 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35427 to implement __libc_accept4.
35428 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35429 __libc_accept4.
35430 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35431
bcf55240
TS
35432 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35433 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35434 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35435 signal-defines.sym.
35436
6178c55b
ST
354372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35438
a4186cff 35439 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 35440
6f080c2f
TS
354412012-05-10 Thomas Schwinge <thomas@schwinge.name>
35442
35443 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35444 assertion on O_CLOEXEC flag.
35445 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35446 * hurd/intern-fd.c: Likewise.
35447 * hurd/port2fd.c: Likewise.
35448
bcfe3a54
ST
354492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35450
35451 [BZ #3906]
35452 * bits/in.h (IPV6_PKTINFO): Define new macro.
35453 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35454
89c9aa49
AZ
354552012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35456
35457 [BZ #13954]
35458 [BZ #13955]
35459 [BZ #13956]
35460 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35461 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35462 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35463 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35465 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35466 * math/libm-test.inc (logb_test) : Additional logb tests.
35467
021db4be
AJ
354682012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35469 Andreas Jaeger <aj@suse.de>
35470
35471 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35472 * configure: Regenerated.
35473 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35474 * config.make.in (link-obsolete-rpc): New substituted variable.
35475 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35476 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35477 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35478 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35479 so that libc.a contains the symbols.
35480 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35481 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35482 * sunrpc/auth_none.c: Likewise.
35483 * sunrpc/auth_unix.c: Likewise.
35484 * sunrpc/authdes_prot.c: Likewise.
35485 * sunrpc/authuxprot.c: Likewise.
35486 * sunrpc/clnt_gen.c: Likewise.
35487 * sunrpc/clnt_perr.c: Likewise.
35488 * sunrpc/clnt_raw.c: Likewise.
35489 * sunrpc/clnt_simp.c: Likewise.
35490 * sunrpc/clnt_tcp.c: Likewise.
35491 * sunrpc/clnt_udp.c: Likewise.
35492 * sunrpc/clnt_unix.c: Likewise.
35493 * sunrpc/des_crypt.c: Likewise.
35494 * sunrpc/des_soft.c: Likewise.
35495 * sunrpc/get_myaddr.c: Likewise.
35496 * sunrpc/key_call.c: Likewise.
35497 * sunrpc/key_prot.c: Likewise.
35498 * sunrpc/netname.c: Likewise.
35499 * sunrpc/pm_getmaps.c: Likewise.
35500 * sunrpc/pm_getport.c: Likewise.
35501 * sunrpc/pmap_clnt.c: Likewise.
35502 * sunrpc/pmap_prot.c: Likewise.
35503 * sunrpc/pmap_prot2.c: Likewise.
35504 * sunrpc/pmap_rmt.c: Likewise.
35505 * sunrpc/publickey.c: Likewise.
35506 * sunrpc/rpc_cmsg.c: Likewise.
35507 * sunrpc/rpc_common.c: Likewise.
35508 * sunrpc/rpc_dtable.c: Likewise.
35509 * sunrpc/rpc_prot.c: Likewise.
35510 * sunrpc/rpc_thread.c: Likewise.
35511 * sunrpc/rtime.c: Likewise.
35512 * sunrpc/svc.c: Likewise.
35513 * sunrpc/svc_auth.c: Likewise.
35514 * sunrpc/svc_raw.c: Likewise.
35515 * sunrpc/svc_run.c: Likewise.
35516 * sunrpc/svc_tcp.c: Likewise.
35517 * sunrpc/svc_udp.c: Likewise.
35518 * sunrpc/svc_unix.c: Likewise.
35519 * sunrpc/svcauth_des.c: Likewise.
35520 * sunrpc/xcrypt.c: Likewise.
35521 * sunrpc/xdr.c: Likewise.
35522 * sunrpc/xdr_array.c: Likewise.
35523 * sunrpc/xdr_float.c: Likewise.
35524 * sunrpc/xdr_intXX_t.c: Likewise.
35525 * sunrpc/xdr_mem.c: Likewise.
35526 * sunrpc/xdr_rec.c: Likewise.
35527 * sunrpc/xdr_ref.c: Likewise.
35528 * sunrpc/xdr_sizeof.c: Likewise.
35529 * sunrpc/xdr_stdio.c: Likewise.
35530
b5c086a2
RM
355312012-05-10 Roland McGrath <roland@hack.frob.com>
35532
35533 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35534 change. Update copyright years.
35535
6d74dd09
JM
355362012-05-10 Joseph Myers <joseph@codesourcery.com>
35537
35538 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35539
28e72501
MK
355402012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35541 Joseph Myers <joseph@codesourcery.com>
35542 Paul Pluzhnikov <ppluzhnikov@google.com>
35543
35544 [BZ #14012]
35545 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35546 requiring rpcgen.
35547 [cross-compiling] (extra-libs): Likewise.
35548 [cross-compiling] (extra-libs-others): Likewise.
35549 [cross-compiling] (librpcsvc-routines): Likewise.
35550 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35551 [cross-compiling] (omit-deps): Likewise.
35552 (sunrpc-CPPFLAGS): New variable.
35553 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35554 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35555 (cross-rpcgen-objs): New variable.
35556 (extra-objs): Append $(cross-rpcgen-objs).
35557 ($(cross-rpcgen-objs)): New rule.
35558 ($(objpfx)cross-rpcgen): Likewise.
35559 (rpcgen-cmd): Define to use $(built-program-file). Expand
35560 comment.
35561 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35562 ($(objpfx)x%.stmp): Likewise.
35563 * sunrpc/proto.h [IS_IN_build] (_): Define.
35564 [IS_IN_build] (_libc_intl_domainname): Likewise.
35565
c8c59454
L
355662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35567
35568 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35569 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35570 and R_X86_64_TPOFF64.
35571
6f27cd16
JM
355722012-05-10 Joseph Myers <joseph@codesourcery.com>
35573
35574 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35575 sysdeps/unix/sysv/syscalls.list.
35576 (stime): Likewise.
35577 (utime): Likewise.
35578 * sysdeps/unix/sysv/syscalls.list: Remove file.
35579
02467e1c
PE
355802012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35581
35582 [BZ #3440]
35583 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35584 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35585 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35586 (__LC_IDENTIFICATION): Make these macros useful in #if
35587 expressions, as required by C99.
35588
da392631
AS
355892012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35590
35591 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35592 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35593 after this.
35594
8115f29b
L
355952012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35596
35597 * stdlib/longlong.h: Updated from GCC.
35598
bdd74070
AJ
355992012-05-09 Andreas Jaeger <aj@suse.de>
35600
edfe0dbe
AJ
35601 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35602 default is first entry.
35603 (run_mode): Set type.
35604 (main): Remove informal message about syslog.
35605 (options): Fix typo.
35606
bcfe3a54
ST
35607 [BZ #14053]
35608 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35609 to asm.
bcfe3a54
ST
35610 (lrint): Likewise.
35611 (llrintf): Likewise.
35612 (llrint): Likewise.
35613 (rint): Likewise.
35614 (rintf): Likewise.
35615 (nearbyint): Likewise.
35616 (nearbyintf): Likewise.
bdd74070 35617
91d8d69e
AJ
356182012-05-09 Andreas Jaeger <aj@suse.de>
35619 Pedro Alves <palves@redhat.com>
35620
35621 * nscd/nscd.c (run_mode): Use enum.
35622 (main): Cleanup coding style issue.
35623
bb90b80b
AJ
356242012-05-09 Alexandre Oliva <aoliva@redhat.com>
35625 Andreas Jaeger <aj@suse.de>
35626
bcfe3a54
ST
35627 * nscd/nscd.c (go_background): Replaced with...
35628 (run_mode): ... this.
bb90b80b 35629 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35630 (options): Add -F --foreground.
35631 (main): Implement it.
35632 (parse_opt): Parse it.
bb90b80b 35633
1a4b75a1
AJ
356342012-05-09 Andreas Jaeger <aj@suse.de>
35635
35636 [BZ #14083]
35637 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35638 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35639 -Wconversion warning.
35640 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35641 Likewise.
35642
b1cc2472
JM
356432012-05-09 Joseph Myers <joseph@codesourcery.com>
35644
35645 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35646 == 0.
35647 (LC_ALL): Use macro-int-constant.
35648 (LC_COLLATE): Likewise.
35649 (LC_CTYPE): Likewise.
35650 (LC_MESSAGES): Likewise.
35651 (LC_MONETARY): Likewise.
35652 (LC_NUMERIC): Likewise.
35653 (LC_TIME): Likewise.
35654 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35655 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35656 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35657 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35658 Specify type.
35659 [C99-based standards] (float_t): Expect type.
35660 [C99-based standards] (double_t): Expect type.
35661 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35662 type.
35663 [C99-based standards] (HUGE_VALL): Likewise.
35664 [C99-based standards] (INFINITY): Likewise.
35665 [C99-based standards] (NAN): Likewise.
35666 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35667 [C99-based standards] (FP_NAN): Likewise.
35668 [C99-based standards] (FP_NORMAL): Likewise.
35669 [C99-based standards] (FP_SUBNORMAL): Likewise.
35670 [C99-based standards] (FP_ZERO): Likewise.
35671 [C99-based standards] (FP_FAST_FMA): Use
35672 optional-macro-int-constant. Specify type. Require == 1.
35673 [C99-based standards] (FP_FAST_FMAF): Likewise.
35674 [C99-based standards] (FP_FAST_FMAL): Likewise.
35675 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35676 [C99-based standards] (FP_ILOGBNAN): Likewise.
35677 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35678 Specify type.
35679 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35680 [C99-based standards] (math_errhandling): Specify type.
35681 [ISO99 || ISO11] (signgam): Do not allow.
35682 [non-C99-based standards] (copysignf): Do not allow.
35683 [non-C99-based standards] (exp2f): Likewise.
35684 [non-C99-based standards] (log2f): Likewise.
35685 [non-C99-based standards] (modff): Allow.
35686 [non-C99-based standards] (erff): Do not allow.
35687 [non-C99-based standards] (erfcf): Likewise.
35688 [non-C99-based standards] (gammaf): Likewise.
35689 [non-C99-based standards] (hypotf): Likewise.
35690 [non-C99-based standards] (j0f): Likewise.
35691 [non-C99-based standards] (j1f): Likewise.
35692 [non-C99-based standards] (jnf): Likewise.
35693 [non-C99-based standards] (lgammaf): Likewise.
35694 [non-C99-based standards] (tgammaf): Likewise.
35695 [non-C99-based standards] (y0f): Likewise.
35696 [non-C99-based standards] (y1f): Likewise.
35697 [non-C99-based standards] (ynf): Likewise.
35698 [non-C99-based standards] (isnanf): Likewise.
35699 [non-C99-based standards] (acoshf): Likewise.
35700 [non-C99-based standards] (asinhf): Likewise.
35701 [non-C99-based standards] (atanhf): Likewise.
35702 [non-C99-based standards] (cbrtf): Likewise.
35703 [non-C99-based standards] (expm1f): Likewise.
35704 [non-C99-based standards] (ilogbf): Likewise.
35705 [non-C99-based standards] (log1pf): Likewise.
35706 [non-C99-based standards] (logbf): Likewise.
35707 [non-C99-based standards] (nextafterf): Likewise.
35708 [non-C99-based standards] (remainderf): Likewise.
35709 [non-C99-based standards] (rintf): Likewise.
35710 [non-C99-based standards] (scalbf): Likewise.
35711 [non-C99-based standards] (copysignl): Likewise.
35712 [non-C99-based standards] (exp2l): Likewise.
35713 [non-C99-based standards] (log2l): Likewise.
35714 [non-C99-based standards] (modfl): Allow.
35715 [non-C99-based standards] (erfl): Do not allow.
35716 [non-C99-based standards] (erfcl): Likewise.
35717 [non-C99-based standards] (gammal): Likewise.
35718 [non-C99-based standards] (hypotl): Likewise.
35719 [non-C99-based standards] (j0l): Likewise.
35720 [non-C99-based standards] (j1l): Likewise.
35721 [non-C99-based standards] (jnl): Likewise.
35722 [non-C99-based standards] (lgammal): Likewise.
35723 [non-C99-based standards] (tgammal): Likewise.
35724 [non-C99-based standards] (y0l): Likewise.
35725 [non-C99-based standards] (y1l): Likewise.
35726 [non-C99-based standards] (ynl): Likewise.
35727 [non-C99-based standards] (isnanl): Likewise.
35728 [non-C99-based standards] (acoshl): Likewise.
35729 [non-C99-based standards] (asinhl): Likewise.
35730 [non-C99-based standards] (atanhl): Likewise.
35731 [non-C99-based standards] (cbrtl): Likewise.
35732 [non-C99-based standards] (expm1l): Likewise.
35733 [non-C99-based standards] (ilogbl): Likewise.
35734 [non-C99-based standards] (log1pl): Likewise.
35735 [non-C99-based standards] (logbl): Likewise.
35736 [non-C99-based standards] (nextafterl): Likewise.
35737 [non-C99-based standards] (remainderl): Likewise.
35738 [non-C99-based standards] (rintl): Likewise.
35739 [non-C99-based standards] (scalbl): Likewise.
35740 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35741 [non-C99-based standards] (FP_*): Do not allow.
35742 [C99-based standards] (FP_*): Change to
35743 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35744 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35745 allow.
35746 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35747 (SIG_ERR): Likewise.
35748 [X/Open-based standards] (SIG_HOLD): Likewise.
35749 (SIG_IGN): Likewise.
35750 (SIGABRT): Use macro-int-constant. Specify type. Require
35751 positive value.
35752 (SIGFPE): Likewise.
35753 (SIGILL): Likewise.
35754 (SIGINT): Likewise.
35755 (SIGSEGV): Likewise.
35756 (SIGTER): Likewise.
35757 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35758 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35759 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35760 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35761 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35762 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35763 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35764 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35765 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35766 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35767 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35768 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35769 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35770 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35771 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35772 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35773 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35774 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35775 [X/Open-based standards] (SIGTRAP): Likewise.
35776 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35777 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35778 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35779 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35780 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35781 allow.
35782
b9f1922d
IW
357832012-05-08 Ian Wienand <ianw@vmware.com>
35784
35785 [BZ #14080]
35786 * time/tzset.c (__tzset_parse_tz): Update default rules for
35787 daylight time changes in the Energy Policy Act of 2005.
35788
1db86e88
AJ
357892012-05-09 Andreas Jaeger <aj@suse.de>
35790
35791 [BZ #13983]
35792 * elf/ldconfig.c (parse_conf): Change string to make clear that
35793 ldconfig only issued a warning if ld.so.conf does not exist.
35794
dee4a4e3
DM
357952012-05-08 David S. Miller <davem@davemloft.net>
35796
ee0db190
DM
35797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35798 movxtod instead of popping the value on the stack.
35799
dee4a4e3
DM
35800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35801
6a43ec98
CD
358022012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35803
35804 * config.h.in: Add HAVE_ARM_PCS_VFP.
35805
05c2c961
RMG
358062012-05-08 Roland Mc Grath <roland@hack.frob.com>
35807
bcfe3a54
ST
35808 [BZ #13979]
35809 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35810 checking but the checks are disabled for any reason.
05c2c961 35811
4b30f61a
L
358122012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35813
35814 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35815 and ELF64_R_TYPE with ELFW(R_TYPE).
35816
eee2bc67
JM
358172012-05-08 Joseph Myers <joseph@codesourcery.com>
35818
7ea5391a
JM
35819 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35820 (ulimit): Likewise.
35821
eee2bc67
JM
35822 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35823 (settimeofday): Likewise.
35824
abb66a67
MF
358252012-05-08 Mike Frysinger <vapier@gentoo.org>
35826
35827 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35828 a struct th_u2 inside the union, and move tu_block/tu_code into
35829 a new th_u3 union of tu_block/tu_code inside of that. Move
35830 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35831 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35832 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35833 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35834 (th_stuff): Change to th_u1.tu_stuff.
35835 (th_data): Define.
35836 (th_msg): Change to th_u1.th_u2.tu_data.
35837
7f18b530
DM
358382012-05-07 David S. Miller <davem@davemloft.net>
35839
05760585
DM
35840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35841
7f18b530
DM
35842 [BZ #14074]
35843 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35844 (SETUP_PIC_REG): Use it.
35845 (SETUP_PIC_REG_LEAF): Use it.
35846
495fd99f
JM
358472012-05-07 Joseph Myers <joseph@codesourcery.com>
35848
35849 [BZ #13885]
35850 [BZ #13923]
35851 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35852 USE_AS_EXPM1L.
35853 (EXPL_FINITE): Likewise.
35854 (FLDLOG): Likewise.
35855 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35856 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35857 e_expl.S.
35858 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35859 USE_AS_EXPM1L.
35860 (EXPL_FINITE): Likewise.
35861 (FLDLOG): Likewise.
35862 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35863 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35864 e_expl.S.
35865 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35866 test of -max_value argument for long double.
35867 * sysdeps/i386/fpu/libm-test-ulps: Update.
35868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35869
6693d694
DM
358702012-05-06 David S. Miller <davem@davemloft.net>
35871
35872 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35873 quad soft-float symbols whose references which are compiler
35874 generated.
35875 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35876
6c23e11c
JM
358772012-05-06 Joseph Myers <joseph@codesourcery.com>
35878
d8b82cad
JM
35879 [BZ #13884]
35880 [BZ #13914]
35881 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35882 USE_AS_EXP10L.
35883 (EXPL_FINITE): Likewise.
35884 (FLDLOG): Likewise.
35885 (c0): Likewise.
35886 (c1): Likewise.
35887 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35888 Adjust comments for base varying.
35889 (__expl_finite): Change alias to EXPL_FINITE.
35890 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35891 e_expl.S.
35892 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35893 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35895 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35896 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35897 USE_AS_EXP10L.
35898 (EXPL_FINITE): Likewise.
35899 (FLDLOG): Likewise.
35900 (c0): Likewise.
35901 (c1): Likewise.
35902 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35903 Adjust comments for base varying.
35904 (__expl_finite): Change alias to EXPL_FINITE.
35905 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35906 tests for bugs.
35907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35908
6c23e11c
JM
35909 [BZ #14064]
35910 * math/libm-test.inc (check_float_internal): Correct ulp
35911 calculation for subnormal expected results.
35912
29ba805c
AJ
359132012-05-06 Andreas Jaeger <aj@suse.de>
35914
35915 * Makeconfig (+math-flags): New, set to -frounding-math.
35916 (+cflags): Add +math-flags so that all of glibc gets compiled with
35917 it.
35918
35919 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35920
7b17aeda
JM
359212012-05-05 Joseph Myers <joseph@codesourcery.com>
35922
5779f134
JM
35923 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35924 Disable one test.
35925
41498f4d
JM
35926 [BZ #13787]
35927 [BZ #13922]
35928 [BZ #14036]
35929 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35930 (__ieee754_expl): Allow for and saturate large arguments.
35931 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35932 (u_threshold): Likewise.
35933 (__exp): Call __ieee754_exp before checking for overflow and
35934 underflow.
35935 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35936 (u_threshold): Likewise.
35937 (__expf): Call __ieee754_expf before checking for overflow and
35938 underflow.
35939 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35940 (u_threshold): Likewise.
35941 (__expl): Call __ieee754_expl before checking for overflow and
35942 underflow.
35943 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35944 (__ieee754_expl): Allow for and saturate large arguments.
35945 * math/libm-test.inc (exp_test): Add another test. Do not allow
35946 missing overflow exception on overflow.
35947 (expm1_test): Do not allow missing overflow exception on overflow.
35948
6698b8bf
JM
35949 * sysdeps/i386/fpu/e_expl.c: Move to ...
35950 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35951 rather than using inline asm.
35952 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35953 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35954 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35955
7b17aeda
JM
35956 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35957 (nice): Likewise.
35958 (poll): Likewise.
35959 (signal): Likewise.
35960 (time): Likewise.
35961 (times): Likewise.
35962
f7c85819
JM
359632012-05-04 Joseph Myers <joseph@codesourcery.com>
35964
35965 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35966 sysdeps/unix/common/syscalls.list.
35967 (fchmod): Likewise.
35968 (fchown): Likewise.
35969 (ftruncate): Likewise.
35970 (getrusage): Likewise.
35971 (gettimeofday): Likewise.
35972 (setpgid): Likewise.
35973 (setregid): Likewise.
35974 (setreuid): Likewise.
35975 (sigaction): Likewise.
35976 (truncate): Likewise.
35977 (vhangup): Likewise.
35978 * sysdeps/unix/common/syscalls.list: Remove file.
35979 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35980 * sysdeps/unix/sysv/linux/Implies: Likewise.
35981
336270d0
L
359822012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35983
35984 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35986 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35987 Moved to ...
35988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35989 Here.
35990 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35991 to ...
35992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35993 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35994 to ...
35995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35996 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35997 to ...
35998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35999 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36000 to ...
36001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36002 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36003 to ...
36004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36005 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36006 to ...
36007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36008 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36009 to ...
36010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36011 Here.
36012 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36013 to ...
36014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36015 Here.
36016 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36017 to ...
36018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36019 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36020 Moved to ...
36021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36022 Here.
36023 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36024 to ...
36025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36026
d128e450
JM
360272012-05-04 Joseph Myers <joseph@codesourcery.com>
36028
fa8ee516
JM
36029 * sysdeps/unix/common/bits/dirent.h: Remove file.
36030 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36031
d128e450
JM
36032 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36033 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36034 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36035 * sysdeps/unix/bsd/isatty.c: Likewise.
36036 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36037 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36038 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36039
ff8faaf0 360402012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36041
62881be4 36042 [BZ #13563]
31dc8730
AZ
36043 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36044 long double comparison inaccuracies.
36045 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36047
6fef930c
AS
360482012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36049
36050 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36052
8f203e6c
JM
360532012-05-04 Joseph Myers <joseph@codesourcery.com>
36054
36055 [BZ #14049]
36056 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36057 nonzero digits before rounding a hex value.
36058 * stdlib/tst-strtod.c (tests): Add another test.
36059
5197d9c2
AK
360602012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36061
36062 * sysdeps/s390/fpu/libm-test-ulps: Update.
36063
f0c1dedf
AJ
360642012-05-03 Andreas Jaeger <aj@suse.de>
36065
36066 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36067 does not get optimized out.
36068 (malloc_opt_barrier): New.
36069
a65ef2ae 360702012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36071 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36072
2b942cb7 36073 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36074 intermediate file deletion.
2b942cb7 36075 (generated): Add .symlist files.
a65ef2ae 36076
54b71e02
JM
360772012-05-03 Joseph Myers <joseph@codesourcery.com>
36078
36079 [BZ #13775]
36080 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36081 Redirect under this condition.
36082 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36083 [__USE_GNU] (__dprintf_chk): Not under this condition.
36084 [__USE_GNU] (__vdprintf_chk): Likewise.
36085 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36086 under this condition.
36087 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36088 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36089 [__USE_XOPEN2K8] (vdprintf): Likewise.
36090 [__USE_GNU] (__dprintf_chk): Not under this condition.
36091 [__USE_GNU] (__vdprintf_chk): Likewise.
36092 [__USE_GNU] (dprintf): Likewise.
36093 [__USE_GNU] (vdprintf): Likewise.
36094
d3dfcc41
RM
360952012-05-03 Roland McGrath <roland@hack.frob.com>
36096
36097 * elf/Makefile (common-generated): Set this instead of generated for
36098 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36099 $(all-built-dso)-derived lists.
36100
7ac30cc5
AJ
361012012-05-03 Andreas Jaeger <aj@suse.de>
36102
0c51e550
AJ
36103 * sysdeps/i386/fpu/libm-test-ulps: Update.
36104
7ac30cc5
AJ
36105 * FAQ: Removed.
36106 * FAQ.in: Likewise.
36107 * scripts/gen-FAQ.pl: Likewise.
36108 * manual/install.texi (Installation): Point to online location of
36109 FAQ.
36110 * Makefile (files-for-dist): Remove FAQ.
36111 (FAQ): Remove.
36112
d4c2917f
AM
361132012-05-02 Allan McRae <allan@archlinux.org>
36114
36115 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36116 (LDFLAGS-reldepmod5.so): Likewise.
36117 (LDFLAGS-reldep6mod1.so): Likewise.
36118 (LDFLAGS-reldep6mod4.so): Likewise.
36119 (LDFLAGS-reldep8mod3.so): Likewise.
36120 (LDFLAGS-unload4mod1.so): Likewise.
36121 (LDFLAGS-unload4mod2.so): Likewise.
36122 (LDFLAGS-tst-initorder): Likewise.
36123 (LDFLAGS-tst-initordera2.so): Likewise.
36124 (LDFLAGS-tst-initordera3.so): Likewise.
36125 (LDFLAGS-tst-initordera4.so): Likewise.
36126 (LDFLAGS-tst-initorderb2.so): Likewise.
36127 (LDFLAGS-noload): Likewise.
36128 (LDFLAGS-next): Likewise.
36129 (LDFLAGS-order2mod1.so): Likewise.
36130 (LDFLAGS-order2mod2.so): Likewise.
36131 (LDFLAGS-tst-initorder2): Likewise.
36132 (LDFLAGS-tst-initorder2a.so): Likewise.
36133 (LDFLAGS-tst-initorder2b.so): Likewise.
36134 (LDFLAGS-tst-initorder2c.so): Likewise.
36135 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36136
d77f993f
DM
361372012-05-02 David S. Miller <davem@davemloft.net>
36138
36139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36140
171a70b4
PP
361412012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36142
36143 [BZ #14055]
36144 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36145
0be196ad
AJ
361462012-05-02 Andreas Jaeger <aj@suse.de>
36147
36148 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36149 since we manipulate rounding mode.
36150 (CPPFLAGS-test-idouble.c): Likewise.
36151 (CPPFLAGS-test-ifloat.c): Likewise.
36152 (CFLAGS-test-ldouble.c): Likewise.
36153 (CFLAGS-test-double.c): Likewise.
36154 (CFLAGS-test-float.c): Likewise.
36155 (CFLAGS-test-misc.c): Likewise.
36156 (CFLAGS-test-test-fenv.c): Likewise.
36157
4f9d04aa
AZ
361582012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36159
2b942cb7
RM
36160 [BZ #2550]
36161 [BZ #2570]
36162 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36163 comparisons to determine direction to adjust input.
4f9d04aa 36164
82a79e7d
RM
361652012-05-01 Roland McGrath <roland@hack.frob.com>
36166
f5a01ca9
RM
36167 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36168 output to the target.
36169
90fe4186
RM
36170 * scripts/localplt.awk: New file.
36171 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36172 (check-localplt-CFLAGS): Variable removed.
36173 ($(all-built-dso:=.jmprel)): New static pattern rule.
36174 (generated): Add those targets.
36175 (localplt-built-dso): New variable.
36176 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36177
36178 * elf/check-localplt.c: File removed.
36179
82397ed6
RM
36180 * scripts/check-execstack.awk: New file.
36181 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36182 (check-execstack-CFLAGS): Variable removed.
36183 ($(objpfx)check-execstack.h): Target removed.
36184 ($(objpfx)execstack-default): New target.
36185 (generated): Add that instead of check-execstack.h.
36186 ($(all-built-dso:=.phdr)): New static pattern rule.
36187 (generated): Add those targets.
36188 * elf/check-execstack.c: File removed.
36189
82a79e7d
RM
36190 * scripts/check-textrel.awk: New file.
36191 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36192 (check-textrel-CFLAGS): Variable removed.
36193 (all-built-dso): Use := to define.o
36194 ($(all-built-dso:=.dyn)): New static pattern rule.
36195 (generated): Add those targets.
36196 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36197 * config.make.in (READELF): New substituted variable.
36198 * elf/check-textrel.c: File removed.
36199
62fde54f 362002012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36201
615605c9
JM
36202 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36203 allow.
36204 * conform/data/ctype.h-data [C99-based standards] (isblank):
36205 Expect function.
36206 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36207 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36209 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36210 Specify type. Require positive value.
36211 (EILSEQ): Likewise.
36212 (ERANGE): Likewise.
36213 [ISO || POSIX] (EILSEQ): Do not expect.
36214 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36215 Specify type. Require positive value.
36216 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36217 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36218 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36219 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36220 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36221 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36222 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36223 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36224 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36225 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36226 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36227 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36228 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36229 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36230 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36231 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36232 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36233 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36234 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36235 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36236 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36237 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36238 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36239 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36240 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36241 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36242 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36243 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36244 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36245 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36246 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36247 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36248 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36249 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36250 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36251 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36252 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36253 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36254 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36255 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36256 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36257 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36258 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36259 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36260 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36261 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36262 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36263 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36264 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36265 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36266 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36267 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36268 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36269 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36270 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36271 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36272 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36273 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36274 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36275 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36276 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36277 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36278 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36279 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36280 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36281 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36282 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36283 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36284 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36285 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36286 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36287 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36288 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36289 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36290 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36291 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36292 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36293 Require >= 2.
36294 (FLT_ROUNDS): Expect as macro, not constant.
36295 (FLT_MANT_DIG): Use macro-int-constant.
36296 (DBL_MANT_DIG): Likewise.
36297 (LDBL_MANT_DIG): Likewise.
36298 (FLT_DIG): Likewise.
36299 (DBL_DIG): Likewise.
36300 (LDBL_DIG): Likewise.
36301 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36302 (DBL_MIN_EXP): Likewise.
36303 (LDBL_MIN_EXP): Likewise.
36304 (FLT_MAX_EXP): Use macro-int-constant.
36305 (DBL_MAX_EXP): Likewise.
36306 (LDBL_MAX_EXP): Likewise.
36307 (FLT_MAX_10_EXP): Likewise.
36308 (DBL_MAX_10_EXP): Likewise.
36309 (LDBL_MAX_10_EXP): Likewise.
36310 (FLT_MAX): Use macro-constant.
36311 (DBL_MAX): Likewise.
36312 (LDBL_MAX): Likewise.
36313 (FLT_EPSILON): Use macro-constant. Give upper bound.
36314 (DBL_EPSILON): Likewise.
36315 (LDBL_EPSILON): Likewise.
36316 (FLT_MIN): Likewise.
36317 (DBL_MIN): Likewise.
36318 (LDBL_MIN): Likewise.
36319 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36320 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36321 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36322 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36323 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36324 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36325 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36326 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36327 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36328 [ISO11] (FLT_TRUE_MIN): Likewise.
36329 [ISO11] (LDBL_TRUE_MIN): Likewise.
36330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36331 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36332 (SCHAR_MIN): Use macro-int-constant. Specify type.
36333 (SCHAR_MAX): Likewise.
36334 (UCHAR_MAX): Likewise.
36335 (CHAR_MIN): Likewise.
36336 (CHAR_MAX): Likewise.
36337 (MB_LEN_MAX): Use macro-int-constant.
36338 (SHRT_MIN): Use macro-int-constant. Specify type.
36339 (SHRT_MAX): Likewise.
36340 (USHRT_MAX): Likewise.
36341 (INT_MAX): Likewise.
36342 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36343 bound negative.
36344 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36345 bound with "U".
36346 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36347 bound with "L".
36348 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36349 bound negative. Suffix upper bound with "L".
36350 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36351 bound with "UL".
36352 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36353 Specify type.
36354 [C99-based standards] (LLONG_MAX): Likewise.
36355 [C99-based standards] (ULLONG_MAX): Likewise.
36356 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36357 == 0.
36358 [ISO11] (max_align_t): Require type.
36359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36360
c9140a62
JM
36361 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36362 from $CFLAGS, without defining away __attribute__ calls.
36363 (checknamespace): Use $CFLAGS_namespace.
36364
9af0bf29
JM
36365 * conform/conformtest.pl (@keywords): Only include C99 keywords
36366 for standards based on C99 or C11.
36367
343222a2
JM
36368 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36369 Disable tests.
36370 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36371 UNIX98]: Likewise.
36372
661f8cf0
JM
36373 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36374 usability of symbols in #if.
36375
ee74b9cb
JM
36376 * conform/conformtest.pl: If macro or constant types start
36377 "promoted:", expect the symbol to be of the following type
36378 promoted by the integer promotions.
62fde54f 36379
aafc49b3
JM
36380 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36381 in one place. Also handle "macro-constant".
36382
fefdf574
JM
36383 * conform/conformtest.pl: Only accept expected macro values with
36384 "==". Parse all "macro" lines in one place.
36385 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36386
f2d922fe
JM
36387 * conform/conformtest.pl: Handle braced types on "constant" lines
36388 instead of handling "typed-constant".
36389 * conform/data/signal.h-data: Use "constant" instead of
36390 "typed-constant".
36391
d22956c9
JM
36392 * conform/conformtest.pl: Handle "optional-" at start of lines in
36393 one place rather than duplicating several cases. Handle each
36394 format of "macro" line with initial "optional-".
36395
028e2e38
JM
36396 * conform/conformtest.pl: Only accept expected constant or
36397 optional-constant values with "==". Parse all "constant" lines in
36398 one place. Parse all "optional-constant" lines in one place.
36399 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36400 * conform/data/fmtmsg.h-data: Likewise.
36401 * conform/data/netinet/in.h-data: Likewise.
36402 * conform/data/tar.h-data: Likewise.
36403 * conform/data/limits.h-data: Use "==" form on "constant" and
36404 "optional-constant" lines.
36405
1b8f2850
JM
36406 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36407 Use -std=c99 for XOPEN2K.
36408 (@knownproblems): Remove.
36409 (newtoken): Don't check %isknown.
36410
a05a144b
JM
36411 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36412 Do not expect macro.
36413 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36414 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36415 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36416 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36417 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36418 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36419 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36420 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36421 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36422 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36423 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36424 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36425 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36426 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36427 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36428 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36429 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36430 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36431 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36432 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36433 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36434 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36435 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36436 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36437 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36438 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36439 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36440 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36441 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36442 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36443 [XPG3] (acosh): Likewise.
36444 [XPG3] (asinh): Likewise.
36445 [XPG3] (atanh): Likewise.
36446 [XPG3] (cbrt): Likewise.
36447 [XPG3] (expm1): Likewise.
36448 [XPG3] (ilogb): Likewise.
36449 [XPG3] (log1p): Likewise.
36450 [XPG3] (logb): Likewise.
36451 [XPG3] (nextafter): Likewise.
36452 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36453 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36454 [XPG3] (remainder): Likewise.
36455 [XPG3] (rint): Likewise.
36456 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36457 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36458 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36459 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36460 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36461 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36462 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36463 [UNIX98 || XOPEN2K] (scalb): Expect.
36464 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36465 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36466 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36467 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36468 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36469 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36470 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36471 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36472 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36473 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36474 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36475 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36476 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36477 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36478 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36479 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36480 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36481 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36482 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36483 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36484 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36485 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36486 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36487 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36488 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36489 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36490 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36491 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36492 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36493 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36494 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36495 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36496 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36497 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36498 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36499 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36500 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36501 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36502 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36503 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36504 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36505 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36513 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36514 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36515 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36516 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36517 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36518 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36523 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36526 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36527 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36534 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36535 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36536 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36537 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36538 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36539 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36540 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36541 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36542 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36543 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36544 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36545 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36546 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36547 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36548 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36549 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36550 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36551 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36552 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36553 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36554 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36555 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36556 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36557 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36558 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36559 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36560 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36561 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36562 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36563 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36564 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36565 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36566 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36567 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36568 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36569 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36570 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36571 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36572 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36573 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36574 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36575 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36576 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36577 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36578 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36590 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36601
73c5ebe3
JM
36602 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36603 _XOPEN_SOURCE_EXTENDED for XPG4.
36604
39c33b6c
JM
36605 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36606
62fde54f
JM
36607 * Makeconfig (localtime): Remove variable.
36608 (inst_localtime-file): Likewise.
36609
0741d64c
AS
366102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36611
36612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36613 Update.
36614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36615 Update.
36616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36617 Update.
36618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36619 Update.
36620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36621 Update.
36622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36623 Update.
36624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36625 Update.
36626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36627 Update.
36628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36629 Update.
36630
7cb029ee
JM
366312012-05-01 Joseph Myers <joseph@codesourcery.com>
36632
36633 [BZ #2550]
36634 [BZ #2570]
36635 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36636 comparisons to determine direction to adjust input.
36637 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36638 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36639 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36640 Likewise.
36641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36642 Likewise.
36643 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36644 Likewise.
36645 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36646 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36647 Likewise.
36648 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36649 Likewise.
36650 * math/libm-test.inc (nexttoward_test): Add more tests.
36651
412bd966
AS
366522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36653
36654 [BZ #14040]
36655 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36656 in version GLIBC_2.1, not GLIBC_2.0.
36657 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36658 Likewise.
36659
9568c0c2
JM
366602012-04-30 Joseph Myers <joseph@codesourcery.com>
36661
adfbc8ac
JM
36662 [BZ #13942]
36663 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36664 (1 - x) * (1 + x).
36665 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36666 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36667 * math/libm-test.inc (acos_test): Add more tests.
36668 (asin_test): Likewise.
36669 * sysdeps/i386/fpu/libm-test-ulps: Update.
36670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36671
5ba3cc69
JM
36672 [BZ #14034]
36673 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36674 of square root.
36675 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36676 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36677 * math/libm-test.inc (acos_test_tonearest): New function.
36678 (acos_test_towardzero): Likewise.
36679 (acos_test_downward): Likewise.
36680 (acos_test_upward): Likewise.
36681 (asin_test_tonearest): Likewise.
36682 (asin_test_towardzero): Likewise.
36683 (asin_test_downward): Likewise.
36684 (asin_test_upward): Likewise.
36685 (main): Call the new functions.
36686 * sysdeps/i386/fpu/libm-test-ulps: Update.
36687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36688
9568c0c2
JM
36689 [BZ #13884]
36690 [BZ #13924]
36691 * math/e_exp10.c: Include <float.h>.
36692 (__ieee754_exp10): Handle underflow here rather than multiplying
36693 large negative argument by M_LN10.
36694 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36695 of __ieee754_expf.
36696 * math/e_exp10l.c: Include <float.h>.
36697 (__ieee754_exp10l): Handle underflow here rather than multiplying
36698 large negative argument by M_LN10l.
36699 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36700 spurious overflow exception on underflow.
36701
5ac3ea17
MP
367022012-04-29 Marek Polacek <polacek@redhat.com>
36703
36704 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36705 (__fortify_function): New macro.
36706 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36707 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36708 __extern_always_inline.
36709 * libio/bits/stdio2.h: Likewise.
36710 * libio/bits/stdio.h: Likewise.
36711 * string/string.h: Likewise.
36712 * string/bits/string3.h: Likewise.
36713 * include/stdio.h: Likewise.
36714 * stdlib/bits/stdlib.h: Likewise.
36715 * stdlib/stdlib.h: Likewise.
36716 * rt/bits/mqueue2.h: Likewise.
36717 * rt/mqueue.h: Likewise.
36718 * posix/bits/unistd.h: Likewise.
36719 * posix/unistd.h: Likewise.
36720 * io/bits/poll2.h: Likewise.
36721 * io/bits/fcntl2.h: Likewise.
36722 * io/fcntl.h: Likewise.
36723 * io/sys/poll.h: Likewise.
36724 * misc/bits/syslog.h: Likewise.
36725 * misc/bits/syslog-ldbl.h: Likewise.
36726 * misc/sys/syslog.h: Likewise.
36727 * socket/bits/socket2.h: Likewise.
36728 * socket/sys/socket.h: Likewise.
36729 * debug/tst-chk1.c: Likewise.
36730 * wcsmbs/bits/wchar2.h: Likewise.
36731 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36732 * wcsmbs/wchar.h: Likewise.
36733
ecf0ebfb
AJ
367342012-04-29 Andreas Jaeger <aj@suse.de>
36735
36736 * Makerules (tests): Remove enable-check-abi protection.
36737 (check-abi-warn): Remove.
36738 (check-abi-%): Remove check-abi-warn usage.
36739
36740 * configure.in: Remove check-abi configure option.
36741 * configure: Regenerated.
36742 * config.make.in (enable-check-abi): Remove.
36743
6d5c57fa
AS
367442012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36745
24c5d07e 36746 [BZ #14033]
ded5180a
AS
36747 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36748 double functions to double *_finite functions.
36749
7e0d315d
AS
36750 [BZ #13941]
36751 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36752 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36753 LDBL_MIN_EXP.
36754 * stdio-common/Makefile (tests): Add tst-sprintf3.
36755 * stdio-common/tst-sprintf3.c: New file.
36756
6d5c57fa
AS
36757 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36758 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36759
0749ff8b
JM
367602012-04-28 Joseph Myers <joseph@codesourcery.com>
36761
36762 * conform/conformtest.pl: Remove duplicate typed-constant
36763 handling.
36764
8dbd5d7b
DM
367652012-04-28 David S. Miller <davem@davemloft.net>
36766
36767 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36768 (check-abi-%): Remove AWK script prerequisite and explicit
36769 abilist directory.
36770 (check-abi): Rewrite to just diff the symlist with the abilist.
36771 (config-tls, config-abi-config): Delete, no longer used.
36772 (update-abi-%): Remove AWK script and explicit abilist directory.
36773 (update-abi): Rewrite to simply compare and conditionally copy the
36774 symlist and the sysdep abilist file. Remove update-abi-config
36775 checks.
36776 * abilist/ld.abilist: Remove.
36777 * abilist/libBrokenLocale.abilist: Remove.
36778 * abilist/libanl.abilist: Remove.
36779 * abilist/libcrypt.abilist: Remove.
36780 * abilist/libdl.abilist: Remove.
36781 * abilist/librt.abilist: Remove.
36782 * abilist/libthread_db.abilist: Remove.
36783 * abilist/libutil.abilist: Remove.
36784 * scripts/extract-abilist.awk: Remove.
36785 * scripts/merge-abilist.awk: Remove.
36786 * sysdeps/generic/libcidn.abilist: New file.
36787 * sysdeps/generic/libnss_compat.abilist: New file.
36788 * sysdeps/generic/libnss_db.abilist: New file.
36789 * sysdeps/generic/libnss_dns.abilist: New file.
36790 * sysdeps/generic/libnss_files.abilist: New file.
36791 * sysdeps/generic/libnss_hesiod.abilist: New file.
36792 * sysdeps/generic/libnss_nis.abilist: New file.
36793 * sysdeps/generic/libnss_nisplus.abilist: New file.
36794 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36795 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36796 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36797 file.
36798 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36799 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36800 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36801 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36802 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36803 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36804 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36805 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36806 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36807 file.
36808 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36809 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36810 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36811 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36812 file.
36813 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36814 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36815 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36816 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36817 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36818 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36819 file.
36820 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36821 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36822 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36823 file.
36824 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36826 New file.
36827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36828 New file.
36829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36830 New file.
36831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36832 New file.
36833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36834 New file.
36835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36836 New file.
36837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36838 New file.
36839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36840 New file.
36841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36842 New file.
36843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36844 New file.
36845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36846 New file.
36847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36848 New file.
36849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36850 New file.
36851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36852 file.
36853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36854 New file.
36855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36856 New file.
36857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36858 file.
36859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36860 New file.
36861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36862 New file.
36863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36864 file.
36865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36866 New file.
36867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36868 New file.
36869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36870 New file.
36871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36872 New file.
36873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36874 New file.
36875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36876 New file.
36877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36879 file.
36880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36881 New file.
36882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36883 file.
36884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36885 file.
36886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36887 file.
36888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36889 file.
36890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36891 file.
36892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36893 New file.
36894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36895 file.
36896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36897 file.
36898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36899 New file.
36900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36901 file.
36902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36904 file.
36905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36906 New file.
36907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36908 file.
36909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36910 file.
36911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36912 file.
36913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36914 file.
36915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36916 file.
36917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36918 New file.
36919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36920 file.
36921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36922 file.
36923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36924 New file.
36925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36926 file.
36927 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36928 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36929 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36930 file.
36931 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36932 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36933 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36934 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36935 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36936 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36937 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36938 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36939 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36940 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36943 file.
36944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36945 New file.
36946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36947 file.
36948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36949 file.
36950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36951 file.
36952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36953 file.
36954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36955 file.
36956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36957 New file.
36958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36959 New file.
36960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36961 file.
36962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36963 New file.
36964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36965 file.
36966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36968 file.
36969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36970 New file.
36971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36972 file.
36973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36974 file.
36975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36976 file.
36977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36978 file.
36979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36980 file.
36981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36982 New file.
36983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36984 New file.
36985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36986 file.
36987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36988 New file.
36989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36990 file.
36991
41d73a1b
JM
369922012-04-28 Joseph Myers <joseph@codesourcery.com>
36993
36994 * conform/conformtest.pl: Fix typo in handling typed-constant from
36995 allow-header.
36996
28aeeda4
JM
369972012-04-27 Joseph Myers <joseph@codesourcery.com>
36998
adae8f5e
JM
36999 * README: Cut down references to pre-2.6 Linux kernels and
37000 Linuxthreads. Update lists of configurations in libc and ports
37001 and sort alphabetically. Say "or newer" with Linux kernel version
37002 requirements.
37003
28aeeda4
JM
37004 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37005
a462cb63
RA
370062012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37007
37008 [BZ #887]
37009 * math/libm-test.inc (logb_test_downward): New test to expose
37010 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37011 rounding mode.
37012
6ad3493e
JM
370132012-04-27 Joseph Myers <joseph@codesourcery.com>
37014
37015 [BZ #14027]
37016 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37017 to be done.
37018 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37019 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37020
2ce4f015
JM
370212012-04-26 Joseph Myers <joseph@codesourcery.com>
37022
5aeb141a
JM
37023 * sysdeps/unix/i386/brk.S: Remove file.
37024 * sysdeps/unix/i386/dl-brk.S: Likewise.
37025 * sysdeps/unix/i386/pipe.S: Likewise.
37026 * sysdeps/unix/i386/sigreturn.S: Likewise.
37027 * sysdeps/unix/i386/syscall.S: Likewise.
37028 * sysdeps/unix/i386/vfork.S: Likewise.
37029 * sysdeps/unix/i386/wait.S: Likewise.
37030
7143acae
JM
37031 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37032 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37033
2ce4f015
JM
37034 * configure.in (arm*-none*): Do not allow without
37035 --enable-hacker-mode.
37036 (netbsd*): Remove case setting base_os.
37037 (386bsd*): Likewise.
37038 (freebsd*): Likewise.
37039 (bsdi*): Likewise.
37040 (osf*): Likewise.
37041 (sunos*): Likewise.
37042 (ultrix*): Likewise.
37043 (newsos*): Likewise.
37044 (dynix*): Likewise.
37045 (*bsd*): Likewise.
37046 (sysv*): Likewise.
37047 (isc*): Likewise.
37048 (esix*): Likewise.
37049 (sco*): Likewise.
37050 (minix*): Likewise.
37051 (irix4*): Likewise.
37052 (irix6*): Likewise.
37053 (solaris[2-9]*): Likewise.
37054 (none): Likewise.
37055 * configure: Regenerated.
37056
0ac229c8
AZ
370572012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37058
37059 [BZ #11521]
37060 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37061 overflow or cancellation in calculating denominator.
37062 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37064 down expression to avoid unexpected rounding in newer GCCs.
37065 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37066
33f244f4
DM
370672012-04-26 David S. Miller <davem@davemloft.net>
37068
37069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37070 long-double compat symbols.
37071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37084
cfa1f3e8
DM
370852012-04-25 David S. Miller <davem@davemloft.net>
37086
37087 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37088 HWCAP_* values only after the memory barriers have been defined.
37089 (atomic_full_barrier): Define.
37090 (atomic_read_barrier): Define.
37091 (atomic_write_barrier): Define.
37092
6e236b92
SP
370932012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37094
37095 * shlib-versions: Add libgcc_s version information.
37096 * sysdeps/generic/libgcc_s.h: Remove.
37097 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37098 libgcc_s.h.
37099 * sysdeps/gnu/unwind-resume.c: Likewise.
37100 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37101
aab39a09
DM
371022012-04-25 David S. Miller <davem@davemloft.net>
37103
37104 * sysdeps/unix/sparc/brk.S: Delete.
37105 * sysdeps/unix/sparc/dl-brk.S: Delete.
37106 * sysdeps/unix/sparc/pipe.S: Delete.
37107 * sysdeps/unix/sparc/sysdep.S: Delete.
37108 * sysdeps/unix/sparc/sysdep.h: Delete.
37109 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37110 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37111 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37112 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37113 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37114 (JUMPTARGET): Remove.
37115 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37116 sysdeps/unix/sparc/sysdep.h
37117 (ENTRY, END): Remove.
37118 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37119
a3cc4f48
JM
371202012-04-25 Joseph Myers <joseph@codesourcery.com>
37121
2ed8cda2
JM
37122 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37123 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37124 -DIS_IN_build.
37125
35d76d59
JM
37126 * timezone/README: Update upstream location and email address for
37127 tzcode and tzdata.
37128 * timezone/zdump.c: Update from tzcode 2012b.
37129 * timezone/zic.c: Likewise.
37130
a3cc4f48
JM
37131 * configure.in (libc_cv_as_needed): Remove test.
37132 * configure: Regenerated.
37133 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37134 conditional definition.
37135 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37136 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37137 * config.make.in (have-as-needed): Remove variable.
37138
ceab42c3
SP
371392012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37140 Paul Pluzhnikov <ppluzhnikov@google.com>
37141
37142 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37143 strings correctly.
37144
3ce2865f
CLT
371452012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37146
37147 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37148 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37149 * sysdeps/sh/strlen.S: Likewise.
37150
f37e0d68
JM
371512012-04-24 Joseph Myers <joseph@codesourcery.com>
37152
ae186e9a
JM
37153 * sysdeps/unix/fork.S: Remove file.
37154 * sysdeps/unix/i386/fork.S: Likewise.
37155 * sysdeps/unix/sparc/fork.S: Likewise.
37156
b96914af
JM
37157 * sysdeps/unix/system.c: Remove file.
37158 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37159
f37e0d68
JM
37160 * sysdeps/unix/getegid.S: Remove file.
37161 * sysdeps/unix/geteuid.S: Likewise.
37162
87ef29ca
RM
371632012-04-24 Roland McGrath <roland@hack.frob.com>
37164
83bcd236
RM
37165 * scripts/check-localplt.awk: New file.
37166 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37167 of diff.
37168 * scripts/data/localplt-generic.data: Add a comment.
37169
87ef29ca
RM
37170 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37171 NODE when __dir_mkfile failed.
37172 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37173 Reported by Ludovic Courtès <ludo@gnu.org>.
37174
e5a6e567
AJ
371752012-04-24 Andreas Jaeger <aj@suse.de>
37176
37177 * Makerules (common-clean): Also remove gen-as-const-headers
37178 files.
37179
c1820385
JM
371802012-04-24 Joseph Myers <joseph@codesourcery.com>
37181
37182 * Makerules (native-compile): Do not change working directory for
37183 build. Use $(OUTPUT_OPTION) in command.
37184 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37185
94e02fc4
AZ
371862012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37187
37188 [BZ #13886]
37189 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37190 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37191 * math/libm-test.inc (floor_test): Add more tests.
37192 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37193
3a533ca3
JM
371942012-04-24 Joseph Myers <joseph@codesourcery.com>
37195
940ab4b3
JM
37196 * sysdeps/unix/getdents.c: Remove file.
37197 * sysdeps/unix/sysv/getdents.c: Likewise.
37198 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37199
90e037bd
JM
37200 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37201 sysdeps/unix/mman/syscalls.list.
37202 (mmap): Likewise.
37203 (mprotect): Likewise.
37204 (msync): Likewise.
37205 (munmap): Likewise.
37206 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37207 * sysdeps/unix/mman/syscalls.list: Remove.
37208 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37209
3a533ca3
JM
37210 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37211 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37212 * configure: Regenerated.
37213 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37214 $(libgcc_s_suffix).
37215 * config.make.in (libgcc_s_suffix): Remove variable.
37216
1ad743de
JM
372172012-04-23 Joseph Myers <joseph@codesourcery.com>
37218
4ad451e2
JM
37219 * sysdeps/unix/sysv/gethostname.c: Move to ...
37220 * sysdeps/posix/gethostname.c: ... here.
37221
5e37ce39
JM
37222 * sysdeps/unix/execve.S: Remove file.
37223
1ad743de
JM
37224 * sysdeps/unix/_exit.S: Remove file.
37225
4e681b5b
AJ
372262012-04-23 Andreas Jaeger <aj@suse.de>
37227
37228 [BZ #13739]
37229 * manual/Makefile: Remove make dist support, there's no
37230 need for a stand-alone documentation tar ball.
37231 (TEXI2DVI): Define always, it's not in Makeconfig.
37232 (dist): Removed.
37233 (tar-it): Removed.
37234 (edition): Removed.
37235 (glibc-doc-$(edition).tar): Removed
37236 (%.Z): Removed.
37237 (%.gz): Removed.
37238 (%.uu): Removed.
37239 (ETAGS): Remove, it's in Makeconfig.
37240 (move-if-change): Remove, it's in Makeconfig.
37241
38686a03 372422012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37243
37244 [BZ #13970]
37245 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37246 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37247 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37248 (strtod_l, strtof_l, strtold_l): Remove __wur.
37249 It is not necessarily an error to ignore strtol's return value.
37250 One can reliably look at the stored endptr to decide whether
37251 the number had valid syntax.
37252
7c0616fa
AJ
372532012-04-21 Andreas Jaeger <aj@suse.de>
37254
803cb6b7 37255 [BZ #13739]
7c0616fa
AJ
37256 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37257
b0fe253f
JM
372582012-04-21 Joseph Myers <joseph@codesourcery.com>
37259
37260 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37261 * sysdeps/unix/sysv/Versions: Remove file.
37262
8280f22d
MT
372632012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37264
37265 [BZ #13927]
37266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37267
75ce411f 372682012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37269
37270 [BZ #7064]
37271 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37272 version from __vm86.
37273
097d59fa
JM
372742012-04-20 Joseph Myers <joseph@codesourcery.com>
37275
a90f3bcb
JM
37276 * sysdeps/unix/common/lxstat.c: Remove file.
37277 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37278
edc7ea78
JM
37279 * sysdeps/unix/sysv/Makefile: Remove file.
37280
cb78c221
JM
37281 * sysdeps/unix/sysv/direct.h: Remove file.
37282
efa6a45f
JM
37283 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37284 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37285 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37286 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37287 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37288 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37289 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37290
9c9f2d0c
JM
37291 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37292
4541c83b
JM
37293 * sysdeps/unix/xmknod.c: Remove file.
37294 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37295
f5d153a0
JM
37296 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37297
aa746595
JM
37298 * sysdeps/unix/sysv/i386/time.S: Remove file.
37299
cce5905e
JM
37300 * sysdeps/unix/fxstat.c: Remove file.
37301 * sysdeps/unix/xstat.c: Likewise.
37302 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37303
37fa3841
JM
37304 * sysdeps/unix/sysv/sigaction.c: Remove file.
37305
ff1962a3
JM
37306 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37307 (sysdep_headers): Remove variable.
37308 [termio.h not in sysdep_headers] (generated): Likewise.
37309 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37310 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37311 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37312 * sysdeps/unix/sysv/tcflow.c: Likewise.
37313 * sysdeps/unix/sysv/tcflush.c: Likewise.
37314 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37315 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37316 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37317 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37318 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37319
e7740d31
JM
37320 * sysdeps/unix/siglist.c: Remove file.
37321
ee06f18b
JM
37322 * sysdeps/unix/getppid.S: Remove file.
37323
097d59fa
JM
37324 * sysdeps/unix/mkdir.c: Remove file.
37325 * sysdeps/unix/rmdir.c: Likewise.
37326
ff3d51ec
AS
373272012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37328
37329 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37330 ERR_MAX value.
37331 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37332 errlist-compat value.
37333
50f81fd7
DM
373342012-04-18 David S. Miller <davem@davemloft.net>
37335
37336 * sysdeps/generic/memcopy.h (reg_char): Delete.
37337 * debug/strcat_chk.c: Use char, not reg_char.
37338 * debug/strcpy_chk.c: Likewise.
37339 * debug/strncat_chk.c: Likewise.
37340 * debug/strncpy_chk.c: Likewise.
37341 * string/memchr.c: Likewise.
37342 * string/memrchr.c: Likewise.
37343 * string/rawmemchr.c: Likewise.
37344 * string/strcat.c: Likewise.
37345 * string/strchr.c: Likewise.
37346 * string/strchrnul.c: Likewise.
37347 * string/strcmp.c: Likewise.
37348 * string/strcpy.c: Likewise.
37349 * string/strncat.c: Likewise.
37350 * string/strncmp.c: Likewise.
37351 * string/strncpy.c: Likewise.
37352
8ff41c46
WS
373532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37354
37355 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37356 __builtin_memcopy is called when src and dest ranges are known to not
37357 overlap.
37358
6b652f46
WS
373592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37360
37361 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37362 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37363 fwd_align_merge macro call.
37364 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37365 bwd_align_merge macro call.
37366 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37367
b282631e
WS
373682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37369
37370 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37371 bwd_align_merge macros.
37372 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37373 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37374 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37375
95aa737c
DM
373762012-04-18 David S. Miller <davem@davemloft.net>
37377
37378 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37379
7a99a614
AJ
373802012-04-18 Andreas Jaeger <aj@suse.de>
37381
37382 [BZ# 6794]
37383 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37384 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37385 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37386
37387 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37388 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37389 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37390
37391 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37392 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37393 Adjust for changed ldbl-128 files.
37394
37395 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37396 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37397 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37398
e5270c23
DM
373992012-04-17 David S. Miller <davem@davemloft.net>
37400
37401 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37402
fb5e92c9
AS
374032012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37404
37405 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37406 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37407 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37408 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37409 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37410 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37411
76da7265
AZ
374122012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37413
37414 [BZ #6794]
37415 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37416 * math/libm-test.inc: Add ilogb errno and exception tests.
37417 * math/w_ilogb.c: New file: ilogb wrapper.
37418 * math/w_ilogbf.c: New file: ilogbf wrapper.
37419 * math/w_ilogbl.c: New file: ilogbl wrapper.
37420 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37421 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37422 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37423 exception being thrown with 0.0 as argument.
37424 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37425 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37426 exception being thrown with 0.0 as argument.
37427 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37428 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37429 exception being thrown with 0.0 as argument.
37430 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37431 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37432 exception being thrown with 0.0 as argument.
37433 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37434 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 37435 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
37436 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37437 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37438 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37439 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37440 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37441 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37442
0396e69d
PB
374432012-04-17 Petr Baudis <pasky@ucw.cz>
37444
37445 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37446 with altivec.
37447
750b5926
MP
374482012-04-16 Marek Polacek <polacek@redhat.com>
37449
37450 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37451
751728a1
MP
374522012-04-16 Marek Polacek <polacek@redhat.com>
37453
37454 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37455 operands of fdivp instruction.
37456
34a27407
L
374572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37458
37459 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37460 * elf/tst-auditmod3b.c: Likewise.
37461 * elf/tst-auditmod4b.c: Likewise.
37462 * elf/tst-auditmod5b.c: Likewise.
37463 * elf/tst-auditmod6b.c: Likewise.
37464 * elf/tst-auditmod6c.c: Likewise.
37465 * elf/tst-auditmod7b.c: Likewise.
37466 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37467 * sysdeps/x86_64/preconfigure.in: Likewise.
37468 * sysdeps/x86_64/preconfigure: Regenerated.
37469
7e73e17d
L
374702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37471
37472 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37473 __ILP32__.
37474
c7a6ab72
AB
374752012-04-13 Antoine Balestrat <merkil33@gmail.com>
37476
37477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37478 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37479
a9e8e0e0
CL
374802012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37481
37482 [BZ #13973]
37483 * locale/iso-639.def: Fix gl language name. Spotted by
37484 Yaron Shahrabani.
37485
ec98af7d
RM
374862012-04-12 Roland McGrath <roland@hack.frob.com>
37487
37488 [BZ #2074]
37489 * libio/libio.h (__io_write_fn): Update comment.
37490
247c3ede
PB
374912012-04-12 Petr Baudis <pasky@ucw.cz>
37492
37493 [BZ #2074]
37494 * stdio.texi (Hook Functions): The user provided writer function
37495 is not allowed to return -1.
37496
55939d6d
DM
374972012-04-11 David S. Miller <davem@davemloft.net>
37498
37499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37500
90020f5a
MF
375012012-04-11 Mike Frysinger <vapier@gentoo.org>
37502
37503 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37504 Add a leading slash to rtkaio.
37505
288f9098
JM
375062012-04-11 Jim Meyering <meyering@redhat.com>
37507
90020f5a
MF
37508 [BZ #11959]
37509 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37510 It is not necessarily an error to ignore fwrite's return
37511 value. One can reliably use ferror to test for errors after
37512 the fact.
288f9098 37513
4be2b570
L
375142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37515
37516 * bits/types.h (__snseconds_t): New type.
37517 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37518
37519 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37520 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37521 (__SNSECONDS_T_TYPE): Likewise.
37522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37523 (__SNSECONDS_T_TYPE): Likewise.
37524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37525 (__SNSECONDS_T_TYPE): Likewise.
37526
288f9098 375272012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
37528
37529 [BZ #2636]
37530 * manual/time.texi (Processor Time): Return type of times is
37531 elapsed real time since an arbitrary point in the past.
37532 (CPU Time): Move CLK_TCK from here...
37533 (Processor Time): ...to here. Correct description.
37534 * manual/conf.texi (Constants for Sysconf): Correct description of
37535 _SC_CLK_TCK.
37536
d7dd4413
DM
375372012-04-10 David S. Miller <davem@davemloft.net>
37538
37539 [BZ #13967]
37540 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37541 where the is a gap between DT_REL(A) and DT_JMPREL.
37542
b46068fc
L
375432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37544
37545 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37546 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37547 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37548
73d65cc3
SP
375492012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37550
37551 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37552 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37553 (dl_main): Handle --inhibit-cache.
37554 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37555 _dl_inhibit_cache.
37556 * elf/dl-load.c (_dl_map_object): Use it.
37557 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37558
bcc8d661
JM
375592012-04-09 Joseph Myers <joseph@codesourcery.com>
37560
8f9a2fae
JM
37561 [BZ #13872]
37562 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37563 (__ieee754_powl): Saturate large exponents rather than testing for
37564 overflow of y*log2(x).
37565 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37566 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37567 exceptions.
37568
bcc8d661
JM
37569 [BZ #11521]
37570 * math/s_ctan.c: Include <float.h>.
37571 (__ctan): Avoid internal overflow or cancellation in calculating
37572 denominator.
37573 * math/s_ctanf.c: Likewise.
37574 * math/s_ctanl.c: Likewise.
37575 * math/s_ctanh.c: Likewise.
37576 * math/s_ctanhf.c: Likewise.
37577 * math/s_ctanhl.c: Likewise.
37578 * math/libm-test.inc (ctan_test): Add more tests.
37579 (ctanh_test): Likewise.
37580 * sysdeps/i386/fpu/libm-test-ulps: Update.
37581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37582
823fbbb4
AJ
375832012-04-09 Andreas Jaeger <aj@suse.de>
37584
03879793
AJ
37585 [BZ #6894]
37586 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37587 is an optional BSD extension.
37588
823fbbb4
AJ
37589 [BZ #10254]
37590 * manual/stdio.texi (Opening Streams): Document additional fopen
37591 parameters.
37592
8de131cb
RM
375932012-04-09 Roland McGrath <roland@hack.frob.com>
37594
37595 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37596 %eax without telling the compiler.
37597
c0ed9d7d
CD
375982012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37599
37600 [BZ # 13963]
37601 * manual/install.texi: Use sourceware.org.
37602
c483f6b4
JM
376032012-04-09 Joseph Myers <joseph@codesourcery.com>
37604
d7dd9453
JM
37605 [BZ #13873]
37606 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37607 (__ieee754_pow): Generate overflow and underflow using huge*huge
37608 and tiny*tiny rather than just returning constant infinity or zero
37609 for large exponents.
37610 * math/libm-test.inc (pow_test): Require overflow exceptions for
37611 applicable cases of large exponents.
37612
c483f6b4
JM
37613 [BZ #706]
37614 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37615 (__ieee754_pow): Use iterative multiplication algorithm only for
37616 integer exponents with absolute value below 1024. Check for odd
37617 integer exponents when using algorithm for real exponents.
37618 * math/libm-test.inc (pow_test): Add more tests.
37619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37620
d2de7579
JM
376212012-04-08 Joseph Myers <joseph@codesourcery.com>
37622
37623 [BZ #13705]
37624 * math/libm-test.inc (exp_test): Do not allow overflow exception
37625 on underflow test.
37626
f77f1232
AJ
376272012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37628
37629 [BZ #13705]
37630 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37631 instead of __kernel_standard_f.
37632
3884932b
MF
376332012-04-08 Mike Frysinger <vapier@gentoo.org>
37634
37635 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37636 * sysdeps/x86_64/memset_chk.S: Likewise.
37637
54472e9c
AJ
376382012-04-08 Andreas Jaeger <aj@suse.de>
37639
6ab0fbfc
AJ
37640 [BZ #10153]
37641 * manual/startup.texi (Environment Access): Describe return value
37642 for putenv and setenv.
37643
61efba8c
AJ
37644 [BZ #6895]
37645 * manual/filesys.texi (Directory Entries): Add description for
37646 DT_LNK.
37647
95c3f29a
AJ
37648 [BZ #6890]
37649 * manual/filesys.texi (Directory Entries): Clarify that it's file
37650 system not operating system in the description of DT_UNKNOWN.
37651
54472e9c
AJ
37652 [BZ #6578]
37653 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37654
624254b1
SC
376552012-04-08 Stephen Compall <s11@member.fsf.org>
37656
37657 [BZ #6649]
37658 * manual/llio.texi (Opening and Closing Files): Add cross
37659 reference to explain mode argument.
37660
1e4920e0
MF
376612012-04-07 Mike Frysinger <vapier@gentoo.org>
37662
37663 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37664 * sysdeps/x86_64/memset_chk.S: Likewise.
37665
5ed848f3
DM
376662012-04-07 David S. Miller <davem@davemloft.net>
37667
37668 * elf/elf.h (R_SPARC_WDISP10): Define.
37669 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37670 R_SPARC_SIZE32.
37671 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37672 R_SPARC_SIZE64 and R_SPARC_H34.
37673
96154cd8
CD
376742012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37675
37676 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37677 conditions and remove no longer applicable assertion.
37678
9904dc47
L
376792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37680
37681 * bits/byteswap.h: Include <features.h>.
37682 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37683 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37684
f8887d0a
L
376852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37686
37687 * bits/byteswap.h (__bswap_16): Removed.
37688 Include <bits/byteswap-16.h> to get __bswap_16.
37689 * sysdeps/i386/bits/byteswap.h: Likewise.
37690 * sysdeps/s390/bits/byteswap.h: Likewise.
37691 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37692 * bits/byteswap-16.h: New file.
37693 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37694 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37695 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37696 * string/Makefile (headers): Add bits/byteswap-16.h.
37697
62470f60
PP
376982012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37699
37700 [BZ #13895]
37701 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37702 extra indirection.
37703 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37704 * nss/tst-nss-static.c: New.
37705
4dad7bab
RM
377062012-04-06 Robert Millan <rmh@gnu.org>
37707
37708 [BZ #6486]
37709 * manual/llio.texi (File Position Primitive): lseek
37710 refers to WHENCE when it really means OFFSET.
37711
e9142a17
AJ
377122012-04-06 Andreas Jaeger <aj@suse.de>
37713
2c040eff
AJ
37714 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37715 strncmp declarations.
37716
e9142a17
AJ
37717 * abilist/libc.abilist: Add __poll and __ppoll.
37718
ff9f1c5f
DM
377192012-04-05 David S. Miller <davem@davemloft.net>
37720
dcd2ae90
DM
37721 * scripts/check-local-headers.sh: Accept a host triplet in the
37722 path matched by the exclude regexp.
37723
993eb054
DM
37724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37725 definition.
37726 * sysdeps/powerpc/powerpc32/dl-machine.h
37727 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37728 * sysdeps/s390/s390-32/dl-machine.h
37729 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37730 * sysdeps/sparc/sparc32/dl-machine.h
37731 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37732 * sysdeps/sparc/sparc64/dl-machine.h
37733 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37734
ff9f1c5f
DM
37735 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37736 lazy binding.
48e2e132 37737 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37738 undefined symbol errors.
37739
48e2e132 37740 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37741 DT_NEEDED entries.
37742
e80d6f94
MM
377432012-04-05 Michael Matz <matz@suse.de>
37744
37745 [BZ #13592]
37746 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37747
349fa79f
AJ
377482012-04-05 Andreas Jaeger <aj@suse.de>
37749
37750 [BZ #13908]
37751 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37752 comment.
37753
f402708f
KK
377542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37755
37756 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37757 which ROUND is no valid rounding mode.
37758
2ecccfc9
KK
377592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37760
37761 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37762 read again.
37763 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37764
8a53f50f
KK
377652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37766
37767 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37768 an exception using FPU order intentionally.
37769
377702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37771
37772 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37773 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37774 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37775 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37776
d653abb7
SJ
377772012-04-05 Simon Josefsson <simon@josefsson.org>
37778
37779 [BZ #12340]
37780 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37781 EINVAL when BUFLEN is too smal.
37782
c3b1bf7d
TS
377832012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37784
37785 [BZ #13553]
37786 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37787 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37788
b1aa60f3
AJ
377892012-04-03 Andreas Jaeger <aj@suse.de>
37790
c3b1bf7d 37791 [BZ #13938]
67f60a26
AJ
37792 * manual/setjmp.texi (System V contexts): Fix sentence.
37793
b1aa60f3
AJ
37794 [BZ #13926]
37795 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37796 New macro for this case.
37797 [!__GNUC__] (__bswap_64): New inline function for this case.
37798 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37799 * bits/byteswap.h: Likewise.
37800 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37801 ull, guard with __GLIBC_HAVE_LONG_LONG.
37802
37803 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37804 __GLIBC_HAVE_LONG_LONG.
37805
37806 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37807 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37808
39c59c35
TMQMF
378092012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37810
37811 [BZ #13691]
37812 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37813 inptr and inend, rather than using last_ch.
37814
135ffda8
DM
378152012-04-02 David S. Miller <davem@davemloft.net>
37816
37817 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37818 * stdio-common/printf-parse.h (read_int): Change return type to
37819 'int', return -1 on INT_MAX overflow.
37820 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37821 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37822 overflows INT_MAX. Check for overflow of in-format-string precision
37823 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37824 SIZE_MAX not INT_MAX for integer overflow test.
37825 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37826 skip the construct in the format string but do not record anything.
37827 * stdio-common/bug22.c: Adjust to test both width/prevision
37828 INT_MAX overflow as well as total length INT_MAX overflow. Check
37829 explicitly for proper errno values.
37830
228c019e
TS
378312012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37832
302cadd3
TS
37833 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37834 CHAR_MAX.
37835 * string/test-strcmp.c [! WIDE]: Likewise.
37836 * time/tst-mktime2.c: Likewise for INT_MAX.
37837 * string/test-string.h: #include <sys/param.h> for MIN.
37838
228c019e
TS
37839 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37840 * sysdeps/i386/init-first.c (init): Likewise.
37841 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37842 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37843 * sysdeps/sh/init-first.c (init): Likewise.
37844
cfa633f5
UD
378452012-04-01 Ulrich Drepper <drepper@gmail.com>
37846
37847 * po/ru.po: Update from translation team.
d1635ef8 37848 * po/vi.po: Likewise.
cfa633f5 37849
6cd0a5ea
SP
378502012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37851
37852 * resolv/nss_dns/dns-host.c: Merge copyright years.
37853
4b43400f
LD
378542012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37855
37856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37857 Optimize memcpy with prefetch if
37858 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37859 src, dst pointers have unequal 16 byte alignments.
37860
48c41d04
SP
378612012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37862
37863 [BZ #13928]
37864 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37865 from a CNAME entry and return the minimum ttl for the query.
37866 (gaih_getanswer_slice): Likewise.
37867
b8dc394d
JL
378682012-03-30 Jeff Law <law@redhat.com>
37869
37870 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37871 due to long keys.
37872 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37873 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37874
2f5a5ed0
JL
37875 * resolv/nss_dns/dns-host.c: Update copyright year.
37876
1d39e359
UD
378772012-03-30 Ulrich Drepper <drepper@gmail.com>
37878
c030f70c 37879 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37880 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37881
1d39e359
UD
37882 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37883 comments for sendmmsg.
37884
378852012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37886
37887 [BZ #13691]
37888 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37889 with only 1 character between 0x0041 and 0x01b0.
37890 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37891 * wcsmbs/tst-mbsnrtowcs.c: New file.
37892
20fde227
DM
378932012-03-29 David S. Miller <davem@davemloft.net>
37894
37895 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37896 small copies by hand.
37897
984a4237
JL
378982012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37899
37900 [BZ #13761]
57f41c40
AS
37901 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37902 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37903 group memberships.
984a4237 37904
18c9d62b
DM
379052012-03-28 David S. Miller <davem@davemloft.net>
37906
88d85d4f
DM
37907 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37908 that branches into memcpy.
37909 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37910 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37911 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37912 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37914 bits.
37915 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37916 implementation too.
37917 * sysdeps/sparc/mempcpy.S: New file.
37918
e5aa83e1
DM
37919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37920 the IFUNC routine in the libc case.
37921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37922
88570753
DM
37923 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37924 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37925 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37926 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37927 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37928 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37929 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37930 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37931
249d7567
DM
37932 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37933 loop to 256 bytes instead of 64 bytes and fix test signedness.
37934
18c9d62b
DM
37935 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37936 * sysdeps/sparc/sparc32/Makefile: rather than here...
37937 * sysdeps/sparc/sparc64/Makefile: and here.
37938
05f3d1f6
UD
379392012-03-28 Ulrich Drepper <drepper@gmail.com>
37940
37941 * malloc/mallocbug.c: Avoid warnings about unused variables.
37942
86ae07a8
JL
379432012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37944
37945 [BZ #13760]
37946 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37947 in the right place. Discard and retry query if response is
37948 larger than input buffer size.
37949
41bf21a1
JM
379502012-03-28 Joseph Myers <joseph@codesourcery.com>
37951
d6270972
JM
37952 [BZ #369]
37953 [BZ #2678]
37954 [BZ #3866]
37955 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37956 x for large integer exponent.
37957 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37958 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37959 sign of result as needed afterwards.
37960 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37961 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37962 result for underflowing pow the same as for overflow.
37963 (__kernel_standard_l): Handle powl overflow and underflow here
37964 rather than calling __kernel_standard.
37965 * math/libm-test.inc (pow_test): Add more tests.
37966
414fca03 37967 [BZ #3868]
41bf21a1
JM
37968 [BZ #13879]
37969 [BZ #13910]
37970 [BZ #13911]
37971 [BZ #13912]
37972 [BZ #13913]
37973 [BZ #13915]
37974 [BZ #13916]
37975 [BZ #13917]
37976 [BZ #13918]
37977 [BZ #13919]
37978 [BZ #13920]
37979 [BZ #13921]
37980 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37981 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37982 (__kernel_standard_l): New function.
37983 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37984 __kernel_standard.
37985 * math/w_acosl.c (__acosl): Likewise.
37986 * math/w_asinl.c (__asinl): Likewise.
37987 * math/w_atan2l.c (__atan2l): Likewise.
37988 * math/w_atanhl.c (__atanhl): Likewise.
37989 * math/w_coshl.c (__coshl): Likewise.
37990 * math/w_exp10l.c (__exp10l): Likewise.
37991 * math/w_exp2l.c (__exp2l): Likewise.
37992 * math/w_fmodl.c (__fmodl): Likewise.
37993 * math/w_hypotl.c (__hypotl): Likewise.
37994 * math/w_j0l.c (__j0l, __y0l): Likewise.
37995 * math/w_j1l.c (__j1l, __y1l): Likewise.
37996 * math/w_jnl.c (__jnl, __ynl): Likewise.
37997 * math/w_lgammal.c (__lgammal): Likewise.
37998 * math/w_log10l.c (__log10l): Likewise.
37999 * math/w_log2l.c (__log2l): Likewise.
38000 * math/w_logl.c (__logl): Likewise.
38001 * math/w_powl.c (__powl): Likewise.
38002 * math/w_remainderl.c (__remainderl): Likewise.
38003 * math/w_scalbl.c (sysv_scalbl): Likewise.
38004 * math/w_sinhl.c (__sinhl): Likewise.
38005 * math/w_sqrtl.c (__sqrtl): Likewise.
38006 * math/w_tgammal.c (__tgammal): Likewise.
38007 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38008 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38009 * math/libm-test.inc (acos_test): Add more tests.
38010 (acosh_test): Likewise.
38011 (asin_test): Likewise.
38012 (atanh_test): Likewise.
38013 (exp_test): Likewise.
38014 (exp10_test): Likewise.
38015 (exp2_test): Likewise.
38016 (expm1_test): Likewise.
38017 (lgamma_test): Likewise.
38018 (log_test): Likewise.
38019 (log10_test): Likewise.
38020 (log1p_test): Likewise.
38021 (log2_test): Likewise.
38022 (pow_test): Do not allow some spurious overflow exceptions.
38023 (sqrt_test): Add more tests.
38024 (tgamma_test): Likewise.
38025 (y0_test): Likewise.
38026 (y1_test): Likewise.
38027 (yn_test): Likewise.
38028
dd62fda6
AB
380292012-03-27 Anton Blanchard <anton@samba.org>
38030
38031 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38032 MAP_HUGETLB.
38033 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38034 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38035 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38036
1e3cdfda
AJ
380372012-03-27 David S. Miller <davem@davemloft.net>
38038
b855ab85
DM
38039 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38040
1e3cdfda
AJ
38041 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38042 have-as-vis3 check.
38043
380442012-03-27 Andreas Jaeger <aj@suse.de>
38045
38046 * sysdeps/x86_64/elf/configure.in: Moved to ...
38047 * sysdeps/x86_64/configure.in: ... here.
38048 * sysdeps/x86_64/elf/start.S: Moved to ...
38049 * sysdeps/x86_64/start.S: ... here.
38050 * sysdeps/x86_64/elf/configure: Delete.
38051
38052 * sysdeps/x86_64/configure.in: Merge contents from
38053 sysdeps/i386/configure.in (without i686 check).
38054
38055 * sysdeps/i386/elf/Versions: Merge into ...
38056 * sysdeps/i386/Versions: ... this.
38057 * sysdeps/i386/elf/Versions: Delete file.
38058 * sysdeps/i386/elf/start.S: Moved to ...
38059 * sysdeps/i386/start.S: ...here.
38060 * sysdeps/i386/elf/configure.in: Merge into...
38061 * sysdeps/i386/configure.in: ...here.
38062 * sysdeps/i386/elf/configure.in: Delete file.
38063 * sysdeps/i386/elf/configure: Delete file.
38064
38065 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38066 * debug/backtracesyms.c: ... here.
38067 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38068 * debug/backtracesymsfd.c: ... here.
38069 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38070 * sysdeps/generic/ifunc-sel.h: ... here.
38071
38072 * sysdeps/unix/i386/start.c: Delete file.
38073 * sysdeps/unix/sparc/start.c: Delete file.
38074 * sysdeps/unix/start.c: Delete file.
38075
38076 * sysdeps/sh/elf/configure.in: Moved to ...
38077 * sysdeps/sh/configure.in: ... here.
38078 * sysdeps/sh/elf/start.S: Moved to ...
38079 * sysdeps/sh/start.S: ... here.
38080 * sysdeps/sh/elf/configure: Delete file.
38081
38082 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38083 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38084 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38085 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38086 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38087 * sysdeps/powerpc/powerpc64/start.S: here.
38088 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38089 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38090 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38091 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38092 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38093
38094 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38095 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38096 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38097 * sysdeps/powerpc/powerpc32/start.S: ... here.
38098 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38099 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38100 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38101
38102 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38103 * sysdeps/powerpc/ifunc-sel.h: ... here.
38104 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38105 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38106
38107 * sysdeps/sparc/elf/configure.in: Moved to ...
38108 * sysdeps/sparc/configure.in: ... here.
38109 * sysdeps/sparc/elf/configure: Delete file.
38110 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38111 * sysdeps/sparc/sparc32/start.S: ... here.
38112 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38113 * sysdeps/sparc/sparc64/start.S: ... here.
38114 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38115 * sysdeps/sparc/sparc32/Makefile: ... this.
38116 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38117 * sysdeps/sparc/sparc64/Makefile: ... this.
38118
38119 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38120 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38121 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38122 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38123 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38124 * sysdeps/s390/s390-32/setjmp.S: ... here.
38125 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38126 * sysdeps/s390/s390-32/configure.in: ... here.
38127 * sysdeps/s390/s390-32/elf/configure: Delete file.
38128 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38129 * sysdeps/s390/s390-32/start.S: ... here.
38130
38131 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38132 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38133 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38134 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38135 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38136 * sysdeps/s390/s390-64/setjmp.S: ... here.
38137 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38138 * sysdeps/s390/s390-64/configure.in: ... here
38139 * sysdeps/s390/s390-64/elf/configure: Delete file.
38140 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38141 * sysdeps/s390/s390-64/start.S: ... here.
38142 * sysdeps/s390/s390-64/elf/configure: Delete.
38143
38144 * configure.in: Remove support for elf directories in sysdeps.
38145
38146 * configure: Regenerated.
38147 * sysdeps/i386/configure: Regenerated.
38148 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38149 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38150 * sysdeps/s390/s390-32/configure: Regenerated.
38151 * sysdeps/s390/s390-64/configure: Regenerated.
38152 * sysdeps/sh/configure: Regenerated.
38153 * sysdeps/sparc/configure: Regenerated.
38154 * sysdeps/x86_64/configure: Regenerated.
38155
a3f61311
AS
381562012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38157
c876e002
AS
38158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38159
a3f61311
AS
38160 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38161 denormal result into account.
38162
ac4c54f0
RM
381632012-03-25 Roland McGrath <roland@hack.frob.com>
38164
38165 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38166 Reported by Allan McRae <allan@archlinux.org>.
38167
6a9b9c02
JL
381682012-03-23 Jeff Law <law@redhat.com>
38169
38170 * nss/getnssent.c (__nss_getent): Fix typo.
38171
4c42a0c1
DM
381722012-03-23 David S. Miller <davem@davemloft.net>
38173
38174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38175
1532c7ac
L
381762012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38177
38178 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38179 to pad to uint64_t for each field.
38180 (dl_tls_index): Replace unsigned long with uint64_t.
38181
3ff42526
PP
381822012-03-23 Daniel Jacobowitz <dmj@google.com>
38183 Paul Pluzhnikov <ppluzhnikov@google.com>
38184
38185 [BZ #6528]
38186 * grp/Makefile (otherlibs): Don't set it.
38187 * inet/Makefile (otherlibs): Likewise.
38188 * login/Makefile (otherlibs): Likewise.
38189 * nscd/Makefile (otherlibs): Likewise.
38190 * posix/Makefile (otherlibs): Likewise.
38191 * pwd/Makefile (otherlibs): Likewise.
38192 * rt/Makefile (otherlibs): Likewise.
38193 * sunrpc/Makefile (otherlibs): Likewise.
38194 * nss/Makefile (otherlibs): Likewise.
38195 Add libnss_files to routines and static-only-routines.
38196 ($(objpfx)getent): Remove rule.
38197 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38198 static-only-routines.
38199
7c69cd14
JM
382002012-03-22 Joseph Myers <joseph@codesourcery.com>
38201
38202 [BZ #13892]
38203 * math/s_cexp.c: Include <float.h>.
38204 (__cexp): Handle exp result overflowing not necessarily
38205 overflowing both real and imaginary parts of result.
38206 * math/s_cexpf.c: Likewise.
38207 * math/s_cexpl.c: Likewise.
38208 * math/libm-test.inc (cexp_test): Add more tests.
38209 * sysdeps/i386/fpu/libm-test-ulps: Update.
38210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38211
81b035fe
L
382122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38213
38214 * include/link.h (ELFW): New macro.
38215 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38216 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38217
1da7940c
L
382182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38219
38220 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38221 with uint64_t.
38222
b749dbb9
L
382232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38224
38225 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38226 declaration.
38227 (struct La_x32_retval): Likewise.
38228
2ff87f3f
L
382292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38230
38231 * sysdeps/x86_64/preconfigure.in: New file.
38232 * sysdeps/x86_64/preconfigure: New generated file.
38233
c0df8e69
JM
382342012-03-22 Joseph Myers <joseph@codesourcery.com>
38235
48e44791
JM
38236 [BZ #13824]
38237 * math/e_exp2l.c: Include <float.h>.
38238 (__ieee754_exp2l): Handle overflow and underflow cases
38239 separately. Only pass fractional part of argument to
38240 __ieee754_expl.
38241 * math/libm-test.inc (exp2_test): Add more tests.
38242
c0df8e69
JM
38243 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38244 negating x to take absolute value.
38245 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38246 Likewise.
38247 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38248 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38249 Likewise.
38250 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38251 computing low part if x was negated.
38252 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38253
c8e43ba7
L
382542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38255
38256 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38257 la_x32_gnu_pltexit.
38258 (pltexit): Cast int_retval to ptrdiff_t.
38259 * elf/tst-auditmod3b.c: Likewise.
38260 * elf/tst-auditmod4b.c: Likewise.
38261 * elf/tst-auditmod5b.c: Likewise.
38262 * elf/tst-auditmod6b.c: Likewise.
38263 * elf/tst-auditmod6c.c: Likewise.
38264 * elf/tst-auditmod7b.c: Likewise.
38265
38266 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38267 and x32_gnu_pltexit.
38268
38269 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38270 __ELF_NATIVE_CLASS.
38271 (La_x32_regs): New macro.
38272 (La_x32_retval): Likewise.
38273 (la_x32_gnu_pltenter): New function prototype.
38274 (la_x32_gnu_pltexit): Likewise.
38275
7998fa78
AS
382762012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38277
dcb33988
AS
38278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38279 exponent.
38280
233fc563
AS
38281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38282
7998fa78
AS
38283 * configure.in (libc_cv_cc_nofma): Check for option to disable
38284 generation of FMA instructions.
38285 * configure: Regenerate.
38286 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38287 * sysdeps/ieee754/dbl-64/Makefile: New file.
38288 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38289 Remove brandred-fma4.
38290 (CFLAGS-brandred-fma4.c): Remove.
38291 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38292 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38293 define.
38294 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38295 define.
38296
8e95c99a
L
382972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38298
38299 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38300 LLONG_MAX != LONG_MAX.
38301 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38302 (_fitoa_word): Likewise.
38303 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38304 LLONG_MAX != LONG_MAX.
38305 * stdio-common/_itowa.h: Include <_itoa.h>.
38306 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38307 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38308 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38309 only if not defined.
38310 (_ITOA_WORD_TYPE): Likewise.
38311 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38312 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38313
6f4db457
DM
383142012-03-21 David S. Miller <davem@davemloft.net>
38315
38316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38317
7785fe5a
L
383182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38319
38320 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38321 of x86_64 when setting libc_cv_slibdir, libdir and
38322 libc_cv_localedir.
38323 * sysdeps/unix/sysv/linux/configure: Regenerated.
38324
4535cd55
JM
383252012-03-21 Joseph Myers <joseph@codesourcery.com>
38326
38327 * manual/lang.texi (Old Varargs): Remove section.
38328 (How Variadic): Update menu.
38329 (va_start): Do not mention varargs.h.
38330
17228132
TS
383312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38332 Joseph Myers <joseph@codesourcery.com>
38333
38334 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38335 link test.
38336 * configure: Regenerated.
38337
8149f976
TS
383382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38339
05f3d1f6
UD
38340 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38341 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38342 conformtest.pl
8149f976 38343
1a4ac776
JM
383442012-03-21 Joseph Myers <joseph@codesourcery.com>
38345
be22ce65
JM
38346 * NOTES: Remove.
38347 * Makefile (files-for-dist): Remove NOTES.
38348 (NOTES): Remove rule.
38349 * README: Don't refer to NOTES.
38350 * manual/creature.texi: Don't include macros.texi.
38351 * manual/intro.texi (creature.texi): Remove comment referring to
38352 NOTES.
38353
40b601fb
JM
38354 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38355 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38356 * configure: Regenerated.
38357 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38358 LIBC_TRY_CC_OPTION.
38359 (libc_cv_as_i686): Likewise.
38360 (libc_cv_cc_avx): Likewise.
38361 (libc_cv_cc_sse2avx): Likewise.
38362 (libc_cv_cc_fma4): Likewise.
38363 (libc_cv_cc_novzeroupper): Likewise.
38364 * sysdeps/i386/configure: Regenerated.
38365
1a4ac776
JM
38366 [BZ #13883]
38367 * sysdeps/i386/fpu/s_cexp.S: Remove.
38368 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38369 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38370 * math/libm-test.inc (cexp_test): Add more tests.
38371 * sysdeps/i386/fpu/libm-test-ulps: Update.
38372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38373
a458e7fe
AM
383742012-03-21 Allan McRae <allan@archlinux.org>
38375
38376 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38377
0cb7efc5
JM
383782012-03-21 Joseph Myers <joseph@codesourcery.com>
38379
38380 [BZ #13871]
38381 * math/w_exp2.c: Do not include <float.h>.
38382 (o_threshold, u_threshold): Remove.
38383 (__exp2): Calculate result before checking finiteness and calling
38384 __kernel_standard.
38385 * math/w_exp2f.c: Likewise.
38386 * math/w_exp2l.c: Likewise.
38387 * math/libm-test.inc (exp2_test): Require overflow exception for
38388 1e6 input.
2460d3aa
JM
38389
38390 [BZ #3866]
38391 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38392 range of signed 64-bit integers before using fistpll. Remove
38393 checks for whether integers fit in mantissa bits.
38394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38395 the range of signed 32-bit integers before using fistpl. Remove
38396 checks for whether integers fit in mantissa bits.
38397 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38398 (__ieee754_powl): Test for y outside the range of signed 64-bit
38399 integers before using fistpll. Reduce 64-bit values to 63-bit
38400 ones as needed.
38401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38402 divide-by-zero is raised for zero to large negative powers.
38403 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38404 (__ieee754_powl): Test for y outside the range of signed 64-bit
38405 integers before using fistpll. Reduce 64-bit values to 63-bit
38406 ones as needed.
38407 * math/libm-test.inc (pow_test): Add more tests.
38408
eb96ffb0
L
384092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38410
38411 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38412 <stdio-common/_itoa.h>.
38413 * debug/segfault.c: Likewise.
38414 * elf/dl-cache.c: Likewise.
38415 * elf/dl-minimal.c: Likewise.
38416 * elf/dl-misc.c: Likewise.
38417 * elf/dl-sysdep.c: Likewise.
38418 * elf/dl-version.c: Likewise.
38419 * elf/rtld.c: Likewise.
38420 * hurd/hurdsock.c: Likewise.
38421 * hurd/lookup-retry.c: Likewise.
38422 * malloc/malloc.c: Likewise.
38423 * malloc/mtrace.c: Likewise.
38424 * nscd/nscd_getgr_r.c: Likewise.
38425 * nscd/nscd_getpw_r.c: Likewise.
38426 * nscd/nscd_getserv_r.c: Likewise.
38427 * posix/getopt_init.c: Likewise.
38428 * posix/wordexp.c: Likewise.
38429 * stdio-common/_itoa.c: Likewise.
38430 * stdio-common/printf_fphex.c: Likewise.
38431 * stdio-common/vfprintf.c: Likewise.
38432 * string/_strerror.c: Likewise.
38433 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38434 * sysdeps/i386/i686/hp-timing.h: Likewise.
38435 * sysdeps/mach/_strerror.c: Likewise.
38436 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38437 * sysdeps/mach/hurd/sethostid.c: Likewise.
38438 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38439 * sysdeps/mach/xpg-strerror.c: Likewise.
38440 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38441 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38442 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38443 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38444 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38445 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38446 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38447 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38448 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38449 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38450 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38451 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38452 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38453 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38454 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38455 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38456 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38457 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38458 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38459 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38460 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38461
38462 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38463
38464 * stdio-common/_itoa.h: Moved to ...
38465 * sysdeps/generic/_itoa.h: Here.
38466
38467 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38468
38469 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38470 instead of "_itoa.h" and "_itowa.h".
38471 * stdio-common/vfprintf.: Likewise.
38472
d1af992d
L
384732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38474
38475 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38476 <bits/wordsize.h>.
38477 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38478 (__signbit): Likwise.
38479 (llrintf): Likwise.
38480 (llrint): Likwise.
38481
114883e0
L
384822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38483
38484 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38485 __WORDSIZE != 64.
38486
c135cc1b
JM
384872012-03-20 Joseph Myers <joseph@codesourcery.com>
38488
38489 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38490 OVERFLOW_EXCEPTION_OK.
38491 * math/libm-test.inc ("Philosophy"): Update comment about
38492 exception testing.
38493 (OVERFLOW_EXCEPTION): Define.
38494 (OVERFLOW_EXCEPTION_OK): Likewise.
38495 (INVALID_EXCEPTION_OK): Renumber.
38496 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38497 (IGNORE_ZERO_INF_SIGN): Likewise.
38498 (test_exceptions): Handle FE_OVERFLOW.
38499 (exp10_test): Expect overflow exceptions.
38500 (exp2_test): Likewise.
38501 (expm1_test): Likewise.
38502 (nextafter_test): Likewise.
38503 (pow_test): Likewise.
38504 (scalbn_test): Likewise.
38505 (scalbln_test): Likewise.
38506
95443d88
L
385072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38508
38509 * sysdeps/x86_64/bits/atomic.h
38510 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38511 64bit integer.
38512 (atomic_exchange_acq): Likewise.
38513 (__arch_exchange_and_add_body): Likewise.
38514 (__arch_add_body): Likewise.
38515 (atomic_add_negative): Likewise.
38516 (atomic_add_zero): Likewise.
38517
490df6c4
L
385182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38519
c2722551 38520 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
38521 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38522
5e52b189
L
385232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38524
38525 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38526 Check __x86_64__ instead of __WORDSIZE.
38527
a9879d4c
L
385282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38529
38530 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38531
5df98260
DM
385322012-03-19 David S. Miller <davem@davemloft.net>
38533
e1497744
DM
38534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38535
5df98260
DM
38536 * sysdeps/sparc/fpu/fenv_private.h: New file.
38537 * sysdeps/sparc/fpu/math_private.h: Use it.
38538 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38539 Remove.
57f41c40 38540 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38541 (libc_feholdexcept_setroundl): Remove.
38542 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38543 Remove.
38544 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38545 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38546
b4c35121
L
385472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38548
38549 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38550 int64_t instead of long int.
38551 (INSERT_WORDS64): Likwise.
38552
56965fd7
L
385532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38554
38555 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38556 _Unwind_GetCFA return to _Unwind_Ptr first.
38557
83d1aec8
JM
385582012-03-19 Joseph Myers <joseph@codesourcery.com>
38559
1897ad44
JM
38560 [BZ #13629]
38561 * math/s_clog.c: Include <float.h>.
38562 (__clog): Scale large or subnormal inputs.
38563 * math/s_clogf.c: Likewise.
38564 * math/s_clogl.c: Likewise.
38565 * math/s_clog10.c: Include <float.h>.
38566 (M_LOG10_2): Define.
38567 (__clog10): Scale large or subnormal inputs.
38568 * math/s_clog10f.c: Likewise.
38569 * math/s_clog10l.c: Likewise.
38570 * math/libm-test.inc (clog_test): Add more tests.
38571 (clog10_test): Likewise.
38572 * sysdeps/i386/fpu/libm-test-ulps: Update.
38573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38574
7726d6a9
JM
38575 [BZ #11451]
38576 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38577 x and y.
38578 * math/libm-test.inc (atan2_test): Add another test.
38579
83d1aec8
JM
38580 * Makerules (common-objdir-compile): Remove.
38581 * sysdeps/unix/Makefile (config-generated): Do not add
38582 $(unix-generated) to variable.
38583 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38584 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38585 Remove rule.
38586 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38587 Likewise.
38588 [generic bits/local_lim.h] (before-compile): Do not append to
38589 variable.
38590 [generic bits/local_lim.h] (common-generated): Likewise.
38591 [generic sys/param.h] (before-compile): Do not append to variable.
38592 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38593 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38594 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38595 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38596 include.
38597 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38598 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38599 [generic sys/param.h] ($(addprefix
38600 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38601 [generic sys/param.h] (common-generated): Do not append to
38602 variable.
38603 [generic sys/param.h] (sysdep_headers): Likewise.
38604 [generic bits/errno.h] (before-compile): Do not append to
38605 variable.
38606 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38607 rule.
38608 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38609 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38610 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38611 [generic bits/errno.h] (common-generated): Do not append to
38612 variable.
38613 [generic bits/ioctls.h] (before-compile): Do not append to
38614 variable.
38615 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38616 rule.
38617 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38618 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38619 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38620 rule.
38621 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38622 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38623 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38624 [generic bits/ioctls.h] (common-generated): Do not append to
38625 variable.
38626 [generic sys/syscall.h] (syscall.h): Remove variable.
38627 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38628 rule.
38629 [generic sys/syscall.h] (before-compile): Do not append to
38630 variable.
38631 [generic sys/syscall.h] (common-generated): Likewise.
38632 * sysdeps/unix/errnos-tmpl.c: Remove file.
38633 * sysdeps/unix/errnos.awk: Likewise.
38634 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38635 * sysdeps/unix/ioctls.awk: Likewise.
38636 * sysdeps/unix/mk-local_lim.c: Likewise.
38637 * sysdeps/unix/snarf-ioctls: Likewise.
38638
4851a949
RH
386392012-03-19 Richard Henderson <rth@twiddle.net>
38640
bd37f2ee
RH
38641 * sysdeps/i386/fpu/fenv_private.h: New file.
38642 * sysdeps/i386/fpu/math_private.h: Use it.
38643 (math_opt_barrier, math_force_eval): Remove.
38644 (libc_feholdexcept_setround_53bit): Remove.
38645 (libc_feupdateenv_53bit): Remove.
38646 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38647 (math_opt_barrier, math_force_eval): Remove.
38648 (libc_feholdexcept): Remove.
38649 (libc_feholdexcept_setround): Remove.
38650 (libc_fetestexcept, libc_fesetenv): Remove.
38651 (libc_feupdateenv_test): Remove.
38652 (libc_feupdateenv, libc_feholdsetround): Remove.
38653 (libc_feresetround): Remove.
38654
d0adc922
RH
38655 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38656 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38657
0fe0f1f8
RH
38658 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38659 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38660 (libc_feupdateenv_testl): New.
38661 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38662 (libc_feupdateenv_testf): New.
38663 (libc_feupdateenv): Use libc_feupdateenv_test.
38664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38666
eb92c487
RH
38667 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38668 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38669 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38670 (libc_feresetround_noex): New.
38671 (libc_feresetround_noexf): New.
38672 (libc_feresetround_noexl): New.
38673 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38674 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38675 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38676 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38677 SET_RESTORE_ROUND.
38678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38680 (__cos): Likewise.
38681 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38682 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38683 SET_RESTORE_ROUND_NOEX.
38684 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38685 SET_RESTORE_ROUND_NOEXF.
38686 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38687 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38688 (libc_feholdsetroundf): New.
38689 (libc_feresetround, libc_feresetroundf): New.
38690
7d2e8012
RH
38691 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38692 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38693 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38694
b4dabbb4
RH
38695 * sysdeps/generic/math_private.h: Include <fenv.h>.
38696 (default_libc_feholdexcept): New.
38697 (default_libc_feholdexcept_setround): New.
38698 (default_libc_fesetenv, default_libc_feupdateenv): New.
38699 (libc_feholdexcept): Only define if undefined.
38700 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38701 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38702 (libc_feholdexcept_setroundl): Likewise.
38703 (libc_feholdexcept_setround_53bit): Likewise.
38704 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38705 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38706 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38707 (libc_feupdateenv_53bit): Likewise.
38708 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38709 (libc_feholdexcept): Convert from macro to inline function.
38710 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38711 (libc_fesetenv, libc_feupdateenv): Likewise.
38712
4851a949
RH
38713 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38714 not previously defined.
38715 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38716 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38717 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38718 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38719 * sysdeps/ieee754/flt-32/math_private.h: New file.
38720 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38721 math_private.h below SET_FLOAT_WORD.
38722 (__isnan, __isinf_ns, __finite): Remove.
38723 (__isnanf, __isinf_nsf, __finitef): Remove.
38724
e79d442e
AS
387252012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38726
38727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38728
90b80344
DM
387292012-03-17 David S. Miller <davem@davemloft.net>
38730
38731 [BZ #6471]
38732 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38733 for 2.16.
38734
edc21804
DM
387352012-03-16 David S. Miller <davem@davemloft.net>
38736
77e927af
DM
38737 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38738 warnings.
38739
374976dd
DM
38740 [BZ #6471]
38741 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38742 properly.
38743 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38744 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38745 sysdep_routines when subdir is sysvipc.
38746 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38747 __getshmlba helper.
38748
edc21804
DM
38749 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38750
473c3ef3
L
387512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38752
38753 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38754 [__LP64__].
38755
eb0f39b6
L
387562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38757
38758 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38759 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38760 (__lround): Renamed to ...
38761 (__llround): This. Replace long int with long long int.
38762 Define lround functions as aliases of llround functions.
38763 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38764
6b6cd74b
L
387652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38766
38767 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38768 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38769 adresses to uintptr_t. Replace "long int" and "unsigned long
38770 int" with "greg_t" on va_arg.
38771
f1a77b01
L
387722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38773
38774 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38775 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38776
38777 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38778 Move e_machine check before EI_CLASS check. Handle x32
38779 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38780 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38781 SKIP_EM_IA_64 and include
38782 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38783
38784 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38785 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38786 (add_system_dir): New macro.
38787
38788 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38789 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38790
11b90b9f
JM
387912012-03-16 Joseph Myers <joseph@codesourcery.com>
38792
c36e1d23
JM
38793 [BZ #2551]
38794 [BZ #2552]
38795 [BZ #2553]
38796 [BZ #2554]
38797 [BZ #2562]
38798 [BZ #2563]
38799 [BZ #2565]
38800 [BZ #2566]
38801 [BZ #2576]
38802 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38803 (y0): Likewise.
38804 * math/w_j0f.c (j0f): Likewise.
38805 (y0f): Likewise.
38806 * math/w_j0l.c (__j0l): Likewise.
38807 (__y0l): Likewise.
38808 * math/w_j1.c (j1): Likewise.
38809 (y1): Likewise.
38810 * math/w_j1f.c (j1f): Likewise.
38811 (y1f): Likewise.
38812 * math/w_j1l.c (__j1l): Likewise.
38813 (__y1l): Likewise.
38814 * math/w_jn.c (jn): Likewise.
38815 (yn): Likewise.
38816 * math/w_jnf.c (jnf): Likewise.
38817 (ynf): Likewise.
38818 * math/w_jnl.c (__jnl): Likewise.
38819 (__ynl): Likewise.
38820 * math/libm-test.inc (j0_test): Add more tests.
38821 (j1_test): Likewise.
38822 (jn_test): Likewise. Add trailing semicolon to existing test.
38823 (y0_test): Likewise.
38824 (y1_test): Likewise.
38825 * sysdeps/i386/fpu/libm-test-ulps: Update.
38826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38827
11b90b9f
JM
38828 [BZ #13851]
38829 [BZ #13854]
38830 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38831 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38832 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38833 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38834 (__tanl): Set errno for infinite argument.
38835 * sysdeps/i386/fpu/mptan.c: Remove.
38836 * sysdeps/i386/fpu/s_tan.S: Likewise.
38837 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38838 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38839 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38840 * math/libm-test.inc (tan_test): Add more tests and enable more
38841 tests for double and long double.
38842 * sysdeps/i386/fpu/libm-test-ulps: Update.
38843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38844
6a1bd2a1
JK
388452012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38846
38847 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38848 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38849
10a803e0
RM
388502012-03-16 Roland McGrath <roland@hack.frob.com>
38851
38852 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38853 * configure.in: Use it for both main tree and add-ons.
38854 * configure: Regenerated.
38855
f196c7f7
L
388562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38857
38858 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38859
8848d99d
JM
388602012-03-16 Joseph Myers <joseph@codesourcery.com>
38861
96cbe7f4
JM
38862 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38863 in comment.
38864
8848d99d
JM
38865 [BZ #13851]
38866 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38867 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38869 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38870 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38871 infinite argument.
38872 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38873 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38874 != 0 for prec == 2.
38875 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38876 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38877 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38878 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38879 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38880 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38881 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38882 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38883 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38884 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38885 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38886 * math/libm-test.inc (cos_test): Add more tests and enable more
38887 tests for long double.
38888 (sin_test): Likewise.
38889 (sincos_test): Likewise.
38890 * sysdeps/i386/fpu/libm-test-ulps: Update.
38891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38892
dd7f4703
DM
388932012-03-16 David S. Miller <davem@davemloft.net>
38894
38895 * sysdeps/sparc/fpu/math_private.h: New file.
38896
006f1daa
DM
388972012-03-15 David S. Miller <davem@davemloft.net>
38898
c0c83bc8
DM
38899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38900 file.
e6a62e18 38901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38903 file.
e6a62e18
DM
38904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38909 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38910 sysdep routines.
38911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38912
88cb87d9
DM
38913 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38914 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38915
006f1daa 38916 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38918 sparc-ifunc.h
006f1daa 38919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38921 Likewise.
38922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38923 Likewise.
006f1daa
DM
38924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38928 Likewise.
006f1daa
DM
38929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38934 Likewise.
38935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38936 Likewise.
006f1daa
DM
38937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38961
11e0098e
AS
389622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38963
38964 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38965 scaling.
38966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38967
e85b09d0
AJ
389682012-03-15 Andreas Jaeger <aj@suse.de>
38969
38970 [BZ #13852]
38971 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38972 ieee754/flt-32 implementation for sin, cos and sincos.
38973 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38974 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38975 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38976 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38977 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38978 ieee754/flt-32 implementation for tan.
38979
38980 * math/libm-test.inc (cos_test): Enable some large input tests for
38981 float as well
38982 (sin_test): Likewise.
38983 (sincos_test): Likewise.
38984 (tan_test): Add tests for large input.
38985
38986 * sysdeps/i386/fpu/libm-test-ulps: Update.
38987
81c64153
AJ
389882012-03-15 Andreas Jaeger <aj@suse.de>
38989
38990 [BZ #13658]
38991 * math/libm-test.inc (cos_test): Add more test cases.
38992 (sin_test): Likewise.
38993 (sincos_test): Likewise.
38994
7bbfa5c6
AJ
389952012-03-15 Andreas Jaeger <aj@suse.de>
38996
38997 [BZ #13837]
38998 * math/libm-test.inc (cos_test): Add a test case for large input
38999 value.
39000 (sin_test): Likewise.
39001 (sincos_test): Likewise.
39002
57f41c40
AS
390032012-03-15 Andreas Jaeger <aj@suse.de>
39004 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39005
39006 [BZ #13658]
0671f479 39007 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39008 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39009 * sysdeps/i386/fpu/branred.c: Likewise.
39010 * sysdeps/i386/fpu/dosincos.c: Likewise.
39011 * sysdeps/i386/fpu/mpa.c: Likewise.
39012 * sysdeps/i386/fpu/s_cos.S: Likewise.
39013 * sysdeps/i386/fpu/s_sin.S: Likewise.
39014 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39015 * sysdeps/i386/fpu/sincos32.c: Likewise.
39016
39017 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39018 Define.
39019 (libc_feupdateenv_53bit): Define.
39020 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39021 Define.
39022 (libc_feupdateenv_53bit): Define.
39023
39024 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39025 53 bit (without extend i386 double precision).
39026
39027 * math/libm-test.inc (sincos_test): Add tests for large input.
39028 (sin): Likewise.
39029 (cos): Likewise.
39030
39031 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39032
9cad04ea
AS
390332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39034
39035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39036
f7062b9a
DM
390372012-03-15 David S. Miller <davem@davemloft.net>
39038
39039 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39040 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39041 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39042 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39055 file.
f7062b9a 39056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39058 file.
f7062b9a 39059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39061 file.
f7062b9a 39062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39064 file.
f7062b9a
DM
39065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39066 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39067 fmin/fmax sysdep routines.
39068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39069
7bd951ff
DM
390702012-03-14 David S. Miller <davem@davemloft.net>
39071
559398ab
DM
39072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39094 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39100 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39101 routines.
39102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39103 file.
559398ab 39104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39106 file.
559398ab 39107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39109 file.
559398ab 39110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39112 file.
559398ab 39113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39115 file.
559398ab 39116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39118 file.
39119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39120 file.
39121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39122 file.
39123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39124 file.
39125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39126 New file.
39127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39128 file.
39129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39130 file.
559398ab 39131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39133 file.
559398ab 39134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39136 file.
559398ab 39137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39139 file.
559398ab 39140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39142 VIS3 routines.
559398ab
DM
39143
39144 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39145 New file.
39146
5a1c1e32
DM
39147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39148
eae47a36
DM
39149 * sysdeps/sparc/configure.in: New file.
39150 * sysdeps/sparc/configure: Generate.
39151 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39152 * configure: Regenerate.
39153 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39154 * config.make.in (have-as-vis3): New.
39155 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39156 available use -Av9d instead of -Av9a.
39157 * sysdeps/sparc/sparc64/Makefile: Likewise.
39158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39160 New file.
39161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39162 file.
39163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39164 New file.
39165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39166 file.
eae47a36
DM
39167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39172
c0c83bc8
DM
39173 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39174 fzeros/fnegs to load 0x80000000 into a float register instead of
39175 using the stack.
7bd951ff
DM
39176 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39177
bd951ccb
JM
391782012-03-14 Joseph Myers <joseph@codesourcery.com>
39179
39180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39181 bits/syscall.h.
39182 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39183 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39184 ($(inst_includedir)/bits/syscall.h): Remove rule.
39185 ($(objpfx)bits/syscall.d): Include instead of
39186 $(objpfx)syscall-list.d.
39187 (generated): Change syscall-list.h and syscall-list.d to
39188 bits/syscall.h and bits/syscall.d.
39189
bb4e6db2
RM
391902012-03-14 Roland McGrath <roland@hack.frob.com>
39191
39192 [BZ #13846]
39193 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39194
aa4a2ae1
JM
391952012-03-14 Joseph Myers <joseph@codesourcery.com>
39196
e456826d
JM
39197 [BZ #13841]
39198 * math/s_csqrt.c: Include <float.h>.
39199 (__csqrt): Scale large or subnormal inputs.
39200 * math/s_csqrtf.c: Likewise.
39201 * math/s_csqrtl.c: Likewise.
39202 * math/libm-test.inc (csqrt_test): Add more tests.
39203 * sysdeps/i386/fpu/libm-test-ulps: Update.
39204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39205
aa4a2ae1
JM
39206 [BZ #13840]
39207 * math/libm-test.inc (hypot_test): Add more tests.
39208
7c10fd35
DM
392092012-03-13 David S. Miller <davem@davemloft.net>
39210
39211 [BZ #13840]
39212 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39213 double-precision for the calculation instead of scaling.
39214
f453b98b
JM
392152012-03-13 Joseph Myers <joseph@codesourcery.com>
39216
39217 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39218 manipulate bits before adding and subtracting TWO52[sx].
39219 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39220 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39221 Likewise.
39222 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39223
09a3453f
DM
392242012-03-13 David S. Miller <davem@davemloft.net>
39225
8e59da90
DM
39226 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39227 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39229 rtld-global-offsets.h
39230 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39231
2a8ab7f2
DM
39232 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39233 large parameters.
39234
10f62770
DM
39235 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39236
5f0bdb18
DM
39237 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39238 'err' in the ifdef scope in which it is actually used.
39239
09a3453f
DM
39240 * nss/nss_db/db-init.c: Include string.h
39241
b4b2eb5e
DM
392422012-03-12 David S. Miller <davem@davemloft.net>
39243
98bb2f1c
DM
39244 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39245 masking out of the most significant byte of random value used.
39246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39247 Fix coding style in previous change.
39248
b4b2eb5e
DM
39249 * sysdeps/unix/sysv/linux/kernel-features.h
39250 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39251 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39252 expression.
39253 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39254 later.
39255
6e226b09
DM
392562012-03-11 David S. Miller <davem@davemloft.net>
39257
a1bcbd40
DM
39258 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39259 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39260 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39261 for 'resultvar' otherwise things get truncated on 64-bit.
39262
cb9d6174
DM
39263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39264 Fix masking out of the most significant byte of random value used.
39265
6e226b09
DM
39266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39267
058c132d
AS
392682012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39269
39270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39271
2d2cd515
DM
392722012-03-09 David S. Miller <davem@davemloft.net>
39273
39274 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39275 variables with appropriate CPP guards.
57f41c40
AS
39276 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39277 from the frame pointer, not the stack pointer. Correct layout
39278 comments. Fix test on resulting framesize and the management of
39279 the outregs buffer for pltexit. Preserve floating point return
39280 values across _dl_call_pltexit call.
2d2cd515
DM
39281 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39282 framesize and the management of the outregs buffer for pltexit.
39283 Preserve floating point return values across _dl_call_pltexit
39284 call.
57f41c40
AS
39285 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39286 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39287 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39288 (print_exit): Fix format string for return register value.
39289
9a07f9d0
JM
392902012-03-10 Joseph Myers <joseph@codesourcery.com>
39291
39292 * sunrpc/Makefile (others): Add rpcgen.
39293 ($(objpfx)rpcgen): Remove special build rule and dependency on
39294 libc.
39295 * sunrpc/rpcgen.c: New file.
39296
547b5e30
PE
392972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39298
c524201a
PE
39299 [BZ #13673]
39300 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39301 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39302 * sysdeps/i386/crti.S: Likewise.
39303 * sysdeps/i386/crtn.S: Likewise.
39304 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39305 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39306 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39307 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39308 * sysdeps/sh/crti.S: Likewise.
39309 * sysdeps/sh/crtn.S: Likewise.
39310 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39311
7b6235f2
PE
39312 [BZ #13673]
39313 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39314 with URL.
39315 * locale/programs/locfile-kw.gperf: Likewise.
39316 * locale/programs/charmap-kw.h: Regenerated.
39317 * locale/programs/locfile-kw.h: Likewise.
39318
547b5e30
PE
39319 [BZ #13673]
39320 * intl/plural.y: Replace FSF snail mail address with URL.
39321 * intl/plural.c: Regenerated.
39322
5f0a5dae
RH
393232012-03-09 Richard Henderson <rth@twiddle.net>
39324
39325 * include/math_private.h: Remove file.
39326 * math/math_private.h: Move file ...
39327 * sysdeps/generic/math_private.h: ... here.
39328
b8c03620
RH
39329 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39330 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39331 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39332
4e234f5d 39333 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39334 and <math_private.h>.
39335 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39336 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39337 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39338 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39339 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39340 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39341 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39342 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39343 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39344 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39346 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39347 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39349 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39350 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39351 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39352 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39353 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39354 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39356 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39357 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39359 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39360 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39361 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39362 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39365 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39366 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39367 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39368 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39369 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39370 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39371 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39372 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39373 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39374 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39375 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39376 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39377 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39378 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39379 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39380 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39381 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39382 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39383 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39384 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39385 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39386 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39387 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39388 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39389 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39390 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39391 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39392 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39393 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39394 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39401 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39402 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39403 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39406 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39407 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39408 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39409 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39413 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39415 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39423 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39424 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39425 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39426 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39427 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39428 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39429 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39430 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39431 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39432 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39433 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39434 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39435 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39436 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39437 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39438 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39439 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39440 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39441 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39442 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39443 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39444 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39445 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39446 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39447 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39448 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39449 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39450 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39451 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39452 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39453 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39454 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39455 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39456 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39457 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39458 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39459 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39460 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39461 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39462 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39463 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39464 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39465 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39466 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39467 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39468 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39469 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39470 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39471 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39472 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39473 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39474 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39475 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39476 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39477 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39478 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39479 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39480 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39481 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39482 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39483 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39484 * sysdeps/ieee754/k_standard.c: Likewise.
39485 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39486 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39487 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39488 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39489 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39491 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39492 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39493 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39494 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39495 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39496 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39497 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39498 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39499 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39500 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39501 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39502 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39503 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39504 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39505 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39506 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39507 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39508 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39509 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39510 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39511 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39512 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39513 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39514 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39515 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39516 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39517 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39518 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39519 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39520 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39521 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39522 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39523 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39524 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39525 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39526 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39527 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39528 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39529 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39530 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39531 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39533 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39534 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39541 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39548 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39552 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39555 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39562 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39564 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39565 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39566 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39568 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39569 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39571 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39572 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39573 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39574 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39597 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39599 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39600 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39604 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39605 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39607 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39608 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39609 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39610 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39611 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39612 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39613 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39615 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39617 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39626 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39627 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39628 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39630 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39633 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39634 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39635 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39637 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39638 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39639 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39640 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39641 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39642 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39643 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39644 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39645 * sysdeps/ieee754/s_lib_version.c: Likewise.
39646 * sysdeps/ieee754/s_matherr.c: Likewise.
39647 * sysdeps/ieee754/s_signgam.c: Likewise.
39648 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39649 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39650 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39651 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39652 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39653 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39654 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39655 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39656 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39657 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39658 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39659 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39660 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39661 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39662 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39663 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39664 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39665 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39666 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39669
1991fa03
JM
396702012-03-09 Joseph Myers <joseph@codesourcery.com>
39671
39672 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39673 * sunrpc/rpc_main.c: Likewise.
39674 * sunrpc/rpc_svcout.c: Likewise.
39675
60d6f5a6
DM
396762012-03-09 David S. Miller <davem@davemloft.net>
39677
39678 * include/math_private.h: New file.
39679
4962050e
JM
396802012-03-09 Joseph Myers <joseph@codesourcery.com>
39681
02a6f887
JM
39682 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39683 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39684 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39685 from <bits/socket_type.h>.
39686 (enum __socket_type): Don't define here.
39687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39689 bits/socket_type.h.
39690
c6e013c1
JM
39691 [BZ #13566]
39692 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39693 checking __USE_GNU.
39694
4962050e
JM
39695 * Makerules ($(inst_includedir)/%.h): New rule.
39696 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39697 (install-others): Remove variable setting.
39698 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39699
38842f45
RH
397002012-03-08 Richard Henderson <rth@twiddle.net>
39701
67bb6da6
RH
39702 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39703 from macro to inline function; merge with the
39704 !__LIBC_INTERNAL_MATH_INLINES version.
39705 (__ieee754_sqrtf): Likewise.
39706
15194b4b
RH
39707 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39708 to inline function.
39709 (__rintf, __floor, __floorf): Likewise.
39710
64e21ede
RH
39711 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39712 macro to inline function.
39713 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39714
38842f45
RH
39715 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39716 not <math/math_private.h>.
39717
c64bf5fe
DM
397182012-03-08 David S. Miller <davem@davemloft.net>
39719
39720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39721 copyright year.
39722 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39723
82d86f28
TS
397242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39725
39726 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39727 normalization.
39728 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39729 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39730
aea5d727
UD
397312012-03-08 Ulrich Drepper <drepper@gmail.com>
39732
39733 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39734 be defined individually, they must be defined as a block. Define
39735 S for printing a string instead of hidint the different by using a
39736 macro for adding the 'l'.
39737 * stdio-common/tst-fphex-wide.c: Adjust.
39738
70bca0a3
MP
397392012-03-07 Marek Polacek <polacek@redhat.com>
39740
39741 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39742
65b81130
MP
397432012-03-08 Marek Polacek <polacek@redhat.com>
39744
39745 [BZ #13806]
39746 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39747 * stdio-common/tst-fphex.c: Define a few macros to make the
39748 test reusable. Use them.
39749 * stdio-common/tst-fphex-wide.c: New file.
39750
07037eeb
JM
397512012-03-08 Joseph Myers <joseph@codesourcery.com>
39752
a7a93d50
JM
39753 [BZ #6911]
39754 * manual/macros.texi (gnusystems): New macro.
39755 (nongnusystems): Likewise.
39756 (gnulinuxhurdsystems): Likewise.
39757 (gnuhurdsystems): Likewise..
39758 (gnulinuxsystems): Likewise.
39759 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39760 variants of the GNU system, not "GNU system".
39761 * manual/conf.texi: Likewise.
39762 * manual/errno.texi: Likewise. Update example of errno macro
39763 expansion.
39764 * manual/filesys.texi: Likewise.
39765 (getumask): Document as specific to GNU/Hurd.
39766 * manual/install.texi: Likewise. Reword some references to
39767 GNU/Linux.
39768 * manual/intro.texi: Likewise.
39769 * manual/io.texi: Likewise.
39770 (File Name Portability): Detail which constraints are inapplicable
39771 to all GNU systems and which are only inapplicable to GNU/Hurd.
39772 * manual/job.texi: Likewise.
39773 * manual/llio.texi: Likewise.
39774 (O_NOCTTY): Document as present on GNU/Linux.
39775 * manual/maint.texi: Likewise.
39776 * manual/memory.texi: Likewise.
39777 * manual/pattern.texi: Likewise.
39778 * manual/pipe.texi: Likewise.
39779 * manual/process.texi: Likewise.
39780 * manual/resource.texi: Likewise.
39781 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39782 child on GNU/Hurd.
39783 * manual/setjmp.texi: Likewise.
39784 * manual/signal.texi: Likewise.
39785 * manual/startup.texi: Likewise.
39786 * manual/stdio.texi: Likewise.
39787 * manual/terminal.texi: Likewise.
39788 (ONLCR): Document as POSIX.
39789 (OXTABS): Document availability on GNU/Linux as XTABS.
39790 (ONOEOT): Document availability separately from other bits.
39791 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39792 * manual/time.texi: Likewise.
39793 * manual/users.texi: Likewise.
39794 * INSTALL: Regenerated.
39795 * sysdeps/gnu/errlist.c: Regenerated.
39796
07037eeb
JM
39797 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39798 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39799 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39800 puts.
39801 * configure: Regenerated.
39802
d1d3431a
JM
398032012-03-07 Joseph Myers <joseph@codesourcery.com>
39804
af6a1e37
JM
39805 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39806 default includes instead of AC_HEADER_CHECK.
39807 * sysdeps/i386/configure: Regenerated.
39808
d1d3431a
JM
39809 [BZ #10716]
39810 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39811 * math/s_cacoshf.c (__cacoshf): Likewise.
39812 * math/s_cacoshl.c (__cacoshl): Likewise.
39813 * math/s_casinh.c (__casinh): Set signs of result from argument.
39814 * math/s_casinhf.c (__casinhf): Likewise.
39815 * math/s_casinhl.c (__casinhl): Likewise.
39816 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39817 (casinh_test): Add more tests.
39818 * sysdeps/i386/fpu/libm-test-ulps: Update.
39819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39820
482ff4da
UD
398212012-03-07 Ulrich Drepper <drepper@gmail.com>
39822
872fda05
UD
39823 * po/zh_TW.po: Update from translation team.
39824
a4300c7a
UD
39825 * login/Makefile (distribute): Remove variable.
39826 * catgets/Makefile: Likewise.
39827 * mach/Makefile: Likewise.
39828 * malloc/Makefile: Likewise.
39829 * misc/Makefile: Likewise.
39830 * iconv/Makefile: Likewise.
39831 * nscd/Makefile: Likewise.
39832 * hurd/Makefile: Likewise.
39833 * manual/Makefile: Likewise.
39834 * locale/Makefile: Likewise.
39835 * intl/Makefile: Likewise.
39836 * conform/Makefile: Likewise.
39837 * nss/Makefile: Likewise.
39838 * time/Makefile: Likewise.
39839 * soft-fp/Makefile: Likewise.
39840 * dirent/Makefile: Likewise.
39841 * gmon/Makefile: Likewise.
39842 * po/Makefile: Likewise.
39843 * rt/Makefile: Likewise.
39844 * socket/Makefile: Likewise.
39845 * math/Makefile: Likewise.
39846 * signal/Makefile: Likewise.
39847 * debug/Makefile: Likewise.
39848 * elf/Makefile: Likewise.
39849 * timezone/Makefile: Likewise.
39850 * stdlib/Makefile: Likewise.
39851 * iconvdata/Makefile: Likewise.
39852 * sunrpc/Makefile: Likewise.
39853 * io/Makefile: Likewise.
39854 * argp/Makefile: Likewise.
39855 * inet/Makefile: Likewise.
39856 * hesiod/Makefile: Likewise.
39857 * grp/Makefile: Likewise.
39858 * csu/Makefile: Likewise.
39859 * wctype/Makefile: Likewise.
39860 * crypt/Makefile: Likewise.
39861 * libio/Makefile: Likewise.
39862 * string/Makefile: Likewise.
39863 * nis/Makefile: Likewise.
39864 * resolv/Makefile: Likewise.
39865 * stdio-common/Makefile: Likewise.
39866 * wcsmbs/Makefile: Likewise.
39867 * dlfcn/Makefile: Likewise.
39868 * posix/Makefile: Likewise.
39869
3b7c4e74 39870 [BZ #6959]
482ff4da
UD
39871 * timezone/Makefile: Don't install timezone files, just the programs
39872 and scripts.
39873
f72ed77d
UD
398742012-03-06 Ulrich Drepper <drepper@gmail.com>
39875
a000466f
UD
39876 * nss/databases.def: Add missing gshadow entry.
39877
f72ed77d
UD
39878 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39879
a53b7a4e
MP
398802012-03-06 Marek Polacek <polacek@redhat.com>
39881
39882 [BZ #13726]
39883 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39884 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39885 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39886 * stdio-common/tst-long-dbl-fphex.c: New file.
39887
e9258400
DM
398882012-03-06 David S. Miller <davem@davemloft.net>
39889
39890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39891 (set_obp_int): New function.
39892 (get_obp_int): New function.
39893 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39894 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39895 Avoid unused variable warnings on 'val' and use builtin_expect.
39896 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39897 __builtin_expect.
e9258400
DM
39898 (INLINE_CLONE_SYSCALL): Likewise.
39899
3bd2c723
DM
399002012-03-05 David S. Miller <davem@davemloft.net>
39901
39902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39903
bbb78d03
AS
399042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39905
884c5db4
AS
39906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39907
bbb78d03
AS
39908 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39909 only for |x| >= 40.
39910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39911
1c9f702a 399122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39913
39914 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39915 Replace gettimeofday with __vdso_gettimeofday.
39916
7be16f82
RM
39917 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39918 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39919 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39920
39921 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39922 time with __vdso_time.
39923
ed58a00f
JM
399242012-03-05 Joseph Myers <joseph@codesourcery.com>
39925
39926 * manual/lang.texi (size_t): Note types to which size_t may be
39927 equivalent with the GNU C Library, but do not describe when
39928 differences between them are significant.
39929
30ee4ced
AJ
399302012-03-05 Andreas Jaeger <aj@suse.de>
39931
39932 * sysdeps/i386/fpu/libm-test-ulps: Update.
39933
b7cd39e8
JM
399342012-03-05 Joseph Myers <joseph@codesourcery.com>
39935
39936 [BZ #3976]
39937 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39938 (__ieee754_pow): Save and restore rounding mode and use
39939 round-to-nearest for main computations.
39940 * math/libm-test.inc (pow_test_tonearest): New function.
39941 (pow_test_towardzero): Likewise.
39942 (pow_test_downward): Likewise.
39943 (pow_test_upward): Likewise.
39944 (main): Call the new functions.
39945 * sysdeps/i386/fpu/libm-test-ulps: Update.
39946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39947
39948 [BZ #3976]
39949 * math/libm-test.inc (cosh_test_tonearest): New function.
39950 (cosh_test_towardzero): Likewise.
39951 (cosh_test_downward): Likewise.
39952 (cosh_test_upward): Likewise.
39953 (sinh_test_tonearest): Likewise.
39954 (sinh_test_towardzero): Likewise.
39955 (sinh_test_downward): Likewise.
39956 (sinh_test_upward): Likewise.
39957 (main): Call the new functions.
39958 * sysdeps/i386/fpu/libm-test-ulps: Update.
39959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39960
6c6a98c9
TV
399612012-03-05 Tom de Vries <tom@codesourcery.com>
39962
39963 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39964 default stack guard is set in last bytes.
39965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39966
21bb2d2e 399672012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39968
21bb2d2e 39969 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39970
21bb2d2e
AJ
39971 [BZ #13656]
39972 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39973 possibly allocate from heap instead of stack.
39974 * stdio-common/bug-vfprintf-nargs.c: New file.
39975 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39976
c6922934
AS
399772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39978
39979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39980
bc957d53
MP
399812012-03-03 Marek Polacek <polacek@redhat.com>
39982
39983 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39984 * math/math_private.h: Likewise.
39985 * stdlib/tst-strtod.c: Likewise.
39986 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39987 * sysdeps/x86_64/bits/atomic.h: Likewise.
39988
6358490d
DM
399892012-03-02 David S. Miller <davem@davemloft.net>
39990
39991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39995 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39996 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39997 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39998 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39999
01ae168d
RM
400002012-03-02 Roland McGrath <roland@hack.frob.com>
40001
d9a17c07
RM
40002 [BZ #13792]
40003 * manual/examples/README: New file, says the example source files
40004 can be used under GPL>=2.
40005 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40006 line containing just "*/".
40007 * manual/examples/add.c: Add copyright header (GPL>=2).
40008 * manual/examples/argp-ex1.c: Likewise.
40009 * manual/examples/argp-ex2.c: Likewise.
40010 * manual/examples/argp-ex3.c: Likewise.
40011 * manual/examples/argp-ex4.c: Likewise.
40012 * manual/examples/atexit.c: Likewise.
40013 * manual/examples/db.c: Likewise.
40014 * manual/examples/dir.c: Likewise.
40015 * manual/examples/dir2.c: Likewise.
40016 * manual/examples/execinfo.c: Likewise.
40017 * manual/examples/filecli.c: Likewise.
40018 * manual/examples/filesrv.c: Likewise.
40019 * manual/examples/fmtmsgexpl.c: Likewise.
40020 * manual/examples/genpass.c: Likewise.
40021 * manual/examples/inetcli.c: Likewise.
40022 * manual/examples/inetsrv.c: Likewise.
40023 * manual/examples/isockad.c: Likewise.
40024 * manual/examples/longopt.c: Likewise.
40025 * manual/examples/memopen.c: Likewise.
40026 * manual/examples/memstrm.c: Likewise.
40027 * manual/examples/mkfsock.c: Likewise.
40028 * manual/examples/mkisock.c: Likewise.
40029 * manual/examples/mygetpass.c: Likewise.
40030 * manual/examples/pipe.c: Likewise.
40031 * manual/examples/popen.c: Likewise.
40032 * manual/examples/rprintf.c: Likewise.
40033 * manual/examples/search.c: Likewise.
40034 * manual/examples/select.c: Likewise.
40035 * manual/examples/setjmp.c: Likewise.
40036 * manual/examples/sigh1.c: Likewise.
40037 * manual/examples/sigusr.c: Likewise.
40038 * manual/examples/stpcpy.c: Likewise.
40039 * manual/examples/strdupa.c: Likewise.
40040 * manual/examples/strftim.c: Likewise.
40041 * manual/examples/strncat.c: Likewise.
40042 * manual/examples/subopt.c: Likewise.
40043 * manual/examples/swapcontext.c: Likewise.
40044 * manual/examples/termios.c: Likewise.
40045 * manual/examples/testopt.c: Likewise.
40046 * manual/examples/testpass.c: Likewise.
40047 * manual/examples/timeval_subtract.c: Likewise.
40048
01ae168d
RM
40049 [BZ #13792]
40050 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40051 function to ...
40052 * manual/timeval_subtract.c.texi: ... here, new file.
40053
49efa33d
DM
400542012-03-02 David S. Miller <davem@davemloft.net>
40055
40056 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40057
28afd92d
JM
400582012-03-02 Joseph Myers <joseph@codesourcery.com>
40059
804360ed
JM
40060 [BZ #3976]
40061 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40062 (__sin): Save and restore rounding mode and use round-to-nearest
40063 for all computations.
40064 (__cos): Save and restore rounding mode and use round-to-nearest
40065 for all computations.
40066 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40067 <fenv.h>.
40068 (tan): Save and restore rounding mode and use round-to-nearest for
40069 all computations.
40070 * math/libm-test.inc (cos_test_tonearest): New function.
40071 (cos_test_towardzero): Likewise.
40072 (cos_test_downward): Likewise.
40073 (cos_test_upward): Likewise.
40074 (sin_test_tonearest): Likewise.
40075 (sin_test_towardzero): Likewise.
40076 (sin_test_downward): Likewise.
40077 (sin_test_upward): Likewise.
40078 (tan_test_tonearest): Likewise.
40079 (tan_test_towardzero): Likewise.
40080 (tan_test_downward): Likewise.
40081 (tan_test_upward): Likewise.
40082 (main): Call the new functions.
40083 * sysdeps/i386/fpu/libm-test-ulps: Update.
40084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40085
a6d06d7b
JM
40086 [BZ #10135]
40087 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40088 small n, then large n, before computing and testing k+n.
40089 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40091 Likewise.
40092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40093 Likewise.
40094 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40095 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40096 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40097 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40098 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40099 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40100 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40101 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40102 * math/libm-test.inc (scalbn_test): Add more tests.
40103 (scalbln_test): Likewise.
40104
07e12bb3
JM
40105 * manual/filesys.texi (mode_t): Describe constraints on size and
40106 signedness, not exact equivalence to a particular type.
40107 (ino_t): Likewise.
40108 (ino64_t): Likewise.
40109 (dev_t): Likewise.
40110 (nlink_t): Likewise.
40111 (blkcnt_t): Likewise.
40112 (blkcnt64_t): Likewise.
40113 * manual/llio.texi (off_t): Likewise.
40114
28afd92d
JM
40115 [BZ #3976]
40116 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40117 (__ieee754_exp): Save and restore rounding mode and use
40118 round-to-nearest for all computations.
40119 * math/libm-test.inc (exp_test_tonearest): New function.
40120 (exp_test_towardzero): Likewise.
40121 (exp_test_downward): Likewise.
40122 (exp_test_upward): Likewise.
40123 (main): Call the new functions.
40124 * sysdeps/i386/fpu/libm-test-ulps: Update.
40125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40126
b1eeb65d
CD
401272012-03-01 Chris Demetriou <cgd@google.com>
40128
40129 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40130 have predictable order.
40131
53362a4b
DM
401322012-03-01 David S. Miller <davem@davemloft.net>
40133
3c969083
DM
40134 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40135
759707de
DM
40136 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40137 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40138 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40139 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40140
dfdb8ff2
DM
40141 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40142 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40143 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40145 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40146 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40147 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40148 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40149 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40150
ead89f96
DM
40151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40152
7f66bd07
DM
40153 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40154 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40155 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40156
53362a4b
DM
40157 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40158 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40159 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40160 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40161 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40162 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40164 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40165 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40166 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40167 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40170 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40171 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40173 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40174 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40175 * sysdeps/sparc/elf/configure: Regenerated.
40176
7b1902cb
JM
401772012-03-01 Joseph Myers <joseph@codesourcery.com>
40178
bec039bc
JM
40179 * configure.in (AS, LD): Require binutils 2.20 or later.
40180 * configure: Regenerated.
40181 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40182 as required minimum version.
40183 * INSTALL: Regenerated.
40184
7b1902cb
JM
40185 [BZ #2541]
40186 [BZ #4108]
40187 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40188 before squaring exponent.
40189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40190 bottom long double and 27 bits of top long double before squaring
40191 exponent.
40192 * math/libm-test.inc (erfc_test): Add more tests.
40193 * sysdeps/i386/fpu/libm-test-ulps: Update.
40194 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40196
f775c276
KT
401972012-03-01 Kai Tietz <ktietz@redhat.com>
40198
40199 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40200 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40201 containing bit-fields.
40202 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40203 * soft-fp/single.h (_FP_UNION_S): Likewise.
40204 * soft-fp/double.h (_FP_UNION_D): Likewise.
40205
5b8a4d4a
JM
402062012-02-29 Joseph Myers <joseph@codesourcery.com>
40207
0bab47b6
JM
40208 [BZ #13786]
40209 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40210 not include ../strcmp.S.
40211 [USE_AS_STRNCASECMP_L]: Likewise.
40212 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40213 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40214 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40215 (__strncasecmp_l_ia32): Define as alias to
40216 __strncasecmp_l_nonascii.
40217
0fcad3e2
JM
40218 [BZ #5794]
40219 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40220 * sysdeps/i386/fpu/libm-test-ulps: Update.
40221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40222
5b8a4d4a
JM
40223 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40225
8fdceb2e
JL
402262012-02-29 Jeff Law <law@redhat.com>
40227
40228 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40229 out of bounds read.
40230
1f393a11
MP
402312012-02-29 Marek Polacek <polacek@redhat.com>
40232
40233 [BZ #13706]
40234 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40235 * elf/Makefile: Add rules to run tst-unused-dep.out.
40236
8847f037
DM
402372012-02-28 David S. Miller <davem@davemloft.net>
40238
40239 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40240 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40241 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40243 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40244 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40245
169d7f11
JM
402462012-02-29 Joseph Myers <joseph@codesourcery.com>
40247
40248 * math/libm-test.inc (llround_test): Move one test from
40249 lround_test. Use TEST_f_L in moved test.
40250 (lround_test): Move misplaced test to llround_test. Add testcase
40251 from bug 2561.
40252
39adf059
UD
402532012-02-28 Ulrich Drepper <drepper@gmail.com>
40254
40255 * sysdeps/x86_64/fpu/e_expf.S: New file.
40256 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40257
71b5d1c5
SB
402582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40259
40260 [BZ #13637]
40261 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40262 of remain_len that may cause incomplete multi-byte character and
40263 false match.
40264 * posix/bug-regex33.c: New file.
40265 * posix/Makefile (tests): Add bug-regex33.
40266
1f77f049
JM
402672012-02-28 Joseph Myers <joseph@codesourcery.com>
40268
40269 * manual/macros.texi: New file.
40270 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40271 * manual/libc.texinfo: Include macros.texi.
40272 * manual/creatute.texi: Likewise.
40273 * manual/install.texi: Likewise.
40274 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40275 @glibcadj{} in references to the GNU C Library.
40276 * manual/charset.texi: Likewise.
40277 * manual/conf.texi: Likewise.
40278 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40279 when not using those macros.
40280 * manual/creature.texi: Likewise.
40281 * manual/crypt.texi: Likewise.
40282 * manual/errno.texi: Likewise.
40283 * manual/filesys.texi: Likewise.
40284 * manual/header.texi: Likewise.
40285 * manual/install.texi: Likewise.
40286 * manual/intro.texi: Likewise.
40287 * manual/io.texi: Likewise.
40288 * manual/job.texi: Likewise.
40289 * manual/lang.texi: Likewise.
40290 * manual/libc.texiinfo: Likewise.
40291 * manual/llio.texi: Likewise.
40292 * manual/locale.texi: Likewise.
40293 * manual/maint.texi: Likewise.
40294 * manual/math.texi: Likewise.
40295 * manual/memory.texi: Likewise.
40296 * manual/message.texi: Likewise.
40297 * manual/nss.texi: Likewise.
40298 * manual/pattern.texi: Likewise.
40299 * manual/process.texi: Likewise.
40300 * manual/resource.texi: Likewise.
40301 * manual/search.texi: Likewise.
40302 * manual/setjmp.texi: Likewise.
40303 * manual/signal.texi: Likewise.
40304 * manual/socket.texi: Likewise.
40305 * manual/startup.texi: Likewise.
40306 * manual/stdio.texi: Likewise.
40307 * manual/string.texi: Likewise.
40308 * manual/sysinfo.texi: Likewise.
40309 * manual/syslog.texi: Likewise.
40310 * manual/terminal.texi: Likewise.
40311 * manual/time.texi: Likewise.
40312 * manual/users.texi: Likewise.
40313 * INSTALL: Regenerated.
40314 * NOTES: Regenerated.
d40c5d54 40315 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40316
450bf206
AS
403172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40318
40319 * include/dirent.h: Include <dirstream.h> before
40320 <dirent/dirent.h>.
40321
741a235b
DM
403222012-02-28 David S. Miller <davem@davemloft.net>
40323
40324 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40325 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40326 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40327 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40328
d6b5aa58
DM
403292012-02-27 David S. Miller <davem@davemloft.net>
40330
1aff59a3
DM
40331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40333 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40334 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40335
d6b5aa58
DM
40336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40337 frame pointer instead of stack pointer relative arg slot.
40338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40339 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40340 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40341
433f48bf
CD
403422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40343
40344 [BZ #3992]
40345 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40346
d674b76d
DM
403472012-02-27 David S. Miller <davem@davemloft.net>
40348
40349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40353 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40354 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40355 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40356 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40357
0e7727f7
JM
403582012-02-27 Joseph Myers <joseph@codesourcery.com>
40359
40360 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40361 later. Allow versions 5-9.
43be4ca2 40362 * configure: Regenerated.
0e7727f7
JM
40363 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40364 required minimum version and 4.6 as recommended version. Do not
40365 mention bugs in GCC 2.7 and 2.8.
43be4ca2 40366 * INSTALL: Regenerated.
0e7727f7 40367
a78bc654
DM
403682012-02-27 David S. Miller <davem@davemloft.net>
40369
428d5830
DM
40370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40374 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40375 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40376 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40377 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40378
a78bc654
DM
40379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40380 manipulate bits before adding and subtracting TWO112[sx].
40381 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40382
4579f81c
RM
403832012-02-27 Roland McGrath <roland@hack.frob.com>
40384
36c8acb4
RM
40385 [BZ #13775]
40386 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40387 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40388 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40389 being in POSIX, because they are in 1003.1-2008.
40390
84ad622b
RM
40391 * rt/tst-aio.c: Include <fcntl.h>.
40392 * rt/tst-aio7.c: Likewise.
40393 * rt/tst-aio64.c: Likewise.
40394
4579f81c
RM
40395 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40396
abd923db
JM
403972012-02-27 Joseph Myers <joseph@codesourcery.com>
40398
40399 * manual/install.texi (--with-headers): Describe headers as
40400 interface headers, not private headers.
40401 (Specific advice for GNU/Linux systems): Describe use of headers
40402 from "make headers_install", not private headers from older
40403 kernels.
43be4ca2 40404 * INSTALL: Regenerated.
abd923db
JM
40405 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40406 Change to 2.6.19.
40407 * sysdeps/unix/sysv/linux/configure: Regenerated.
40408
6664049b
JM
40409 * manual/llio.texi (fclean): Remove documentation.
40410
bb8b6697
JM
40411 * manual/Makefile (libc-texi-generated): New variable. Include
40412 version.texi.
40413 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40414 $(libc-texi-generated), not duplicated list of files.
40415 (version.texi, stamp-version): New rules.
40416 (realclean): Remove $(libc-texi-generated), not individual files
40417 from that list. Do not remove dir-add.texinfo.
40418 * manual/libc.texinfo: Comment out uses of edition numbers and
40419 references to printed manual. Remove last-updated dates.
40420 (EDITION): Comment out.
40421 (ISBN): Likewise.
40422 (VERSION, UPDATED): Remove.
40423 (version.texi): Include.
40424
12e5c3b9
AS
404252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40426
40427 * sysdeps/posix/spawni.c: Include <signal.h>.
40428 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40429 * sysdeps/pthread/aio_fsync.c: Likewise.
40430
4efeffc1 404312012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 40432
ba63ba08
UD
40433 * conform/Makefile (tests): Run only when not cross-compiling and
40434 when fast-check is not defined.
40435
d94a4670
UD
40436 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40437 * conform/data/limits.h-data: Fixes for POSIX2008.
40438 * conform/run-conformtest.sh: Run all tests.
40439 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40440 headers.
40441 * include/bits/dlfcn.h: Likewise.
40442 * include/langinfo.h: Likewise.
40443 * include/monetary.h: Likewise.
40444 * include/sys/poll.h: Likewise.
40445
40446 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40447 for __USE_GNU.
40448 * posix/spawn.h: Define __need_sigset_t.
40449 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40450 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40451 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40452 to get sigevent_t only.
40453 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40454 only for __USE_GNU.
40455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40456 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40457 process_vm_writev only for __USE_GNU.
40458 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
40459
40460 * conform/Makefile: For now ignore errors from run-conformtest.
40461 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40462 POSIX to avoid namespace pollution. Don't prepend headers.
40463 * conform/data/aio.h-data: Fixes for POSIX testing.
40464 * conform/data/fcntl.h-data: Likewise.
40465 * conform/data/glob.h-data: Likewise.
40466 * conform/data/grp.h-data: Likewise.
40467 * conform/data/pthread.h-data: Likewise.
40468 * conform/data/pwd.h-data: Likewise.
40469 * conform/data/signal.h-data: Likewise.
40470 * conform/data/spawn.h-data: Likewise.
40471 * conform/data/stdio.h-data: Likewise.
40472 * conform/data/stdlib.h-data: Likewise.
40473 * conform/data/stropts.h-data: Likewise.
40474 * conform/data/sys/mman.h-data: Likewise.
40475 * conform/data/sys/stat.h-data: Likewise.
40476 * conform/data/sys/types.h-data: Likewise.
40477 * conform/data/sys/wait.h-data: Likewise.
40478 * conform/data/time.h-data: Likewise.
40479 * conform/data/unistd.h-data: Likewise.
40480 * conform/data/utime.h-data: Likewise.
40481
40482 * io/sys/stat.h: fchmod was always in POSIX.
40483 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40484 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40485 * rt/aio.h: Define __need_timespec before including <time.h>.
40486 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40487 struct. Add forward declaration of pthread_attr_t and use it in
40488 sigevent.
40489 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40490 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40491 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40492 always remove CLK_TCK definition.
40493
c20105c3
AS
404942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40495
40496 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40497
7a270350
UD
404982012-02-25 Ulrich Drepper <drepper@gmail.com>
40499
31341567
UD
40500 * conform/run-conformtest.sh: New file.
40501 * conform/Makefile: Run run-conformtest for tests.
40502 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40503 support.
40504
40505 * conform/data/uchar.h-data: New file.
40506 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40507 * conform/data/arpa/inet.h-data: Likewise.
40508 * conform/data/assert.h-data: Likewise.
40509 * conform/data/complex.h-data: Likewise.
40510 * conform/data/cpio.h-data: Likewise.
40511 * conform/data/ctype.h-data: Likewise.
40512 * conform/data/dirent.h-data: Likewise.
40513 * conform/data/dlfcn.h-data: Likewise.
40514 * conform/data/errno.h-data: Likewise.
40515 * conform/data/fcntl.h-data: Likewise.
40516 * conform/data/float.h-data: Likewise.
40517 * conform/data/fmtmsg.h-data: Likewise.
40518 * conform/data/fnmatch.h-data: Likewise.
40519 * conform/data/ftw.h-data: Likewise.
40520 * conform/data/glob.h-data: Likewise.
40521 * conform/data/grp.h-data: Likewise.
40522 * conform/data/iconv.h-data: Likewise.
40523 * conform/data/inttypes.h-data: Likewise.
40524 * conform/data/langinfo.h-data: Likewise.
40525 * conform/data/libgen.h-data: Likewise.
40526 * conform/data/limits.h-data: Likewise.
40527 * conform/data/locale.h-data: Likewise.
40528 * conform/data/math.h-data: Likewise.
40529 * conform/data/monetary.h-data: Likewise.
40530 * conform/data/mqueue.h-data: Likewise.
40531 * conform/data/ndbm.h-data: Likewise.
40532 * conform/data/net/if.h-data: Likewise.
40533 * conform/data/netdb.h-data: Likewise.
40534 * conform/data/netinet/in.h-data: Likewise.
40535 * conform/data/nl_types.h-data: Likewise.
40536 * conform/data/poll.h-data: Likewise.
40537 * conform/data/pthread.h-data: Likewise.
40538 * conform/data/pwd.h-data: Likewise.
40539 * conform/data/regex.h-data: Likewise.
40540 * conform/data/sched.h-data: Likewise.
40541 * conform/data/search.h-data: Likewise.
40542 * conform/data/semaphore.h-data: Likewise.
40543 * conform/data/setjmp.h-data: Likewise.
40544 * conform/data/signal.h-data: Likewise.
40545 * conform/data/spawn.h-data: Likewise.
40546 * conform/data/stdarg.h-data: Likewise.
40547 * conform/data/stdio.h-data: Likewise.
40548 * conform/data/stdlib.h-data: Likewise.
40549 * conform/data/string.h-data: Likewise.
40550 * conform/data/strings.h-data: Likewise.
40551 * conform/data/stropts.h-data: Likewise.
40552 * conform/data/sys/ipc.h-data: Likewise.
40553 * conform/data/sys/mman.h-data: Likewise.
40554 * conform/data/sys/msg.h-data: Likewise.
40555 * conform/data/sys/resource.h-data: Likewise.
40556 * conform/data/sys/select.h-data: Likewise.
40557 * conform/data/sys/sem.h-data: Likewise.
40558 * conform/data/sys/shm.h-data: Likewise.
40559 * conform/data/sys/socket.h-data: Likewise.
40560 * conform/data/sys/stat.h-data: Likewise.
40561 * conform/data/sys/statvfs.h-data: Likewise.
40562 * conform/data/sys/time.h-data: Likewise.
40563 * conform/data/sys/timeb.h-data: Likewise.
40564 * conform/data/sys/times.h-data: Likewise.
40565 * conform/data/sys/types.h-data: Likewise.
40566 * conform/data/sys/uio.h-data: Likewise.
40567 * conform/data/sys/un.h-data: Likewise.
40568 * conform/data/sys/utsname.h-data: Likewise.
40569 * conform/data/sys/wait.h-data: Likewise.
40570 * conform/data/syslog.h-data: Likewise.
40571 * conform/data/tar.h-data: Likewise.
40572 * conform/data/termios.h-data: Likewise.
40573 * conform/data/utime.h-data: Likewise.
40574 * conform/data/utmpx.h-data: Likewise.
40575 * conform/data/varargs.h-data: Likewise.
40576 * conform/data/wchar.h-data: Likewise.
40577 * conform/data/wctype.h-data: Likewise.
40578 * conform/data/wordexp.h-data: Likewise.
40579
40580 * include/stropts.h: New file.
40581 * include/uchar.h: New file.
40582 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40583 * include/assert.h: Likewise.
40584 * include/ctype.h: Likewise.
40585 * include/dirent.h: Likewise.
40586 * include/dlfcn.h: Likewise.
40587 * include/fcntl.h: Likewise.
40588 * include/fnmatch.h: Likewise.
40589 * include/glob.h: Likewise.
40590 * include/grp.h: Likewise.
40591 * include/libio.h: Likewise.
40592 * include/locale.h: Likewise.
40593 * include/math.h: Likewise.
40594 * include/net/if.h: Likewise.
40595 * include/netdb.h: Likewise.
40596 * include/netinet/in.h: Likewise.
40597 * include/pthread.h: Likewise.
40598 * include/pwd.h: Likewise.
40599 * include/regex.h: Likewise.
40600 * include/sched.h: Likewise.
40601 * include/search.h: Likewise.
40602 * include/setjmp.h: Likewise.
40603 * include/signal.h: Likewise.
40604 * include/stdio.h: Likewise.
40605 * include/stdlib.h: Likewise.
40606 * include/string.h: Likewise.
40607 * include/sys/cdefs.h: Likewise.
40608 * include/sys/mman.h: Likewise.
40609 * include/sys/msg.h: Likewise.
40610 * include/sys/resource.h: Likewise.
40611 * include/sys/select.h: Likewise.
40612 * include/sys/socket.h: Likewise.
40613 * include/sys/stat.h: Likewise.
40614 * include/sys/statvfs.h: Likewise.
40615 * include/sys/time.h: Likewise.
40616 * include/sys/times.h: Likewise.
40617 * include/sys/uio.h: Likewise.
40618 * include/sys/utsname.h: Likewise.
40619 * include/sys/wait.h: Likewise.
40620 * include/termios.h: Likewise.
40621 * include/time.h: Likewise.
40622 * include/ulimit.h: Likewise.
40623 * include/unistd.h: Likewise.
40624 * include/utime.h: Likewise.
40625 * include/wchar.h: Likewise.
40626 * include/wctype.h: Likewise.
40627 * include/wordexp.h: Likewise.
40628
40629 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40630
7a270350
UD
40631 * time/time.h: TIME_UTC must be a macro.
40632 Make timespec_get available for ISO C11 only as well.
40633
7724defc
UD
406342012-02-24 Ulrich Drepper <drepper@gmail.com>
40635
40636 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40637 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40638
6b1d1d46
JM
406392012-02-24 Joseph Myers <joseph@codesourcery.com>
40640
40641 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40642
0f8bbd69
JM
406432012-02-24 Joseph Myers <joseph@codesourcery.com>
40644
40645 * manual/texinfo.tex: Update to version 2012-01-19.16.
40646
66ab80bc
JM
406472012-02-24 Joseph Myers <joseph@codesourcery.com>
40648
40649 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40650
74981cc5
RM
406512012-02-24 Roland McGrath <roland@hack.frob.com>
40652
ee968201
RM
40653 [BZ #13738]
40654 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40655 * manual/fdl-1.3.texi: New file.
40656 * manual/fdl-1.1.texi: File removed.
40657
74981cc5
RM
40658 [BZ #13738]
40659 * manual/libc.texinfo (FDL_VERSION): New @set.
40660 Use it for mention of FDL in cover text.
40661 (Documentation License): Use it in @include file name.
40662
7bb764bc
JM
406632012-02-22 Joseph Myers <joseph@codesourcery.com>
40664 Roland McGrath <roland@hack.frob.com>
40665
40666 [BZ #5461]
57f41c40
AS
40667 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40668 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40669 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40670 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40671 name.
40672 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40673
6cbeae47
JM
406742012-02-22 Joseph Myers <joseph@codesourcery.com>
40675
40676 [BZ #2547]
40677 [BZ #11365]
40678 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40679 manipulate bits before adding and subtracting TWO23[sx].
40680 * math/libm-test.inc (nearbyint_test): Add more tests.
40681
fe45ce09
JM
406822012-02-22 Joseph Myers <joseph@codesourcery.com>
40683
40684 [BZ #2548]
40685 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40686 bits before adding and subtracting TWO23[sx].
40687 * math/libm-test.inc (rint_test): Add more tests.
40688 (rint_test_tonearest): Likewise.
40689 (rint_test_towardzero): Likewise.
40690 (rint_test_downward): Likewise.
40691 (rint_test_upward: Likewise.
40692
ff3b3d82
JM
406932012-02-22 Joseph Myers <joseph@codesourcery.com>
40694
40695 [BZ #10110]
40696 * include/stdc-predef.h: New file. Extracted from features.h.
40697 * include/features.h: Include stdc-predef.h.
40698 * Makefile (headers): Add stdc-predef.h.
40699 * CONFORMANCE (Compiler limitations): Update.
40700
ef0aab35
JM
407012012-02-22 Joseph Myers <joseph@codesourcery.com>
40702
40703 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40704
58639409
DM
407052012-02-21 David S. Miller <davem@davemloft.net>
40706
40707 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40708 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40709
c0e70b25
DM
407102012-02-20 David S. Miller <davem@davemloft.net>
40711
40712 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40713 using a normal save/restore sequence, rather than allocating a
40714 dummy stack frame just to store a frame pointer and restore.
40715 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40716
fb06851d
JM
407172012-02-21 Joseph Myers <joseph@codesourcery.com>
40718
40719 * manual/install.texi: Fix stray word in line-wrapped comment.
40720
7a8b71c3
DM
407212012-02-20 David S. Miller <davem@davemloft.net>
40722
d510c123
DM
40723 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40724 both binutils and gcc support GOTDATA.
40725
0722d7c2
DM
40726 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40727 "rd %pc" in the PIC register setup sequences.
40728
3d2b3019
DM
40729 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40730 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40731 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40732 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40733 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40735 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40736 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40738 (SYSCALL_ERROR_HANDLER): Likewise.
40739 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40740 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40742 (SYSCALL_ERROR_HANDLER): Likewise.
40743
c80098a9
DM
40744 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40745 (HAVE_GCC_GOTDATA): New.
40746 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40747 relocation support in both binutils and gcc.
40748 * sysdeps/sparc/elf/configure: Regenerate.
40749
3a2545a0
DM
40750 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40751 * sysdeps/sparc/sparc32/elf/configure: Delete.
40752 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40753 * sysdeps/sparc/sparc64/elf/configure: Delete.
40754 * sysdeps/sparc/elf/configure.in: New file.
40755 * sysdeps/sparc/elf/configure: Generate.
40756
7a8b71c3
DM
40757 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40758 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40759 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40760 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40761 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40762
f1e86fca
JM
407632012-02-21 Joseph Myers <joseph@codesourcery.com>
40764
40765 * manual/install.texi: Do not mention specific glibc version
40766 numbers.
40767 * manual/libc.texinfo (VERSION, UPDATED): Update.
40768 (@copying): Use @copyright{} and range of years.
40769
0e7dfaef
JM
407702012-02-21 Joseph Myers <joseph@codesourcery.com>
40771
40772 [BZ #13695]
40773 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40774 [crti.S not in sysdirs] (generated): Do not append.
40775 [crti.S not in sysdirs] (omit-deps): Likewise.
40776 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40777 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40778 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40779 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40780 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40781 Likewise.
40782 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40783 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40784 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40785 * csu/defs.awk: Remove file.
40786 * sysdeps/generic/initfini.c: Likewise.
40787 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40788 variable.
40789 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40790 Likewise.
40791
599af3ca
JM
407922012-02-20 Joseph Myers <joseph@codesourcery.com>
40793
40794 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40795 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40796 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40797 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40798 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40799 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40800 <bits/epoll.h>.
40801 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40802 (__EPOLL_PACKED): Define to empty if not defined by
40803 <bits/epoll.h>.
40804 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40806 bits/epoll.h.
40807
0e499750
JM
408082012-02-20 Joseph Myers <joseph@codesourcery.com>
40809
40810 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40811 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40812 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40813 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40814 <bits/timerfd.h>.
40815 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40817 bits/timerfd.h.
40818
5ad91f6e
JM
408192012-02-20 Joseph Myers <joseph@codesourcery.com>
40820
40821 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40822 in C locale.
40823 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40824 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40825 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40827
06b99b02
AJ
408282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40829
40830 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40831 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40832
7638c0fd
AS
408332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40834
40835 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40836 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40837 defined.
40838 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40839 Likewise.
40840 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40841 entry for 2.16.
40842
92221550
AJ
408432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40844
40845 * math/w_acos.c: Use non-signaling floating-point comparisons.
40846 * math/w_acosf.c: Likewise.
40847 * math/w_acosh.c: Likewise.
40848 * math/w_acoshf.c: Likewise.
40849 * math/w_acoshl.c: Likewise.
40850 * math/w_acosl.c: Likewise.
40851 * math/w_asin.c: Likewise.
40852 * math/w_asinf.c: Likewise.
40853 * math/w_asinl.c: Likewise.
40854 * math/w_atanh.c: Likewise.
40855 * math/w_atanhf.c: Likewise.
40856 * math/w_atanhl.c: Likewise.
40857 * math/w_exp2.c: Likewise.
40858 * math/w_exp2f.c: Likewise.
40859 * math/w_exp2l.c: Likewise.
40860 * math/w_j0.c: Likewise.
40861 * math/w_j0f.c: Likewise.
40862 * math/w_j0l.c: Likewise.
40863 * math/w_j1.c: Likewise.
40864 * math/w_j1f.c: Likewise.
40865 * math/w_j1l.c: Likewise.
40866 * math/w_jn.c: Likewise.
40867 * math/w_jnf.c: Likewise.
40868 * math/w_log.c: Likewise.
40869 * math/w_log10.c: Likewise.
40870 * math/w_log10f.c: Likewise.
40871 * math/w_log10l.c: Likewise.
40872 * math/w_log2.c: Likewise.
40873 * math/w_log2f.c: Likewise.
40874 * math/w_log2l.c: Likewise.
40875 * math/w_logf.c: Likewise.
40876 * math/w_logl.c: Likewise.
40877 * math/w_sqrt.c: Likewise.
40878 * math/w_sqrtf.c: Likewise.
40879 * math/w_sqrtl.c: Likewise.
40880 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40881 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40882 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40883 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40884 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40885
ebaf36eb
JM
408862012-02-19 Joseph Myers <joseph@codesourcery.com>
40887
40888 [BZ #9739]
40889 * manual/string.texi (strnlen): Use correct parameter name in
40890 equivalent expression.
40891
71c254a6
JM
408922012-02-19 Joseph Myers <joseph@codesourcery.com>
40893
40894 [BZ #11174]
40895 * manual/users.texi (seteuid): Consistently use neweuid for
40896 argument name.
40897
16d2c631
JM
408982012-02-19 Joseph Myers <joseph@codesourcery.com>
40899
40900 [BZ #13704]
40901 * manual/nss.texi (Services in the NSS configuration): Correct
40902 list of services in example configuration file.
40903
cd837b09
NB
409042012-02-19 Nick Bowler <nbowler@draconx.ca>
40905
40906 [BZ #11322]
40907 * manual/arith.texi: Remove statements about negative zero
40908 behaving identically to zero.
40909
02c4bbad
JM
409102012-02-18 Joseph Myers <joseph@codesourcery.com>
40911
40912 [BZ #5993]
40913 * manual/install.texi: Do not document upgrading from libc5.
40914
366842e7
JM
409152012-02-18 Joseph Myers <joseph@codesourcery.com>
40916
40917 [BZ #4596]
40918 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40919
dd54084d
DM
409202012-02-18 David S. Miller <davem@davemloft.net>
40921
40922 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40923 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40924 %o7 across the call.
40925 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40926 instead.
40927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40928 SETUP_PIC_REG_LEAF.
40929 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40930 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40931 * sysdeps/sparc/crtn.S: Likewise.
40932
2bcc53a3
UD
409332012-02-17 Ulrich Drepper <drepper@gmail.com>
40934
40935 * aout/Makefile: Remove.
40936
09c093b5
RK
409372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40938
40939 [BZ #13058]
40940 * manual/examples/argp-ex1.c (main): Format definition in GNU
40941 style.
40942 * manual/examples/argp-ex2.c (main): Likewise.
40943 * manual/examples/argp-ex3.c (main): Likewise.
40944 * manual/examples/argp-ex4.c (main): Likewise.
40945 * manual/examples/longopt.c (main): Use new-style prototype
40946 definition.
40947 * manual/examples/strncat.c (main): Specify return type and use
40948 (void) for arguments.
40949 * manual/examples/subopt.c (main): Use char **argv argument.
40950
2ee633a2
JM
409512012-02-17 Joseph Myers <joseph@codesourcery.com>
40952
40953 [BZ #5077]
40954 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40955 rounding modes.
40956
0520adde
FB
409572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40958
40959 [BZ #6907]
40960 * manual/string.texi (strchr): Change when strchrnul is
40961 recommended.
40962
3f4081cd
DGM
409632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40964
40965 [BZ #174]
40966 * manual/locale.texi (setlocale): Document LOCPATH.
40967
d1b10e78
JM
409682012-02-17 Joseph Myers <joseph@codesourcery.com>
40969
40970 [BZ #10210]
40971 * manual/process.texi (execle): Move @dots{} before last argument.
40972
79c6869c
PB
409732012-02-17 Paul Bolle <pebolle@tiscali.nl>
40974
40975 [BZ #12047]
40976 * manual/charset.texi (Generic Charset Conversion): Fix typo
40977 (LC_TYPE -> LC_CTYPE).
40978
cc6e48bc
NB
409792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40980
40981 [BZ #5805]
40982 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40983 (scalbnf): Likewise.
40984 (scalbnl): Likewise.
40985 (scalbln): Likewise.
40986 (scalblnf): Likewise.
40987 (scalblnl): Likewise.
40988 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40989 (vwarnx): Likewise.
40990 (verr): Likewise.
40991 (verrx): Likewise.
40992 * manual/filesys.texi (telldir): Use braces around return type.
40993 * manual/llio.texi (mmap): Add space after comma.
40994 (mmap64): Likewise.
40995 * manual/math.texi (jn): Use @var{} on parameter names.
40996 (jnf): Likewise.
40997 (jnl): Likewise.
40998 (yn): Likewise.
40999 (ynf): Likewise.
41000 (ynl): Likewise.
41001 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41002 line.
41003 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41004 "...".
41005 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41006 (sched_get_priority_max): Likewise.
41007 * manual/signal.texi (sigvec): Add space after comma.
41008 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41009 names.
41010 (if_indextoname): Likewise.
41011 (if_freenameindex): Likewise.
41012 (sendto): Use ',' instead of '.' in prototype.
41013 * manual/startup.texi (syscall): Use @dots{} instead of literal
41014 "...".
41015 * manual/stdio.texi (__fpending): Separate initial words of
41016 paragraph from @deftypefun line.
41017 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41018 "...".
41019 (vsyslog): Use @var{} on parameter names.
41020 * manual/terminal.texi (stty): Use @var{} on parameter names.
41021 * manual/users.texi (getutmp): Use @var{} on parameter names.
41022 (getutmpx): Likewise.
41023
5b23062f
JM
410242012-02-17 Joseph Myers <joseph@codesourcery.com>
41025
41026 [BZ #6884]
41027 * manual/stdio.texi (fopen): Fix typos in description of
41028 ",ccs=STRING".
41029
8dee4833
AJ
410302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41031
41032 [BZ #4026]
41033 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41034 get clock_id definition.
41035
9078ce93
TS
410362012-02-17 Thomas Schwinge <thomas@schwinge.name>
41037
41038 [BZ #4822]
41039 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41040 (madvise): Cast every argument to void on its own.
41041
3835c55f
JM
410422012-02-17 Joseph Myers <joseph@codesourcery.com>
41043
41044 [BZ #9902]
41045 * manual/startup.texi (Exit Status): Fix typo.
41046
35c47e37
JM
410472012-02-17 Joseph Myers <joseph@codesourcery.com>
41048
41049 [BZ #10140]
41050 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41051 * manual/examples/argp-ex2.c: Likewise.
41052 * manual/examples/argp-ex3.c: Likewise.
41053
e3b69ca7
RH
410542012-02-16 Richard Henderson <rth@redhat.com>
41055
41056 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41057 * sysdeps/s390/s390-32/initfini.c: Remove.
41058 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41059 * sysdeps/s390/s390-64/initfini.c: Remove.
41060
df83af67
KK
410612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41062
41063 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41064 compiler output for sysdeps/generic/initfini.c.
41065 * sysdeps/sh/elf/initfini.c: Remove file.
41066
f63f3380
DM
410672012-02-16 David S. Miller <davem@davemloft.net>
41068
fb59b3a4
DM
41069 [BZ #11494]
41070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41071
f63f3380
DM
41072 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41073 * sysdeps/sparc/crti.S: New file.
41074 * sysdeps/sparc/crtn.S: New file.
41075 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41076 * sysdeps/sparc/sparc64/Makefile: Likewise.
41077
df6a4a4a
MF
410782012-02-15 Mike Frysinger <vapier@gentoo.org>
41079
6dd8f3dc 41080 [BZ #3335]
df6a4a4a
MF
41081 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41082
1cac7236
RM
410832012-02-15 Roland McGrath <roland@hack.frob.com>
41084
d2c736f8
RM
41085 [BZ #4822]
41086 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41087
1cac7236
RM
41088 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41089 (write, read, close): Likewise.
41090 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41091
8e475601
JM
410922012-02-15 Joseph Myers <joseph@codesourcery.com>
41093
41094 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41095 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41096 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41097 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41098 <bits/signalfd.h>.
41099 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41101 bits/signalfd.h.
41102
ed656b40
MP
411032012-02-14 Marek Polacek <polacek@redhat.com>
41104
41105 * sysdeps/x86_64/crti.S: New file.
41106 * sysdeps/x86_64/crtn.S: New file.
41107 * sysdeps/x86_64/elf/initfini.c: Remove file.
41108
2a979d3a
JM
411092012-02-13 Joseph Myers <joseph@codesourcery.com>
41110
41111 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41112 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41113 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41114 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41115 <bits/inotify.h>.
41116 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41118 bits/inotify.h.
41119
2a418ac3
JM
411202012-02-13 Joseph Myers <joseph@codesourcery.com>
41121
41122 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41123 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41124 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41125 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41126 <bits/eventfd.h>.
41127 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41129 bits/eventfd.h.
41130
fb779be7
TS
411312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41132
e19e83c5
RM
41133 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41134 __feraiseexcept instead of feraiseexcept.
7c35ffed 41135
fb779be7
TS
41136 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41137 nanosleep invocations.
41138 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41139 strings, and add error checking for a nanosleep invocations.
41140
59ba27a6
PE
411412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41142
41143 Replace FSF snail mail address with URLs, as per GNU coding standards.
41144 Most of the snail mail addresses were wrong anyway, and omitting
41145 them makes the source code easier to maintain. Almost all of the
41146 changes are to license notices and to locale LC_IDENTIFICATION
41147 addresses, except for this one:
41148 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41149 not its snail mail address.
41150
57b957eb
RH
411512012-02-09 Richard Henderson <rth@twiddle.net>
41152
af850b1c
RH
41153 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41154 of kernel-features.h.
41155
57b957eb
RH
41156 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41157
6b73181a
MP
411582012-02-08 Marek Polacek <polacek@redhat.com>
41159
41160 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41161 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41162 * sysdeps/gnu/_G_config.h: Likewise.
41163 * sysdeps/generic/_G_config.h: Likewise.
41164
26ecc33a
AS
411652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41166
6c6dbc63
AS
41167 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41168 tests.
41169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41170
e216c012
AS
41171 * sysdeps/powerpc/powerpc32/crti.S: New file.
41172 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41173 * sysdeps/powerpc/powerpc64/crti.S: New file.
41174 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41175
26ecc33a
AS
41176 * Makeconfig (have-initfini): Don't set.
41177 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41178 * configure.in (nopic_initfini): Don't substitute.
41179 * config.h.in (HAVE_INITFINI): Don't #undef.
41180 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41181 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41182
3add8e13
JM
411832012-02-08 Joseph Myers <joseph@codesourcery.com>
41184
41185 Support crti.S and crtn.S provided directly by architectures.
41186 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41187 [crti.S in sysdirs] (omit-deps): Likewise.
41188 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41189 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41190 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41191 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41192 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41193 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41194 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41195 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41196 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41197 compiler output for sysdeps/generic/initfini.c.
41198 * sysdeps/i386/elf/Makefile: Remove file.
41199 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41200
a22f12b4
MP
412012012-02-07 Marek Polacek <polacek@redhat.com>
41202
41203 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41204 * sysdeps/gnu/_G_config.h: Likewise.
41205 * sysdeps/mach/hurd/_G_config.h: Likewise.
41206
148cf100
MP
412072012-02-07 Marek Polacek <polacek@redhat.com>
41208
41209 * math/Makefile (tests): Add tst-CMPLX2.
41210 * math/tst-CMPLX2.c: New file.
41211
cfdc0dd7
AS
412122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41213
84ba42c4
AS
41214 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41215
cfdc0dd7
AS
41216 * math/libm-test.inc (jn_test): Add missing L suffix.
41217
622c86f4
MP
412182012-02-06 Marek Polacek <polacek@redhat.com>
41219
41220 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41221 * sysdeps/i386/fpu/e_powf.S: Likewise.
41222 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41223 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41224 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41225 * sysdeps/i386/fpu/e_pow.S: Likewise.
41226 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41227 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41228 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41229 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41230 * sysdeps/i386/fpu/e_log2.S: Likewise.
41231 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41232 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41233 * sysdeps/i386/fpu/e_powl.S: Likewise.
41234 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41235 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41236 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41237 * sysdeps/i386/fpu/e_logl.S: Likewise.
41238 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41239 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41240 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41241 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41242 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41243 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41244 * sysdeps/i386/fpu/e_log.S: Likewise.
41245 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41246 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41247 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41248 * sysdeps/i386/fpu/e_logf.S: Likewise.
41249 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41250 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41251 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41252 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41253 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41254 * sysdeps/i386/fpu/e_log10.S: Likewise.
41255 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41256 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41257 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41258 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41259 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41260 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41261 * sysdeps/i386/asm-syntax.h: Likewise.
41262 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41264 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41265 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41266 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41267 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41268 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41269 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41270 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41271 * sysdeps/powerpc/sysdep.h: Likewise.
41272 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41273 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41274
d4a54ac6
JM
412752012-02-06 Joseph Myers <joseph@codesourcery.com>
41276
41277 [BZ #411]
41278 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41279
314054ea
JM
412802012-02-06 Joseph Myers <joseph@codesourcery.com>
41281
41282 * sysdeps/i386/sysdep.h: Include <features.h>.
41283 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41284 version.
41285
d8e0ca50
JM
412862012-02-05 Joseph Myers <joseph@codesourcery.com>
41287
41288 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41289 Define.
41290 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41291 LOAD_PIC_REG_STR.
41292
b1da7dd9
JM
412932012-02-03 Joseph Myers <joseph@codesourcery.com>
41294
41295 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41296 (SETUP_PIC_REG): Use GET_PC_THUNK.
41297 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41298 macro.
41299
9a1d9254
JM
413002012-02-03 Joseph Myers <joseph@codesourcery.com>
41301
41302 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41303 for non-PIC compilation.
41304 (SETUP_PIC_REG): Add .p2align directive.
41305 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41306 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41307 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41308 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41309 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41310 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41311 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41312 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41313 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41314 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41315 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41316 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41317 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41318 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41319 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41320 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41321 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41322 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41323 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41324 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41325 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41326 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41327 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41328 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41331 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41332 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41333 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41334 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41335 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41336 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41337 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41338 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41339 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41340 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41341 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41342 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41343 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41344 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41345 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41346
65dc3b75
JM
413472012-02-03 Joseph Myers <joseph@codesourcery.com>
41348
41349 * math/tst-CMPLX.c: Include <stdio.h>.
41350
d55bf177
JM
413512012-01-31 Joseph Myers <joseph@codesourcery.com>
41352
41353 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41354 float.
41355 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41356 * sysdeps/sparc/bits/mathdef.h: Likewise.
41357
69db4f8f
MP
413582012-01-31 Marek Polacek <polacek@redhat.com>
41359
41360 * libio/libio.h: Don't define _PARAMS.
41361 * locale/programs/config.h: Don't define PARAMS.
41362 * stdlib/strtol_l.c: Likewise.
41363 (__strtol_l): Remove PARAMS from the prototype.
41364
41b81892
UD
413652012-01-31 Ulrich Drepper <drepper@gmail.com>
41366
3b49edc0
UD
41367 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41368 names. Just use the correct names. Remove unnecessary wrapper
41369 functions.
41370 * malloc/arena.c: Likewise.
41371 * malloc/hooks.c: Likewise.
41372
41b81892
UD
41373 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41374 ARENA_TEST says not to. Simplify test for creation of a new arena.
41375 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41376
27a25b6e
UD
413772012-01-30 Ulrich Drepper <drepper@gmail.com>
41378
41379 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41380 into tail calls.
41381 (update_get_addr): New function.
41382 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41383 GET_ADDR_MODULE parameter.
41384
c8a89e7d
JM
413852012-01-30 Joseph Myers <joseph@codesourcery.com>
41386
41387 * crypt/cert.c: Remove __STDC__ conditionals.
41388 * crypt/crypt-entry.c: Likewise.
41389 * crypt/crypt_util.c: Likewise.
41390 * libio/filedoalloc.c: Likewise.
41391 * libio/fileops.c: Likewise.
41392 * libio/genops.c: Likewise.
41393 * libio/iofclose.c: Likewise.
41394 * libio/iofdopen.c: Likewise.
41395 * libio/iofopen.c: Likewise.
41396 * libio/iofopen64.c: Likewise.
41397 * libio/iogetdelim.c: Likewise.
41398 * libio/iopopen.c: Likewise.
41399 * libio/obprintf.c: Likewise.
41400 * libio/oldfileops.c: Likewise.
41401 * libio/oldiofclose.c: Likewise.
41402 * libio/oldiofdopen.c: Likewise.
41403 * libio/oldiofopen.c: Likewise.
41404 * libio/oldiopopen.c: Likewise.
41405 * libio/wfiledoalloc.c: Likewise.
41406 * libio/wgenops.c: Likewise.
41407 * locale/programs/xmalloc.c: Likewise.
41408 * misc/syslog.c: Likewise.
41409 * stdio-common/xbug.c: Likewise.
41410 * string/memchr.c: Likewise.
41411 * string/memcmp.c: Likewise.
41412 * string/memrchr.c: Likewise.
41413 * string/rawmemchr.c: Likewise.
41414 * sysdeps/posix/getcwd.c: Likewise.
41415 * time/strftime_l.c: Likewise.
41416
3b100462
JM
414172012-01-30 Joseph Myers <joseph@codesourcery.com>
41418
41419 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
41420 * config.make.in (config-cflags-sse2avx): Define.
41421 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41422 Fix typo.
41423
607998af
CM
414242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41425
41426 * scripts/config.guess: Update from upstream config git repository.
41427 * scripts/config.sub: Likewise.
41428
3601428f
CM
414292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41430
3ac8b282
CM
41431 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41432 (EM_NUM): Update.
41433 (R_TILEPRO_*, R_TILEGX_*): New macros.
41434
e034841e
CM
41435 * scripts/firstversions.awk: Fix bug in version range handling.
41436
540d7568
CM
41437 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41438
3601428f
CM
41439 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41440
463de862
CM
41441 * include/sys/epoll.h: New file.
41442 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41443 libc_hidden_def.
41444
73139a76
UD
414452012-01-28 Ulrich Drepper <drepper@gmail.com>
41446
96bc5b45
UD
41447 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41448 Avoid unnecessary __WORDSIZE == 64 test.
41449 (fmaxf): Use VEX format if possible.
41450 (fmax): Likewise.
41451 (fminf): Likewise.
41452 (fmin): Likewise.
41453
56f6f6a2
UD
41454 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41455 * math/math_private.h: Remove libc_fegetround* and
41456 libc_fesetround*.
41457 * sysdeps/i386/configure.in: Check for -msse2avx.
41458 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41459 also if SSE2AVX is defined.
41460 Remove libc_fegetround* and libc_fesetround*.
41461 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41462 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41463 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41464 of HAS_YMM_USABLE.
41465 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41466 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41467 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41468 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41469 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41470
73139a76
UD
41471 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41472
d73f93a4
AZ
414732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41474
41475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41476 size is not set.
41477 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41478
6ee65ed6
UD
414792012-01-27 Ulrich Drepper <drepper@gmail.com>
41480
41481 [BZ #13618]
41482 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41483 relocation.
41484 * Makeconfig (libm): Define.
41485 * elf/Makefile: Add rules to build and run tst-relsort1.
41486 * elf/tst-relsort1.c: New file.
41487 * elf/tst-relsort1mod1.c: New file.
41488 * elf/tst-relsort1mod2.c: New file.
41489
8db21882
JM
414902012-01-27 Joseph Myers <joseph@codesourcery.com>
41491
41492 * math/s_ldexp.c: Remove __STDC__ conditionals.
41493 * math/s_ldexpf.c: Likewise.
41494 * math/s_ldexpl.c: Likewise.
41495 * math/s_nextafter.c: Likewise.
41496 * math/s_nexttowardf.c: Likewise.
41497 * math/s_significand.c: Likewise.
41498 * math/s_significandf.c: Likewise.
41499 * math/s_significandl.c: Likewise.
41500 * math/w_jnl.c: Likewise.
41501 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41502 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41503 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41504 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41505 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41507 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41508 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41509 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41510 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41511 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41512 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41513 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41514 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41515 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41516 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41517 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41518 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41519 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41520 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41521 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41522 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41523 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41524 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41525 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41526 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41527 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41528 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41529 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41530 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41531 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41532 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41533 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41534 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41535 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41536 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41537 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41538 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41539 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41540 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41541 * sysdeps/ieee754/k_standard.c: Likewise.
41542 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41543 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41544 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41545 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41546 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41547 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41548 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41549 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41550 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41551 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41552 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41553 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41554 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41555 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41556 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41557 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41558 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41559 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41560 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41561 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41562 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41563 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41564 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41565 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41566 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41567 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41571 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41572 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41573 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41574 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41575 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41577 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41578 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41579 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41580 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41581 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41582 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41584 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41585 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41586 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41587 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41588 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41589 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41590 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41591 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41592 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41593 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41594 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41595 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41597 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41598 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41599 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41600 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41601 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41602 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41603 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41604 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41605 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41606 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41607 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41608 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41609 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41610 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41611 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41612 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41613 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41614 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41615 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41616 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41617 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41618 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41619 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41620 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41621 * sysdeps/ieee754/s_matherr.c: Likewise.
41622 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41623 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41626
965a54a4
JM
416272012-01-26 Joseph Myers <joseph@codesourcery.com>
41628
41629 * crypt/md5.h: Remove __STDC__ conditionals.
41630 * libio/libioP.h: Likewise.
41631 * locale/programs/config.h: Likewise.
41632 * sysdeps/generic/sysdep.h: Likewise.
41633 * sysdeps/i386/asm-syntax.h: Likewise.
41634 * sysdeps/s390/asm-syntax.h: Likewise.
41635 * sysdeps/unix/sysdep.h: Likewise.
41636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41638
7071ad79
JM
416392012-01-26 Joseph Myers <joseph@codesourcery.com>
41640
41641 * libio/libio.h: Remove __STDC__ conditionals.
41642 * malloc/obstack.h: Likewise.
41643 * math/complex.h: Likewise.
41644 * math/math.h: Likewise.
41645 * sysdeps/generic/_G_config.h: Likewise.
41646 * sysdeps/gnu/_G_config.h: Likewise.
41647 * sysdeps/mach/hurd/_G_config.h: Likewise.
41648 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41649 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41650 * sysdeps/sparc/bits/mathdef.h: Likewise.
41651
afc5ed09
UD
416522012-01-26 Ulrich Drepper <drepper@gmail.com>
41653
41654 [BZ #13583]
41655 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41656 Clean up HAS_* macros.
afc5ed09 41657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41658 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41659 possible.
41660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41661 HAS_AVX.
41662 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41663 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41664 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41665 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41667
bdb6de1d
JM
416682012-01-25 Joseph Myers <joseph@codesourcery.com>
41669
41670 * elf/tst-unique3.cc (gets): Remove declaration.
41671 * elf/tst-unique3lib.cc (gets): Likewise.
41672 * elf/tst-unique3lib2.cc (gets): Likewise.
41673 * elf/tst-unique4.cc (gets): Likewise.
41674
b15549e6
UD
416752012-01-24 Ulrich Drepper <drepper@gmail.com>
41676
41677 * include/stdio.h: Add C++ protection. Add gets declarations and
41678 definitions.
41679 * debug/tst-chk1.c: Don't declare gets here.
41680 * stdio-common/tst-gets.c: Likewise.
41681
a037381f
JM
416822012-01-24 Joseph Myers <joseph@codesourcery.com>
41683
41684 * posix/glob: Remove directory.
41685
f1d4aa75
JM
416862012-01-24 Joseph Myers <joseph@codesourcery.com>
41687
41688 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41689
81c0c964
PT
416902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41691
41692 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41693 of the non-standard EPFNOSUPPORT.
41694
0ea698ae
ST
416952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41696
41697 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41698 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41699 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41700
d220b117
UD
417012012-01-21 Ulrich Drepper <drepper@gmail.com>
41702
41703 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41704
3e1aa84e
UD
417052012-01-20 Ulrich Drepper <drepper@gmail.com>
41706
41707 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41708 transient errors.
41709 * nscd/grpcache.c (cache_addgr): Likewise.
41710 * nscd/hstcache.c (cache_addhst): Likewise.
41711 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41712 * nscd/pwdcache.c (cache_addpw): Likewise.
41713 * nscd/servicescache.c (cache_addserv): Likewise.
41714
400aa020
UD
417152012-01-16 Ulrich Drepper <drepper@gmail.com>
41716
d77e7869
UD
41717 * malloc/malloc.c: Various cleanups.
41718 * malloc/hooks.c: Likewise.
41719
400aa020
UD
41720 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41721 * stdlib/bug-fmtmsg1.c: New file.
41722
41723 * stdlib/fmtmsg.c (init): Add missing unlock.
41724 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41725
e0a309cf
MP
417262012-01-12 Marek Polacek <polacek@redhat.com>
41727
41728 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41729 and _GNU_SOURCE.
41730
929d11c7
WS
417312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41732
41733 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41734 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41735 macro to ensure uniqueness of label name.
41736 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41737 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41738
41d0e869
UD
417392012-01-11 Ulrich Drepper <drepper@gmail.com>
41740
0cc5ed3b
UD
41741 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41742
41d0e869
UD
41743 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41744 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41745 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41746 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41747
a47a831a
UD
417482012-01-10 Ulrich Drepper <drepper@gmail.com>
41749
daa891c0
UD
41750 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41751
41752 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41753 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41754 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41755
e58ef0f2
UD
41756 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41757
a47a831a 41758 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41759 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41760 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41761 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41762
41763 * math/bits/math-finite.h: Add ldexp support.
41764
a0bfc9c7
MP
417652012-01-10 Marek Polacek <polacek@redhat.com>
41766
41767 * locale/programs/localedef.h (show_archive_content): Add noreturn
41768 attribute.
41769
d6e97a1d
UD
417702012-01-09 Ulrich Drepper <drepper@gmail.com>
41771
41772 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41773
d5835c26
UD
417742012-01-08 Ulrich Drepper <drepper@gmail.com>
41775
e5f484c6
UD
41776 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41777
d5835c26
UD
41778 * io/Makefile (headers): Add bits/poll2.h.
41779
d1f741e9
WS
417802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41781
41782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41783 typo #include statement.
41784
ec09c1c4
UD
417852012-01-08 Ulrich Drepper <drepper@gmail.com>
41786
41787 * include/sys/cdefs.h: Define __attribute_alloc_size.
41788 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41789 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41790 * elf/pldd.c: Likewise.
41791 * iconv/iconv_charmap.c: Likewise.
41792 * iconv/iconvconfig.c: Likewise.
41793 * iconv/strtab.c: Likewise.
41794 * locale/programs/locale.c: Likewise.
41795 * locale/programs/localedef.h: Likewise.
41796 * locale/programs/simple-hash.c: Likewise.
41797 * nscd/nscd.h: Likewise.
41798 * nss/makedb.c: Likewise.
41799 * sysdeps/generic/ldconfig.h: Likewise.
41800 * locale/programs/localedef.c: Remove xmalloc prototype.
41801 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41802
20b38e03
PP
418032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41804
41805 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41806 appropriate.
41807
a0da5fe1
UD
418082012-01-08 Ulrich Drepper <drepper@gmail.com>
41809
1d5a644a 41810 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41811 * math/tst-CMPLX.c: New file.
1d5a644a 41812
8784a6db
UD
41813 * math/complex.h (CMPLXL): Fix typo.
41814
d9a216c0
UD
41815 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41816 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41817 GLIBC_2.16.
41818 * debug/tst-chk1.c: Add poll and ppoll tests.
41819 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41820 * include/sys/poll.h: Add hidden proto for ppoll.
41821 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41822 * sysdeps/mach/hurd/ppoll.c: Likewise.
41823 * io/ppoll.c: Likewise.
41824 * debug/poll_chk.c: New file.
41825 * debug/ppoll_chk.c: New file.
41826 * include/bits/poll2.h: New file.
41827 * io/bits/poll2.h: New file.
41828
ac097f5c
UD
41829 [BZ #1350]
41830 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41831
2119dcfa
UD
41832 * configure.in: static is always set to yes. Remove.
41833 * config.make.in: Don't set build-static.
41834 * Makeconfig: Remove use of build-static.
41835 * dlfcn/Makefile: Likewise.
41836 * elf/Makefile: Likewise.
41837 * math/Makefile: Likewise.
41838 * misc/Makefile: Likewise.
41839 * nptl/Makefile: Likewise.
41840 * sysdeps/mach/hurd/Makefile: Likewise.
41841
121766a9
UD
41842 * configure.in: PWD_P is not used anymore.
41843 * config.make.in: Remove PWD_P entry.
41844
51a1d39c 41845 * configure.in: Remove last remnants of RANLIB.
8720d066 41846 No need to check for signed size_t anymore.
215f4bdc
UD
41847 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41848 and IA-64.
3857022a 41849 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41850 * aclocal.m4: Likewise.
41851
d3ed7225
UD
41852 * wcsmbs/mbrtoc16.c: Implement using towc function.
41853 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41854 * wcsmbs/wcsmbsload.c: Likewise.
41855 * iconv/gconv_simple.c: Likewise.
41856 * iconv/gconv_int.h: Likewise.
41857 * iconv/gconv_builtin.h: Likewise.
41858 * iconv/iconv_prog.c: Remove CHAR16 handling.
41859
41860 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41861
41862 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41863
a0da5fe1
UD
41864 * configure.in: Remove --with-elf and --enable-bounded options.
41865 Dont set base_machine for ia64. More non-ELF conditions removed.
41866 Remove testing and setting of leading underscore information.
41867 * config.make.in (build-bounded): Set to no.
41868 * config.h.in: Remove NO_UNDERSCORES entry.
41869 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41870 them.
41871 * csu/start.c: Remove !NO_UNDERSCORE code.
41872 * locale/localeinfo.h: Likewise.
41873 * sysdeps/generic/machine-gmon.h: Likewise.
41874 * sysdeps/generic/sysdep.h: Likewise.
41875 * sysdeps/i386/sysdep.h: Likewise.
41876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41877 * sysdeps/mach/sysdep.h: Likewise.
41878 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41880 * sysdeps/sh/sysdep.h: Likewise.
41881 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41882 * sysdeps/unix/i386/sysdep.S: Likewise.
41883 * sysdeps/unix/sparc/start.c: Likewise.
41884 * sysdeps/unix/sparc/sysdep.S: Likewise.
41885 * sysdeps/unix/sparc/sysdep.h: Likewise.
41886 * sysdeps/unix/start.c: Likewise.
41887 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41888 * sysdeps/x86_64/sysdep.h: Likewise.
41889
df78418a
UD
418902012-01-07 Ulrich Drepper <drepper@gmail.com>
41891
a784e502
UD
41892 [BZ #13553]
41893 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41894 for non-gcc.
41895 * argp/argp-fmtstream.h: Use const instead __const.
41896 * argp/argp.h: Likewise.
41897 * assert/assert.h: Likewise.
41898 * bits/fenv.h: Likewise.
41899 * bits/sched.h: Likewise.
41900 * bits/sigset.h: Likewise.
41901 * bits/sigthread.h: Likewise.
41902 * catgets/nl_types.h: Likewise.
41903 * conform/data/pthread.h-data: Likewise.
41904 * crypt/crypt-private.h: Likewise.
41905 * crypt/crypt.h: Likewise.
41906 * crypt/crypt_util.c: Likewise.
41907 * ctype/ctype.h: Likewise.
41908 * debug/execinfo.h: Likewise.
41909 * debug/mbsnrtowcs_chk.c: Likewise.
41910 * debug/mbsrtowcs_chk.c: Likewise.
41911 * debug/wcsnrtombs_chk.c: Likewise.
41912 * debug/wcsrtombs_chk.c: Likewise.
41913 * debug/wcstombs_chk.c: Likewise.
41914 * dirent/dirent.h: Likewise.
41915 * dlfcn/dlfcn.h: Likewise.
41916 * elf/neededtest4.c: Likewise.
41917 * grp/grp.h: Likewise.
41918 * gshadow/gshadow.h: Likewise.
41919 * iconv/gconv.h: Likewise.
41920 * iconv/gconv_int.h: Likewise.
41921 * iconv/gconv_simple.c: Likewise.
41922 * iconv/iconv.h: Likewise.
41923 * iconv/loop.c: Likewise.
41924 * iconv/skeleton.c: Likewise.
41925 * include/aio.h: Likewise.
41926 * include/aliases.h: Likewise.
41927 * include/argz.h: Likewise.
41928 * include/arpa/inet.h: Likewise.
41929 * include/assert.h: Likewise.
41930 * include/dirent.h: Likewise.
41931 * include/dlfcn.h: Likewise.
41932 * include/execinfo.h: Likewise.
41933 * include/fcntl.h: Likewise.
41934 * include/fenv.h: Likewise.
41935 * include/glob.h: Likewise.
41936 * include/grp.h: Likewise.
41937 * include/libintl.h: Likewise.
41938 * include/mntent.h: Likewise.
41939 * include/netdb.h: Likewise.
41940 * include/pwd.h: Likewise.
41941 * include/rpc/netdb.h: Likewise.
41942 * include/sched.h: Likewise.
41943 * include/search.h: Likewise.
41944 * include/shadow.h: Likewise.
41945 * include/signal.h: Likewise.
41946 * include/stdio.h: Likewise.
41947 * include/stdlib.h: Likewise.
41948 * include/string.h: Likewise.
41949 * include/sys/socket.h: Likewise.
41950 * include/sys/stat.h: Likewise.
41951 * include/sys/statfs.h: Likewise.
41952 * include/sys/statvfs.h: Likewise.
41953 * include/sys/syslog.h: Likewise.
41954 * include/sys/time.h: Likewise.
41955 * include/sys/uio.h: Likewise.
41956 * include/time.h: Likewise.
41957 * include/unistd.h: Likewise.
41958 * include/utmp.h: Likewise.
41959 * include/wchar.h: Likewise.
41960 * include/wctype.h: Likewise.
41961 * inet/aliases.h: Likewise.
41962 * inet/arpa/inet.h: Likewise.
41963 * inet/netinet/ether.h: Likewise.
41964 * inet/netinet/in.h: Likewise.
41965 * intl/libintl.h: Likewise.
41966 * io/bits/fcntl2.h: Likewise.
41967 * io/fcntl.h: Likewise.
41968 * io/ftw.h: Likewise.
41969 * io/sys/poll.h: Likewise.
41970 * io/sys/stat.h: Likewise.
41971 * io/sys/statfs.h: Likewise.
41972 * io/sys/statvfs.h: Likewise.
41973 * io/utime.h: Likewise.
41974 * libio/bits/stdio.h: Likewise.
41975 * libio/bits/stdio2.h: Likewise.
41976 * libio/libio.h: Likewise.
41977 * libio/libioP.h: Likewise.
41978 * libio/stdio.h: Likewise.
41979 * locale/lc-ctype.c: Likewise.
41980 * locale/locale.h: Likewise.
41981 * login/utmp.h: Likewise.
41982 * malloc/arena.c: Likewise.
41983 * malloc/malloc.c: Likewise.
41984 * malloc/malloc.h: Likewise.
41985 * malloc/mcheck.c: Likewise.
41986 * malloc/mtrace.c: Likewise.
41987 * math/bits/mathcalls.h: Likewise.
41988 * math/fenv.h: Likewise.
41989 * math/math_private.h: Likewise.
41990 * misc/bits/error.h: Likewise.
41991 * misc/bits/syslog.h: Likewise.
41992 * misc/err.h: Likewise.
41993 * misc/error.h: Likewise.
41994 * misc/fstab.h: Likewise.
41995 * misc/mntent.h: Likewise.
41996 * misc/regexp.h: Likewise.
41997 * misc/search.h: Likewise.
41998 * misc/sgtty.h: Likewise.
41999 * misc/sys/mman.h: Likewise.
42000 * misc/sys/syslog.h: Likewise.
42001 * misc/sys/uio.h: Likewise.
42002 * misc/sys/xattr.h: Likewise.
42003 * misc/ttyent.h: Likewise.
42004 * nis/rpcsvc/ypclnt.h: Likewise.
42005 * nss/nss.h: Likewise.
42006 * posix/bits/unistd.h: Likewise.
42007 * posix/fnmatch.h: Likewise.
42008 * posix/glob.h: Likewise.
42009 * posix/sched.h: Likewise.
42010 * posix/spawn.h: Likewise.
42011 * posix/sys/wait.h: Likewise.
42012 * posix/unistd.h: Likewise.
42013 * posix/wordexp.h: Likewise.
42014 * pwd/pwd.h: Likewise.
42015 * resolv/netdb.h: Likewise.
42016 * resource/sys/resource.h: Likewise.
42017 * rt/aio.h: Likewise.
42018 * rt/bits/mqueue2.h: Likewise.
42019 * rt/mqueue.h: Likewise.
42020 * shadow/shadow.h: Likewise.
42021 * signal/signal.h: Likewise.
42022 * socket/send.c: Likewise.
42023 * socket/sendto.c: Likewise.
42024 * socket/sys/socket.h: Likewise.
42025 * stdio-common/printf.h: Likewise.
42026 * stdlib/bits/stdlib.h: Likewise.
42027 * stdlib/fmtmsg.h: Likewise.
42028 * stdlib/monetary.h: Likewise.
42029 * stdlib/stdlib.h: Likewise.
42030 * stdlib/ucontext.h: Likewise.
42031 * streams/stropts.h: Likewise.
42032 * string/argz.h: Likewise.
42033 * string/bits/string2.h: Likewise.
42034 * string/string.h: Likewise.
42035 * string/strings.h: Likewise.
42036 * sunrpc/rpc/auth.h: Likewise.
42037 * sunrpc/rpc/auth_des.h: Likewise.
42038 * sunrpc/rpc/clnt.h: Likewise.
42039 * sunrpc/rpc/netdb.h: Likewise.
42040 * sunrpc/rpc/pmap_clnt.h: Likewise.
42041 * sunrpc/rpc/xdr.h: Likewise.
42042 * sysdeps/generic/inttypes.h: Likewise.
42043 * sysdeps/generic/net/if.h: Likewise.
42044 * sysdeps/generic/sys/swap.h: Likewise.
42045 * sysdeps/gnu/net/if.h: Likewise.
42046 * sysdeps/gnu/utmpx.h: Likewise.
42047 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42048 * sysdeps/i386/i486/bits/string.h: Likewise.
42049 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42050 * sysdeps/s390/bits/string.h: Likewise.
42051 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42052 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42053 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42054 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42055 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42056 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42057 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42058 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42059 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42060 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42061 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42062 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42063 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42064 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42065 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42066 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42067 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42068 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42069 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42070 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42071 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42072 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42073 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42074 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42075 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42076 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42077 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42078 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42079 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42080 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42081 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42082 * sysvipc/sys/ipc.h: Likewise.
42083 * sysvipc/sys/msg.h: Likewise.
42084 * sysvipc/sys/sem.h: Likewise.
42085 * sysvipc/sys/shm.h: Likewise.
42086 * termios/termios.h: Likewise.
42087 * time/sys/time.h: Likewise.
42088 * time/time.h: Likewise.
42089 * wcsmbs/bits/wchar2.h: Likewise.
42090 * wcsmbs/uchar.h: Likewise.
42091 * wcsmbs/wchar.h: Likewise.
42092 * wctype/wctype.h: Likewise.
42093
0269750c
UD
42094 [BZ #13551]
42095 * Makeconfig: Remove all but ELF support including AIX support.
42096 * Makerules: Likewise.
42097 * config.h.in: Likewise.
42098 * config.make.in: Likewise.
42099 * configure: Likewise.
42100 * configure.in: Likewise.
42101 * csu/Makefile: Likewise.
42102 * csu/version.c: Likewise.
42103 * debug/Makefile: Likewise.
42104 * dlfcn/Makefile: Likewise.
42105 * elf/Makefile: Likewise.
42106 * extra-lib.mk: Likewise.
42107 * iconv/Makefile: Likewise.
42108 * include/libc-symbols.h: Likewise.
42109 * include/shlib-compat.h: Likewise.
42110 * resolv/Makefile: Likewise.
42111 * resolv/res_libc.c: Likewise.
42112 * rt/Makefile: Likewise.
42113 * sysdeps/i386/asm-syntax.h: Likewise.
42114 * sysdeps/i386/sysdep.h: Likewise.
42115 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42116 * sysdeps/mach/sysdep.h: Likewise.
42117 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42118 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42119 * sysdeps/s390/asm-syntax.h: Likewise.
42120 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42121 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42122 * sysdeps/sh/sysdep.h: Likewise.
42123 * sysdeps/unix/sparc/sysdep.h: Likewise.
42124 * sysdeps/wordsize-32/divdi3.c: Likewise.
42125 * sysdeps/x86_64/sysdep.h: Likewise.
42126
00bbd29b
UD
42127 * argp/Versions: Remove _argp_unlock_xxx.
42128
42129 [BZ #13559]
42130 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42131 * abilist/libBrokenLocale.abilist: Likewise.
42132 * abilist/libanl.abilist: Likewise.
42133 * abilist/libc.abilist: Likewise.
42134 * abilist/libcrypt.abilist: Likewise.
42135 * abilist/libdl.abilist: Likewise.
42136 * abilist/libm.abilist: Likewise.
42137 * abilist/libnsl.abilist: Likewise.
42138 * abilist/libpthread.abilist: Likewise.
42139 * abilist/libresolv.abilist: Likewise.
42140 * abilist/librt.abilist: Likewise.
42141 * abilist/libthread_db.abilist: Likewise.
42142 * abilist/libutil.abilist: Likewise.
42143 * abilist/libnss_db.abilist: New file.
42144
42145 * scripts/abilist.awk: Add support for indirect functions.
42146
a2693a0e
UD
42147 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42148
3f05895f
UD
42149 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42150
ecb6fb48
UD
42151 * shlib-versions: Remove entries for ports architectures.
42152
664f8cb9
UD
42153 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42154 files in ports.
42155 * elf/stackguard-macros.h: Remove support for IA-64.
42156 * elf/tst-auditmod1.c: Likewise.
42157 * sysdeps/generic/ldsodefs.h: Likewise.
42158
7ae81d88
UD
42159 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42160 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42161 configure files.
42162
bdeba135
UD
42163 [BZ #13552]
42164 * configure.in: Remove --enable-omitfp support.
42165 * FAQ.in: Adjust.
42166 * config.make.in: Likewise.
42167 * Makeconfig: Likewise.
42168 * manual/install.texi: Likewise.
42169
d75a0a62
UD
42170 In case anyone cares, the IA-64 architecture could move to ports.
42171 * sysdeps/ia64/*: Removed.
42172 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42173 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42174
dcc9756b
UD
42175 [BZ #13555]
42176 * configure.in: Remove entries for unsupported architectures.
42177
d3761ebc 42178 [BZ #13533]
9954432e
UD
42179 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42180 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42181 routines.
42182 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42183 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42184 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42185 fall back to using wcrtomb.
42186 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42187 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42188 renaming.
42189 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42190 * wcsmbs/tst-c16c32-1.c: New file.
42191
42192 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42193 local variable.
42194
c3a87236
UD
42195 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42196
28926a1b
UD
42197 * elf/tst-unique3.cc: Add explicit declaration of gets.
42198 * elf/tst-unique3lib.cc: Likewise.
42199 * elf/tst-unique3lib2.cc: Likewise.
42200 * elf/tst-unique4.cc: Likewise.
42201
df78418a
UD
42202 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42203
8ecd6b2a
JM
422042012-01-06 Joseph Myers <joseph@codesourcery.com>
42205
42206 [BZ #13566]
42207 * assert/assert.h (static_assert): Don't define for C++.
42208 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42209 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42210
9f115170
UD
422112012-01-03 Ulrich Drepper <drepper@gmail.com>
42212
5e0d0300
UD
42213 * iconv/loop.c (single loop): Fix assertion in storing of
42214 remaining bytes.
42215
9f115170
UD
42216 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42217
81fb02b0
UD
422182012-01-01 Ulrich Drepper <drepper@gmail.com>
42219
42220 * posix/getconf.c: Update copyright year.
42221 * nss/getent.c: Likewise.
a316c1f6 42222 * nss/makedb.c: Likewise.
81fb02b0
UD
42223 * iconv/iconvconfig.c: Likewise.
42224 * iconv/iconv_prog.c: Likewise.
42225 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42226 * elf/pldd.c: Likewise.
42227 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42228 * catgets/gencat.c: Likewise.
42229 * csu/version.c: Likewise.
42230 * elf/ldd.bash.in: Likewise.
42231 * elf/sprof.c (print_version): Likewise.
42232 * locale/programs/locale.c: Likewise.
42233 * locale/programs/localedef.c: Likewise.
a316c1f6 42234 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42235 * nscd/nscd.c (print_version): Likewise.
42236 * debug/xtrace.sh: Likewise.
42237 * malloc/memusage.sh: Likewise.
42238 * malloc/mtrace.pl: Likewise.
42239 * debug/catchsegv.sh: Likewise.
42240
2ba92745
JJ
422412011-12-30 Jakub Jelinek <jakub@redhat.com>
42242
42243 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42244 pure attribute.
42245
dadebdae
UD
422462011-12-24 Ulrich Drepper <drepper@gmail.com>
42247
d3761ebc 42248 [BZ #13533]
db6af3eb
UD
42249 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42250 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42251 transformations.
42252 * iconv/gconv_int.h: Likewise.
42253 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42254 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42255 from libc for GLIBC_2.16.
42256 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42257 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42258 * wcsmbs/uchar.h: Really define mbstate_t.
42259 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42260 * wcsmbs/c16rtomb.c: New file.
42261 * wcsmbs/mbrtoc16.c: New file.
42262 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42263 for C/POSIX locale.
42264 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42265 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42266
dadebdae
UD
42267 * wcsmbs/wchar.h: Add missing __restrict.
42268
67371b56
UD
422692011-12-23 Ulrich Drepper <drepper@gmail.com>
42270
74033a25
UD
42271 [BZ #13532]
42272 * time/Makefile (routines): Add timespec_get.
42273 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42274 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42275 timespec for ISO C11.
42276 * time/timespec_get.c: New file.
42277 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42278 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42279
380d7e87
UD
42280 [BZ #13531]
42281 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42282 * stdlib/stdlib.h: Declare aligned_alloc.
42283 * Versions.def: Add GLIBC_2.16 for libc.
42284 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42285
4e9e7a35
UD
42286 [BZ 13527]
42287 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42288 ISO C11.
42289
380d7e87 42290 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42291 code.
42292
03a71829
UD
42293 [BZ #13528]
42294 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42295
839e283e
UD
42296 [BZ #13529]
42297 * assert/assert.h (static_assert): Define.
42298
ce5294e2 42299 * version.h: Update for 2.16 development version.
90fa7312 42300
8d44e150 42301 [BZ #13526]
d7809905
UD
42302 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42303 _ISOC11_SOURCE.
42304
c0da14cd
UD
42305 * version.h (RELEASE): Bump for 2.15 release.
42306 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42307
530a3249
MP
42308 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42309 Patch by Marek Polacek <mpolacek@redhat.com>.
42310
67371b56
UD
42311 * bits/byteswap.h: Protect long long constants with __extension__.
42312 * sysdeps/i386/bits/byteswap.h: Likewise.
42313 * sysdeps/ia64/bits/byteswap.h: Likewise.
42314 * sysdeps/s390/bits/byteswap.h: Likewise.
42315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42316
15db4de1
LD
423172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42318
42319 [BZ #13540]
bbe315ea
LD
42320 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42321 destination buffer.
15db4de1
LD
42322 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42323
2b2596b1
MP
423242011-12-23 Marek Polacek <polacek@redhat.com>
42325
42326 * elf/dl-addr.c (determine_info): Add inline keyword.
42327 * elf/tst-auditmod4b.c (check_avx): Likewise.
42328 * elf/tst-auditmod6b.c (check_avx): Likewise.
42329 * elf/tst-auditmod6c.c (check_avx): Likewise.
42330 * elf/tst-auditmod7b.c (check_avx): Likewise.
42331
70c6c246
UD
423322011-12-23 Ulrich Drepper <drepper@gmail.com>
42333
42334 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42335 !__SSE_MATH__.
42336
c044cf14
LD
423372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42338
15db4de1 42339 [BZ #13540]
c044cf14
LD
42340 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42341 processing for last bytes.
42342
6b13d9d9
BH
423432011-08-06 Bruno Haible <bruno@clisp.org>
42344
d455f537
BH
42345 [BZ #13061]
42346 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42347 U+0385, not to U+1FEE.
42348
6b13d9d9
BH
42349 [BZ #13062]
42350 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42351 entry for U+00A5 U+0301.
42352
db910efd
UD
423532011-12-22 Ulrich Drepper <drepper@gmail.com>
42354
27deeafc
UD
42355 [BZ #13166]
42356 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42357 buffer for the output is too small.
42358
aed9d171
UD
42359 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42360 optimization.
42361
db910efd
UD
42362 [BZ #13185]
42363 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42364 SSE flags if possible.
42365
2bd779ae
LD
423662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42367
e7f9dac3 42368 [BZ #13540]
2bd779ae
LD
42369 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42370 processing for last bytes.
42371
154bfc16
JM
423722011-12-22 Joseph Myers <joseph@codesourcery.com>
42373
42374 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42375 (syscall-list-default-options, syscall-list-default-condition)
42376 (syscall-list-includes): Define.
42377 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42378 list of ABIs and options and #if conditions for each ABI. Do not
42379 handle common syscalls between ABIs specially.
42380 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42381 Remove.
42382 (syscall-list-variants, syscall-list-32bit-options)
42383 (syscall-list-32bit-condition, syscall-list-64bit-options)
42384 (syscall-list-64bit-condition): Define.
42385 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42386 (syscall-list-variants, syscall-list-32bit-options)
42387 (syscall-list-32bit-condition, syscall-list-64bit-options)
42388 (syscall-list-64bit-condition): Define.
42389 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42390 Remove.
42391 (syscall-list-variants, syscall-list-32bit-options)
42392 (syscall-list-32bit-condition, syscall-list-64bit-options)
42393 (syscall-list-64bit-condition): Define.
42394 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42395 Remove.
42396 (syscall-list-variants, syscall-list-32bit-options)
42397 (syscall-list-32bit-condition, syscall-list-64bit-options)
42398 (syscall-list-64bit-condition): Define.
42399
21eaf3a5
UD
424002011-12-22 Ulrich Drepper <drepper@gmail.com>
42401
16c6f992
UD
42402 * locale/iso-639.def: Add brx entry.
42403
41043168
UD
42404 [BZ #13328]
42405 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42406 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42407
21eaf3a5
UD
42408 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42409 __feraiseexcept_renamed.
42410
e3a851a2
UD
424112011-12-21 Ulrich Drepper <drepper@gmail.com>
42412
4920765e
UD
42413 [BZ #13538]
42414 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42415 EPOLLET with unsigned values.
42416 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42418
e3a851a2
UD
42419 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42420 to large cancellation.
42421 * math/s_cacoshf.c: Likewise.
42422 * math/s_cacoshl.c: Likewise.
42423
b27e24b8
RK
424242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42425
42426 [BZ #13305]
aebefeee 42427 [BZ #12786]
b27e24b8
RK
42428 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42429 * math/s_cacoshf.c: Likewise.
42430 * math/s_cacoshl.c: Likewise.
42431
ee190f67
UD
424322011-12-21 Ulrich Drepper <drepper@gmail.com>
42433
42434 [BZ #13439]
42435 * iconv/gconv.h: Define __GCONV_SWAP.
42436 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42437 * iconvdata/utf-16.c: Likewise.
42438 * iconvdata/utf-32.c: Likewise.
42439
707f25df
AS
424402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42441
42442 [BZ #13524]
42443 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42444 numerator after shifting it by one limb.
42445
d2daaa1e
RÁE
424462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42447
42448 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42449 under [__USE_EXTERN_INLINES].
42450
a4647e72
UD
424512011-12-17 Ulrich Drepper <drepper@gmail.com>
42452
42453 [BZ #13446]
42454 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42455
f0b264f1
AZ
424562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42457
42458 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42459 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42460 optimized code.
42461 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42462 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42463 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42464 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42465 for strncasecmp/strncasecmp_l compilation.
42466 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42467 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42468
8ef4f244
MP
424692011-12-08 Marek Polacek <mpolacek@redhat.com>
42470
42471 [BZ #13484]
42472 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42473 of __asm__.
42474
97ac2654
UD
424752011-12-17 Ulrich Drepper <drepper@gmail.com>
42476
42477 [BZ #13506]
42478 * time/tzfile.c (__tzfile_read): Check values from file header.
42479
91d2a845
WS
424802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42481
42482 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42483 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42484 * powerpc/powerpc32/dl-start.S: Likewise.
42485 * powerpc/powerpc32/elf/start.S: Likewise.
42486 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42487 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42488 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42489 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42490 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42491 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42492 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42493 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42494 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42495 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42496 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42497 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42498 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42499 * powerpc/powerpc32/memset.S: Likewise.
42500 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42501 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42502 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42503 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42504 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42505 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42506 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42507 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42508 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42509 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42510 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42511 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42512 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42513
a1267ba1
AZ
425142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42515
42516 * math/libm-test.inc: Added more nearbyint tests.
42517 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42519 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42521
ad8ac1bd
RL
425222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42523
42524 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42525 FD_CLOEXEC.
42526
1d3e4b61
UD
425272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42528
42529 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42530 Add wcscpy-ssse3 wcscpy-c.
42531 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42532 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42533 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42534 * sysdeps/x86_64/wcschr.S: New file.
42535 * sysdeps/x86_64/wcsrchr.S: New file.
42536 * string/test-strcmp.c: Remove checking of wcscmp function for
42537 wrong alignments.
42538 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42539 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42540 wcsrchr-sse2 wcsrchr-c.
42541 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42542 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42543 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42544 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42545 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42546 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42547 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42548 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42549 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42550 * wcsmbc/wcschr.c (WCSCHR): New macro.
42551
5b330a2d
UD
425522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42553
42554 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42555 * wcsmbs/test-wcsrchr.c: New file.
42556 * string/test-strrchr.c: Add wcsrchr support.
42557 (WIDE): New macro.
42558 * wcsmbs/test-wcscpy.c: New file.
42559 * string/test-strcpy.c: Add wcscpy support.
42560 (WIDE): New macro.
26428b7c 42561
f039c043
UD
425622011-12-10 Ulrich Drepper <drepper@gmail.com>
42563
42564 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42565 the inner loop.
42566
850fb039
AS
425672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42568
42569 [BZ #13472]
42570 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42571
4efbd5cb
UD
425722011-12-04 Ulrich Drepper <drepper@gmail.com>
42573
52ff5dd0 42574 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42575 Minor optimizations.
52ff5dd0 42576
4efbd5cb
UD
42577 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42578 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42579 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42580
8a426e12
UD
425812011-12-03 Ulrich Drepper <drepper@gmail.com>
42582
aff2453d
UD
42583 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42584 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42585 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42586 for gcc to avoid warnings.
42587 * inet/Makefile (tests): Add tst-checks.
42588 * inet/tst-checks.c: New file.
42589
42590 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42591 warning.
42592
42593 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42594 __wmemcmp_sse2.
42595
42596 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42597 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42598
8a426e12
UD
42599 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42600
9bea3473
UD
426012011-12-02 Ulrich Drepper <drepper@gmail.com>
42602
3a965496
UD
42603 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42604 problem.
42605
9bea3473
UD
42606 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42607
f101631b
UD
426082011-11-29 Joseph Myers <joseph@codesourcery.com>
42609
42610 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42611 conditional on GCC version.
42612 (__arch_compare_and_exchange_val_8_acq)
42613 (__arch_compare_and_exchange_val_16_acq)
42614 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42615 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42616 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42617
a98275aa
UD
426182011-12-02 Joseph Myers <joseph@codesourcery.com>
42619
42620 * sysdeps/sh/backtrace.c: New file.
42621
d4cc29a2
AS
426222011-12-02 Andreas Schwab <schwab@redhat.com>
42623
42624 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42625 parenthesis.
42626
6257af2d
AS
426272011-12-01 Andreas Schwab <schwab@redhat.com>
42628
42629 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42630 falling back to utime.
42631
b5f44c1a
AS
426322011-11-30 Andreas Schwab <schwab@redhat.com>
42633
42634 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42635 expectations for float.
42636
f3a6cc0a
AS
426372011-11-29 Andreas Schwab <schwab@redhat.com>
42638
42639 * locale/weight.h (findidx): Add parameter len.
42640 * locale/weightwc.h (findidx): Likewise.
42641 * posix/fnmatch_loop.c (FCT): Adjust caller.
42642 * posix/regcomp.c (build_equiv_class): Likewise.
42643 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42644 * posix/regexec.c (check_node_accept_bytes): Likewise.
42645 * string/strcoll_l.c (STRCOLL): Likewise.
42646 * string/strxfrm_l.c (STRXFRM): Likewise.
42647
9d65ea3a
UD
426482011-11-17 Ulrich Drepper <drepper@gmail.com>
42649
42650 * Makefile.in: Remove CVSOPT handling.
42651 * configure.in: Remove use of AC_REVISION.
42652 * iconvdata/Makefile (distribute): No need to filter out CVS.
42653 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42654 handling.
42655
5583a086
AS
426562011-11-16 Andreas Schwab <schwab@redhat.com>
42657
42658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42659 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42660 [USE_AS_STRNCASECMP_L]: Likewise.
42661 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42662 NO_TLS_DIRECT_SEG_REFS.
42663 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42664 Fix argument offsets for non-PIC.
42665 [USE_AS_STRNCASECMP_L]: Likewise.
42666 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42667 NO_TLS_DIRECT_SEG_REFS.
42668
d62a8200
UD
426692011-11-15 Ulrich Drepper <drepper@gmail.com>
42670
9d65ea3a 42671 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42672 O_CLOEXEC.
42673 * locale/loadlocale.c (_nl_load_locale): Likewise.
42674
09f93bd3
AS
426752011-11-15 Andreas Schwab <schwab@redhat.com>
42676
446514f9
AS
42677 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42678 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42679 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42680 (SYSCALL_GETTIME): Set errno on error.
42681
09f93bd3
AS
42682 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42683 count references to noai6ai_cached.
42684
312be3f9
UD
426852011-11-15 Ulrich Drepper <drepper@gmail.com>
42686
42687 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42688
42689 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42690 FD_CLOEXEC for /proc/self/maps.
42691
42692 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42693 FD_CLOEXEC for /proc/meminfo.
42694
42695 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42696 gai.conf.
42697
42698 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42699 FD_CLOEXEC for given file.
42700
42701 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42702
42703 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42704 FD_CLOEXEC for /etc/hosts.
42705 (_gethtent): Likewise.
42706
42707 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42708
42709 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42710 cancellation and set FD_CLOEXEC for /etc/netgroup.
42711
42712 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42713 reading /etc/publickey.
42714
42715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42716 allow cancellation when reading /etc/group.
42717
42718 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42719 cancellation.
42720 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42721
42722 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42723 when using data file.
42724
42725 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42726
42727 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42728 (write_nis_obj): Use "c" and "e" in fopen.
42729
42730 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42731
42732 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42733
42734 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42735
42736 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42737
42738 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42739 locale.alias.
42740
42741 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42742
42743 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42744
42745 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42746
42747 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42748 file parsing and set FD_CLOEXEC.
42749
82af0fa8
UD
427502011-11-14 Ulrich Drepper <drepper@gmail.com>
42751
42752 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42753
a5fb313c
AS
427542011-11-14 Andreas Schwab <schwab@redhat.com>
42755
42756 * malloc/arena.c (arena_get2): Don't call reused_arena when
42757 _int_new_arena failed.
42758
6abf3465
UD
427592011-11-14 Ulrich Drepper <drepper@gmail.com>
42760
42761 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42762 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42763 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42764 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42765 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42766 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42767 to compile strcasecmp and strncasecmp.
42768 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42769 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42770
42771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42772
76e3966e
UD
427732011-11-13 Ulrich Drepper <drepper@gmail.com>
42774
42775 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42776 locale-defines.sym to gen-as-const-headers.
42777 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42778 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42780 to compile strcasecmp and strncasecmp.
42781 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42782 strcasecmp_l and strncasecmp_l.
42783 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42784 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42785 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42786 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42787 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42788 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42789 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42790 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42791 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42792 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42793 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42794
ab26144e
UD
427952011-11-12 Ulrich Drepper <drepper@gmail.com>
42796
7edb22ef
UD
42797 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42798 result of SYSDEP_GETTIME_CPU to retval.
42799 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42800 parameter list to macro. Remove trailing semicolon. Adjust users.
42801
9694fc44
UD
42802 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42803 variable.
42804
8ad89ef8
UD
42805 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42806 mantissa words.
42807 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42808
0c822ef9
UD
42809 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42810 from unused variable.
42811
874e0564
UD
42812 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42813 DWARF definitions.
42814 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42815 for assembling.
42816
3a2edc79
UD
42817 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42818 over namespaces.
42819
f3c2577f
UD
42820 * sunrpc/rpc_prot.c (rejected): Fix case value.
42821
294ce126
UD
42822 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42823 unsigned long long int to avoid warnings in shift.
42824
5e2b63c6
UD
42825 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42826 of use of trans.
42827 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42828 variable tmp.
42829
e7f4b08e
UD
42830 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42831 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42832 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42833
ab26144e
UD
42834 * nis/nis_table.c (nis_list): Use variable of correct type for
42835 result of __follow_path call.
42836
8a6d5255
AZ
428372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42838
42839 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42840 of math functions ceil, trunc, floor, round, and sqrt, when
42841 avaliable on the platform.
42842 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42843 name clash.
42844 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42845 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42846 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42847
aaddc98c
MP
428482011-10-30 Marek Polacek <mpolacek@redhat.com>
42849
42850 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42851 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42852
95b7042b
RM
428532011-11-11 Roland McGrath <roland@hack.frob.com>
42854
42855 * include/unistd.h: Fix __readlink return type.
42856 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42857
57769839
UD
428582011-11-11 Ulrich Drepper <drepper@gmail.com>
42859
42860 * stdlib/ucontext.h: Undo last change for makecontext.
42861
edc5984d
AS
428622011-11-11 Andreas Schwab <schwab@redhat.com>
42863
98591e58
AS
42864 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42865
edc5984d
AS
42866 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42867 * setjmp/setjmp.h: Mark functions as non-leaf.
42868 * setjmp/bits/setjmp2.h: Likewise.
42869 * stdlib/ucontext.h: Likewise.
42870
77cdc054
AS
428712011-11-10 Andreas Schwab <schwab@redhat.com>
42872
42873 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42874 (reused_arena): Don't check arena limit.
42875 (arena_get2): Atomically check arena limit.
42876
fe72eebd
UD
428772011-11-08 Ulrich Drepper <drepper@gmail.com>
42878
5f078c32
UD
42879 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42880 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42881
fe72eebd
UD
42882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42883 instructions.
42884
ae1bc2fa
AS
428852011-11-07 Andreas Schwab <schwab@redhat.com>
42886
7583a88d
AS
42887 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42888 handler when locking.
42889
ae1bc2fa
AS
42890 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42891 Fix size of allocated buffer.
42892
10fb0bfa
AS
428932011-11-04 Andreas Schwab <schwab@redhat.com>
42894
998832a4
AS
42895 [BZ #10103]
42896 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42897 declarations for long double functions.
42898 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42899
10fb0bfa
AS
42900 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42901
3d7ba52b
AS
429022011-11-03 Andreas Schwab <schwab@redhat.com>
42903
a9ae54a1
AS
42904 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42905 installed.
42906
3d7ba52b
AS
42907 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42908 is disabled.
42909
bc8db248
ST
429102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42911
42912 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42913
45b96dd6
AS
429142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42915
647776f6
AS
42916 * include/alloca.h (stackinfo_alloca_round): Define.
42917 (extend_alloca): Use it.
42918 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42919 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42920 here.
42921
d91a8b93
AS
42922 * scripts/check-local-headers.sh: Ignore libaudit.h.
42923
45b96dd6
AS
42924 * nscd/Makefile (extra-objs): Make recursively expanded.
42925
432d41ce
UD
429262011-11-01 Ulrich Drepper <drepper@gmail.com>
42927
34372fc6
UD
42928 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42929 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42930
fadb59f8
UD
42931 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42932 * posix/tst-rfc3484-2.c: Likewise.
42933 * posix/tst-rfc3484-3.c: Likewise.
42934
78239589
UD
42935 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42936 process_vm_writev.
42937 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42938 process_vm_writev.
42939 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42940 process_vm_writev from libc using GLIBC_2.15 version.
42941
432d41ce
UD
42942 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42943
02f9c6cf
PP
429442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42945
42946 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42947 stack usage.
42948
3a2c0242
UD
429492011-10-31 Ulrich Drepper <drepper@gmail.com>
42950
f4ec4833
UD
42951 [BZ #13367]
42952 * nss/getent.c (initgroups_keys): Show error message in case no group
42953 names are given.
42954
3a2c0242
UD
42955 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42956 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42957 __bump_nl_timestamp.
42958 * nscd/connections (nscd_init): When host database is served open
42959 netlink socket and request notification about configuration changes.
42960 (main_loop_poll): Track netlink file descriptor and bump timestamp
42961 in case data becomes available.
42962 (main_loop_epoll): Likewise.
42963 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42964 (database_pers_head): Add extra_data fileds.
42965 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42966 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42967 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42968 Adjust caller.
42969 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42970 in6ai data, call __free_in6ai.
42971 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42972 Add -DHAVE_NETLINK.
42973 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42974 interface information. Reuse previous data if netlink timestamp
42975 is not changed.
42976 (__bump_nl_timestamp): New function.
42977 (__free_in6ai): New function.
42978
636064eb
UD
429792011-10-30 Ulrich Drepper <drepper@gmail.com>
42980
42981 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42982 close_not_cancel_no_status here.
42983 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42984
9beb2334
UD
429852011-10-29 Ulrich Drepper <drepper@gmail.com>
42986
6ef76f3b
UD
42987 [BZ #13276]
42988 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42989 return value.
42990
0ffc4f3e 42991 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42992 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42993 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42994
cb95113e
UD
429952011-07-03 Andreas Jaeger <aj@suse.de>
42996
42997 [BZ #10709]
42998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42999 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43000 * math/libm-test.inc (sin_test): Add test case.
43001
a1b560ff
UD
430022011-10-29 Ulrich Drepper <drepper@gmail.com>
43003
c9aaface
UD
43004 [BZ #13337]
43005 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43006 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43007
d272e7f1
UD
43008 * elf/chroot_canon.c (chroot_canon): Cleanups.
43009
1bc33071
UD
43010 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43011
1760874d
TJ
43012 [BZ #13335]
43013 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43014 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43015
51d91b18
UD
43016 * string/test-strchr.c: Make usable for strchrnul testing.
43017 * string/test-strchrnul.c: New file.
43018 * string/Makefile (strop-tests): Add strchrnul.
43019
a1b560ff 43020 * po/it.po: Update from translation team.
b611fb81 43021 * po/es.po: Likewise.
a1b560ff 43022
a5b81e1f
UD
430232011-10-28 Ulrich Drepper <drepper@gmail.com>
43024
fd52bc6d
UD
43025 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43026 the three constants needed as parameters. Drop the others.
43027 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43028 __m128i_strloadu_tolower.
52e4b9eb
UD
43029 Create and initialize variable zero and use it in all the places
43030 where _mm_setzero_si128 was used.
fd52bc6d 43031
a5b81e1f
UD
43032 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43033 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43034 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43035 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43036 anymore.
43037 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43038 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43039 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43040 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43041 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43042 __mpranred, __mptan.
43043 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43044 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43045 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43046 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43047 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43048 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43049 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43050 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43051 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43052
b4343346
AS
430532011-10-28 Andreas Schwab <schwab@redhat.com>
43054
0c92d8a8
AS
43055 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43056 redefine if SHARED.
43057 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43058
b4343346
AS
43059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43060 wide char related routines to wcsmbs subdir.
43061
3871f58f
AS
430622011-10-27 Andreas Schwab <schwab@redhat.com>
43063
43064 [BZ #13344]
43065 * misc/sys/cdefs.h (__THROWNL): Define.
43066 * posix/unistd.h: Use __THREADNL instead of __THREAD
43067 for memory synchronization functions.
43068
94d44d9f
RM
430692011-10-26 Roland McGrath <roland@hack.frob.com>
43070
21b64b15 43071 [BZ #13349]
94d44d9f
RM
43072 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43073 doesn't exist.
43074 * manual/stdio.texi (Obstack Streams): Node removed.
43075
f6ce9294
AS
430762011-10-26 Andreas Schwab <schwab@redhat.com>
43077
80479147
AS
43078 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43079 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43080 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43081
f6ce9294
AS
43082 * math/math_private.h (math_force_eval): Allow non-addressable
43083 arguments.
43084 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43085
618280a1
UD
430862011-10-25 Ulrich Drepper <drepper@gmail.com>
43087
e0016b11
UD
43088 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43089 file is not needed.
43090
43091 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43092 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43093 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43094 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43096 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43097 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43098 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43099 Add AVX variants.
43100 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43101 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43102 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43103 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43104 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43105 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43106 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43107 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43108 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43109 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43110 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43111 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43112 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43113 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43114 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43115 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43116 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43117 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43118 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43119
43120 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43121 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43122
618280a1
UD
43123 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43124 place. Use VEX encoding when compiling for AVX.
43125
37822576
AS
431262011-10-25 Andreas Schwab <schwab@redhat.com>
43127
1f1e1947
AS
43128 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43129 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43130
37822576
AS
43131 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43132
31ea014d
UD
431332011-10-25 Ulrich Drepper <drepper@gmail.com>
43134
d7826aa1 43135 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43136 useless if() expression.
d7826aa1
UD
43137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43138 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43141 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43142 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43143 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43145 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43146 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43147 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43148 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43149 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43150 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43151 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43152 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43153 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43155 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43156
31ea014d
UD
43157 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43158
16437fec
AS
431592011-10-25 Andreas Schwab <schwab@redhat.com>
43160
43161 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43162 condition.
43163 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43164
31d3cc00
UD
431652011-10-25 Ulrich Drepper <drepper@gmail.com>
43166
43167 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43168 .text section. Avoid duplicate constants.
43169 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43171 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43173 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43174 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43175 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43177 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43178 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43179 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43180 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43181 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43182 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43183 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43184 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43185 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43186 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43187 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43188 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43189 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43190 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43191 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43192 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43193 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43194 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43195 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43196 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43197 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43198 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43199 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43200 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43201 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43202 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43203 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43204 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43205 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43206 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43207 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43208 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43209 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43210 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43211 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43212 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43213 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43214
58985aa9
UD
432152011-10-24 Ulrich Drepper <drepper@gmail.com>
43216
202c9deb
UD
43217 * sysdeps/x86_64/dla.h: Move to ...
43218 * sysdeps/x86_64/fpu/dla.h: ...here.
43219 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43220 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43221
af968f62
UD
43222 * config.make.in: Add have-mfma4 entry.
43223 * configure.in: Substitute libc_cv_cc_fma4.
43224 * math/Makefile (dbl-only-routines): Add sincostab.
43225 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43226 Use __sincostab not sincos.
43227 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43228 name is a macro.
43229 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43231 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43233 using __copysign.
43234 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43235 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43236 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43237 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43238 and __inv.
43239 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43240 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43241 __copysign.
43242 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43243 define aliases when function name is a macro.
43244 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43245 sysdeps/ieee754/dbl-64/sincos.tbl.
43246 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43247 fma4-enabled routines.
43248 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43249 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43250 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43251 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43252 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43253 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43254 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43255 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43256 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43257 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43258 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43259 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43260 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43261 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43262 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43263 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43264 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43265 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43266 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43267 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43268 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43269 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43270 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43271 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43272 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43273 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43275 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43276 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43277 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43278
58985aa9
UD
43279 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43280 rename.
43281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43289
a201fbcf
AS
432902011-10-24 Andreas Schwab <schwab@redhat.com>
43291
43292 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43293
fc2ee42a
LD
432942011-10-23 Ulrich Drepper <drepper@gmail.com>
43295
bb3129bd
UD
43296 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43297
0275fff8
UD
43298 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43299 prediction.
43300 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43301
2fa2ae85
UD
43302 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43303 Remove unused variable magic_bits.
43304 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43305
fc2ee42a
LD
43306 * string/strnlen.c: Define and use STRNLEN macro.
43307 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43308 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43310 * wcsmbs/wcslen.c: Define and use WCSLEN.
43311 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43312 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43313 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43314 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43315 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43316 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43317 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43318
ce7dd29f
LD
433192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43320
43321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43322 strnlen-sse2-no-bsf.
43323 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43324 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43325 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43326 Add strnlen support.
43327 (USE_AS_STRNLEN): New macro.
43328 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43329 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43330 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43331 * sysdeps/x86_64/wcslen.S: New file.
43332
979c70a3
MZ
433332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43334
43335 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43336 XMM-moves are used for copying on small sizes.
43337
2d09f82f
LD
433382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43339
43340 * wcsmbs/Makefile (strop-tests): Add wcschr.
43341 * wcsmbs/test-wcschr.c: New file.
43342 * string/test-strchr.c: Update.
43343 Add wcschr support.
43344 (WIDE): New macro.
43345
619fccca
LD
433462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43347
2d09f82f 43348 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43349 * wcsmbs/test-wcslen.c: New file.
43350 * string/test-strlen.c: Update.
43351 Add wcslen support.
43352 (WIDE): New macro.
43353
09f699ea
UD
433542011-10-23 Ulrich Drepper <drepper@gmail.com>
43355
43356 * po/it.po: Update from translation team.
43357
95584d3b
LD
433582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43359
43360 * sysdeps/x86_64/wcscmp.S: Update.
43361 Fix wrong comparison semantics.
43362 wcscmp shall use signed comparison not unsigned.
43363 Don't use substraction to avoid overflow bug.
43364 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43365 * wcsmbc/wcscmp.c: Likewise.
43366 * string/test-strcmp.c: Likewise.
43367 Add new tests to check cases with negative values.
43368
c8b3296b
UD
433692011-10-23 Ulrich Drepper <drepper@gmail.com>
43370
43371 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43372 * sysdeps/x86_64/dla.h: ...here. New file.
43373 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43378 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43382
246ad57a
AS
433832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43384
43385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43386 __ynl_finite aliases.
43387
a1a87169
UD
433882011-10-22 Ulrich Drepper <drepper@gmail.com>
43389
0d355eb7
UD
43390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43391
a1a87169
UD
43392 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43393 define DLA_FMA.
43394 [DLA_FMA] (EMULV): Use DLA_FMA.
43395 [DLA_FMA] (MUL12): Use EMULV.
43396 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43397 that are not needed.
43398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43404 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43405
ee2aafe0
AS
434062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43407
43408 * math/s_nan.c: Undef __nan.
43409 * math/s_nanf.c: Undef __nanf.
43410 * math/s_nanl.c: Undef __nanl.
43411 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43412 "math_private.h".
43413
bc62c2fb
UD
434142011-10-22 Ulrich Drepper <drepper@gmail.com>
43415
77425c63
UD
43416 * math/s_catan.c: Add branch predictions.
43417 * math/s_catanf.c: Likewise.
43418 * math/s_catanh.c: Likewise.
43419 * math/s_catanhf.c: Likewise.
43420 * math/s_catanhl.c: Likewise.
43421 * math/s_catanl.c: Likewise.
43422 * math/s_cexp.c: Likewise.
43423 * math/s_cexpf.c: Likewise.
43424 * math/s_cexpl.c: Likewise.
43425 * math/s_clog.c: Likewise.
43426 * math/s_clog10.c: Likewise.
43427 * math/s_clog10f.c: Likewise.
43428 * math/s_clog10l.c: Likewise.
43429 * math/s_clogf.c: Likewise.
43430 * math/s_clogl.c: Likewise.
43431 * math/s_csqrt.c: Likewise.
43432 * math/s_csqrtf.c: Likewise.
43433 * math/s_csqrtl.c: Likewise.
43434 * math/s_ctanf.c: Likewise.
43435 * math/s_ctanh.c: Likewise.
43436 * math/s_ctanhf.c: Likewise.
43437 * math/s_ctanhl.c: Likewise.
43438 * math/s_ctanl.c: Likewise.
43439
bc62c2fb
UD
43440 * math/math_private.h: Define __nan, __nanf, __nanl.
43441 * math/s_cacosh.c: Include <math_private.h>.
43442 * math/s_cacoshl.c: Likewise.
43443 * math/s_casinh.c: Likewise.
43444 * math/s_casinhf.c: Likewise.
43445 * math/s_casinhl.c: Likewise.
43446 * math/s_ccos.c: Rely entire on ccosh.
43447 * math/s_ccosf.c: Rely entire on ccoshf.
43448 * math/s_ccosl.c: Rely entirely on ccoshl.
43449 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43450 Remove tests for FE_INVALID.
43451 * math/s_ccoshf.c: Likewise.
43452 * math/s_ccoshl.c: Likewise.
43453 * math/s_csin.c: Likewise.
43454 * math/s_csinf.c: Likewise.
43455 * math/s_csinh.c Likewise.
43456 * math/s_csinhf.c: Likewise.
43457 * math/s_csinhl.c: Likewise.
43458 * math/s_csinl.c: Likewise.
43459 * math/s_ctan.c: Likewise.
43460 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43461 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43462 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43463
8ec250a4
UD
434642011-10-21 Ulrich Drepper <drepper@gmail.com>
43465
c196fed8
UD
43466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43467 compilation problems.
43468
8ec250a4
UD
43469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43470 __builtin_expect.
43471
8d4f46c6
UD
434722011-10-20 Ulrich Drepper <drepper@gmail.com>
43473
ed72b654
UD
43474 * sysdeps/i386/configure.in: Test for -mfma4 option.
43475 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43476 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43477 COMMON_CPUID_INDEX_80000001.
43478 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43479 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43480 use it if FMA3 is not supported.
43481 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43482
8d4f46c6
UD
43483 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43484 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43485
d45c60c2
AS
434862011-10-20 Andreas Schwab <schwab@redhat.com>
43487
43488 [BZ #12892]
43489 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43490 it would create a cycle with a link time dependency.
43491
d9a4d2ab
UD
434922011-10-19 Ulrich Drepper <drepper@gmail.com>
43493
855d1560
UD
43494 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43495 instruction.
43496 * string/Makefile (strop-tests): Add rawmemchr.
43497 * string/test-rawmemchr.c: New file.
43498
d9a4d2ab
UD
43499 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43500 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43501 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43502 when compiling str{,n}casecmp and when AVX is available. Hook up
43503 new optimized code in initializers.
43504
8f3b1ffe
AS
435052011-10-19 Andreas Schwab <schwab@redhat.com>
43506
43507 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43508 __feraiseexcept instead of feraiseexcept.
43509
d38f1dba
UD
435102011-10-18 Ulrich Drepper <drepper@gmail.com>
43511
d9a8d0ab
UD
43512 * math/math_private.h: Define defaults for libc_fetestexcept and
43513 libc_feupdateenv.
43514 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43515 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43516 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43517 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43518 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43519 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43520 libc_fetestexcept and libc_feupdateenv.
43521
4855e3dd
UD
43522 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43523 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43524 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43525 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43526 libc_feholdexcept_setround.
43527
581d30e3
UD
43528 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43529 Add s_nearbyint-c and s_nearbyintf-c.
43530 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43531 nearbyintf inlines.
43532 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43534 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43535 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43536
d38f1dba
UD
43537 * math/math_private.h: Define defaults for libc_fegetround,
43538 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43539 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43540 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43541 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43542 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43543 standard functions.
43544 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43545 Remove comments and hacks for old compiler versions.
43546 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43547 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43548 libc_feholdexceptl.
43549
caa6c9d8
AS
435502011-10-18 Andreas Schwab <schwab@redhat.com>
43551
43552 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43553 (__feraiseexcept_renamed): Add __NTH.
43554 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43555 namespace violations.
43556
97c066e6
UD
435572011-10-17 Ulrich Drepper <drepper@gmail.com>
43558
99ce7b04
UD
43559 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43560
1004d182
UD
43561 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43562
228a984d
UD
43563 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43564 recently added interfaces.
43565 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43566
c8553a6a
UD
43567 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43568 about macro parameter expansion.
43569
ed22dcf6
UD
43570 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43571 __NO_MATH_INLINES is defined. Cleanups.
43572
43573 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43574 and __floorf is target has SSE4.1.
43575 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43576 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43577 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43578 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43579
b171c137
UD
43580 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43581 name.
43582 (floorf): Likewise.
43583
97c066e6
UD
43584 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43585
629f62ef
AS
435862011-10-17 Andreas Schwab <schwab@redhat.com>
43587
49a43d80
AS
43588 * misc/sys/cdefs.h: Fix last change.
43589
629f62ef
AS
43590 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43591 database lookup.
43592
e453f6cd
UD
435932011-10-16 Ulrich Drepper <drepper@gmail.com>
43594
aa78043a
UD
43595 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43596
ad0f5cad
UD
43597 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43599 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43600 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43601 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43602 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43603 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43604 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43605 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43606 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43607 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43608 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43609 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43610 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43611 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43612 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43613 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43614 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43615 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43616 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43617 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43618 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43619
43620 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43621 ceil, ceilf, floor, floorf.
43622
43623 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43624 Perform IRELATIVE relocations last.
43625
e453f6cd
UD
43626 * elf/do-rel.h: Add another parameter nrelative, replacing the
43627 local variable with the same name. Change name of the function
43628 to end in Rel or Rela (uppercase).
43629 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43630 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43631 elf_dynamic_do_##reloc function.
43632
fd5bdc09
UD
436332011-10-15 Ulrich Drepper <drepper@gmail.com>
43634
79b195b5
UD
43635 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43636 is sufficient, at least on modern CPUs.
43637
d4a28569
UD
43638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43639
b61099b5
UD
43640 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43641 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43642
bcf01e6d
UD
43643 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43644 __expl_finite.
43645 * math/bits/math-finite.h: Add entries for exp.
43646 * math/e_expl.c: Add __*_finite alias.
43647 * sysdeps/i386/fpu/e_exp.S: Likewise.
43648 * sysdeps/i386/fpu/e_expf.S: Likewise.
43649 * sysdeps/i386/fpu/e_expl.c: Likewise.
43650 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43651 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43652 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43653 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43654 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43655 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43656 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43657
ba1a0d59
UD
43658 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43659 is sufficient, at least on modern CPUs.
43660
fd5bdc09
UD
43661 * ctype/ctype-info.c (__ctype_init): Define.
43662 * include/ctype.h (__ctype_init): Declare.
43663 (__ctype_b_loc): The variable is always initialized.
43664 (__ctype_toupper_loc): Likewise.
43665 (__ctype_tolower_loc): Likewise.
43666 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43667 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43668
7872cfb0
AS
436692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43670
b468825a
AS
43671 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43672
7872cfb0
AS
43673 * configure.in: Also look in $cxxmachine/include for C++ system
43674 headers.
43675
be13f7bf
LD
436762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43677
43678 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43679 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43680 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43681 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43682 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43683 (USE_AS_WMEMCMP): New macro.
43684 Fixing indents.
43685 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43686 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43687 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43688 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43690 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43691 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43692 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43693 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43694 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43695 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43696 (USE_AS_WMEMCMP): New macro.
43697 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43698 * sysdeps/string/test-memcmp.c: Update.
43699 Fix simple_wmemcmp.
43700 Add new tests.
43701 * wcsmbs/wmemcmp.c: Update.
43702 (WMEMCMP): New macro.
43703 Fix overflow bug.
43704
556a2007
AJ
437052011-10-12 Andreas Jaeger <aj@suse.de>
43706
43707 [BZ #13268]
43708 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43709
538faaa7
UD
437102011-10-15 Ulrich Drepper <drepper@gmail.com>
43711
ab6737ff
UD
43712 * libio/iofwide.c (do_length): Avoid warning.
43713
538faaa7
UD
43714 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43715
396a21b1
UD
437162011-10-14 Ulrich Drepper <drepper@gmail.com>
43717
cdf2901f
UD
43718 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43719
38ad40ce
UD
43720 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43721 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43722 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43723 * sysdeps/i386/i686/fpu/e_log.S: New file.
43724 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43725 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43726
396a21b1
UD
43727 * ctype/ctype.h: Add support for inlined isXXX functions when
43728 compiling C++ code.
43729
6b1f68c9
AS
437302011-10-14 Andreas Schwab <schwab@redhat.com>
43731
349290c0
AS
43732 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43733
6b1f68c9
AS
43734 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43735
f2282d42
RM
437362011-10-13 Roland McGrath <roland@hack.frob.com>
43737
43738 [BZ #13291]
43739 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43740
5298ffa8
AS
437412011-10-13 Andreas Schwab <schwab@redhat.com>
43742
714fad23
AS
43743 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43744 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43745 feraiseexcept.
43746
81dcc7fb
AS
43747 * sysdeps/x86_64/memrchr.S: Check for zero size.
43748
5298ffa8
AS
43749 * string/stratcliff.c: Add memrchr tests.
43750
951fbcec
LD
437512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43752
43753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43754 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43755 rawmemchr-sse2 rawmemchr-sse2-bsf.
43756 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43757 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43758 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43759 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43760 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43761 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43762 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43763 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43764 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43765 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43766 * string/memrchr.c (MEMRCHR): New macro.
43767
0ac5ae23
UD
437682011-10-12 Ulrich Drepper <drepper@gmail.com>
43769
43770 Add integration with gcc's -ffinite-math-only and optimize wrapper
43771 functions in libm.
43772 * Versions.def: Define GLIBC_2.15 version for libm.
43773 * math/Makefile (headers): Add bits/math-finite.h.
43774 * math/bits/math-finite.h: New file.
43775 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43776 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43777 * math/e_acoshl.c: Add __*_finite alias.
43778 * math/e_acosl.c: Likewise.
43779 * math/e_asinl.c: Likewise.
43780 * math/e_atan2l.c: Likewise.
43781 * math/e_atanhl.c: Likewise.
43782 * math/e_coshl.c: Likewise.
43783 * math/e_exp10.c: Likewise.
43784 * math/e_exp10f.c: Likewise.
43785 * math/e_exp10l.c: Likewise.
43786 * math/e_exp2l.c: Likewise.
43787 * math/e_fmodl.c: Likewise.
43788 * math/e_gammal_r.c: Likewise.
43789 * math/e_hypotl.c: Likewise.
43790 * math/e_j0l.c: Likewise.
43791 * math/e_j1l.c: Likewise.
43792 * math/e_jnl.c: Likewise.
43793 * math/e_lgammal_r.c: Likewise.
43794 * math/e_log10l.c: Likewise.
43795 * math/e_log2l.c: Likewise.
43796 * math/e_logl.c: Likewise.
43797 * math/e_powl.c: Likewise.
43798 * math/e_sinhl.c: Likewise.
43799 * math/e_sqrtl.c: Likewise.
43800 * math/e_scalb.c: Completely rewritten and optimized.
43801 * math/e_scalbf.c: Likewise.
43802 * math/e_scalbl.c: Likewise.
43803 * math/w_acos.c: Likewise.
43804 * math/w_acosf.c: Likewise.
43805 * math/w_acosl.c: Likewise.
43806 * math/w_acosh.c: Likewise.
43807 * math/w_acoshf.c: Likewise.
43808 * math/w_acoshl.c: Likewise.
43809 * math/w_asin.c: Likewise.
43810 * math/w_asinf.c: Likewise.
43811 * math/w_asinl.c: Likewise.
43812 * math/w_atan2.c: Likewise.
43813 * math/w_atan2f.c: Likewise.
43814 * math/w_atan2l.c: Likewise.
43815 * math/w_atanh.c: Likewise.
43816 * math/w_atanhf.c: Likewise.
43817 * math/w_atanhl.c: Likewise.
43818 * math/w_exp10.c: Likewise.
43819 * math/w_exp10f.c: Likewise.
43820 * math/w_exp10l.c: Likewise.
43821 * math/w_fmod.c: Likewise.
43822 * math/w_fmodf.c: Likewise.
43823 * math/w_fmodl.c: Likewise.
43824 * math/w_j0.c: Likewise.
43825 * math/w_j0f.c: Likewise.
43826 * math/w_j0l.c: Likewise.
43827 * math/w_j1.c: Likewise.
43828 * math/w_j1f.c: Likewise.
43829 * math/w_j1l.c: Likewise.
43830 * math/w_jn.c: Likewise.
43831 * math/w_jnf.c: Likewise.
43832 * math/w_log.c: Likewise.
43833 * math/w_logf.c: Likewise.
43834 * math/w_logl.c: Likewise.
43835 * math/w_log10.c: Likewise.
43836 * math/w_log10f.c: Likewise.
43837 * math/w_log10l.c: Likewise.
43838 * math/w_log2.c: Likewise.
43839 * math/w_log2f.c: Likewise.
43840 * math/w_log2l.c: Likewise.
43841 * math/w_pow.c: Likewise.
43842 * math/w_powf.c: Likewise.
43843 * math/w_powl.c: Likewise.
43844 * math/w_remainder.c: Likewise.
43845 * math/w_remainderf.c: Likewise.
43846 * math/w_remainderl.c: Likewise.
43847 * math/w_scalb.c: Likewise.
43848 * math/w_scalbf.c: Likewise.
43849 * math/w_scalbl.c: Likewise.
43850 * math/w_sqrt.c: Likewise.
43851 * math/w_sqrtf.c: Likewise.
43852 * math/w_sqrtl.c: Likewise.
43853 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43854 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43855 used.
43856 * math/math_private.h: Declare __kernel_standard_f.
43857 * math/w_cosh.c: Remove cruft and optimize a bit.
43858 * math/w_coshf.c: Likewise.
43859 * math/w_coshl.c: Likewise.
43860 * math/w_exp2.c: Likewise.
43861 * math/w_exp2f.c: Likewise.
43862 * math/w_exp2l.c: Likewise.
43863 * math/w_hypot.c: Likewise.
43864 * math/w_hypotf.c: Likewise.
43865 * math/w_hypotl.c: Likewise.
43866 * math/w_lgamma.c: Likewise.
43867 * math/w_lgamma_r.c: Likewise.
43868 * math/w_lgammaf.c: Likewise.
43869 * math/w_lgammaf_r.c: Likewise.
43870 * math/w_lgammal.c: Likewise.
43871 * math/w_lgammal_r.c: Likewise.
43872 * math/w_sinh.c: Likewise.
43873 * math/w_sinhf.c: Likewise.
43874 * math/w_sinhl.c: Likewise.
43875 * math/w_tgamma.c: Likewise.
43876 * math/w_tgammaf.c: Likewise.
43877 * math/w_tgammal.c: Likewise.
43878 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43879 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43880 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43881 Minor optimizations. Pretty printing. Remove cruft.
43882 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43883 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43884 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43885 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43886 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43887 * sysdeps/i386/fpu/e_asin.S: Likewise.
43888 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43889 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43890 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43891 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43892 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43893 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43894 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43895 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43896 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43897 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43898 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43899 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43900 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43901 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43902 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43903 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43904 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43905 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43906 * sysdeps/i386/fpu/e_log.S: Likewise.
43907 * sysdeps/i386/fpu/e_log10.S: Likewise.
43908 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43909 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43910 * sysdeps/i386/fpu/e_log2.S: Likewise.
43911 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43912 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43913 * sysdeps/i386/fpu/e_logf.S: Likewise.
43914 * sysdeps/i386/fpu/e_logl.S: Likewise.
43915 * sysdeps/i386/fpu/e_pow.S: Likewise.
43916 * sysdeps/i386/fpu/e_powf.S: Likewise.
43917 * sysdeps/i386/fpu/e_powl.S: Likewise.
43918 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43919 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43920 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43921 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43922 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43923 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43924 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43925 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43926 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43927 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43929 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43930 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43931 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43932 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43933 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43934 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43935 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43936 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43937 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43938 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43940 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43941 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43943 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43944 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43945 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43946 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43947 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43948 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43949 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43950 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43951 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43952 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43953 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43954 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43955 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43956 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43957 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43958 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43959 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43960 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43961 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43962 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43963 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43964 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43965 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43966 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43967 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43968 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43969 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43970 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43971 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43972 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43973 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43974 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43975 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43976 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43977 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43978 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43979 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43980 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43981 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43982 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43983 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43984 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43985 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43986 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43987 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43988 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43989 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43990 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43991 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43992 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43993 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43994 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43995 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43996 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43997 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43998 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43999 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44000 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44001 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44002 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44003 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44004 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44005 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44006 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44007 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44008 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44009 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44010 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44011 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44012 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44013 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44014 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44015 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44016 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44017 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44018 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44019 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44020 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44024 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44025 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44026 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44027 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44028 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44029 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44030 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44032 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44033 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44034 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44035 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44036 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44037 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44038 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44039 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44040 (__isnanf): Likewise.
44041 (__isinf_ns): Likewise.
44042 (__isinf_nsf): Likewise.
44043 (__finite): Likewise.
44044 (__finitef): Likewise.
44045 (__ieee754_sqrt): Define as macro.
44046 (__ieee754_sqrtf): Define as macro.
44047 (__ieee754_sqrtl): Define as macro.
44048 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44049 inlined copy.
44050 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44051 __FINITE_MATH_ONLY__ consistent.
44052 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44053
12cc2fcd
AS
440542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44055
a843a204
AS
44056 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44057 of rawmemchr.
44058
12cc2fcd
AS
44059 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44060
c853acd5
UD
440612011-10-09 Ulrich Drepper <drepper@gmail.com>
44062
44063 * po/ja.po: Update from translation team.
44064
c658d255
RM
440652011-10-08 Roland McGrath <roland@hack.frob.com>
44066
110946e4
RM
44067 * locale/programs/locarchive.c (prepare_address_space): New function.
44068 (create_archive, enlarge_archive, open_archive): Use it.
44069
50604220
RM
44070 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44071 inside [SHARED], where it is used.
44072
c658d255
RM
44073 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44074
44075 * nss/getent.c (netgroup_keys): Remove unused variable.
44076 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44077
6a621eb7
UD
440782011-10-08 Ulrich Drepper <drepper@gmail.com>
44079
7edb55ce
UD
44080 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44081 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44083 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44084 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44085 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44086 * math/Makefile (libm-calls): Add s_isinf_ns.
44087 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44088 * math/multc3.c: Likewise.
44089 * math/s_casin.c: Likewise.
44090 * math/s_casinf.c: Likewise.
44091 * math/s_casinl.c: Likewise.
44092 * math/s_ccos.c: Likewise.
44093 * math/s_ccosf.c: Likewise.
44094 * math/s_ccosl.c: Likewise.
44095 * math/s_ctan.c: Likewise.
44096 * math/s_ctanf.c: Likewise.
44097 * math/s_ctanh.c: Likewise.
44098 * math/s_ctanhf.c: Likewise.
44099 * math/s_ctanhl.c: Likewise.
44100 * math/s_ctanl.c: Likewise.
44101 * math/w_fmod.c: Likewise.
44102 * math/w_fmodf.c: Likewise.
44103 * math/w_fmodl.c: Likewise.
44104 * math/w_remainder.c: Likewise.
44105 * math/w_remainderf.c: Likewise.
44106 * math/w_remainderl.c: Likewise.
44107 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44108 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44111 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44112 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44113 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44114 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44115
187da0ae
UD
44116 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44117 of the number.
44118 * stdio-common/printf_fphex.c: Likewise.
44119 * stdio-common/printf_size.c: Likewise.
44120
9277c064
UD
44121 * math/e_exp10.c: Include math_private.h using <...> not "...".
44122 * math/e_exp10f.c: Likewise.
44123 * math/e_exp10l.c: Likewise.
44124 * math/e_exp2l.c: Likewise.
44125 * math/e_j0l.c: Likewise.
44126 * math/e_j1l.c: Likewise.
44127 * math/e_jnl.c: Likewise.
44128 * math/e_lgammal_r.c: Likewise.
44129 * math/e_rem_pio2l.c: Likewise.
44130 * math/e_scalb.c: Likewise.
44131 * math/e_scalbf.c: Likewise.
44132 * math/e_scalbl.c: Likewise.
44133 * math/k_cosl.c: Likewise.
44134 * math/k_sinl.c: Likewise.
44135 * math/k_tanl.c: Likewise.
44136 * math/s_cacoshf.c: Likewise.
44137 * math/s_catan.c: Likewise.
44138 * math/s_catanf.c: Likewise.
44139 * math/s_catanh.c: Likewise.
44140 * math/s_catanhf.c: Likewise.
44141 * math/s_catanhl.c: Likewise.
44142 * math/s_catanl.c: Likewise.
44143 * math/s_ccosh.c: Likewise.
44144 * math/s_ccoshf.c: Likewise.
44145 * math/s_ccoshl.c: Likewise.
44146 * math/s_cexp.c: Likewise.
44147 * math/s_cexpf.c: Likewise.
44148 * math/s_cexpl.c: Likewise.
44149 * math/s_clog.c: Likewise.
44150 * math/s_clog10.c: Likewise.
44151 * math/s_clog10f.c: Likewise.
44152 * math/s_clog10l.c: Likewise.
44153 * math/s_clogf.c: Likewise.
44154 * math/s_clogl.c: Likewise.
44155 * math/s_csin.c: Likewise.
44156 * math/s_csinf.c: Likewise.
44157 * math/s_csinh.c: Likewise.
44158 * math/s_csinhf.c: Likewise.
44159 * math/s_csinhl.c: Likewise.
44160 * math/s_csinl.c: Likewise.
44161 * math/s_csqrt.c: Likewise.
44162 * math/s_csqrtf.c: Likewise.
44163 * math/s_csqrtl.c: Likewise.
44164 * math/s_ctan.c: Likewise.
44165 * math/s_ctanf.c: Likewise.
44166 * math/s_ctanh.c: Likewise.
44167 * math/s_ctanhf.c: Likewise.
44168 * math/s_ctanhl.c: Likewise.
44169 * math/s_ctanl.c: Likewise.
44170 * math/s_ldexp.c: Likewise.
44171 * math/s_ldexpf.c: Likewise.
44172 * math/s_ldexpl.c: Likewise.
44173 * math/s_significand.c: Likewise.
44174 * math/s_significandf.c: Likewise.
44175 * math/s_significandl.c: Likewise.
44176 * math/w_acos.c: Likewise.
44177 * math/w_acosf.c: Likewise.
44178 * math/w_acosh.c: Likewise.
44179 * math/w_acoshf.c: Likewise.
44180 * math/w_acoshl.c: Likewise.
44181 * math/w_acosl.c: Likewise.
44182 * math/w_asin.c: Likewise.
44183 * math/w_asinf.c: Likewise.
44184 * math/w_asinl.c: Likewise.
44185 * math/w_atan2.c: Likewise.
44186 * math/w_atan2f.c: Likewise.
44187 * math/w_atan2l.c: Likewise.
44188 * math/w_atanh.c: Likewise.
44189 * math/w_atanhf.c: Likewise.
44190 * math/w_atanhl.c: Likewise.
44191 * math/w_cosh.c: Likewise.
44192 * math/w_coshf.c: Likewise.
44193 * math/w_coshl.c: Likewise.
44194 * math/w_dremf.c: Likewise.
44195 * math/w_exp10.c: Likewise.
44196 * math/w_exp10f.c: Likewise.
44197 * math/w_exp10l.c: Likewise.
44198 * math/w_exp2.c: Likewise.
44199 * math/w_exp2f.c: Likewise.
44200 * math/w_fmod.c: Likewise.
44201 * math/w_fmodf.c: Likewise.
44202 * math/w_fmodl.c: Likewise.
44203 * math/w_hypot.c: Likewise.
44204 * math/w_hypotf.c: Likewise.
44205 * math/w_hypotl.c: Likewise.
44206 * math/w_j0.c: Likewise.
44207 * math/w_j0f.c: Likewise.
44208 * math/w_j0l.c: Likewise.
44209 * math/w_j1.c: Likewise.
44210 * math/w_j1f.c: Likewise.
44211 * math/w_j1l.c: Likewise.
44212 * math/w_jn.c: Likewise.
44213 * math/w_jnf.c: Likewise.
44214 * math/w_jnl.c: Likewise.
44215 * math/w_lgamma.c: Likewise.
44216 * math/w_lgamma_r.c: Likewise.
44217 * math/w_lgammaf.c: Likewise.
44218 * math/w_lgammaf_r.c: Likewise.
44219 * math/w_lgammal.c: Likewise.
44220 * math/w_lgammal_r.c: Likewise.
44221 * math/w_log.c: Likewise.
44222 * math/w_log10.c: Likewise.
44223 * math/w_log10f.c: Likewise.
44224 * math/w_log10l.c: Likewise.
44225 * math/w_log2.c: Likewise.
44226 * math/w_log2f.c: Likewise.
44227 * math/w_log2l.c: Likewise.
44228 * math/w_logf.c: Likewise.
44229 * math/w_logl.c: Likewise.
44230 * math/w_pow.c: Likewise.
44231 * math/w_powf.c: Likewise.
44232 * math/w_powl.c: Likewise.
44233 * math/w_remainder.c: Likewise.
44234 * math/w_remainderf.c: Likewise.
44235 * math/w_remainderl.c: Likewise.
44236 * math/w_scalb.c: Likewise.
44237 * math/w_scalbf.c: Likewise.
44238 * math/w_scalbl.c: Likewise.
44239 * math/w_sinh.c: Likewise.
44240 * math/w_sinhf.c: Likewise.
44241 * math/w_sinhl.c: Likewise.
44242 * math/w_sqrt.c: Likewise.
44243 * math/w_sqrtf.c: Likewise.
44244 * math/w_sqrtl.c: Likewise.
44245 * math/w_tgamma.c: Likewise.
44246 * math/w_tgammaf.c: Likewise.
44247 * math/w_tgammal.c: Likewise.
44248
6a621eb7
UD
44249 * po/ja.po: Update from translation team.
44250
bf582445
AJ
442512011-09-29 Andreas Jaeger <aj@suse.de>
44252
f9efbf3a
AJ
44253 [BZ #13179]
44254 * sunrpc/netname.c (netname2host): Fix logic.
44255
bf582445
AJ
44256 [BZ #6779]
44257 [BZ #6783]
44258 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44259 correctly.
44260 * math/w_remainder.c (__remainder): Likewise.
44261 * math/w_remainderf.c (__remainderf): Likewise.
44262 * math/libm-test.inc (remainder_test): Add test cases.
44263
48693bea
AK
442642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44265
44266 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44267 sdiv_qrnnd.
44268
42622229
LD
442692011-10-07 Ulrich Drepper <drepper@gmail.com>
44270
44271 * string/test-memcmp.c: Avoid unncessary #defines.
44272 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44273
093ecf92
LD
442742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44275
44276 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44277 Use new sse2 version for core i3 - i7 as it's faster
44278 than sse42 version.
44279 (bit_Prefer_PMINUB_for_stringop): New.
44280 * sysdeps/x86_64/rawmemchr.S: Update.
44281 Replace with faster SSE2 version.
44282 * sysdeps/x86_64/memrchr.S: New file.
44283 * sysdeps/x86_64/memchr.S: Update.
44284 Replace with faster SSE2 version.
44285
fde56e5c
MP
442862011-09-12 Marek Polacek <mpolacek@redhat.com>
44287
44288 * elf/dl-load.c (lose): Add cast to avoid warning.
44289
21fd49a9
UD
442902011-10-07 Ulrich Drepper <drepper@gmail.com>
44291
5a06e643
UD
44292 * po/ca.po: Update from translation team.
44293
684ae515
UD
44294 * inet/getnetgrent_r.c: Hook up nscd.
44295 * nscd/Makefile (routines): Add nscd_netgroup.
44296 (nscd-modules): Add netgroupcache.
44297 (CFLAGS-netgroupcache.c): Define.
44298 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44299 (cache_search): Add const to second parameter.
44300 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44301 INNETGR.
44302 (dbs): Add netgrdb entry.
44303 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44304 (verify_persistent_db): Handle netgrdb.
44305 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44306 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44307 GETFDNETGR.
44308 (netgroup_response_header): Define.
44309 (innetgroup_response_header): Define.
44310 (datahead): Add netgroup_response_header and innetgroup_response_header
44311 elements.
44312 * nscd/nscd.conf: Add entries for netgroup cache.
44313 * nscd/nscd.h (dbtype): Add netgrdb.
44314 (_PATH_NSCD_NETGROUP_DB): Define.
44315 (netgroup_iov_disabled): Declare.
44316 (xmalloc, xcalloc, xrealloc): Move declarations here.
44317 (cache_search): Adjust prototype.
44318 Add netgroup-related prototypes.
44319 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44320 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44321 (__nscd_innetgr): Declare.
44322 * nscd/selinux.c (perms): Use access_vector_t as element type and
44323 add netgroup-related initializers.
44324 * nscd/netgroupcache.c: New file.
44325 * nscd/nscd_netgroup.c: New file.
44326 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44327 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44328 For four parameters use innetgr.
44329 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44330 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44331 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44332 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44333
21fd49a9
UD
44334 * nscd/connections.c (register_traced_file): Don't register file
44335 for disabled databases.
44336
054c0457
UD
443372011-10-06 Ulrich Drepper <drepper@gmail.com>
44338
32b63198
UD
44339 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44340
054c0457
UD
44341 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44342 from tree and freeing node.
44343
64031225
JO
443442011-09-25 Jiri Olsa <jolsa@redhat.com>
44345
44346 * nss/nsswitch.c (__nss_database_lookup): Handle
44347 nss_parse_service_list out of memory case.
44348
0490345c
JO
443492011-09-15 Jiri Olsa <jolsa@redhat.com>
44350
44351 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44352 out of memory case.
44353
3a62d00d
AS
443542011-10-04 Andreas Schwab <schwab@redhat.com>
44355
44356 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44357 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44358 pass it down.
44359 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44360 elf_machine_rela, elf_machine_lazy_rel.
44361 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44362 (ELF_DYNAMIC_DO_REL): Likewise.
44363 (ELF_DYNAMIC_DO_RELA): Likewise.
44364 (ELF_DYNAMIC_RELOCATE): Likewise.
44365 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44366 to ELF_DYNAMIC_DO_REL.
44367 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44368 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44369 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44370 elf_machine_rela.
44371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44372 skip_ifunc, don't call ifunc function if non-zero.
44373 (elf_machine_rela): Likewise.
44374 (elf_machine_lazy_rel): Likewise.
44375 (elf_machine_lazy_rela): Likewise.
44376 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44377 (elf_machine_lazy_rel): Likewise.
44378 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44379 Likewise.
44380 (elf_machine_lazy_rel): Likewise.
44381 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44382 Likewise.
44383 (elf_machine_lazy_rel): Likewise.
44384 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44385 (elf_machine_lazy_rel): Likewise.
44386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44387 (elf_machine_lazy_rel): Likewise.
44388 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44389 (elf_machine_lazy_rel): Likewise.
44390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44391 (elf_machine_lazy_rel): Likewise.
44392 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44393 (elf_machine_lazy_rel): Likewise.
44394 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44395 (elf_machine_lazy_rel): Likewise.
44396
68577918
UD
443972011-09-28 Ulrich Drepper <drepper@gmail.com>
44398
44399 * nss/nss_files/files-init.c (_nss_files_init): Use static
44400 initialization for all the *_traced_file variables.
44401
68822d74
AS
444022011-09-28 Andreas Schwab <schwab@redhat.com>
44403
44404 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44405
2056100b
RM
444062011-09-27 Roland McGrath <roland@hack.frob.com>
44407
44408 [BZ #13226]
44409 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44410
32c76b63
AS
444112011-09-27 Andreas Schwab <schwab@redhat.com>
44412
44413 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44414 Reread the line before reparsing it.
44415
bf972c9d
AS
444162011-09-26 Andreas Schwab <schwab@redhat.com>
44417
44418 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44419
e057a1b5
JM
444202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44421 Maxim Kuvyrkov <maxim@codesourcery.com>
44422 Joseph Myers <joseph@codesourcery.com>
44423
44424 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44425 if needed for __stack_chk_guard.
44426
bc7e1c36
RM
444272011-09-19 Roland McGrath <roland@hack.frob.com>
44428
ecb1482f
RM
44429 * sysdeps/posix/spawni.c (script_execute): Always define it.
44430 It will be optimized away if unused.
44431 (maybe_script_execute): New function.
44432 (__spawni): Call it.
44433
bc7e1c36
RM
44434 * Makerules: Don't include tls.make.
44435 (config-tls): Always set to thread.
44436 * tls.make.c: File removed.
44437
1c3b002b
MF
444382011-09-19 Mike Frysinger <vapier@gentoo.org>
44439
44440 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44441 * config.make.in (CPPFLAGS-config): New substituted variable.
44442
2840865d
UD
444432011-09-15 Ulrich Drepper <drepper@gmail.com>
44444
88738eb6
UD
44445 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44446
cbf645a6 44447 [BZ #13192]
2840865d
UD
44448 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44449 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44450
b402e91a
RM
444512011-09-15 Roland McGrath <roland@hack.frob.com>
44452
44453 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44454 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44455 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44456 (CALL_FAIL): Likewise.
44457 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44458 (CALL_FAIL): Macro removed.
44459 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44460
4c1a1f71
UD
444612011-09-15 Ulrich Drepper <drepper@gmail.com>
44462
44463 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44464 for __FINITE_MATH_ONLY__ == 1.
44465
edc121be
AS
444662011-09-15 Andreas Schwab <schwab@redhat.com>
44467
44468 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44469 __ieee754_sqrt instead of sqrt.
44470 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44471 __ieee754_sqrtf instead of sqrtf.
44472 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44473 __floorf instead of floorf.
44474 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44475 __floorf, __truncf instead of floorf, truncf.
44476
cd205654
UD
444772011-09-14 Ulrich Drepper <drepper@gmail.com>
44478
ee4d0315
UD
44479 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44480
cd205654
UD
44481 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44482 __extern_always_inline.
44483 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44484 32-bit.
44485
48b67d71
AS
444862011-09-14 Andreas Schwab <schwab@redhat.com>
44487
44488 * elf/rtld.c (dl_main): Also relocate in dependency order when
44489 doing symbol dependency testing.
44490
1ae12c75
AS
444912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44492
44493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44494 Always define `refsym'.
44495
995a80df
AS
444962011-09-13 Andreas Schwab <schwab@redhat.com>
44497
e529793b
AS
44498 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44499 (__FD_ELT): Renamed from __FDELT.
44500 * misc/bits/select2.h (__FD_ELT): Likewise.
44501 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44502 __FD_MASK instead of __FDELT, __FDMASK.
44503 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44504 Likewise.
44505 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44506 Likewise.
44507
52d4fef8
AS
44508 * elf/Makefile (gen-ldd): Fix pattern.
44509
995a80df
AS
44510 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44511 (init_tls): Likewise.
44512
8682f8b0
UD
445132011-09-12 Ulrich Drepper <drepper@gmail.com>
44514
44515 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44516
de82006d
AS
445172011-09-12 Andreas Schwab <schwab@redhat.com>
44518
a7c8e6a1
AS
44519 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44520 `struct cmsghdr *' instead of `void *'.
44521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44522 Likewise.
44523
0f31fe77
AS
445242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44525
44526 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44527 if non-absolute.
44528 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44529 ldd_rewrite_script.
0f31fe77 44530
32b4c839
UD
445312011-09-11 Ulrich Drepper <drepper@gmail.com>
44532
83cd1420
UD
44533 * configure.in: Remove --with-tls option.
44534 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44535 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44536 out in case it is missing.
44537 * sysdeps/ia64/elf/configure.in: Likewise.
44538 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44539 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44540 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44541 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44542 * sysdeps/sh/elf/configure.in: Likewise.
44543 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44544 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44545 * sysdeps/x86_64/elf/configure.in: Likewise.
44546 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44547 * sysdeps/mach/hurd/tls.h: Likewise.
44548
633f745d
UD
44549 [BZ #13067]
44550 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44551
f318beb8
UD
44552 [BZ #13090]
44553 * configure.in: Fix use of AC_INIT.
44554
32b4c839
UD
44555 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44556
3ce1f295
UD
445572011-09-10 Ulrich Drepper <drepper@gmail.com>
44558
bb016596
UD
44559 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44560 __set_errno.
8e58439c
UD
44561 * malloc/hooks.c: Likewise.
44562
aebae053 44563 [BZ #11929]
02d46fc4
UD
44564 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44565 variables statically.
44566 (narenas): Initialize.
44567 (list_lock): Initialize.
bb016596
UD
44568 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44569 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44570 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44571 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44572 Add initializers to main_arena and mp_.
44573 (malloc_state): Remove pagesize member. Change all users to use
44574 GLRO(dl_pagesize).
44575
44576 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44577 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44578 is always initialized.
44579
22a89187
UD
44580 * malloc/malloc.c: Removed unused configurations and dead code.
44581 * malloc/arena.c: Likewise.
44582 * malloc/hooks.c: Likewise.
02d46fc4 44583 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44584
d063d164
UD
44585 * include/tls.h: Removed. USE___THREAD must always be defined.
44586 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44587 * elf/dl-libc.c: Likewise.
44588 * elf/dl-tsd.c: Likewise.
44589 * include/errno.h: Likewise.
44590 * include/netdb.h: Likewise.
44591 * include/resolv.h: Likewise.
44592 * inet/herrno-loc.c: Likewise.
44593 * inet/herrno.c: Likewise.
44594 * malloc/arena.c: Likewise.
44595 * malloc/hooks.c: Likewise.
44596 * malloc/malloc.c: Likewise.
44597 * resolv/res-state.c: Likewise.
44598 * resolv/res_libc.c: Likewise.
44599 * sysdeps/i386/dl-machine.h: Likewise.
44600 * sysdeps/ia64/dl-machine.h: Likewise.
44601 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44602 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44603 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44604 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44605 * sysdeps/sh/dl-machine.h: Likewise.
44606 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44607 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44608 * sysdeps/unix/i386/sysdep.S: Likewise.
44609 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44610 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44611 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44613 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44615 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44617 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44619 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44620 * sysdeps/x86_64/dl-machine.h: Likewise.
44621 * tls.make.c: Likewise.
44622
3ce1f295
UD
44623 * configure.in: Remove --with-__thread option. Make tests for
44624 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44625 tls_model attribute fail if no support is available. Remove
44626 USE_IN_LIBIO.
44627 * Makeconfig: Adjust for dropped configure option. All features are
44628 now mandatory.
44629 * Makerules: Likewise.
44630 * Versions.def: Likewise.
44631 * argp/argp-fmtstream.c: Likewise.
44632 * argp/argp-fmtstream.h: Likewise.
44633 * argp/argp-help.c: Likewise.
44634 * assert/assert.c: Likewise.
44635 * config.h.in: Likewise.
44636 * config.make.in: Likewise.
44637 * configure: Likewise.
44638 * configure.in: Likewise.
44639 * csu/Versions: Likewise.
44640 * csu/init.c: Likewise.
44641 * elf/tst-audit2.c: Likewise.
44642 * elf/tst-tls10.c: Likewise.
44643 * elf/tst-tls10.h: Likewise.
44644 * elf/tst-tls11.c: Likewise.
44645 * elf/tst-tls12.c: Likewise.
44646 * elf/tst-tls14.c: Likewise.
44647 * elf/tst-tlsmod11.c: Likewise.
44648 * elf/tst-tlsmod12.c: Likewise.
44649 * elf/tst-tlsmod13.c: Likewise.
44650 * elf/tst-tlsmod13a.c: Likewise.
44651 * elf/tst-tlsmod14a.c: Likewise.
44652 * elf/tst-tlsmod15b.c: Likewise.
44653 * elf/tst-tlsmod16a.c: Likewise.
44654 * elf/tst-tlsmod16b.c: Likewise.
44655 * elf/tst-tlsmod7.c: Likewise.
44656 * elf/tst-tlsmod8.c: Likewise.
44657 * elf/tst-tlsmod9.c: Likewise.
44658 * gmon/gmon.c: Likewise.
44659 * grp/fgetgrent_r.c: Likewise.
44660 * grp/putgrent.c: Likewise.
44661 * hurd/fopenport.c: Likewise.
44662 * include/libc-symbols.h: Likewise.
44663 * include/tls.h: Likewise.
44664 * intl/gettextP.h: Likewise.
44665 * intl/loadinfo.h: Likewise.
44666 * locale/global-locale.c: Likewise.
44667 * locale/localeinfo.h: Likewise.
44668 * mach/devstream.c: Likewise.
44669 * malloc/arena.c: Likewise.
44670 * malloc/set-freeres.c: Likewise.
44671 * misc/err.c: Likewise.
44672 * misc/getttyent.c: Likewise.
44673 * misc/mntent_r.c: Likewise.
44674 * posix/getopt.c: Likewise.
44675 * posix/wordexp.c: Likewise.
44676 * pwd/fgetpwent_r.c: Likewise.
44677 * resolv/Versions: Likewise.
44678 * resolv/res_hconf.c: Likewise.
44679 * shadow/fgetspent_r.c: Likewise.
44680 * shadow/putspent.c: Likewise.
44681 * stdio-common/printf_fphex.c: Likewise.
44682 * stdio-common/tmpfile.c: Likewise.
44683 * stdlib/abort.c: Likewise.
44684 * stdlib/fmtmsg.c: Likewise.
44685 * sunrpc/auth_unix.c: Likewise.
44686 * sunrpc/clnt_perr.c: Likewise.
44687 * sunrpc/clnt_tcp.c: Likewise.
44688 * sunrpc/clnt_udp.c: Likewise.
44689 * sunrpc/clnt_unix.c: Likewise.
44690 * sunrpc/openchild.c: Likewise.
44691 * sunrpc/svc_simple.c: Likewise.
44692 * sunrpc/svc_tcp.c: Likewise.
44693 * sunrpc/svc_udp.c: Likewise.
44694 * sunrpc/svc_unix.c: Likewise.
44695 * sunrpc/xdr.c: Likewise.
44696 * sunrpc/xdr_array.c: Likewise.
44697 * sunrpc/xdr_rec.c: Likewise.
44698 * sunrpc/xdr_ref.c: Likewise.
44699 * sunrpc/xdr_stdio.c: Likewise.
44700
1248c1c4
PB
447012011-09-09 Ulrich Drepper <drepper@gmail.com>
44702
44703 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44704
447052011-07-03 Andreas Jaeger <aj@suse.de>
44706
44707 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44708 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44709 regenerate with gen-libm-tests.pl.
44710
447112010-05-12 Petr Baudis <pasky@suse.cz>
44712
44713 [BZ #11589]
44714 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44715 around j0() zero points by switching to j1().
44716 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44717 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44719 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44720
f22e1074
UD
447212011-09-09 Ulrich Drepper <drepper@gmail.com>
44722
f19009c1
UD
44723 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44724 instead of 0.
44725 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44726 instead of 0.
f19009c1
UD
44727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44728 Patch in part by Pavel Roskin <proski@gnu.org>.
44729
3f8cc204
UD
44730 [BZ #13138]
44731 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44732 realloc.
44733 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44734 Free memory block if necessary.
44735
f22e1074
UD
44736 [BZ #12847]
44737 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44738 be NULL. Don't lock in this case.
44739
0a2349f9
RM
447402011-09-09 Roland McGrath <roland@hack.frob.com>
44741
44742 * elf/elf.h (ELFOSABI_GNU): New macro.
44743 (ELFOSABI_LINUX): Define to that.
44744
f3cdd467
DZ
447452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44746
44747 * string/strncat.c (strncat): Undef the symbol in case it has been
44748 defined in bits/string.h.
44749
74718d13
UD
447502011-09-09 Ulrich Drepper <drepper@gmail.com>
44751
633e9e0f
UD
44752 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44753
0a2349f9 44754 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44755 link map.
44756
f9924780
AJ
447572011-08-17 Andreas Jaeger <aj@suse.de>
44758
44759 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44760
7f5517aa
PP
447612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44762 Ian Lance Taylor <iant@google.com>
44763
44764 * math/libm-test.inc (lround_test): New testcase.
44765 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44766
762011fe
UD
447672011-09-08 Ulrich Drepper <drepper@gmail.com>
44768
92963737
UD
44769 * Makefile: Remove support for automatic cvs check-ins.
44770 * Makerules: Likewise.
44771 * config.make.in: Likewise.
44772 * configure.in: Likewise.
44773 * intl/Makefile: Likewise.
44774 * locale/Makefile: Likewise.
44775 * po/Makefile: Likewise.
44776 * posix/Makefile: Likewise.
44777 * sysdeps/gnu/Makefile: Likewise.
44778 * sysdeps/mach/hurd/Makefile: Likewise.
44779 * sysdeps/sparc/sparc32/Makefile: Likewise.
44780
b0727fd8
JS
44781 [BZ #13118]
44782 * posix/Makefile (bug-regex32-ENV): Define.
44783 Patch by John Stanley <jpsinthemix@verizon.net>.
44784
a0f33f99
UD
44785 * misc/Makefile (headers): Add bits/select2.h.
44786 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44787 * misc/bits/select2.h: New file.
44788 * include/bits/select2.h: New file.
44789 * debug/Makefile (routines): Add fdelt_chk.
44790 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44791 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44792 FD_ISSET.
44793 * debug/fdelt_chk.c: New file.
44794
762011fe
UD
44795 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44796 * wcsmbs/test-wmemcmp.c: Likewise.
44797 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44798 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44799
448002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44801
44802 * string/Makefile (strop-tests): Add memcmp.
44803 * string/test-wmemcmp.c: New file.
44804 * string/test-memcmp.c: Add wmemcmp support.
44805
7f513ec8
RM
448062011-09-08 Roland McGrath <roland@hack.frob.com>
44807
0442afb4
RM
44808 [BZ #13153]
44809 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44810 2011-07-19 change.
44811
7f513ec8
RM
44812 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44813 garbage value in a __mach_port_mod_refs call in the cases of the
44814 task-self and thread-self ports.
44815
a12b2239
ST
448162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44817
44818 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44819
610f9ab4
AS
448202011-09-08 Andreas Schwab <schwab@redhat.com>
44821
7f513ec8 44822 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44823
48882a1a
LD
448242011-09-07 Ulrich Drepper <drepper@gmail.com>
44825
b49865be
UD
44826 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44827
fdc86bc9
UD
44828 * elf/dl-libc.c (dlerror_run): Pass back error code from
44829 dl_catch_error.
44830
c966526a
UD
44831 [BZ #13123]
44832 * elf/dl-load.c (lose): Free l_origin if it is valid.
44833
48882a1a
LD
44834 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44835 names.
44836 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44837 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44838 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44839 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44840 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44841 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44842
77a2a8b4
AZ
448432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44844
44845 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44846 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44847 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44848 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44849 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44850 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44851 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44852 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44853 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44854 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44855
24f579d8
AM
448562011-08-15 Alan Modra <amodra@gmail.com>
44857
44858 [BZ #13092]
44859 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44860 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44861 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44862 ppc_mcount to static-only-routines.
44863 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44864 __mcount_internal.
44865 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44866 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44867
3d4837df
UD
448682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44869
44870 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44871 for finite and infinity parameters.
44872
22700377
WS
448732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44874
44875 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44876 and add nop instructions for throughput optimization.
44877 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44878
5025581e
WS
448792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44880
44881 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44882 aligned copy for power7 with vector-scalar instructions.
44883 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44884
08a300c9
L
448852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44886
44887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44888 AVX check.
44889
59178ef9
AS
448902011-09-07 Andreas Schwab <schwab@redhat.com>
44891
44892 [BZ #13144]
44893 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44894 last change.
44895
e38ba7ab
UD
448962011-09-07 Ulrich Drepper <drepper@gmail.com>
44897
44898 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44899 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44900 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44901 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44902 clock_gettime.
44903
d53a73ac
UD
449042011-09-06 Ulrich Drepper <drepper@gmail.com>
44905
fc8bffcc
UD
44906 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44907 Forgot to demangle the pointer.
44908
ceaa0c5d
UD
44909 * sysdeps/i386/sysdep.h: Define atom_text_section.
44910 * sysdeps/x86_64/sysdep.h: Likewise.
44911 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44912 section with atom_text_section.
44913 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44914 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44915 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44917 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44918
a77d3c17
UD
44919 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44920 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44921 already be defined. Change to take two parameters and don't assign
44922 result to variable. Adjust all users.
44923 Define INTERNAL_GETTIME if not already defined.
44924 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44925 call.
44926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44927 HAVE_CLOCK_GETTIME_VSYSCALL.
44928 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44929
d53a73ac
UD
44930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44931 gettimeofday vsyscall, just use time.
44932
a8f84144
AS
449332011-09-06 Andreas Schwab <schwab@redhat.com>
44934
44935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44936 <errno.h>.
44937
ef606249
UD
449382011-09-06 Ulrich Drepper <drepper@gmail.com>
44939
44940 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44941 syscall on x86-64.
44942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44943 syscall.
44944 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44945 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44946 syscall if possible.
44947
6585cb60
UD
449482011-09-05 Ulrich Drepper <drepper@gmail.com>
44949
44950 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44951 e_ident. Don't pass to find_mapsXX.
44952 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44953
a5f524e4
LD
449542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44955
44956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44957 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44958 * sysdeps/x86_64/multiarch/strchr.S: Update.
44959 Check bit_slow_BSF bit.
44960 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44961 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44962 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44963
554881ef
UD
449642011-09-05 Ulrich Drepper <drepper@gmail.com>
44965
d96de963
UD
44966 [BZ #13134]
44967 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44968 before glibc 2.15.
44969 (tryshell): Define.
44970 (__spawni): Change last parameter to be flag. Test
44971 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44972 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44973 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44974 * posix/spawni.c: Likewise.
44975 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44976 * posix/spawnp.c: Likewise. Change normal version to use
44977 SPAWN_XFLAGS_USE_PATH.
44978 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44979 SPAWN_XFLAGS_TRY_SHELL.
44980
d48e5868
UD
44981 [BZ #13150]
44982 * posix/glob.h: Remove gcc 1.x support.
44983
554881ef
UD
44984 [BZ #13068]
44985 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44986
693fb948
LD
449872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44988
44989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44990 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44991 strrchr-sse2-bsf
44992 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44993 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44994 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44995 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44996 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44997 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44998
1b48c537
UD
449992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45000
49d42c37
UD
45001 * sysdeps/x86_64/wcscmp.S: New file.
45002
1b48c537
UD
45003 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45004 wcscmp-c wcscmp-sse2
45005 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45006 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45007 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45008 * wcsmbs/wcscmp.c: Allow renaming.
45009
15c95c5d
DM
450102011-09-05 David S. Miller <davem@davemloft.net>
45011
45012 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45013 stack slot, rather than the struct return pointer slot.
45014 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45015 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45017 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45018
2f0ad8f3
UD
450192011-09-05 Ulrich Drepper <drepper@gmail.com>
45020
d88ae418
UD
45021 * po/ja.po: Update from translation team.
45022
2f0ad8f3
UD
45023 [BZ #13144]
45024 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45025 kernel in 64-bit binaries.
45026
5f4318d1
DM
450272011-09-01 David S. Miller <davem@davemloft.net>
45028
45029 * elf/elf.h (HWCAP_SPARC_*): Move to..
45030 * sysdeps/sparc/sysdep.h: this new file and add new values.
45031 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45032 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45033 _DL_HWCAP_COUNT to 24.
45034 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45035 entries.
45036 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45037 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45038 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45039 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45040 instead of magic constants.
45041 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45042
3ba57516
DM
450432011-08-31 David S. Miller <davem@davemloft.net>
45044
45045 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45047 Reimplement to do errno handling inline.
45048 (SYSCALL_ERROR_HANDLER): New macro.
45049 (__SYSCALL_STRING): Do not do errno handling in asm.
45050 (__CLONE_SYSCALL_STRING): Delete.
45051 (__INTERNAL_SYSCALL_STRING): Delete.
45052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45053 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45054 (PSEUDO): Reimplement to do errno handling inline.
45055 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45056 (SYSCALL_ERROR_HANDLER): New macro.
45057 (__SYSCALL_STRING): Do not do errno handling in asm.
45058 (__CLONE_SYSCALL_STRING): Delete.
45059 (__INTERNAL_SYSCALL_STRING): Delete.
45060 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45061 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45062 i386.
45063 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45064 (inline_syscall*): Add 'err' argument.
45065 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45066 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45067 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45068 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45069
45070 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45071 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45072
2bc17433
AS
450732011-08-30 Andreas Schwab <schwab@redhat.com>
45074
45075 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45076
fbeb5f4d
JO
450772011-08-29 Jiri Olsa <jolsa@redhat.com>
45078
45079 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45080 directive.
45081
ad69cc26
DM
450822011-08-24 David S. Miller <davem@davemloft.net>
45083
45084 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45085
39dd69df
AS
450862011-08-24 Andreas Schwab <schwab@redhat.com>
45087
45088 * elf/Makefile: Add rules to build and run unload8 test.
45089 * elf/unload8.c: New file.
45090 * elf/unload8mod1.c: New file.
45091 * elf/unload8mod1x.c: New file.
45092 * elf/unload8mod2.c: New file.
45093 * elf/unload8mod3.c: New file.
45094
45095 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45096 it wasn't used.
45097
2c0b250a
DM
450982011-08-23 David S. Miller <davem@davemloft.net>
45099
45100 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45101 subtract stack bias.
45102 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45103 %sp not %fp in calculations.
45104 (_JMPBUF_UNWINDS_ADJ): Likewise.
45105
22044b48
DM
45106 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45107 (aio_suspend): Call it to force an exception region around the
45108 AIO_MISC_WAIT() invocation.
45109
2cae4995
AS
451102011-08-23 Andreas Schwab <schwab@redhat.com>
45111
45112 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45113 backslash.
45114
873a772e
AJ
451152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45116
45117 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45118 protection macro.
45119 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45120 and <dl-machine.h>.
45121 (Elf64_FuncDesc): Remove.
45122
25ad0df1
DM
451232011-08-22 David S. Miller <davem@davemloft.net>
45124
45125 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45126 sigaltstack check, add missing cfi directives.
45127 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45128 missing cfi directives, and sigaltstack handling.
45129
e888bcbe
AS
451302011-08-16 Andreas Schwab <schwab@redhat.com>
45131
45132 [BZ #11724]
45133 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45134 object is seen twice.
45135 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45136
45137 * elf/Makefile (distribute): Add tst-initorder2.c.
45138 (tests): Add tst-initorder2.
45139 (modules-names): Add tst-initorder2a tst-initorder2b
45140 tst-initorder2c tst-initorder2d. Add rules to build them.
45141 ($(objpfx)tst-initorder2.out): New rule.
45142 * elf/tst-initorder2.c: New file.
45143 * elf/tst-initorder2.exp: New file.
45144
87162f46
AS
451452011-08-22 Andreas Schwab <schwab@redhat.com>
45146
70538b7f
AS
45147 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45148
f55ffe58
AS
45149 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45150 dependencies back to end of function.
45151
87162f46
AS
45152 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45153 $(elfobjdir)/ld.so.
45154
91b392a4
UD
451552011-08-21 Ulrich Drepper <drepper@gmail.com>
45156
45157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45158 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45160 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45161 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45162 of __vdso_gettimeofday.
45163 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45164 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45165 attribute_hidden.
45166 (_libc_vdso_platform_setup): Remove initialization of
45167 __vdso_gettimeofday and __vdso_time.
45168
5c43483f
UD
451692011-08-20 Ulrich Drepper <drepper@gmail.com>
45170
775a77e7
UD
45171 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45172 and fgetc_unlocked.
45173 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45174 getc_unlocked.
89f447ed 45175
49c74ba9
UD
45176 * elf/dl-open.c (add_to_global): Report additions to the global scope
45177 for LD_DEBUG=scopes.
45178 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45179 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45180
5c43483f
UD
45181 [BZ #13114]
45182 * stdio-common/Makefile (tests): Add bug24.
45183 * stdio-common/bug24.c: New file.
45184
a101b025
AJ
451852011-08-19 Andreas Jaeger <aj@suse.de>
45186
45187 [BZ #13114]
45188 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45189 non-existant file when using close-on-exec mode.
45190
c88f1766
UD
451912011-08-20 Ulrich Drepper <drepper@gmail.com>
45192
0276a718
UD
45193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45194 the very first instruction.
45195
c88f1766
UD
45196 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45197 the CFI state in the end.
45198 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45199 inclusion of dl-trampoline.h.
45200 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45201
51ccffa0
AS
452022011-08-19 Andreas Schwab <schwab@redhat.com>
45203
94d7165f
AS
45204 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45205 expectations for long double.
45206
51ccffa0
AS
45207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45208 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45209
fd708658 452102011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45211
45212 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45213 artificual limit depends upon the system page size.
45214
44f0a71e
UD
452152011-08-17 Ulrich Drepper <drepper@gmail.com>
45216
45217 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45218 * resolv/Makefile: Define CFLAGS-libresolv.
45219
8de79a24
AS
452202011-08-17 Andreas Schwab <schwab@redhat.com>
45221
45222 * nss/makedb.c (compute_tables): Make variables used in nested
45223 function static.
45224
27724598
UD
452252011-08-17 Ulrich Drepper <drepper@gmail.com>
45226
c5305d88
UD
45227 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45228 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45229 if buffer was too small.
45230
27724598
UD
45231 * elf/pldd.c (main): Attach to all threads in the process.
45232 Rewrite /proc handling to use *at functions.
45233
076fe015
UD
452342011-08-16 Ulrich Drepper <drepper@gmail.com>
45235
174baab3
UD
45236 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45237 specifies first scope to show.
45238 (dl_open_worker): Update callers. Move printing scope of new
45239 object to before the relocation.
44f0a71e 45240 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45241 * sysdeps/generic/ldsodefs.h: Update declaration.
45242
076fe015
UD
45243 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45244 string for the scope number.
45245
a60df2c3
UD
452462011-08-14 Ulrich Drepper <drepper@gmail.com>
45247
45248 * nscd/servicescache.c (cache_addserv): Make sure written is always
45249 initialized.
45250
5e4287d1
RM
452512011-08-14 Roland McGrath <roland@hack.frob.com>
45252
85ae0589
RM
45253 * sysdeps/i386/i486/bits/atomic.h
45254 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45255 statement expression, so as to suppress "set but not used" warning.
45256 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45257
69f63097
RM
45258 * string/strncat.c (STRNCAT): Use prototype definition.
45259
675456ef
RM
45260 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45261 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45262 -Iprograms here.
45263 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45264 (localedef-modules): Add localedef.
45265 (locale-modules): Add locale.
45266
5e4287d1
RM
45267 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45268 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45269 to avoid a warning.
45270
9c96ff23
DM
452712011-08-14 David S. Miller <davem@davemloft.net>
45272
45273 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45274 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45275
f9ddf089
UD
452762011-08-13 Ulrich Drepper <drepper@gmail.com>
45277
44f0a71e 45278 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45279 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45280 * elf/rtld.c (dl_main): Set l_name of vDSO.
45281 Call _dl_show_scope when DL_DEBUG_SCOPES.
45282 (process_dl_debug): Recognize scopes flag and also set it for all.
45283 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45284 Declare _dl_show_scope.
45285
1dc27704
UD
45286 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45287 (do_dlopen): Pass caller_dlopen to dl_open.
45288 (__libc_dlopen_mode): Initialize caller_dlopen.
45289
f9ddf089
UD
45290 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45291 of libc. Make tolower call locale-independent. Optimize a bit by
45292 using isdigit instead of isalnum.
45293 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45294
9ac533d3
UD
452952011-08-12 Ulrich Drepper <drepper@gmail.com>
45296
45297 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45298 was a dependency or dynamically loaded.
45299
89edf2e9
UD
453002011-08-11 Ulrich Drepper <drepper@gmail.com>
45301
8e999d29
UD
45302 * intl/l10nflist.c: Allow architecture-specific pop function.
45303 * sysdeps/x86_64/l10nflist.c: New file.
45304
89edf2e9
UD
45305 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45306 classification.
45307
14d96785
AS
453082011-08-10 Andreas Schwab <schwab@redhat.com>
45309
45310 * include/dirent.h: Add libc_hidden_proto for scandirat and
45311 scandirat64. Don't declare __scandirat64.
45312 * dirent/scandirat.c: Add libc_hidden_def.
45313 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45314 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45315
6761ac04
DM
453162011-08-10 David S. Miller <davem@davemloft.net>
45317
45318 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45319 enum.
45320 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45323
c55fbd1e
UD
453242011-08-09 Ulrich Drepper <drepper@gmail.com>
45325
45326 * Versions.def [libc]: Add GLIBC_2.15.
45327 * dirent/Makefile (routines): Add scandirat and scandirat64.
45328 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45329 GLIBC_2.15.
45330 * dirent/dirent.h: Declare scandirat and scandirat64.
45331 * dirent/scandirat.c: New file.
45332 * dirent/scandirat64.c: New file.
45333 * sysdeps/wordsize-64/scandirat.c: New file.
45334 * sysdeps/wordsize-64/scandirat64.c: New file.
45335 * dirent/opendir.c: Define opendirat.
45336 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45337 using scandirat.
45338 * dirent/scandir64.c: Adjust for scandir.c change.
45339 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45340 __scandirat64, and __scandir_cancel_handler.
45341 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45342 additional parameter and use openat instead of open (outside of ld.so).
45343 Add new __opendir as wrapper around __opendirat.
45344 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45345 here without requiring old scandirat implementation.
45346
879165f2
UD
453472011-08-08 Ulrich Drepper <drepper@gmail.com>
45348
45349 * dirent/scandir.c (cancel_handler): Renamed to
45350 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45351 defined. Adjust users.
45352 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45353 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45354
cb7e923b
UD
453552011-08-04 Ulrich Drepper <drepper@gmail.com>
45356
16292edd
UD
45357 * string/test-string.h (IMPL): Use __STRING to expand name and then
45358 stringify it.
45359
cb7e923b
UD
45360 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45361 of cleanups.
45362
cff82933
LD
453632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45364
45365 * string/Makefile: Update.
45366 (strop-tests): Append strncat.
45367 * string/test-wcscmp.c: New file.
45368 New comprehensive test for wcscmp.
45369 * string/test-strcmp.c: Update.
45370 (WIDE): New define.
45371
9be9bfcc
AS
453722011-07-22 Andreas Schwab <schwab@redhat.com>
45373
45374 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45375 line.
45376
2e96f1c7
AS
453772011-07-26 Andreas Schwab <schwab@redhat.com>
45378
45379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45380 encoding to ACE if AI_IDN.
45381
85188888
JJ
453822011-08-01 Jakub Jelinek <jakub@redhat.com>
45383
45384 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45385 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45386
5fa16e9b
LD
453872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45388
45389 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45390 Fix overflow bug in strncat.
45391 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45392
45393 * string/test-strncat.c: Update.
45394 Add new tests for checking overflow bugs.
45395
453962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45397
45398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45399 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45400 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45401 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45402 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45403 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45404 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45405 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45406 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45407
45408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45409 (USE_AS_STRCAT): Define.
45410 Add strcat and strncat support.
45411 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45412
8c1a459f
AS
454132011-07-25 Andreas Schwab <schwab@redhat.com>
45414
45415 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45416 __n bigger than INT_MAX+1.
45417 (__strncmp_g): Likewise.
45418
bba33c28
UD
454192011-07-23 Ulrich Drepper <drepper@gmail.com>
45420
798be72d
UD
45421 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45422 * libio/stido.h: Likewise.
45423
8accd4dc
UD
45424 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45425 (AF_NFC): Define.
45426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45427 (AF_NFC): Define.
45428
cbff0d96
UD
45429 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45430 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45431 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45432 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45433 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45434
9191c04a
UD
45435 [BZ #13021]
45436 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45437 installed.
45438
bba33c28
UD
45439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45440 typo.
45441 (_dl_x86_64_save_sse): Likewise.
45442
90f139dd
UD
454432011-07-22 Ulrich Drepper <drepper@gmail.com>
45444
1aae088a
UD
45445 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45446 OSXSAVE.
45447 (_dl_x86_64_save_sse): Likewise.
45448
8e2045f5
UD
45449 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45450
90f139dd
UD
45451 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45452
1d002f25
AS
454532011-07-21 Andreas Schwab <schwab@redhat.com>
45454
45455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45456 change.
45457 (_dl_x86_64_save_sse): Use correct AVX check.
45458
21137f89
UD
454592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45460
45461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45462 bug in strncpy/strncat.
45463 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45464
a65c0b7a
UD
454652011-07-21 Ulrich Drepper <drepper@gmail.com>
45466
45467 * string/tester.c (test_strcat): Add tests for different alignments
45468 of source and destination.
45469 (test_strncat): Likewise.
45470
6986b98a
UD
454712011-07-20 Ulrich Drepper <drepper@gmail.com>
45472
90bb2039
UD
45473 [BZ #12852]
45474 * posix/glob.c (glob): Check passed in values before using them in
45475 expressions to avoid some overflows.
45476 (glob_in_dir): Likewise.
45477
5644ef54
UD
45478 [BZ #13007]
45479 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45480 check for AVX enablement so that we don't crash with old kernels and
45481 new hardware.
45482 * elf/tst-audit4.c: Add same checks here.
45483 * elf/tst-audit6.c: Likewise.
45484
45485 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 45486
bfc9dc9b
AS
454872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45488
45489 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45490
702e64bb
UD
454912011-07-20 Ulrich Drepper <drepper@gmail.com>
45492
45493 * po/cs.po: Update from translation team.
45494 * po/bg.po: Likewise.
45495
295e904f
MP
454962011-07-12 Marek Polacek <mpolacek@redhat.com>
45497
45498 * misc/sys/cdefs.h: Add support for const attribute.
45499 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45500 to gnu_dev_{major,minor,makedev} functions.
45501
3ff94596
MP
455022011-07-20 Marek Polacek <mpolacek@redhat.com>
45503
45504 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45505
28b59fca
AS
455062011-07-20 Andreas Schwab <schwab@redhat.com>
45507
45508 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45509 strlen results.
45510
19df733e
AK
455112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45512
45513 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45514 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45515 register in order to avoid conflicts with the soft frame pointer
45516 being held in r11 when necessary.
45517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45518 (INTERNAL_VSYSCALL_NCS): Likewise.
45519
c8835729
MP
455202011-07-14 Marek Polacek <mpolacek@redhat.com>
45521
45522 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45523 * elf/dl-fini.c (_dl_fini): Adjust caller.
45524 * elf/dl-close.c (_dl_close_worker): Likewise.
45525 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45526
b902330c
MP
455272011-07-15 Marek Polacek <mpolacek@redhat.com>
45528
8991e135
MP
45529 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45530 "aux_cache->nlibs < 0".
45531
b902330c
MP
45532 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45533 in the reload-count case.
45534
99710781
LD
455352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45536
45537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45538 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45539 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45540 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45541 * sysdeps/x86_64/multiarch/strcat.S: New file.
45542 * sysdeps/x86_64/multiarch/strncat.S: New file.
45543 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45544 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45545 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45546 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45548 (USE_AS_STRCAT): Define.
45549 Add strcat and strncat support.
45550 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45551 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45552 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45553 * string/strncat.c: Update.
45554 (USE_AS_STRNCAT): Define.
45555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45556 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45557 and i7.
45558 * sysdeps/x86_64/multiarch/init-arch.h
45559 (bit_Prefer_PMINUB_for_stringop): New.
45560 (index_Prefer_PMINUB_for_stringop): Likewise.
45561 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45562 bit_Prefer_PMINUB_for_stringop.
45563
7dc6bd90
UD
455642011-07-19 Ulrich Drepper <drepper@gmail.com>
45565
45566 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45567 buffer64.
45568 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45569 of casting of buffer.
45570 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45571 buffer32 and buffer64.
45572 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45573 writes instead of casting of buffer.
45574 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45575 buffer32.
45576 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45577 casting of buffer.
45578
e0e72284
AS
455792011-07-19 Andreas Schwab <schwab@redhat.com>
45580
45581 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45582
feb1eb0b
UD
455832011-07-19 Ulrich Drepper <drepper@gmail.com>
45584
45585 * nscd/nscd.c (termination_handler): Don't do anything for a database
45586 if it has not yet been initialized.
45587
298711ff
UD
455882011-07-18 Ulrich Drepper <drepper@gmail.com>
45589
45590 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45591
455922011-07-15 Marek Polacek <mpolacek@redhat.com>
45593
45594 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45595
f9d68389
UD
455962011-07-18 Ulrich Drepper <drepper@gmail.com>
45597
45598 * po/nl.po: Update from translation team.
45599 * po/sv.po: Likewise.
45600
db290cf5
RM
456012011-07-16 Roland McGrath <roland@hack.frob.com>
45602
45603 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45604 now disallowed by GCC.
5c550700 45605
fd5e21c7
RM
45606 * configure.in (use-default-link): Default to yes if a test -shared
45607 link meets our qualifications.
45608 * configure: Regenerated.
45609
5c550700
RM
45610 * config.make.in (output-format): New variable.
45611 * configure.in: Check for ld --print-output-format support.
45612 * configure: Regenerated.
45613 * Makerules ($(common-objpfx)format.lds)
45614 [$(output-format) != unknown]: Just use $(output-format),
45615 instead of the linker-script munging.
45616
9fa2c032
RM
456172011-07-14 Roland McGrath <roland@hack.frob.com>
45618
a6928d51
RM
45619 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45620 of $(common-objpfx)shlib.lds.
45621 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45622
661607b3
RM
45623 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45624 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45625
9fa2c032
RM
45626 * configure.in (-z relro check): Adjust test code to add a large
45627 writable data section after it.
45628 * configure: Regenerated.
45629
defe9061
RM
456302011-07-11 Roland McGrath <roland@hack.frob.com>
45631
45632 * configure.in (-z relro check): Fix test code to make the variable
45633 truly const.
45634 * configure: Regenerated.
45635
319b9ad4
UD
456362011-07-11 Ulrich Drepper <drepper@gmail.com>
45637
45638 * nscd/nscd.h (struct traced_file): Define.
45639 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45640 elements. Add traced_files.
45641 (inotify_fd): Declare.
45642 (register_traced_file): Declare.
45643 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45644 (inotify_fd): Export.
45645 (resolv_conf_descr): Remove.
45646 (nscd_init): Move inotify descriptor creation to main.
45647 Don't register files for notification here.
45648 (register_traced_file): New function.
45649 (invalidate_cache): Don't use reset_res to determine whether to call
45650 res_init, go through the list of registered files.
45651 (main_loop_poll): The inotify descriptors are now stored in the
45652 structures for the traced files.
45653 (main_loop_epoll): Likewise
45654 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45655 to __nss_disable_nscd.
45656 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45657 for a database anymore. Check the records for all the registered
45658 files instead.
45659 * nss/Makefile (libnss_files-routines): Add files-init.
45660 (libnss_db-routines): Add db-init.
45661 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45662 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45663 * nss/nss_db/db-init.c: New file.
45664 * nss/nss_files/files-init.c: New file.
45665 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45666 __nss_lookup_function.
45667 (__nss_lookup_function): Call nss_load_library.
45668 (nss_load_all_libraries): New function.
45669 (__nss_disable_nscd): Take parameter with callback function for files
45670 to register. Set is_nscd. Load all the DSOs for the NSS modules
45671 used for the cached services.
45672 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45673 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45674 options for features to all the files in nscd.
45675
45676 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45677
23bee3e8
RM
456782011-07-10 Roland McGrath <roland@hack.frob.com>
45679
45680 * csu/elf-init.c (__libc_csu_init): Comment typo.
45681
46a5b7f0
UD
456822011-07-09 Ulrich Drepper <drepper@gmail.com>
45683
45684 * po/pl.po: Update from translation team.
45685 * po/ja.po: Likewise.
45686 * po/ru.po: Likewise.
45687 * po/ko.po: Likewise.
45688 * po/fr.po: Likewise.
45689
d30cf5bb
RM
456902011-07-09 Roland McGrath <roland@hack.frob.com>
45691
113ddea4
RM
45692 * configure.in (.ctors/.dtors header and trailer check):
45693 Use an empirical test on a built program.
45694 * configure: Regenerated.
45695
574920b4
RM
45696 * configure.in (-z relro check): Use an empirical test on a built DSO.
45697 Detect, but do not require, on ia64.
45698 * configure: Regenerated.
45699
d30cf5bb
RM
45700 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45701 Update tests that use readelf to use $READELF instead.
45702 * configure: Regenerated.
45703
8538fdb3
UD
457042011-07-08 Ulrich Drepper <drepper@gmail.com>
45705
45706 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45707 if the result is not used.
45708
04d08991
AJ
457092011-07-05 Andreas Jaeger <aj@suse.de>
45710
45711 [BZ#9696]
45712 * stdlib/tst-strtod.c: Add testcase.
45713
de283087
AD
457142011-07-07 Ulrich Drepper <drepper@gmail.com>
45715
4e5f31c8 45716 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45717 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45718 The latter has a higher limit. Take additional parameter to pass to
45719 the new function.
45720 (__pathconf): Pass file to __statfs_link_max.
45721 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45722 __statfs_link_max.
45723 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45724 __statfs_link_max.
45725
de283087
AD
45726 [BZ #12868]
45727 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45729 Handle Lustre.
45730 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45731 (__statfs_filesize_max): Likewise.
45732 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45733
c75fa153
AJ
457342011-07-05 Andreas Jaeger <aj@suse.de>
45735
45736 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45737
1a544854
UD
457382011-07-06 Marek Polacek <mpolacek@redhat.com>
45739
45740 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45741 `status' variable.
45742 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45743 Likewise.
45744
6f0eec67
UD
457452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45746
45747 * Makefile (strop-tests): Add strncat.
45748 * string/test-strncat.c: New file.
45749
aae30307
UD
457502011-06-30 Marek Polacek <mpolacek@redhat.com>
45751
45752 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45753
c0cfb5eb
UD
457542011-06-21 Andreas Jaeger <aj@suse.de>
45755
45756 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45757 Copy rule from iconvdata/Makefile.
45758
01636b21
UD
457592011-07-06 Ulrich Drepper <drepper@gmail.com>
45760
45761 [BZ #12922]
45762 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45763 but no long options are defined, just return 'W'.
45764
9895c8bc
UD
457652011-06-22 Marek Polacek <mpolacek@redhat.com>
45766
45767 [BZ #9696]
45768 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45769
5d4cf042
UD
457702011-07-06 Ulrich Drepper <drepper@gmail.com>
45771
45772 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45773 netgroups to read.
960e5535 45774 (innetgr): Likewise.
5d4cf042 45775
751eb97e
RM
457762011-07-05 Roland McGrath <roland@hack.frob.com>
45777
45778 * config.make.in (install_root): Default to $(DESTDIR).
45779
f15f1e45
UD
457802011-07-05 Ulrich Drepper <drepper@gmail.com>
45781
45782 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45783
4e34ac6a
RM
457842011-07-02 Roland McGrath <roland@hack.frob.com>
45785
5e9b6af4
RM
45786 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45787
84f9ea0f
RM
45788 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45789 containing directory rather than embedding absolute directory names.
45790
ea5ee9f7
RM
45791 * scripts/check-local-headers.sh: Rewritten using awk.
45792 Match by word, not by line. Print error messages for matches.
45793 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45794
1b74661a
RM
45795 * Makerules [shlib-lds-flags empty]:
45796 ($(common-objpfx)libc_pic.opts): New target.
45797 ($(common-objpfx)libc_pic.os.clean): New target.
45798 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45799
45800 * config.make.in (OBJCOPY): New variable.
45801 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45802 * configure: Regenerated.
45803
f781ef40
RM
45804 * config.make.in (use-default-link): New variable.
45805 * configure.in (use_default_link): Grok --with-default-link to set it.
45806 * configure: Regenerated.
45807 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45808 (shlib-lds, shlib-lds-flags): Define to empty.
45809
2d4fa81e
RM
45810 * Makerules (shlib-lds): New variable.
45811 (shlib-lds-flags): New variable.
45812 (build-shlib, build-moduile, build-module-asneeded): Use it.
45813 ($(common-objpfx)libc.so): Use $(shlib-lds).
45814 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45815 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45816
31fffa6b
RM
45817 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45818 DT_FLAGS/DT_FLAGS_1 with zero flags.
45819
4e34ac6a
RM
45820 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45821 linker script munging.
45822
fcfc776b
UD
458232011-07-02 Ulrich Drepper <drepper@gmail.com>
45824
45825 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45826 as 128-bit value.
45827 * crypt/sha512.c (sha512_process_block): Perform total addition using
45828 128-bit if possible.
45829 (__sha512_finish_ctx): Likewise.
45830 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45831 as 64-bit value.
45832 * crypt/sha256.c (SWAP64): Define.
45833 (sha256_process_block): Perform total addition using 64-bit if
45834 possible.
45835 (__sha256_finish_ctx): Likewise.
45836
99231d9a
UD
458372011-07-01 Ulrich Drepper <drepper@gmail.com>
45838
45839 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45840 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45841 * nscd/hstcache.c (cache_addhst): Likewise.
45842 * nscd/grpcache.c (cache_addgr): Likewise.
45843 * nscd/aicache.c (addhstaiX): Likewise
45844 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45845
445b4a53
TK
458462011-07-01 Thorsten Kukuk <kukuk@suse.de>
45847
45848 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45849 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45850 * nscd/hstcache.c (cache_addhst): Likewise.
45851 * nscd/grpcache.c (cache_addgr): Likewise.
45852 * nscd/aicache.c (addhstaiX): Likewise
45853
6d4d8e8e
AS
458542011-07-01 Andreas Schwab <schwab@redhat.com>
45855
45856 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45857 domain only when needed.
45858
89f654c5
AS
458592011-06-30 Andreas Schwab <schwab@redhat.com>
45860
45861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45862 is always restored.
45863
cf3b23ff
UD
458642011-06-29 Ulrich Drepper <drepper@gmail.com>
45865
45866 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45867 are re-adding the entry.
45868 * nscd/servicescache.c (cache_addserv): Likewise.
45869
751626f9
AJ
458702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45871
45872 * sysdeps/generic/dl-irel.h: fix protection against multiple
45873 inclusions.
45874 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45875
9113ea1f
UD
458762011-06-28 Ulrich Drepper <drepper@gmail.com>
45877
5c0b8d90
UD
45878 [BZ #12935]
45879 * malloc/memusage.sh: Fix quoting in message.
45880 * debug/xtrace.sh: Likewise.
45881
9113ea1f
UD
45882 * configure.in: Remove support for --experimental-malloc option, make
45883 it the default.
45884 * config.make.in: Likewise.
45885 * malloc/Makefile: Likewise.
45886
a4172181
AS
458872011-06-27 Andreas Schwab <schwab@redhat.com>
45888
45889 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45890 two-byte characters.
45891
78a7eee7
RM
458922011-06-27 Roland McGrath <roland@hack.frob.com>
45893
62bede13
RM
45894 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45895 AC_CACHE_CHECK invocation.
45896 * configure: Regenerated.
45897
78a7eee7
RM
45898 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45899
5ce33a62
UD
459002011-06-27 Ulrich Drepper <drepper@gmail.com>
45901
034807a9
UD
45902 [BZ #12350]
45903 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45904 bit from old_res_options.
45905
4902da17
UD
45906 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45907
5ce33a62
UD
45908 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45909 value type for setfct.
45910
c2344f56
L
459112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45912
45913 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45914 __gettimeofday instead of gettimeofday.
45915
68468076
UD
459162011-06-26 Ulrich Drepper <drepper@gmail.com>
45917
45918 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45919
acb0d739
L
459202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45921
45922 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45923
45924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45925 info.
45926
8912479f
L
459272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45928
45929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45930 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45931 strcpy-sse2-unaligned strncpy-sse2-unaligned
45932 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45933 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45934 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45935 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45936 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45937 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45938 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45939 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45940 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45941 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45942 (STRCPY): Support SSE2 and SSSE3 versions.
45943
d5495a11
UD
459442011-06-24 Ulrich Drepper <drepper@gmail.com>
45945
45946 [BZ #12874]
45947 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45948 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45949 kernels which artificially limit size of requests.
45950
0b1cbaae
L
459512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45952
45953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45954 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45955 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45956 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45957 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45958 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45959 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45960 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45961 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45962 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45963 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45964 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45965 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45966 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45967 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45969 Enable unaligned load optimization for Intel Core i3, i5 and i7
45970 processors.
45971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45972 Define.
45973 (index_Fast_Unaligned_Load): Define.
45974 (HAS_FAST_UNALIGNED_LOAD): Define.
45975
07f494a0
MP
459762011-06-23 Marek Polacek <mpolacek@redhat.com>
45977
45978 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45979
fa3fc0fe
UD
459802011-06-22 Ulrich Drepper <drepper@gmail.com>
45981
45982 [BZ #12907]
45983 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45984 until it is clear that the information is realy needed.
45985 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45986
e12df166
AS
459872011-06-22 Andreas Schwab <schwab@redhat.com>
45988
45989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45990
852eb34d
UD
459912011-06-22 Ulrich Drepper <drepper@gmail.com>
45992
84e2a551
UD
45993 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45994 /sys/devices/system/cpu/online if it is usable.
45995
852eb34d
UD
45996 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45997 reading the information from the /proc filesystem to once a second.
45998
6e502e19
UD
459992011-06-21 Andreas Jaeger <aj@suse.de>
46000
46001 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46002 NULL after inclusion of kernel headers.
46003
75d39ff2
UD
460042011-06-21 Ulrich Drepper <drepper@gmail.com>
46005
51f9aa6a
UD
46006 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46007 calls to internal_setent.
46008
c0244a9d
UD
46009 [BZ #12885]
46010 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46011 addresses using gethostbyname4_r ignore IPv4 addresses.
46012
c5e3c2ae
UD
46013 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46014 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46015
75d39ff2
UD
46016 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46017
42675c6f
DM
460182011-06-20 David S. Miller <davem@davemloft.net>
46019
46020 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46021 inclusions.
46022 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46023
46024 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46025 (elf_irel): Use it.
46026 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46027 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46028 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46029 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46030 * sysdeps/x86_64/dl-irel.h: Likewise.
46031
46032 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46033 * elf/dl-sym.c: Likewise.
46034
57912a71
UD
460352011-06-15 Ulrich Drepper <drepper@gmail.com>
46036
46037 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46038 need to dereference resplen2.
46039
ee22793d
AS
460402011-06-14 Andreas Schwab <schwab@redhat.com>
46041
46042 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46043
a9e836b0
UD
460442011-06-15 Ulrich Drepper <drepper@gmail.com>
46045
77fb9117
UD
46046 * Makeconfig: Define vardbdir and inst_vardbdir.
46047 * nss/Makefile: Add rules to install db-Makefile.
46048
40c1b22c
UD
46049 * nss/nss_db/db-XXX.c: Cleanup.
46050
9f2da732
UD
46051 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46052 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46053 GLIBC_PRIVATE.
46054 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46055 * nss/makedb.c: Implement -g option to specify that value strings
46056 are generated and should not be added to table iterated over for
46057 get*ent calls.
46058 * nss/nss_db/db-initgroups.c: New file.
46059
82e9a1f7
UD
46060 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46061 interface.
46062
c41af17e
UD
46063 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46064 (internal_getgrouplist): Adjust to name change.
46065 Update use_initgroups_entry if this is not the first call.
46066 * nss/databases.def: Add initgroups entry.
46067
a9e836b0
UD
46068 * nss/makedb.c (compute_tables): Check result of multiple hash table
46069 sizes to minimize maximum chain length.
46070
2666d441
UD
460712011-06-14 Ulrich Drepper <drepper@gmail.com>
46072
46073 * Versions.def: Add entry for libnss_db.
46074 * shlib-versions: Likewise.
46075 * nss/Makefile: Add rules to build libnss_db.
46076 * nss/Versions: Add libnss_db information. Organize libnss_files
46077 entries better.
46078 * nss/db-Makefile: Add gshadow support. Change rules for the new
46079 makedb progra. Some minor improvements to generate smaller files.
46080 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46081 here from...
46082 * nss/makedb.c: ...here.
46083 Improve database format to be smaller and require less memory at
46084 runtime.
46085 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46086 db anymore.
46087 * nss/nss_db/db-netgrp.c: Likewise.
46088 * nss/nss_db/db-open.c: Likewise.
46089 * nss/nss_files/flies-XXX.x: Adjust comments.
46090 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46091 * nss/nss_files/files-grp.c: Likewise.
46092 * nss/nss_files/files-hosts.c: Likewise.
46093 * nss/nss_files/files-network.c: Likewise.
46094 * nss/nss_files/files-proto.c: Likewise.
46095 * nss/nss_files/files-pwd.c: Likewise.
46096 * nss/nss_files/files-rpc.c: Likewise.
46097 * nss/nss_files/files-service.c: Likewise.
46098 * nss/nss_files/files-sgrp.c: Likewise.
46099 * nss/nss_files/files-spwd.c: Likewise.
46100 * nss/nss_db/db-alias.c: Removed.
46101 * nss/nss_db/dummy-db.h: Removed.
46102
9ee76b5a
UD
461032011-06-02 Ulrich Drepper <drepper@gmail.com>
46104
46105 * nss/makedb.c: Rewritten to not use database library.
46106 * nss/Makefile: Update to build new makedb program.
46107
c71ca1f8
AJ
461082011-06-14 Andreas Jaeger <aj@suse.de>
46109
46110 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46111 memset declaration.
46112
3154bfb8
UD
461132011-06-10 Andreas Schwab <schwab@redhat.com>
46114
46115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46116 tmpbuf.
46117
b350afab
RM
461182011-06-10 Roland McGrath <roland@hack.frob.com>
46119
decd4e50
RM
46120 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46121 * elf/Makefile ($(objpfx)ld.so): Likewise.
46122
5615eaf2
RM
46123 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46124 Don't list ld.so twice in dependencies.
46125
46126 * posix/bug-regex31.c: Include <stdlib.h>.
46127
46128 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46129
46130 * nis/nss_compat/compat-spwd.c
46131 (getspent_next_nss_netgr): Remove unused variable.
46132 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46133
46134 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46135 nonmembers" output to use the right array.
46136
46137 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46138
46139 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46140
46141 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46142 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46143 * catgets/gencat.c (read_input_file): Likewise.
46144 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46145
46146 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46147 variable definition inside #if's controlling its use.
46148
46149 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46150
46151 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46152
46153 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46154
46155 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46156 unreachable code.
46157
46158 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46159
b68e08db
RM
46160 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46161 * configure: Regenerated.
46162
b350afab
RM
46163 * Makerules: Revert last change.
46164 * elf/Makefile: Likewise.
46165
28368601
RM
461662011-06-09 Roland McGrath <roland@hack.frob.com>
46167
46168 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46169 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46170 (reloc-link): Likewise.
46171
11988f8f
UD
461722011-06-09 Ulrich Drepper <drepper@gmail.com>
46173
46174 * elf/Makefile: Add rules to build pldd.
46175 * elf/pldd.c: New file.
46176 * elf/pldd-xx.c: New file.
46177
e80fab37
UD
461782011-06-07 Ulrich Drepper <drepper@gmail.com>
46179
46180 * version.h: Update for 2.15 development version.
46181
9b849836
DM
461822011-06-07 David S. Miller <davem@davemloft.net>
46183
46184 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46185 ifuncs.
46186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46187 elf_machine_lazy_rel): Likewise.
46188 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46190 elf_machine_lazy_rel): Likewise.
46191 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46192 dl_hwcap via passed in argument.
46193 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46194 Likewise.
46195
5a31b283
AK
461962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46197
46198 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46199
069e52f8
RM
462002011-06-06 Roland McGrath <roland@hack.frob.com>
46201
46202 [BZ #12849]
46203 * manual/fdl-1.1.texi: New file, verbatim from:
46204 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46205 * manual/lgpl-2.1.texi: New file, verbatim from:
46206 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46207 * manual/Makefile (licenses): New variable, list those new file names.
46208 (texis): Use it.
46209 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46210
46211 * manual/fdl.texi: File removed.
46212 * manual/lesser.texi: File removed.
46213 * manual/libc.texinfo (Copying, Documentation License):
46214 Use new @include file names, put @appendix directive before @include.
46215
f16846a5
JJ
462162011-06-04 Jakub Jelinek <jakub@redhat.com>
46217
46218 [BZ #12841]
46219 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46220 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46221 (mq_open): Add __NTH.
46222
3d29045b
L
462232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46224
46225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46226 Assume Intel Core i3/i5/i7 processor if AVX is available.
46227
8c297311
UD
462282011-05-31 Ulrich Drepper <drepper@gmail.com>
46229
46230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46231 typo.
46232
c8fc0c91
UD
462332011-05-31 Andreas Schwab <schwab@redhat.com>
46234
46235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46236 memory. Use alloca_account. Fix memory leak when retrying.
46237
5b27a807
UD
462382011-05-31 Ulrich Drepper <drepper@gmail.com>
46239
356f8bc6
UD
46240 * version.h (RELEASE): Bump for 2.14 release.
46241 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46242
5b27a807
UD
46243 * config.make.in (RANLIB): Remove entry.
46244
01f16ab0
UD
462452011-05-30 Ulrich Drepper <drepper@gmail.com>
46246
41fce8bd
UD
46247 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46248 (libc.pot): Work around missing support for .ksh extension in xgettext.
46249
4769ae77
UD
46250 [BZ #12684]
46251 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46252 if both request failed.
46253 (send_dg): In case of server errors clear resplen or *resplen2.
46254
6b1e7d19
UD
46255 [BZ #12454]
46256 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46257 when there are multiple maps.
46258 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46259 (_dl_fini): Remove test here.
46260
01f16ab0
UD
46261 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46262
b1ebd700
UD
462632011-05-29 Ulrich Drepper <drepper@gmail.com>
46264
7ae22829
UD
46265 [BZ #12350]
46266 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46267 bit from old_res_options.
46268 (gaih_inet): Likewise.
46269
553149f6 46270 [BZ #11099]
18a84741 46271 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46272 as signed.
46273
652ffab1
UD
46274 * resolv/res_init.c (res_setoptions): Make the code more compact.
46275
16985fd0
UD
46276 [BZ #11558]
46277 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46278 set RES_USEVC.
46279
0464f746
UD
46280 [BZ #11634]
46281 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46282
7d17596c
UD
46283 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46284
cf6bbbd7
UD
46285 [BZ #11781]
46286 * malloc/malloc.h: Declare malloc hook variables as volatile.
46287
13f1ab36
UD
46288 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46289 in last patch.
46290
b1ebd700
UD
46291 [BZ #11799]
46292 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46293 raise in the comment.
80e2212d
UD
46294 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46295 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46296 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46297
ce67228d
UD
462982011-05-28 Ulrich Drepper <drepper@gmail.com>
46299
8887a920
UD
46300 [BZ #12811]
46301 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46302 grow the buffers more if it already has to be sufficient.
46303 (build_wcs_upper_buffer): Likewise.
46304 * posix/regexec.c (check_matching): Likewise.
46305 (clean_state_log_if_needed): Likewise.
46306 (extend_buffers): Don't enlarge buffers beyond size of the input
46307 buffer.
46308 Patches mostly by Emil Wojak <emil@wojak.eu>.
46309 * posix/bug-regex32.c: New file.
46310 * posix/Makefile (tests): Add bug-regex32.
46311
4f031072
UD
46312 * locale/findlocale.c (_nl_find_locale): Return right away if
46313 _nl_explode_name failed.
46314 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46315
d0478f0c
UD
46316 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46317
de81b246
UD
46318 * debug/xtrace.sh: Unify messages.
46319 * malloc/memusage.sh: Likewise.
46320
c738465a
UD
46321 [BZ #12813]
46322 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46323 time symbol from vDSO. Substitute with vsyscall if not available.
46324 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46325 __vdso_time.
46326
f1f929d7
UD
46327 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46328 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46329 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46330 Add sendmmsg and internal_sendmmsg.
46331 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46332 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46333 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46334
ce67228d
UD
46335 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46336 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46338
e57420c6
UD
463392011-05-27 Ulrich Drepper <drepper@gmail.com>
46340
a8509ca5
UD
46341 [BZ #12813]
46342 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46343 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46344 available.
46345 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46346 __vdso_getcpu.
46347
e57420c6
UD
46348 [BZ #12814]
46349 * iconvdata/Makefile (tests): Add bug-iconv9.
46350 * iconvdata/bug-iconv9.c: New file.
46351
4d07db15
AS
463522011-05-27 Andreas Schwab <schwab@redhat.com>
46353
46354 [BZ #12814]
46355 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46356
ea486f69
JJ
463572011-05-25 Jakub Jelinek <jakub@redhat.com>
46358
46359 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46360 (struct user_regs_struct): Change intcs field back to cs.
46361
6f038433
UD
463622011-05-25 Ulrich Drepper <drepper@gmail.com>
46363
46364 * po/ja.po: Update from translation team.
46365
67f86a25
UD
463662011-05-23 Ulrich Drepper <drepper@gmail.com>
46367
46368 [BZ #12795]
46369 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46370 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46371
def7fbd6
AS
463722011-05-20 Andreas Schwab <schwab@redhat.com>
46373
46374 * stdlib/longlong.h: Update from GCC.
46375
f50ef8f1
AS
463762011-05-23 Andreas Schwab <schwab@redhat.com>
46377
46378 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46379 parameter name.
46380 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46381 Add parameter name.
46382 (__sysconf): Pass it down.
46383
de7ce8f1
UD
463842011-05-22 Ulrich Drepper <drepper@gmail.com>
46385
f2962a71
UD
46386 [BZ #12671]
46387 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46388 some situations.
46389 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46390 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46391 add in in __libc_use_alloca calls. Adjust callers.
46392 (glob): Use malloc in some situations.
46393
de7ce8f1
UD
46394 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46395 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46396 pltexit.
46397
aec84f53
UD
463982011-05-21 Ulrich Drepper <drepper@gmail.com>
46399
05bb4a68
UD
46400 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46401 and CLOCK_BOOTTIME_ALARM.
46402
7ea72f99
UD
46403 [BZ #12782]
46404 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46405 is returned.
46406
7e4afad5
UD
46407 * string/_strerror.c (__strerror_r): Print negative errors as signed
46408 numbers.
46409
8e211fec
UD
46410 [BZ #12777]
46411 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46412 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46413 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46414
f7d82dc9
UD
46415 * configure.in: Fix typo in redirection and correct removal of test
46416 files in two cases.
46417
cc9e536d
UD
46418 [BZ #12788]
46419 * locale/setlocale.c (new_composite_name): Fix test to check for
46420 identical name of all categories.
46421
aec84f53
UD
46422 [BZ #12792]
46423 * libio/filedoalloc.c (local_isatty): New function.
46424 (_IO_file_doallocate): Use local_isatty.
46425 * stdio-common/perror.c (perror): In case a new stream is used
46426 forward the stream error.
46427 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46428 error flag.
46429
78e64fdc
RT
464302011-05-20 Ulrich Drepper <drepper@gmail.com>
46431
34a9094f
UD
46432 [BZ #11869]
46433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46434 alloca.
46435 * include/alloca.h (extend_alloca_account): Define.
46436
78e64fdc
RT
46437 [BZ #11857]
46438 * posix/regex.h: Fix comments with documentation of user-accessible
46439 fields after compilation and describe correct free'ing of pattern
46440 after re_compile_pattern.
46441 Patch by Reuben Thomas <rrt@sc3d.org>.
46442
457bddfc
RA
464432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46444
46445 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46446 and -mno-altivec to prevent the compiler from using Altivec and/or
46447 VSX instructions when the corresponding registers are not available.
46448
a4527b51
AS
464492011-05-19 Andreas Schwab <schwab@redhat.com>
46450
46451 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46452
ed690b2f
UD
464532011-05-19 Ulrich Drepper <drepper@gmail.com>
46454
46455 * libio/freopen.c (freopen): Use __dup2, not dup2.
46456 * libio/freopen64.c (freopen64): Likewise.
46457
8db73634
L
464582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46459
46460 [BZ #12775]
46461 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46462 * math/Makefile (tests): Add test-powl.
46463 (CFLAGS-test-powl.c): Define.
46464 * math/test-powl.c: New file.
46465
0a197a9d
L
464662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46467
46468 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46469
ee30c380
UD
464702011-05-17 Ulrich Drepper <drepper@gmail.com>
46471
46472 [BZ #11837]
46473 * iconvdata/gb18030.c: Update to GB18020-2005.
46474
6ce75379
UD
464752011-05-16 Ulrich Drepper <drepper@gmail.com>
46476
a4b89fd8
AR
46477 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46478 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46479 Patch by Aharon Robbins <arnold@skeeve.com>.
46480
ea389b12
UD
46481 [BZ #11892]
46482 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46483 on the stack.
46484
68a3f91f
UD
46485 [BZ #11895]
46486 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46487 through underflows.
46488
15cc7dd1
UD
46489 [BZ #12766]
46490 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46491 point to strings before performing equality test for error_one_per_line
46492 mode.
46493
f3799213
UD
46494 [BZ #11697]
46495 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46496
d79a9c94
UD
46497 [BZ #11820]
46498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46499 (struct user_fpregs_struct): Avoid __uint*_t types.
46500
56e5eb46
UD
46501 [BZ #6420]
46502 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46503 symbol info. Use it instead of calling _dl_addr locally.
46504 (lock_and_info): New function.
46505 (tr_freehook): Call lock_and_info and pass symbol info as additional
46506 parameter to tr_where.
46507 (tr_mallochook): Likewise.
46508 (tr_reallochook): Likewise.
46509 (tr_memalignhook): Likewise.
46510
6ce75379
UD
46511 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46512 used and couldn't be at all thread-safe.
46513
f8a3b5bf
UD
465142011-05-15 Ulrich Drepper <drepper@gmail.com>
46515
94b7cc37
UD
46516 * libio/freopen.c (freopen): Don't close old file descriptor
46517 before the new one is opened. Instead dup the new file descriptor
46518 to the old one after the new stream is created.
46519 * libio/freopen64.c (freopen64): Likewise.
46520 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46521 * libio/fileops.c (_IO_new_file_close_it): Handle new
46522 _IO_FLAGS2_NOCLOSE flag.
46523 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46524 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46525 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46526 _IO_FLAGS2_NOCLOSE flag.
46527 * include/unistd.h: Add hidden_proto for dup3.
46528 Define __have_dup3.
46529 * io/dup3.c: Define hidden symbol.
46530 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46531
bd25564e
UD
46532 [BZ #7101]
46533 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46534 when an incomplete long option is used.
46535 * posix/tst-getopt_long1.c: New file.
46536 * posix/Makefile (tests): Add tst-getopt_long1.
46537
c84cfef4
UD
46538 [BZ #10138]
46539 * scripts/config.guess: Update from autoconf-2.68.
46540 * scripts/config.sub: Likewise.
46541
3b85df27
UD
46542 [BZ #10157]
46543 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46544 tests into ...
46545 (has_cpuclock): ...this. New function.
46546 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46547 macro here based on has_cpuclock code.
46548
15a856b1
UD
46549 [BZ #10149]
46550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46551 First byte (not low byte) is now always NUL.
46552 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46553
05f399e6
UD
46554 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46555 Use non-cancelable interfaces.
46556
10a52685 46557 [BZ #9809]
94ecc67d
UD
46558 * locale/iso-639.def: Add entry for Sorani.
46559
f8a3b5bf
UD
46560 [BZ #11901]
46561 * include/stdlib.h: Move include protection to the right place.
46562 Define abort_msg_s. Declare __abort_msg with it.
46563 * stdlib/abort.c (__abort_msg): Adjust type.
46564 * assert/assert.c (__assert_fail_base): New function. Majority
46565 of code from __assert_fail. Allocate memory for __abort_msg with
46566 mmap.
46567 (__assert_fail): Now call __assert_fail_base.
46568 * assert/assert-perr.c: Remove bulk of implementation. Use
46569 __assert_fail_base.
46570 * include/assert.hL Declare __assert_fail_base.
46571 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46572 mmap.
46573 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46574
1af4e298
UD
465752011-05-14 Ulrich Drepper <drepper@gmail.com>
46576
f8a3b5bf 46577 [BZ #11952]
d26dfc60
MG
46578 [BZ #12453]
46579 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46580 until all modules are registered in the DTV.
46581 * elf/Makefile: Add rules to build and run tst-tls19.
46582 * elf/tst-tls19.c: New file.
46583 * elf/tst-tls19mod1.c: New file.
46584 * elf/tst-tls19mod2.c: New file.
46585 * elf/tst-tls19mod3.c: New file.
46586 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46587
2fc54d6f
UD
46588 [BZ #12083]
46589 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46590 correctly.
46591
98d76b46
UD
46592 [BZ #12601]
46593 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46594 two-byte sequence errors.
46595 * iconvdata/Makefile (tests): Add bug-iconv8.
46596 * iconvdata/bug-iconv8.c: New file.
46597
da3c19ef
UD
46598 [BZ #12626]
46599 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46600 buf2 definition.
46601
ca408c15
UD
46602 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46603
d6f67f7d
UD
46604 [BZ #12432]
46605 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46606 (dummy_getcfa): New function.
46607 (init): Get _Unwind_GetCFA address, use dummy if not found.
46608 (backtrace_helper): In recursion check, also check whether CFA changes.
46609 (__backtrace): Completely initialize arg.
46610
1af4e298 46611 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46612 storing incomplete byte sequence in state object. Avoid testing for
46613 guaranteed too small input if we know there is enough data available.
1af4e298 46614
da62f81b
AS
466152011-05-11 Andreas Schwab <schwab@redhat.com>
46616
46617 * Makeconfig (+link-pie): Indent.
46618 * Rules (binaries-pie): Define if $(have-fpie) and
46619 $(build-shared).
46620 (binaries-shared): Also filter out $(binaries-pie).
46621 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46622 * nscd/Makefile (others-pie): Add nscd.
46623 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46624 ($(objpfx)nscd): Remove command override.
46625 * login/Makefile (others-pie): Add pt_chown.
46626 ($(objpfx)pt_chown): Remove command override.
46627 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46628 remove command overrides.
46629
fcabc0f8
UD
466302011-05-13 Ulrich Drepper <drepper@gmail.com>
46631
20030ae6
UD
46632 * libio/tst_putwc.c: Fix error messages.
46633
fcabc0f8
UD
46634 [BZ #12724]
46635 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46636 currently writing and seek to current position when not.
46637 * libio/Makefile (tests): Add bug-fclose1.
46638 * libio/bug-fclose1.c: New file.
46639
320a5dc0
PB
466402011-05-12 Ulrich Drepper <drepper@gmail.com>
46641
46642 [BZ #12511]
46643 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46644 don't set DF_1_NODELETE here.
46645 (do_lookup_x): When entering new entry test for copy relocation
46646 and if necessary set DF_1_NODELETE flag.
46647 * elf/tst-unique4.cc: New file.
46648 * elf/tst-unique4.h: New file.
46649 * elf/tst-unique4lib.cc: New file.
46650 * elf/Makefile: Add rules to build and run tst-unique4.
46651 Patch by Piotr Bury <pbury@goahead.com>.
46652
22836f52
UD
466532011-05-11 Ulrich Drepper <drepper@gmail.com>
46654
f574184a
UD
46655 [BZ #12052]
46656 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46657
e1fb097f
UD
46658 [BZ #12625]
46659 * misc/mntent_r.c (addmntent): Flush the stream after the output
46660
22836f52
UD
46661 [BZ #12393]
46662 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46663 (is_trusted_path_normalize): Skip initial colon. Append slash
46664 to empty buffer. Duplicate is_trusted_path code but allow
46665 constructed patch to be prefix.
46666 (is_dst): Allow $ORIGIN followed by /.
46667 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46668 Correct testing of result of is_trusted_path_normalize
46669 (decompose_rpath): Fix warning.
46670
7b3b0b2a
UD
466712011-05-10 Ulrich Drepper <drepper@gmail.com>
46672
46673 [BZ #11257]
46674 * grp/initgroups.c (internal_getgrouplist): When we found the service
46675 list through the initgroups entry in nsswitch.conf do not always
46676 continue on a successful lookup. Don't always use the
eac80ce2 46677 __nss_group_database value if it is set.
7b3b0b2a
UD
46678 * nss/nsswitch.conf (initgroups): Change action for successful db
46679 lookup to continue for compatibility.
46680
2a81eaa5
UD
466812011-05-09 Ulrich Drepper <drepper@gmail.com>
46682
be97a69e
UD
46683 [BZ #11532]
46684 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46685 and CP774 modules.
46686 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46687 and CP774 modules.
46688 * iconvdata/tst-tables.sh: Likewise.
46689 * iconvdata/cp770.c: New file.
46690 * iconvdata/cp771.c: New file.
46691 * iconvdata/cp772.c: New file.
46692 * iconvdata/cp773.c: New file.
46693 * iconvdata/cp774.c: New file.
46694 * iconvdata/testdata/CP770: New file.
46695 * iconvdata/testdata/CP770..UTF8: New file.
46696 * iconvdata/testdata/CP771: New file.
46697 * iconvdata/testdata/CP771..UTF8: New file.
46698 * iconvdata/testdata/CP772: New file.
46699 * iconvdata/testdata/CP772..UTF8: New file.
46700 * iconvdata/testdata/CP773: New file.
46701 * iconvdata/testdata/CP773..UTF8: New file.
46702 * iconvdata/testdata/CP774: New file.
46703 * iconvdata/testdata/CP774..UTF8: New file.
46704
46705 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46706 END CHARMAP line.
46707 * iconvdata/gen-8bit-gap.sh: Likewise.
46708 * iconvdata/gen-8bit.sh: Likewise.
46709
c1e9e399
UD
46710 * locale/iso-639.def: Add ary entry.
46711
24c55fb3 46712 [BZ #11258]
96b4b1b0
UD
46713 * locale/C-translit.h.in: Add U20A1 transliteration.
46714
bdc2f971
KB
46715 [BZ #12178]
46716 * locale/iso-639.def: Add wae entry.
46717 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46718
2952b117
UD
46719 [BZ #12545]
46720 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46721 for n.
46722
2a81eaa5
UD
46723 [BZ #12711]
46724 * locale/C-translit.h.in: Add entry for U20B9.
46725 Patch by pravin.d.s@gmail.com.
46726
28377d1b
UD
467272011-05-08 Ulrich Drepper <drepper@gmail.com>
46728
7fb90fb8
UD
46729 [BZ #12713]
46730 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46731 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46732 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46733 in rtld. Use *stat64.
7fb90fb8 46734 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46735 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46736 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46737 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46738 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46739 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46740 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46741 __fstatat64 macros.
7fb90fb8
UD
46742 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46743 * dirent/rewinddir.c: Add libc_hidden_def.
46744 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46745 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46746
28377d1b
UD
46747 * include/dirent.h (__alloc_dir): Add flags parameter.
46748 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46749 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46750 __alloc_dir.
46751 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46752 from fdopendir if O_CLOEXEC is already set.
46753
66bdbaa4
AM
467542011-03-15 Alan Modra <amodra@gmail.com>
46755
46756 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46757 l_tls_firstbyte_offset non-zero. Save padding offset in
46758 l_tls_firstbyte_offset for later use.
46759 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46760 freeing static tls block.
46761
95721191
JN
467622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46763
46764 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46765 where #ifdef was intended. The intent is to prevent ARG_MAX from
46766 being defined by the kernel headers.
46767
f87dfb1f
UD
467682011-05-07 Ulrich Drepper <drepper@gmail.com>
46769
46770 [BZ #12734]
46771 * resolv/resolv.h: Define RES_NOTLDQUERY.
46772 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46773 no-tld-query and set RES_NOTLDQUERY.
46774 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46775 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46776 modern BIND to search name as TLD unless forbidden.
46777
47c3cd7a
UD
467782011-05-07 Petr Baudis <pasky@suse.cz>
46779 Ulrich Drepper <drepper@gmail.com>
46780
46781 [BZ #12393]
46782 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46783 (is_trusted_path): ...to here.
c1e9ea35 46784 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46785 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46786 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46787
8a35c912
PP
467882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46789
46790 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46791 __BEGIN/__END_DECLS.
46792
acd41f47
UD
467932011-05-06 Ulrich Drepper <drepper@gmail.com>
46794
46795 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46796 NSS_STATUS_NOTFOUND if no record was found.
46797
597df647
AS
467982011-05-05 Andreas Schwab <schwab@redhat.com>
46799
46800 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46801 (headers-not-in-tirpc): Remove rpc/netdb.h
46802 * resolv/netdb.h: Revert last change.
46803
b9af1301
PP
468042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46805
46806 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46807 circular dependency between libgcc.a and libc.a.
46808
4e34d5f5
AS
468092011-05-05 Andreas Schwab <schwab@redhat.com>
46810
46811 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46812 * nis/Makefile: Don't install rpcsvc/*.
46813 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46814 instead of <rpc/types.h>.
46815 (MAXHOSTNAMELEN): Define.
46816
00ee369c
AS
468172011-05-03 Andreas Schwab <schwab@redhat.com>
46818
46819 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46820
0b592a30
MB
468212011-04-28 Maciej Babinski <mbabinski@google.com>
46822
46823 [BZ #12714]
46824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46825 gethostbyname4_r when IPv6 results are possible.
46826
6e04cbbe
UD
468272011-05-02 Ulrich Drepper <drepper@gmail.com>
46828
46829 [BZ #12723]
46830 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46831 _PC_PIPE_BUF handling.
46832
e4ecafe0
BH
468332011-04-30 Bruno Haible <bruno@clisp.org>
46834
46835 [BZ #12717]
46836 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46837 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46838 to 'int'.
46839 * inet/getnameinfo.c (getnameinfo): Likewise.
46840
125ee683
UD
468412011-04-29 Ulrich Drepper <drepper@gmail.com>
46842
46843 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46844 to groups setting in database lookup.
46845 * nss/nsswitch.conf: Add initgroups entry.
46846
b722481a
EB
468472011-04-22 Ulrich Drepper <drepper@gmail.com>
46848
46849 [BZ #12685]
46850 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46851 mode string.
46852 Patch by Eric Blake <eblake@redhat.com>.
46853
4df46dbd
L
468542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46855
46856 * sunrpc/Makefile (need-export-routines): Add svc_run.
46857 (routines): Remove svc_run.
46858 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46859 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46860 * sunrpc/svc_run.c (svc_run): Likewise.
46861 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46862
e84142d2
UD
468632011-04-21 Ulrich Drepper <drepper@gmail.com>
46864
46865 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46866 problem in reallocation in last patch.
46867
877175d8
UD
468682011-04-20 Ulrich Drepper <drepper@gmail.com>
46869
46870 * sunrpc/Makefile: Move inclusion of Rules.
46871
ab8eed78
UD
468722011-04-19 Ulrich Drepper <drepper@gmail.com>
46873
46874 * nss/nss_files/files-initgroups.c: New file.
46875 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46876 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46877 _nss_files_initgroups_dyn.
46878
e3d8f584
RS
468792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46880
46881 * elf/elf.h (R_ARM_IRELATIVE): Define.
46882
af190f45
UD
468832011-04-19 Ulrich Drepper <drepper@gmail.com>
46884
46885 * po/ru.po: Update from translation team.
46886
53cf59ef
UD
468872011-04-17 Ulrich Drepper <drepper@gmail.com>
46888
46889 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46890 dependencies.
46891
4c559bcd
MF
468922011-02-06 Mike Frysinger <vapier@gentoo.org>
46893
46894 [BZ #12653]
46895 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46896 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46897 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46898 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46899 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46900
4420675c
AS
469012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46902
46903 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46904 differing bytes.
46905 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46907 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46908
75ea32ab
UD
469092011-04-17 Ulrich Drepper <drepper@gmail.com>
46910
46911 [BZ #12420]
46912 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46913 storing it.
46914 * stdlib/bug-getcontext.c: New file.
46915 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46916
27390476
AK
469172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46918
46919 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46920 instructions into .machine "z9-109".
46921 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46922 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46923
10442705
AK
469242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46925
46926 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46927 between environment variables and auxiliary vector.
46928
7b57bfe5
UD
469292011-04-16 Ulrich Drepper <drepper@gmail.com>
46930
46931 * Makefile: Add rules to build linkobj/libc.so.
46932 * include/libc-symbols.h: Define libc_hidden_nolink.
46933 * include/rpc/auth.h: Mark functions which are to be hidden.
46934 * include/rpc/auth_des.h: Likewise.
46935 * include/rpc/auth_unix.h: Likewise.
46936 * include/rpc/clnt.h: Likewise.
46937 * include/rpc/des_crypt.h: Likewise.
46938 * include/rpc/key_prot.h: Likewise.
46939 * include/rpc/pmap_clnt.h: Likewise.
46940 * include/rpc/pmap_prot.h: Likewise.
46941 * include/rpc/pmap_rmt.h: Likewise.
46942 * include/rpc/rpc_msg.h: Likewise.
46943 * include/rpc/svc.h: Likewise.
46944 * include/rpc/svc_auth.h: Likewise.
46945 * include/rpc/xdr.h: Likewise.
46946 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46947 * nss/Makefile: Likewise.
46948 * sunrpc/Makefile: Don't install headers. Build library with normal
46949 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46950 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46951 for the compat linking library. Remove use of INTDEF/INTUSE.
46952 * sunrpc/auth_none.c: Likewise.
46953 * sunrpc/auth_unix.c: Likewise.
46954 * sunrpc/authdes_prot.c: Likewise.
46955 * sunrpc/authuxprot.c: Likewise.
46956 * sunrpc/clnt_gen.c: Likewise.
46957 * sunrpc/clnt_perr.c: Likewise.
46958 * sunrpc/clnt_raw.c: Likewise.
46959 * sunrpc/clnt_simp.c: Likewise.
46960 * sunrpc/clnt_tcp.c: Likewise.
46961 * sunrpc/clnt_udp.c: Likewise.
46962 * sunrpc/clnt_unix.c: Likewise.
46963 * sunrpc/des_crypt.c: Likewise.
46964 * sunrpc/des_soft.c: Likewise.
46965 * sunrpc/get_myaddr.c: Likewise.
46966 * sunrpc/key_call.c: Likewise.
46967 * sunrpc/key_prot.c: Likewise.
46968 * sunrpc/netname.c: Likewise.
46969 * sunrpc/pm_getmaps.c: Likewise.
46970 * sunrpc/pm_getport.c: Likewise.
46971 * sunrpc/pmap_clnt.c: Likewise.
46972 * sunrpc/pmap_prot.c: Likewise.
46973 * sunrpc/pmap_prot2.c: Likewise.
46974 * sunrpc/pmap_rmt.c: Likewise.
46975 * sunrpc/publickey.c: Likewise.
46976 * sunrpc/rpc_cmsg.c: Likewise.
46977 * sunrpc/rpc_common.c: Likewise.
46978 * sunrpc/rpc_dtable.c: Likewise.
46979 * sunrpc/rpc_prot.c: Likewise.
46980 * sunrpc/rpc_thread.c: Likewise.
46981 * sunrpc/rtime.c: Likewise.
46982 * sunrpc/svc.c: Likewise.
46983 * sunrpc/svc_auth.c: Likewise.
46984 * sunrpc/svc_authux.c: Likewise.
46985 * sunrpc/svc_raw.c: Likewise.
46986 * sunrpc/svc_run.c: Likewise.
46987 * sunrpc/svc_simple.c: Likewise.
46988 * sunrpc/svc_tcp.c: Likewise.
46989 * sunrpc/svc_udp.c: Likewise.
46990 * sunrpc/svc_unix.c: Likewise.
46991 * sunrpc/svcauth_des.c: Likewise.
46992 * sunrpc/xcrypt.c: Likewise.
46993 * sunrpc/xdr.c: Likewise.
46994 * sunrpc/xdr_array.c: Likewise.
46995 * sunrpc/xdr_float.c: Likewise.
46996 * sunrpc/xdr_intXX_t.c: Likewise.
46997 * sunrpc/xdr_mem.c: Likewise.
46998 * sunrpc/xdr_rec.c: Likewise.
46999 * sunrpc/xdr_ref.c: Likewise.
47000 * sunrpc/xdr_sizeof.c: Likewise.
47001 * sunrpc/xdr_stdio.c: Likewise.
47002
e6c61494
UD
470032011-04-10 Ulrich Drepper <drepper@gmail.com>
47004
47005 [BZ #12650]
47006 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47007 * sysdeps/ia64/dl-tls.h: Likewise.
47008 * sysdeps/powerpc/dl-tls.h: Likewise.
47009 * sysdeps/s390/dl-tls.h: Likewise.
47010 * sysdeps/sh/dl-tls.h: Likewise.
47011 * sysdeps/sparc/dl-tls.h: Likewise.
47012 * sysdeps/x86_64/dl-tls.h: Likewise.
47013 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47014
34fe483e
AS
470152011-03-14 Andreas Schwab <schwab@redhat.com>
47016
47017 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47018 rpath element also skip the following colon.
47019 (expand_dynamic_string_token): Add is_path parameter and pass
47020 down to DL_DST_REQUIRED and _dl_dst_substitute.
47021 (decompose_rpath): Call expand_dynamic_string_token with
47022 non-zero is_path. Ignore empty rpaths.
47023 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47024 with zero is_path.
47025
f12a32e6
AS
470262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47027
47028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47029 Make cancelable.
47030
38a7d692
UD
470312011-04-09 Ulrich Drepper <drepper@gmail.com>
47032
47033 [BZ #12655]
47034 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47035 Patch by Filipe David Manana <fdmanana@apache.org>.
47036
e451d22b
AS
470372011-04-07 Andreas Schwab <schwab@redhat.com>
47038
47039 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47040 Maintain aligned stack.
47041 (CHECK_RSP): Remove unused macro.
47042
dedc7c7b
UD
470432011-04-03 Ulrich Drepper <drepper@gmail.com>
47044
47045 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47046 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47047
94521213
UD
470482011-04-02 Ulrich Drepper <drepper@gmail.com>
47049
47050 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47051
8cb700c0 47052 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47053
0354e355
L
470542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47055
47056 [BZ #12518]
47057 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47058 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47059 * sysdeps/x86_64/memmove.c: New file.
47060 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47061 (memcpy): Renamed to ...
47062 (__new_memcpy): This.
47063 (memcpy): Provide GLIBC_2_14 memcpy.
47064 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47065 (memcpy): Provide GLIBC_2_2_5 memcpy.
47066
8593482f
UD
470672011-04-01 Ulrich Drepper <drepper@gmail.com>
47068
47069 [BZ #12631]
47070 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47071
81a5726b
AS
470722011-03-30 Andreas Schwab <schwab@redhat.com>
47073
47074 * misc/syncfs.c: New file.
47075 * misc/Makefile (routines): Add syncfs.
47076 * posix/unistd.h: Declare syncfs.
47077 * sysdeps/unix/syscalls.list: Add syncfs.
47078
00e5419f
AS
470792011-04-01 Andreas Schwab <schwab@redhat.com>
47080
47081 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47082 open_by_handle_at.
47083 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47084 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47085 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47086 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47088 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47089 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47090
748876bf
UD
470912011-04-01 Ulrich Drepper <drepper@gmail.com>
47092
658e451d
UD
47093 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47094 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47095 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47097 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47099 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47100
748876bf
UD
47101 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47102 sync_file_range.c with -fexceptions.
47103 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47104 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47105 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47106 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47107 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47108 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47110 sync_file_range as cancellation point
47111 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47112 now a wrapper around __call_sync_file_range with cancellation handling.
47113 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47114 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47115 function name to __call_sync_file_range.
47116 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47117 Add call_sync_file_range.
748876bf 47118
6e63d5e1
AS
471192011-04-01 Andreas Schwab <schwab@redhat.com>
47120
47121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47122 bits/timex.h.
6e63d5e1 47123
46998f74
UD
471242011-04-01 Ulrich Drepper <drepper@gmail.com>
47125
4c1423ed
UD
47126 * iconv/iconv.h: Fix typo in comment.
47127 * io/fcntl.h: Likewise.
47128 * libio/stdio.h: Likewise.
47129 * posix/spawn.h: Likewise.
47130 * posix/unistd.h: Likewise.
47131 * stdlib/stdlib.h: Likewise.
47132 * time/time.h: Likewise.
47133 * wcsmbs/wchar.h: Likewise.
47134
158648c0
UD
47135 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47136 open_by_handle): Add.
47137 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47138 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47139 Augment a few comments.
47140 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47145 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47146 open_by_handle.
47147
46998f74
UD
47148 * io/fcntl.h (AT_EMPTY_PATH): Define.
47149
83fe108b
UD
471502011-03-30 Ulrich Drepper <drepper@gmail.com>
47151
47152 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47153 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47154 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47155 to...
47156 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47157 * Versions.def: Add GLIBC_2.14.
47158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47159 Export.
83fe108b 47160
bb242059
UD
471612011-03-22 Ulrich Drepper <drepper@gmail.com>
47162
47163 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47164 round counter.
47165 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47166
c97a1282
L
471672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47168
47169 [BZ #12597]
47170 * string/test-strncmp.c (do_page_test): New function.
47171 (check2): Likewise.
47172 (test_main): Call check2.
47173 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47174
2a115601
UD
471752011-03-20 Ulrich Drepper <drepper@gmail.com>
47176
47177 [BZ #12587]
47178 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47179 Handle cache information in CPU leaf 4.
47180 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47181
8126d904
UD
471822011-03-18 Ulrich Drepper <drepper@gmail.com>
47183
042c49c6 47184 [BZ #12583]
8126d904
UD
47185 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47186 character representation.
47187 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47188
ccfe366e
RA
471892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47190
47191 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47192 END(__isnan) to END(__isnanf) to match function entry point/label
47193 EALIGN(__isnanf,...).
47194
c6e13027
JJ
471952011-03-10 Jakub Jelinek <jakub@redhat.com>
47196
47197 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47198
33f85a3f
UD
471992011-03-10 Ulrich Drepper <drepper@gmail.com>
47200
028478fa
UD
47201 [BZ #12510]
47202 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47203 copy from the symbol referenced in the relocation to initialize the
47204 used variable.
47205 Patch by Piotr Bury <pbury@goahead.com>.
47206 * elf/Makefile: Add rules to build and tst-unique3.
47207 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47208 * elf/tst-unique3.cc: New file.
47209 * elf/tst-unique3.h: New file.
47210 * elf/tst-unique3lib.cc: New file.
47211 * elf/tst-unique3lib2.cc: New file.
47212
33f85a3f
UD
47213 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47214
03592fc7
MF
472152011-03-10 Mike Frysinger <vapier@gentoo.org>
47216
47217 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47218 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47219 to _start.
03592fc7 47220
6a5ee102
UD
472212011-03-06 Ulrich Drepper <drepper@gmail.com>
47222
47223 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47224 to-be-loaded object along a path to loader is ld.so.
47225
7e4ba49c
HJ
472262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47227 Ulrich Drepper <drepper@gmail.com>
47228
47229 * sysdeps/x86_64/memset.S: After aligning destination, code
47230 branches to different locations depending on the value of
47231 misalignment, when multiarch is enabled. Fix this.
47232
472332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47234
47235 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47236 Set _x86_64_preferred_memory_instruction for AMD processsors.
47237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47238 Set bit_Prefer_SSE_for_memop for AMD processors.
47239
13a804de
UD
472402011-03-04 Ulrich Drepper <drepper@gmail.com>
47241
47242 * libio/fmemopen.c (fmemopen): Optimize a bit.
47243
9d25c392
AS
472442011-03-03 Andreas Schwab <schwab@redhat.com>
47245
47246 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47247
a5543c6a
RM
472482011-03-03 Roland McGrath <roland@redhat.com>
47249
47250 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47251
012d35f7
DM
472522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47253
7e4ba49c 47254 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47255 __bzero_ultra1 instead of __memset_ultra1.
47256
4bff6e01
AS
472572011-02-23 Andreas Schwab <schwab@redhat.com>
47258 Ulrich Drepper <drepper@gmail.com>
47259
47260 [BZ #12509]
47261 * include/link.h (struct link_map): Add l_orig_initfini.
47262 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47263 returning unsuccessfully.
47264 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47265 close of a file loaded at startup, restore the original l_initfini
47266 list.
47267 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47268 list, store the pointer.
47269 * elf/Makefile ($(objpfx)noload-mem): New rule.
47270 (noload-ENV): Define.
47271 (tests): Add $(objpfx)noload-mem.
47272 * elf/noload.c: Include <memcheck.h>.
47273 (main): Call mtrace. Close all opened handles.
47274
f2092faf
AS
472752011-02-17 Andreas Schwab <schwab@redhat.com>
47276
47277 [BZ #12454]
47278 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47279 dependencies are missing.
47280
6c8a2e88
ST
472812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47282
f2092faf 47283 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47284 Hurd needs munmap.
47285 * sysdeps/mach/hurd/ifreq.h: New file.
47286
84a42118
PB
472872011-01-27 Petr Baudis <pasky@suse.cz>
47288 Ulrich Drepper <drepper@gmail.com>
47289
071f805e 47290 [BZ 12445]#
84a42118
PB
47291 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47292 to extend_alloca().
47293 * stdio-common/bug23.c: New file.
47294 * stdio-common/Makefile (tests): Add bug23.
47295
e23fe25b
AS
472962010-09-28 Andreas Schwab <schwab@redhat.com>
47297 Ulrich Drepper <drepper@gmail.com>
47298
47299 [BZ #12489]
47300 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47301 before performing relro protection. At old place add assertion
47302 to make sure nothing changed.
47303
d3f02e10
NS
473042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47305 Glauber de Oliveira Costa <glommer@gmail.com>
47306
47307 * elf/elf.h: Add new ARM TLS relocs.
47308
d55fd7a5
RA
473092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47310
47311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47312 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47313 cast from r3.
47314 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47315 'tests' variable.
47316 * sysdeps/wordsize-64/tst-writev.c: New file.
47317
2206397e
RA
473182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47319
47320 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47321 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47322 insns in _dl_start to prevent a TOC reference before relocs are
47323 resolved.
47324
e9433893
UD
473252011-02-15 Ulrich Drepper <drepper@gmail.com>
47326
47327 [BZ #12469]
47328 * Makeconfig: Remove RANLIB definition.
47329 * Makerules: Don't use RANLIB.
47330 * aclocal.m4: Remove ranlib test.
47331 * configure.in: No need to check for ranlib.
47332 * elf/rtld-Rules: Don't use RANLIB.
47333
f75286c6
ST
473342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47335
8e31c82d
ST
47336 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47337 protection macro.
47338 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47339 inclusion protection macro.
47340
f75286c6
ST
47341 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47342 SIGRTMIN and SIGRTMAX and print information in that case only when
47343 SIGRTMIN is defined.
47344
c1d0e639
JJ
473452011-02-11 Jakub Jelinek <jakub@redhat.com>
47346
47347 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47348 arginfo fn returning -1.
47349
47350 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47351 and thousands string is zero terminated.
47352
edf9294e
AS
473532011-02-03 Andreas Schwab <schwab@redhat.com>
47354
47355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47356 sysdeps/unix/sysv/linux/bits/socket.h.
47357
2b7e92df
ST
473582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47359
edf9294e
AS
47360 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47361 (__CPU_COUNT): Remove old macros.
47362 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47363 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47364 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
47365 (__sched_cpualloc, __sched_cpufree): Add declarations.
47366
a4c7ea7b
UD
473672011-02-05 Ulrich Drepper <drepper@gmail.com>
47368
47369 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47370 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47371 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47372 (readdhstai): Return value of addhstaiX call.
47373 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47374 (addgrbyX): Return value returned by cache_addgr.
47375 (readdgrbyname): Return value returned by addgrbyX.
47376 (readdgrbygid): Likewise.
47377 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47378 (addpwbyX): Return value returned by cache_addpw.
47379 (readdpwbyname): Return value returned by addhstbyX.
47380 (readdpwbyuid): Likewise.
47381 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47382 (addservbyX): Return value returned by cache_addserv.
47383 (readdservbyname): Return value returned by addservbyX:
47384 (readdservbyport): Likewise.
47385 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47386 (addhstbyX): Return value returned by cache_addhst.
47387 (readdhstbyname): Return value returned by addhstbyX.
47388 (readdhstbyaddr): Likewise.
47389 (readdhstbynamev6): Likewise.
47390 (readdhstbyaddrv6): Likewise.
47391 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47392 (readdinitgroups): Return value returned by addinitgroupsX.
47393 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47394 (prune_cache): Keep track of timeout value of re-added entries.
47395 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47396 * nscd/nscd.h: Adjust prototypes of readd* functions.
47397
a0bf67cc
RM
473982011-02-04 Roland McGrath <roland@redhat.com>
47399
47400 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47401 (nis_stats): Likewise.
47402 * nis/nis_modify.c (nis_modify): Likewise.
47403 * nis/nis_remove.c (nis_remove): Likewise.
47404 * nis/nis_add.c (nis_add): Likewise.
47405
47406 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47407
47408 * posix/fnmatch_loop.c: Add some consts.
47409
47410 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47411
435b95eb
L
474122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47413
47414 [BZ #12460]
47415 * config.make.in (config-cflags-novzeroupper): Define.
47416 * configure.in: Substitute libc_cv_cc_novzeroupper.
47417 * elf/Makefile (AVX-CFLAGS): Define.
47418 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47419 (CFLAGS-tst-auditmod4a.c): Likewise.
47420 (CFLAGS-tst-auditmod4b.c): Likewise.
47421 (CFLAGS-tst-auditmod6b.c): Likewise.
47422 (CFLAGS-tst-auditmod6c.c): Likewise.
47423 (CFLAGS-tst-auditmod7b.c): Likewise.
47424 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47425
8517b15e
UD
474262011-02-02 Ulrich Drepper <drepper@gmail.com>
47427
47428 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47429 function to the callback.
47430 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47431
10a656fe
AS
474322011-02-02 Andreas Schwab <schwab@redhat.com>
47433
47434 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47435 of errno.
47436
968dad0a
UD
474372011-01-19 Ulrich Drepper <drepper@gmail.com>
47438
9f94d2ea 47439 [BZ #11724]
968dad0a
UD
47440 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47441 of constructors.
47442 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47443 of destructors.
47444 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47445
47446 [BZ #11724]
47447 * elf/Makefile: Add rules to build and run new test.
47448 * elf/tst-initorder.c: New file.
47449 * elf/tst-initorder.exp: New file.
47450 * elf/tst-initordera1.c: New file.
47451 * elf/tst-initordera2.c: New file.
47452 * elf/tst-initordera3.c: New file.
47453 * elf/tst-initordera4.c: New file.
47454 * elf/tst-initorderb1.c: New file.
47455 * elf/tst-initorderb2.c: New file.
47456 * elf/tst-order-a1.c: New file.
47457 * elf/tst-order-a2.c: New file.
47458 * elf/tst-order-a3.c: New file.
47459 * elf/tst-order-a4.c: New file.
47460 * elf/tst-order-b1.c: New file.
47461 * elf/tst-order-b2.c: New file.
47462 * elf/tst-order-main.c: New file.
47463 New test case by George Gensure <werkt0@gmail.com>.
47464
86e92359
UD
474652010-10-01 Andreas Schwab <schwab@redhat.com>
47466
47467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47468 decoding ACE if AI_CANONIDN.
47469
5d5732b0
UD
474702011-01-18 Ulrich Drepper <drepper@gmail.com>
47471
47472 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47473
a77e8cbc
UD
474742011-01-17 Ulrich Drepper <drepper@gmail.com>
47475
6392473f
UD
47476 * version.h (RELEASE): Bump for 2.13 release.
47477 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47478
620a0529
UD
47479 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47480
18ba70a5
UD
47481 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47482 MADV_NOHUGEPAGE.
32465c3e
UD
47483 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47484 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47485 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47486 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47487 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47488 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47489
c0dafcf1
UD
47490 * posix/getconf.c: Update copyright year.
47491 * catgets/gencat.c: Likewise.
47492 * csu/version.c: Likewise.
47493 * debug/catchsegv.sh: Likewise.
47494 * debug/xtrace.sh: Likewise.
47495 * elf/ldconfig.c: Likewise.
47496 * elf/ldd.bash.in: Likewise.
47497 * elf/sprof.c (print_version): Likewise.
47498 * iconv/iconv_prog.c: Likewise.
47499 * iconv/iconvconfig.c: Likewise.
47500 * locale/programs/locale.c: Likewise.
47501 * locale/programs/localedef.c: Likewise.
47502 * malloc/memusage.sh: Likewise.
47503 * malloc/mtrace.pl: Likewise.
47504 * nscd/nscd.c (print_version): Likewise.
47505 * nss/getent.c: Likewise.
47506
a77e8cbc
UD
47507 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47508 PF_CAIF, and PF_ALG.
47509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47510
77e8bddf
AS
475112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47512
1f20b93a
AS
47513 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47514 (modules-names): Use them.
47515 (ifunc-test-modules, ifunc-pie-tests): Define.
47516 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47517 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47518 (test-extras): Likewise.
47519 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47520 $(compile-command.c).
47521 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47522 (all-built-dso): Define.
47523 (check-textrel.out, check-execstack.out): Depend on it.
47524
77e8bddf
AS
47525 * configure.in: Don't override --enable-multi-arch.
47526
bc425b33
UD
475272011-01-15 Ulrich Drepper <drepper@gmail.com>
47528
47529 [BZ #6812]
47530 * nscd/hstcache.c (tryagain): Define.
47531 (cache_addhst): Return tryagain not notfound for temporary errors.
47532 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47533 failed.
47534
794c3ad3
UD
475352011-01-14 Ulrich Drepper <drepper@gmail.com>
47536
70181fdd
UD
47537 [BZ #10563]
47538 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47539 to make the syscall.
47540 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47541
794c3ad3
UD
47542 [BZ #12378]
47543 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47544 and fall back to matching as normal character if the string ends before
47545 the matching ']' is found. This is what POSIX requires.
47546 * posix/testfnm.c: Adjust test result.
47547 * posix/globtest.sh: Adjust test result. Add new test.
47548 * posix/tst-fnmatch.input: Likewise.
47549 * posix/tst-fnmatch2.c: Add new test.
47550
68dc9497
AS
475512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47552
47553 * elf/Makefile (check-execstack): Revert last change. Depend on
47554 check-execstack.h.
47555 (check-execstack.h): New target.
47556 (generated): Add check-execstack.h.
47557 * elf/check-execstack.c: Include "check-execstack.h".
47558 (main): Revert last change.
47559 (handle_file): Return zero if GNU_STACK is absent and
47560 DEFAULT_STACK_PERMS doesn't include PF_X.
47561
451f001b
UD
475622011-01-13 Ulrich Drepper <drepper@gmail.com>
47563
cfa28e56
UD
47564 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47565 in child fails because the descriptor is already closed.
8cf8ce17
UD
47566 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47567 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47568 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47569
1086d70d
UD
47570 [BZ #12397]
47571 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47572 syscall.
47573
451f001b
UD
47574 [BZ #10484]
47575 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47576 temporary buffer used to handle multi lookups locally.
a85b5cb4 47577 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47578
08769175
UD
475792011-01-12 Ulrich Drepper <drepper@gmail.com>
47580
47581 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47582 loader is ld.so.
47583
5e49c52e
UD
475842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47585
47586 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47587 alignment for SSE2.
47588
60522a5f
UD
475892011-01-12 Ulrich Drepper <drepper@gmail.com>
47590
47591 [BZ #12394]
47592 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47593 characters. When rounding increased number of integer digits recompute
47594 number of groups.
47595 * stdio-common/tst-grouping.c: New file.
47596 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47597
f257bbd7
UD
475982011-01-09 Ulrich Drepper <drepper@gmail.com>
47599
47600 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47601 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47602
47603 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47604 void.
47605 * bits/select.h: Likewise.
47606
fa9c15cb
UD
476072011-01-08 Ulrich Drepper <drepper@gmail.com>
47608
47609 * po/ja.po: Update from translation team.
47610
16c2895f
DM
476112011-01-04 David S. Miller <davem@sunset.davemloft.net>
47612
47613 [BZ #11155]
47614 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47615 implementation just like for lxstat, fxstatat, et al.
47616
2543fef2
JM
476172010-12-27 Jim Meyering <meyering@redhat.com>
47618
47619 [BZ #12348]
47620 * posix/regexec.c (build_trtable): Return failure indication upon
47621 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47622
98727dbe
UD
476232010-12-25 Ulrich Drepper <drepper@gmail.com>
47624
5bd6dc5c
UD
47625 [BZ #12201]
47626 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47627 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47628 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47629 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47630
97983464
UD
47631 [BZ #12207]
47632 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47633
98727dbe
UD
47634 [BZ #12204]
47635 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47636 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47637
4a531bb0
L
476382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47639
47640 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47641 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47642 script has SORT_BY_INIT_PRIORITY.
47643 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47644 NO_CTORS_DTORS_SECTIONS is defined.
47645 * elf/soinit.c: Likewise.
47646 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47647 NO_CTORS_DTORS_SECTIONS is defined.
47648 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47649 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47650 * sysdeps/sh/init-first.c: Likewise.
47651 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47652
07eb4b71
UD
476532010-12-24 Ulrich Drepper <drepper@gmail.com>
47654
47655 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47656 always use the slow path.
47657
30950a5f
RA
476582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47659
47660 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47661 similar rule which adds the sysdep directories to the header search in
47662 order to pick up the correct platform stackinfo.h.
47663 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47664 perform test if it is, otherwise return successfully without testing.
47665 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47666 DEFAULT_STACK_PERMS define in stackinfo.h.
47667 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47668 defined in stackinfo.h.
47669 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47670 DEFAULT_STACK_PERMS defined in stackinfo.h.
47671 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47672 * sysdeps/ia64/stackinfo.h: Likewise.
47673 * sysdeps/s390/stackinfo.h: Likewise.
47674 * sysdeps/sh/stackinfo.h: Likewise.
47675 * sysdeps/sparc/stackinfo.h: Likewise.
47676 * sysdeps/x86_64/stackinfo.h: Likewise.
47677 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47678 PF_X for powerpc64. Retain PF_X for powerpc32.
47679
db753e2c
UD
476802010-12-19 Ulrich Drepper <drepper@gmail.com>
47681
14b697f7
UD
47682 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47683 accurately.
db753e2c
UD
47684 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47685 GETDENTS_64BIT_ALIGNED.
47686
28300719
UD
476872010-12-14 Ulrich Drepper <dreper@gmail.com>
47688
14b697f7 47689 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47690
4f197237
AS
476912010-12-10 Andreas Schwab <schwab@redhat.com>
47692
dbb0472f
AS
47693 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47694 _GNU_SOURCE.
47695
4f197237
AS
47696 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47697 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47698 Remove __restrict.
47699 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47700 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47701
fb88ac72
UD
477022010-12-09 Ulrich Drepper <drepper@gmail.com>
47703
47704 [BZ #11655]
47705 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47706 are initialized.
47707
42acbb92
JJ
477082010-12-09 Jakub Jelinek <jakub@redhat.com>
47709
47710 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47711
c038d98d
UD
477122010-12-03 Ulrich Drepper <drepper@gmail.com>
47713
47714 * po/it.po: Update from translation team.
47715
3a4a2499
L
477162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47717
47718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47719 unused codes.
47720
1e24cf6e
UD
477212010-11-30 Ulrich Drepper <drepper@gmail.com>
47722
47723 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47724
a7690819
AS
477252010-11-24 Andreas Schwab <schwab@redhat.com>
47726
47727 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47728 specially.
47729 (gaih_getanswer_slice): Likewise.
47730
3bf8d1b1
JJ
477312010-10-20 Jakub Jelinek <jakub@redhat.com>
47732
47733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47734
6db52fbb
PB
477352010-05-31 Petr Baudis <pasky@suse.cz>
47736
47737 [BZ #11149]
47738 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47739 silently even in the chroot mode.
47740
eaca7569
UD
477412010-11-22 Ulrich Drepper <drepper@gmail.com>
47742
47743 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47744 last patch a bit. Pretty printing
47745
3056dcdb
UD
477462010-05-31 Petr Baudis <pasky@suse.cz>
47747
47748 [BZ #10085]
47749 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47750 initialization of skip_initgroups_dyn.
47751
cf7c9078
UD
477522010-11-19 Ulrich Drepper <drepper@gmail.com>
47753
47754 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47755 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47756
a1fb5e3e
UD
477572010-11-16 Ulrich Drepper <drepper@gmail.com>
47758
47759 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47760
3540d66b
AS
477612010-11-11 Andreas Schwab <schwab@redhat.com>
47762
47763 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47764 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47765 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47766 ($(objpfx)tst-fnmatch-mem): New rule.
47767 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47768 * posix/tst-fnmatch.c (main): Call mtrace.
47769
13b69574
L
477702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47771
47772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47773 Support Intel processor model 6 and model 0x2c.
47774
da93d214
LM
477752010-11-10 Luis Machado <luisgpm@br.ibm.com>
47776
47777 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47778 signed comparison.
47779
8ca52c6e
L
477802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47781
47782 [BZ #12205]
47783 * string/test-strncasecmp.c (check_result): New function.
47784 (do_one_test): Use it.
47785 (check1): New function.
47786 (test_main): Use it.
47787 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47788 Support strcasecmp and strncasecmp.
47789
69da074d
UD
477902010-11-08 Ulrich Drepper <drepper@gmail.com>
47791
47792 [BZ #12194]
47793 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47794 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47795
ff02d528
L
477962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47797
47798 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47799 IFUNC support.
47800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47801 memset-x86-64.
47802 * sysdeps/x86_64/multiarch/bzero.S: New file.
47803 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47804 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47805 * sysdeps/x86_64/multiarch/memset.S: New file.
47806 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47808 Set bit_Prefer_SSE_for_memop for Intel processors.
47809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47810 Define.
47811 (index_Prefer_SSE_for_memop): Define.
47812 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47813
344d0b54
LM
478142010-11-04 Luis Machado <luisgpm@br.ibm.com>
47815
47816 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47817 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47818
c0dde15b
UD
478192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47820
47821 [BZ #12191]
47822 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47823 (__x86_64_raw_data_cache_size_half): Likewise.
47824 (__x86_64_raw_shared_cache_size): Likewise.
47825 (__x86_64_raw_shared_cache_size_half): Likewise.
47826
47827 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47828 (__x86_64_raw_data_cache_size_half): Likewise.
47829 (__x86_64_raw_shared_cache_size): Likewise.
47830 (__x86_64_raw_shared_cache_size_half): Likewise.
47831 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47832 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47833 and __x86_64_raw_shared_cache_size_half. Round
47834 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47835 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47836 to multiple of 256 bytes.
47837
0e516e0e
MS
478382010-11-03 Ulrich Drepper <drepper@gmail.com>
47839
47840 [BZ #12167]
47841 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47842 of inacessible symlinks. Verify result of symlink before returning it.
47843 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47844 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47845
0e012e87
ER
478462010-10-28 Erich Ritz <erichritz@gmail.com>
47847
47848 * math/math.h (isinf): Fix typo in comment.
47849
de0ff7bc
UD
478502010-11-01 Ulrich Drepper <drepper@gmail.com>
47851
47852 * po/da.po: Update from translation team.
47853
fa41c84d
UD
478542010-10-26 Ulrich Drepper <drepper@gmail.com>
47855
47856 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47857 is added to the list.
47858
f0967738
AK
478592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47860 Ulrich Drepper <drepper@gmail.com>
47861
47862 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47863 the global list here. Move code to...
47864 (_dl_add_to_namespace_list): ...here. New function.
47865 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47866 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47867 * elf/dl-load.c (lose): Don't remove the element from the list.
47868 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47869 (_dl_map_object): Likewise.
47870
478712010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47872
47873 [BZ #12159]
47874 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47875 into all bytes of SSE register.
47876 Patch by Richard Li <richardpku@gmail.com>.
47877
f0967738 478782010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47879
47880 [BZ #12140]
47881 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47882 perturbing.
47883
d0b9e94f
MB
478842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47885
47886 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47887 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47888 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47889 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47891 submachine.
47892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47893
8e9f92e9
AS
478942010-10-22 Andreas Schwab <schwab@redhat.com>
47895
47896 * include/dlfcn.h (__RTLD_SECURE): Define.
47897 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47898 mode & __RTLD_SECURE instead.
47899 (open_path): Rename preloaded parameter to secure.
47900 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47901 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47902 * elf/dl-deps.c (openaux): Likewise.
47903 * elf/rtld.c (struct map_args): Remove is_preloaded.
47904 (map_doit): Don't use it.
47905 (dl_main): Likewise.
47906 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47907 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47908
bc96fbda
AS
479092010-09-09 Andreas Schwab <schwab@redhat.com>
47910
47911 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47912 (sysd-rules-targets): Remove duplicates.
47913 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47914 rtld-%.$o dependency.
47915
22cd1c9b
AS
479162010-10-18 Andreas Schwab <schwab@redhat.com>
47917
47918 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47919 _dl_map_object do it.
47920
18edac48
UD
479212010-10-19 Ulrich Drepper <drepper@gmail.com>
47922
47923 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47924 fast fma builtins, define the macros in the C99 standard.
47925 (FP_FAST_FMAF): Likewise.
47926 (FP_FAST_FMAL): Likewise.
47927 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47928
47929 * bits/mathdef.h: Update copyright year.
47930 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47931
d2050124
MM
479322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47933
47934 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47935 builtins, define the macros in the C99 standard.
47936 (FP_FAST_FMAF): Likewise.
47937 (FP_FAST_FMAL): Likewise.
47938 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47939 multiply/add.
47940 (FP_FAST_FMAF): Likewise.
47941
475facd1
JJ
479422010-10-15 Jakub Jelinek <jakub@redhat.com>
47943
47944 [BZ #3268]
47945 * math/libm-test.inc (fma_test): Some new testcases.
47946 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47947 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47948 y and infinite z. Do multiplication by C already in long double.
47949 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47951 y and infinite z. Do bitwise or of inexact bit into u.d.
47952 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47953 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47954 * sysdeps/i386/fpu/s_fma.S: Removed.
47955 * sysdeps/i386/fpu/s_fmal.S: Removed.
47956
7c08a05c
JJ
479572010-10-16 Jakub Jelinek <jakub@redhat.com>
47958
47959 [BZ #3268]
47960 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47962 computation is not scheduled after fetestexcept. Fix value
47963 of minimum denormal long double.
47964
f3f7372d
JJ
479652010-10-14 Jakub Jelinek <jakub@redhat.com>
47966
47967 [BZ #3268]
47968 * math/libm-test.inc (fma_test): Add some more tests.
47969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47970 correctly.
47971
14d43591
AS
479722010-10-15 Andreas Schwab <schwab@redhat.com>
47973
47974 * scripts/data/localplt-s390-linux-gnu.data: New file.
47975 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47976
5e908464
JJ
479772010-10-13 Jakub Jelinek <jakub@redhat.com>
47978
47979 [BZ #3268]
47980 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47981 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47982 instead of dbl-64.
47983 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47984 inlines.
47985 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47987 if one of x and y is very large and the other is subnormal.
47988 * sysdeps/s390/fpu/s_fmaf.c: New file.
47989 * sysdeps/s390/fpu/s_fma.c: New file.
47990 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47991 * sysdeps/powerpc/fpu/s_fma.S: New file.
47992 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47993 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47994 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47995
479962010-10-12 Jakub Jelinek <jakub@redhat.com>
47997
47998 [BZ #3268]
47999 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48000 fma tests.
48001 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48002 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48003 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48004 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48005 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48006 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48007 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48008
b833d51f
UD
480092010-10-12 Ulrich Drepper <drepper@redhat.com>
48010
48011 [BZ #12078]
48012 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48013 * posix/bug-regex31.input: Add test case.
48014
1751705d
UD
480152010-10-11 Ulrich Drepper <drepper@gmail.com>
48016
e9b9cbf5
UD
48017 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48018 * posix/bug-regex31.input: New file.
48019
48020 [BZ #12078]
48021 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48022 (parse_sub_exp): Fix last change, use postorder.
48023
ef06edbe
UD
48024 * posix/bug-regex31.c: New file.
48025 * posix/Makefile: Add rules to build and run bug-regex31.
48026
a129c80d
UD
48027 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48028
48029 [BZ #12078]
48030 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48031
b76b818e
UD
48032 [BZ #12108]
48033 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48034 to have entries in sys_siglist.
48035
1751705d
UD
48036 [BZ #12093]
48037 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48038 be NULL.
48039
9ff8d36f
JJ
480402010-10-07 Jakub Jelinek <jakub@redhat.com>
48041
48042 [BZ #3268]
48043 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48044 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48045 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48046 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48047 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48048 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48049 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48050 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48051 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48052 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48053 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48054 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48055 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48056 * math/ftestexcept.c (fetestexcept): Likewise.
48057 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48058 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48059 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48060 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48061 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48062 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48063 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48064
af325969
UD
480652010-10-11 Ulrich Drepper <drepper@gmail.com>
48066
c579b202 48067 [BZ #12107]
af325969
UD
48068 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48069 newline.
48070
67a67b95
UD
480712010-10-06 Ulrich Drepper <drepper@gmail.com>
48072
48073 * string/bug-strstr1.c: New file.
48074 * string/Makefile: Add rules to build and run bug-strstr1.
48075
5fb308bc
EB
480762010-10-05 Eric Blake <eblake@redhat.com>
48077
48078 [BZ #12092]
48079 * string/str-two-way.h (two_way_long_needle): Always clear memory
48080 when skipping input due to the shift table.
48081
45db99c7
UD
480822010-10-03 Ulrich Drepper <drepper@gmail.com>
48083
3b111893
UD
48084 [BZ #12005]
48085 * malloc/mcheck.c: Handle large requests.
48086
45db99c7
UD
48087 [BZ #12077]
48088 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48089 for strncmp and strncasecmp.
48090 * string/stratcliff.c: Add tests for strcmp and strncmp.
48091 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48092
cf7a1eb8
NI
480932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48094
48095 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48096 __set_fpscr.
48097
6484ba5e
AJ
480982010-09-30 Andreas Jaeger <aj@suse.de>
48099
48100 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48101 (CGROUP_SUPER_MAGIC): Define.
48102 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48103 Handle btrfs and cgroup file systems.
48104 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48105 Likewise.
48106
91c42559
LM
481072010-09-27 Luis Machado <luisgpm@br.ibm.com>
48108
48109 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48110 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48111
87a97932
AK
481122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48113
48114 [BZ #12067]
48115 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48116 trying to locate the ELF header.
48117
c21cc9bc
AS
481182010-09-27 Andreas Schwab <schwab@redhat.com>
48119
48120 [BZ #11611]
48121 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48122 Mask out sign-bit copies when constructing f_fsid.
48123
315970f6
PB
481242010-09-24 Petr Baudis <pasky@suse.cz>
48125
48126 * debug/stack_chk_fail_local.c: Add missing licence exception.
48127 * debug/warning-nop.c: Likewise.
48128
1ac7a2c7
JM
481292010-09-15 Joseph Myers <joseph@codesourcery.com>
48130
48131 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48132 implementing getdents64 using getdents syscall, set d_type if
48133 __ASSUME_GETDENTS32_D_TYPE.
48134
56801c50
AS
481352010-09-16 Andreas Schwab <schwab@redhat.com>
48136
48137 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48138 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48139
dda51327
UD
481402010-09-21 Ulrich Drepper <drepper@redhat.com>
48141
48142 [BZ #12037]
48143 * posix/unistd.h: Undo change of feature selection for ftruncate from
48144 2010-01-11.
48145
8ffcee4a
UD
481462010-09-20 Ulrich Drepper <drepper@redhat.com>
48147
a545ecd9 48148 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48149 detection.
48150
e24f0a8b
AS
481512010-09-20 Andreas Schwab <schwab@redhat.com>
48152
48153 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48154 fanotify_mark.
48155 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48156
7291c56f
AS
481572010-09-14 Andreas Schwab <schwab@redhat.com>
48158
48159 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48160 variables after CHECK_SP call.
48161 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48162
bc5fb037
AS
481632010-09-13 Andreas Schwab <schwab@redhat.com>
48164 Ulrich Drepper <drepper@redhat.com>
48165
48166 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48167 re-relocationg ld.so.
48168 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48169 _dl_init_paths call.
48170 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48171 here anymore.
48172
e66e7419
UD
481732010-09-14 Ulrich Drepper <drepper@redhat.com>
48174
48175 * resolv/res_init.c (__res_vinit): Count the default server we added.
48176
c044aa75
CLT
481772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48178 Ulrich Drepper <drepper@redhat.com>
48179
48180 [BZ #11968]
48181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48182 (____longjmp_chk): Use %ebx for saving value across system call.
48183 Add unwind info.
48184
32cf4069
AS
481852010-09-06 Andreas Schwab <schwab@redhat.com>
48186
48187 * manual/Makefile: Don't mix pattern rules with normal rules.
48188
817328ee
AS
481892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48190
48191 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48192 operation.
48193 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48194 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48195 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48196 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48198 Likewise.
48199
29fddf61
UD
482002010-09-04 Ulrich Drepper <drepper@redhat.com>
48201
48202 [BZ #11979]
48203 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48204 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48205
0959ffc9
UD
482062010-09-02 Ulrich Drepper <drepper@redhat.com>
48207
48208 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48209 * sysdeps/x86_64/addmul_1.S: Likewise.
48210 * sysdeps/x86_64/lshift.S: Likewise.
48211 * sysdeps/x86_64/mul_1.S: Likewise.
48212 * sysdeps/x86_64/rshift.S: Likewise.
48213 * sysdeps/x86_64/sub_n.S: Likewise.
48214 * sysdeps/x86_64/submul_1.S: Likewise.
48215
ece29840
ST
482162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48217
0959ffc9
UD
48218 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48219 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48220 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48221 * bits/sched.h [__need_schedparam]
ece29840 48222 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48223 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48224 (__defined_schedparam): Define to 1.
ece29840
ST
48225 (__sched_param): New structure, identical to sched_param.
48226 (__need_schedparam): Undefine.
48227
e53a31fe
MF
482282010-08-31 Mike Frysinger <vapier@gentoo.org>
48229
fdc0c10d
MF
48230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48231 (epoll_create1): Declare.
48232
e53a31fe
MF
48233 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48234
a726d796
AS
482352010-08-31 Andreas Schwab <schwab@redhat.com>
48236
48237 [BZ #7066]
48238 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48239 shifting retval into place.
48240
2f3e3dc7
UD
482412010-09-01 Ulrich Drepper <drepper@redhat.com>
48242
f2933da9
UD
48243 * nis/rpcsvc/nis.h: Update copyright notice.
48244 * nis/rpcsvc/nis.x: Likewise.
48245 * nis/rpcsvc/nis_callback.h: Likewise.
48246 * nis/rpcsvc/nis_callback.x: Likewise.
48247 * nis/rpcsvc/nis_object.x: Likewise.
48248 * nis/rpcsvc/nis_tags.h: Likewise.
48249 * nis/rpcsvc/yp.h: Likewise.
48250 * nis/rpcsvc/yp.x: Likewise.
48251 * nis/rpcsvc/ypupd.h: Likewise.
48252 * nis/yp_xdr.c: Likewise.
48253 * nis/ypupdate_xdr.c: Likewise.
48254
2f3e3dc7
UD
48255 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48256 mainly the body of pmap_getport. Add parameters to specify timeouts.
48257 (pmap_getport): Use __libc_rpc_getport.
48258 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48259 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48260 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48261
f3dcc2f9
AS
482622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48263
48264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48265 fanotify_mark.
48266
6d34eb5b
RM
482672010-08-27 Roland McGrath <roland@redhat.com>
48268
48269 * sysdeps/i386/i686/multiarch/Makefile
48270 (CFLAGS-varshift.c): New variable.
48271
9ea3de11
UD
482722010-08-27 Ulrich Drepper <drepper@redhat.com>
48273
c96d23fc
UD
48274 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48275 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48276
9ea3de11
UD
48277 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48278
48279 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48280
623aac7f
L
482812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48282
48283 * sysdeps/x86_64/strlen.S: Unroll the loop.
48284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48285 strlen-sse2 strlen-sse2-bsf.
48286 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48287 __strlen_no_bsf if bit_Slow_BSF is set.
48288 (__strlen_sse42): Removed.
48289 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48290 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48291
8b2b7715
RM
482922010-08-25 Roland McGrath <roland@redhat.com>
48293
48294 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48295 * sysdeps/x86_64/multiarch/varshift.c: New file.
48296 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48297 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48298 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48299 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48300
e73015f2
L
483012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48302
48303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48304 strlen-sse2 strlen-sse2-bsf.
48305 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48306 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48307 (__strlen_sse2): Removed.
48308 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48311 bit_Slow_BSF for Atom.
48312 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48313 (index_Slow_BSF): Define.
48314 (HAS_SLOW_BSF): Define.
48315
df24a73e
UD
483162010-08-25 Ulrich Drepper <drepper@redhat.com>
48317
48318 [BZ #10851]
48319 * resolv/res_init.c (__res_vinit): When no server address at all
48320 is given default to loopback.
48321
f2ac4868
RM
483222010-08-24 Roland McGrath <roland@redhat.com>
48323
09055553
RM
48324 * configure.in: Remove config-name.h generation.
48325 * configure: Regenerated.
48326 * config-name.in: File removed.
48327 * scripts/config-uname.sh: New file.
48328 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48329 ($(objdir)config-name.h): New target.
48330
f2ac4868
RM
48331 * sunrpc/rpc_parse.h: Avoid nested comment.
48332
73f27d5e
RH
483332010-08-24 Richard Henderson <rth@redhat.com>
48334 Ulrich Drepper <drepper@redhat.com>
48335 H.J. Lu <hongjiu.lu@intel.com>
48336
48337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48339 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48340 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48341 _mm_alignr_epi8 with _mm_loadu_si128.
48342 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48343 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48344 (__m128i_shift_right): Removed.
48345 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48346 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48347 * sysdeps/x86_64/multiarch/varshift.h: New file.
48348 * sysdeps/x86_64/multiarch/varshift.S: New file.
48349
84b9230c
MF
483502010-08-21 Mike Frysinger <vapier@gentoo.org>
48351
48352 * configure.in: Move assembler checks to before sysdep dir checking.
48353
9bbd0ddc
PB
483542010-08-20 Petr Baudis <pasky@suse.cz>
48355
48356 * LICENSES: Sync the sunrpc license.
48357
9da4bb31
UD
483582010-08-19 Ulrich Drepper <drepper@redhat.com>
48359
a7ab6ec8
UD
48360 * sunrpc/auth_des.c: Update copyright notice once again.
48361 * sunrpc/auth_none.c: Likewise.
48362 * sunrpc/auth_unix.c: Likewise.
48363 * sunrpc/authdes_prot.c: Likewise.
48364 * sunrpc/authuxprot.c: Likewise.
48365 * sunrpc/bindrsvprt.c: Likewise.
48366 * sunrpc/clnt_gen.c: Likewise.
48367 * sunrpc/clnt_perr.c: Likewise.
48368 * sunrpc/clnt_raw.c: Likewise.
48369 * sunrpc/clnt_simp.c: Likewise.
48370 * sunrpc/clnt_tcp.c: Likewise.
48371 * sunrpc/clnt_udp.c: Likewise.
48372 * sunrpc/clnt_unix.c: Likewise.
48373 * sunrpc/des_crypt.c: Likewise.
48374 * sunrpc/des_soft.c: Likewise.
48375 * sunrpc/get_myaddr.c: Likewise.
48376 * sunrpc/getrpcport.c: Likewise.
48377 * sunrpc/key_call.c: Likewise.
48378 * sunrpc/key_prot.c: Likewise.
48379 * sunrpc/openchild.c: Likewise.
48380 * sunrpc/pm_getmaps.c: Likewise.
48381 * sunrpc/pm_getport.c: Likewise.
48382 * sunrpc/pmap_clnt.c: Likewise.
48383 * sunrpc/pmap_prot.c: Likewise.
48384 * sunrpc/pmap_prot2.c: Likewise.
48385 * sunrpc/pmap_rmt.c: Likewise.
48386 * sunrpc/rpc/auth.h: Likewise.
48387 * sunrpc/rpc/auth_unix.h: Likewise.
48388 * sunrpc/rpc/clnt.h: Likewise.
48389 * sunrpc/rpc/des_crypt.h: Likewise.
48390 * sunrpc/rpc/key_prot.h: Likewise.
48391 * sunrpc/rpc/netdb.h: Likewise.
48392 * sunrpc/rpc/pmap_clnt.h: Likewise.
48393 * sunrpc/rpc/pmap_prot.h: Likewise.
48394 * sunrpc/rpc/pmap_rmt.h: Likewise.
48395 * sunrpc/rpc/rpc.h: Likewise.
48396 * sunrpc/rpc/rpc_des.h: Likewise.
48397 * sunrpc/rpc/rpc_msg.h: Likewise.
48398 * sunrpc/rpc/svc.h: Likewise.
48399 * sunrpc/rpc/svc_auth.h: Likewise.
48400 * sunrpc/rpc/types.h: Likewise.
48401 * sunrpc/rpc/xdr.h: Likewise.
48402 * sunrpc/rpc_clntout.c: Likewise.
48403 * sunrpc/rpc_cmsg.c: Likewise.
48404 * sunrpc/rpc_common.c: Likewise.
48405 * sunrpc/rpc_cout.c: Likewise.
48406 * sunrpc/rpc_dtable.c: Likewise.
48407 * sunrpc/rpc_hout.c: Likewise.
48408 * sunrpc/rpc_main.c: Likewise.
48409 * sunrpc/rpc_parse.c: Likewise.
48410 * sunrpc/rpc_parse.h: Likewise.
48411 * sunrpc/rpc_prot.c: Likewise.
48412 * sunrpc/rpc_sample.c: Likewise.
48413 * sunrpc/rpc_scan.c: Likewise.
48414 * sunrpc/rpc_scan.h: Likewise.
48415 * sunrpc/rpc_svcout.c: Likewise.
48416 * sunrpc/rpc_tblout.c: Likewise.
48417 * sunrpc/rpc_util.c: Likewise.
48418 * sunrpc/rpc_util.h: Likewise.
48419 * sunrpc/rpcinfo.c: Likewise.
48420 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48421 * sunrpc/rpcsvc/key_prot.x: Likewise.
48422 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48423 * sunrpc/rpcsvc/mount.x: Likewise.
48424 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48425 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48426 * sunrpc/rpcsvc/rex.x: Likewise.
48427 * sunrpc/rpcsvc/rstat.x: Likewise.
48428 * sunrpc/rpcsvc/rusers.x: Likewise.
48429 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48430 * sunrpc/rpcsvc/spray.x: Likewise.
48431 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48432 * sunrpc/rtime.c: Likewise.
48433 * sunrpc/svc.c: Likewise.
48434 * sunrpc/svc_auth.c: Likewise.
48435 * sunrpc/svc_authux.c: Likewise.
48436 * sunrpc/svc_raw.c: Likewise.
48437 * sunrpc/svc_run.c: Likewise.
48438 * sunrpc/svc_simple.c: Likewise.
48439 * sunrpc/svc_tcp.c: Likewise.
48440 * sunrpc/svc_udp.c: Likewise.
48441 * sunrpc/svc_unix.c: Likewise.
48442 * sunrpc/svcauth_des.c: Likewise.
48443 * sunrpc/xcrypt.c: Likewise.
48444 * sunrpc/xdr.c: Likewise.
48445 * sunrpc/xdr_array.c: Likewise.
48446 * sunrpc/xdr_float.c: Likewise.
48447 * sunrpc/xdr_mem.c: Likewise.
48448 * sunrpc/xdr_rec.c: Likewise.
48449 * sunrpc/xdr_ref.c: Likewise.
48450 * sunrpc/xdr_sizeof.c: Likewise.
48451 * sunrpc/xdr_stdio.c: Likewise.
48452
9da4bb31
UD
48453 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48454 handling.
48455
bdaa77bc
AS
484562010-08-19 Andreas Schwab <schwab@redhat.com>
48457
48458 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48459
fe2f79db
LM
484602010-08-19 Luis Machado <luisgpm@br.ibm.com>
48461
48462 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48463 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48464 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48465 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48466 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48467 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48468 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48469 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48470 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48471 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48472 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48473 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48474 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48475 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48476
b9b42ee0
AB
484772010-07-26 Anton Blanchard <anton@samba.org>
48478
48479 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48480 * malloc/arena.c (heap_trim): Likewise.
48481
1c06ba31
UD
484822010-08-16 Ulrich Drepper <drepper@redhat.com>
48483
48484 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48485 here. Not...
48486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48487 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48488
f8392f40
L
484892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48490
48491 * sysdeps/i386/elf/Makefile: New file.
48492
3162f12e
AS
484932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48494
48495 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48496 from fanotify_init.
48497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48498 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48499
28c90b2c
UD
485002010-08-15 Ulrich Drepper <drepper@redhat.com>
48501
48502 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48503 of strncasecmp_l.
1feccb6c 48504 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 48505
ca6bb004
UD
485062010-08-14 Ulrich Drepper <drepper@redhat.com>
48507
e9f82e0d
UD
48508 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48509 strncase_l-nonascii.
48510 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48511 Add strncase_l-ssse3.
48512 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48513 * sysdeps/x86_64/strcmp.S: Likewise.
48514 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48515 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48516 * sysdeps/x86_64/strncase.S: New file.
48517 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48518 * sysdeps/x86_64/strncase_l.S: New file.
48519 * string/Makefile (strop-tests): Add strncasecmp.
48520 * string/test-strncasecmp.c: New file.
48521
48522 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48523 warning.
48524
ca6bb004
UD
48525 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48526 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48527
052fa7b3
AS
485282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48529
48530 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48531
962dba78
UD
485322010-08-12 Ulrich Drepper <drepper@redhat.com>
48533
48534 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48535 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48536 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48537
bebff237
AM
485382010-05-01 Alan Modra <amodra@gmail.com>
48539
48540 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48541 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48542 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48543 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48544 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48545 tidying. Don't tail-call __sigjmp_save for static lib.
48546 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48547 save location.
48548 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48549 (CALL_MCOUNT): Add eh info, and nop after bl.
48550 (TAIL_CALL_SYSCALL_ERROR): New macro.
48551 (PSEUDO_RET): Use it.
48552 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48553 Correct save location of integer regs and cr.
48554 (_dl_profile_resolve): Correct cr save location. Delete nops
48555 after bl when SHARED. Reduce cfi size a little by better
48556 placement of cfi directives.
48557 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48558 make a stack frame. Instead use parm save area as a temp.
48559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48560 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48562 Don't make a stack frame for parent, use parm save area.
48563 Increase child stack frame to 112 bytes. Don't save unused reg,
48564 and adjust reg usage. Set up cfi on error recovery and
48565 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48567 (__makecontext): Add dummy nop after jump to exit.
48568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48569 Use correct parm save area and cr save, reduce stack frame.
48570 Correct cfi for possible PSEUDO_RET frame setup.
48571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48572 Branch to local label emitted by PSEUDO_RET rather than
48573 __syscall_error.
48574
02637374
AS
485752010-08-12 Andreas Schwab <schwab@redhat.com>
48576
48577 [BZ #11904]
48578 * locale/programs/locale.c (print_assignment): New function.
48579 (show_locale_vars): Use it.
48580
c3e2f19b
UD
485812010-08-11 Ulrich Drepper <drepper@redhat.com>
48582
3cdaa6ad
UD
48583 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48584 field.
48585 (struct statfs64): Likewise.
48586 (_STATFS_F_FLAGS): Define.
48587 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48588 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48589 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48590 (ST_VALID): Define locally.
48591 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48592 __statvfs_getflags, use the provided value.
48593 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48594 __ASSUME_STATFS_F_FLAGS.
48595
754f7da3
UD
48596 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48597
10b3bedc
UD
48598 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48599 Add sys/fanotify.h.
48600 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48601 fanotify_mask for GLIBC_2.13.
48602 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48603 fanotify_init and fanotify_mark.
48604 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48605 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48606
c08fb0d7
UD
48607 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48608 Add prlimit.
48609 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48610 prlimit64 for GLIBC_2.13.
48611 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48612 prlimit64.
48613 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48614 syscall.
48615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48616 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48617 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48618 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48619 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48620 add prlimit alias.
48621 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48622
15bac72b
UD
48623 [BZ #11903]
48624 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48625 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48626
c3e2f19b
UD
48627 * nss/Makefile: Add rules to build and run tst-nss-test1.
48628 * shlib-versions: Add entry for libnss_test1.
48629 * nss/nss_test1.c: New file.
48630 * nss/tst-nss-test1.c: New file.
48631
48632 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48633 (__nss_configure_lookup): Set appropriate entry in
48634 __nss_configure_lookup to true.
48635 * nss/nsswitch.h: Define enum with indeces of databases in
48636 databases and __nss_database_custom arrays. Declare
48637 __nss_database_custom.
48638 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48639 to avoid using nscd when custom rules are installed.
48640 * nss/getXXbyYY_r.c: Likewise.
48641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48642
48643 * nss/nss_files/files-parse.c: Whitespace fixes.
48644
f15ce4d8
UD
486452010-08-09 Ulrich Drepper <drepper@redhat.com>
48646
48647 [BZ #11883]
48648 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48649 * posix/fnmatch_loop.c: Likewise.
48650
d22e4cc9
AK
486512010-07-17 Andi Kleen <ak@linux.intel.com>
48652
48653 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48654 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48655 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48656 * Versions.def [GLIBC_2.13]: Add.
48657
805bc17d
UD
486582010-08-06 Ulrich Drepper <drepper@redhat.com>
48659
48660 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48661 Also fail if tpwd after pwuid call is NULL.
48662
5a42321d
ST
486632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48664
48665 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48666 when converting to ms.
48667
fd3ebeda
ST
486682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48669
48670 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48671 EOPNOTSUPP errors with ENOTTY.
48672 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48673 EOPNOTSUPP errors with ENOTTY.
48674
73507d3a
UD
486752010-07-31 Ulrich Drepper <drepper@redhat.com>
48676
48677 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48678 Add strcasecmp_l-ssse3.
48679 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48680 strcasecmp.
48681 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48682 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48683 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48684
fe36dd02
UD
486852010-07-30 Ulrich Drepper <drepper@redhat.com>
48686
66f6765a
UD
48687 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48688
42e08a54
UD
48689 * string/Makefile (strop-tests): Add strcasecmp.
48690 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48691 strcasecmp_l-nonascii.
48692 (gen-as-const-headers): Add locale-defines.sym.
48693 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48694 * sysdeps/x86_64/strcasecmp.S: New file.
48695 * sysdeps/x86_64/strcasecmp_l.S: New file.
48696 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48697 * sysdeps/x86_64/locale-defines.sym: New file.
48698 * string/test-strcasecmp.c: New file.
48699
fe36dd02
UD
48700 * string/test-strcasestr.c: Test both ends of the range of characters.
48701 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48702
48cbc0d6
RM
487032010-07-29 Roland McGrath <roland@redhat.com>
48704
76e6d6bc 48705 [BZ #11856]
48cbc0d6
RM
48706 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48707
880113d9
UD
487082010-07-27 Ulrich Drepper <drepper@redhat.com>
48709
48710 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48711 for ld.so.
48712
deb9cabb
AS
487132010-07-27 Andreas Schwab <schwab@redhat.com>
48714
48715 * manual/memory.texi (Malloc Tunable Parameters): Document
48716 M_PERTURB.
48717
1c7570ff
RM
487182010-07-26 Roland McGrath <roland@redhat.com>
48719
48720 [BZ #11840]
48721 * configure.in (-fgnu89-inline check): Set and substitute
48722 gnu89_inline, not libc_cv_gnu89_inline.
48723 * configure: Regenerated.
48724 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48725
24fb0f88
UD
487262010-07-26 Ulrich Drepper <drepper@redhat.com>
48727
48728 * string/test-strnlen.c: New file.
48729 * string/Makefile (strop-tests): Add strnlen.
48730 * string/tester.c (test_strnlen): Add a few more test cases.
48731 * string/tst-strlen.c: Better error reporting.
48732
48733 * sysdeps/x86_64/strnlen.S: New file.
48734
8e96b93a
UD
487352010-07-24 Ulrich Drepper <drepper@redhat.com>
48736
48737 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48738 lower-latency instructions.
48739
dbc676d4
UD
487402010-07-23 Ulrich Drepper <drepper@redhat.com>
48741
48742 * string/test-strcasestr.c: New file.
48743 * string/test-strstr.c: New file.
48744 * string/Makefile (strop-tests): Add strstr and strcasestr.
48745 * string/str-two-way.h: Don't undefine MAX.
48746 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48747
f6a31e0e
AS
487482010-07-21 Andreas Schwab <schwab@redhat.com>
48749
48750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48751 strcasestr-nonascii.
48752 (CFLAGS-strcasestr-nonascii.c): Define.
48753 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48754 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48755 Remove unused attribute.
48756
5dbc3b6c
RM
487572010-07-20 Roland McGrath <roland@redhat.com>
48758
48759 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48760 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48761 ld.so.cache was broken. With it, there is no way to disable dsocaps
48762 like LD_HWCAP_MASK can disable hwcaps.
48763
23d101d8
EPM
487642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48765
48766 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48767
cc9f2e47
UD
487682010-07-16 Ulrich Drepper <drepper@redhat.com>
48769
48770 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48771 call in strcasestr.
48772 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48773 __strcasestr_sse42_nonascii.
48774 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48775 strcasestr-nonascii.c.
48776 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48777
77c1b069
LM
487782010-06-15 Luis Machado <luisgpm@br.ibm.com>
48779
48780 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48782 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48784
440566c3
UD
487852010-07-09 Ulrich Drepper <drepper@redhat.com>
48786
48787 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48788 fcntl.
48789
5be9d05d
AS
487902010-07-06 Andreas Schwab <schwab@redhat.com>
48791
c30b7ee2 48792 [BZ #11577]
5be9d05d
AS
48793 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48794 dl_signal_cerror.
48795
8a492a67
UD
487962010-07-06 Ulrich Drepper <drepper@redhat.com>
48797
48798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48799 _PC_PIPE_BUF using F_GETPIPE_SZ.
48800
713df3d5
RM
488012010-07-05 Roland McGrath <roland@redhat.com>
48802
48803 * manual/arith.texi (Rounding Functions): Fix rint description
48804 implicit in round description.
48805
702e8f14
UD
488062010-07-02 Ulrich Drepper <drepper@redhat.com>
48807
48808 * elf/Makefile: Fix linking for a few tests to make recent linker
48809 happy.
48810
52ed8be9
AS
488112010-06-30 Andreas Schwab <schwab@redhat.com>
48812
48813 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48814 $(common-objpfx)libc_nonshared.a.
48815
f47c9a11
LM
488162010-06-21 Luis Machado <luisgpm@br.ibm.com>
48817
48818 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48819 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48820 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48821 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48822 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48823 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48824 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48825 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48840 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48841 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48842 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48843 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48844 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48845 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48846 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48847 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48848 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48849 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48850 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48851 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48866
6fb8cbcb
L
488672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48868
48869 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48870 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48871 * string/memmove.c (memmove): Renamed to ...
48872 (MEMMOVE): ...this. Default to memmove.
48873 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48874 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48875 (END_CHK): Define.
48876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48877 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48878 mempcpy-ssse3-back memmove-ssse3-back.
48879 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48880 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48881 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48882 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48883 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48884 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48885 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48886 * sysdeps/x86_64/multiarch/memmove.c: New file.
48887 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48888 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48889 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48890 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48891 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48892 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48893 Define.
48894 (index_Fast_Copy_Backward): Define.
48895 (HAS_ARCH_FEATURE): Define.
48896 (HAS_FAST_REP_STRING): Define.
48897 (HAS_FAST_COPY_BACKWARD): Define.
48898
4e733bac 488992010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48900
48901 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48902 Restore proper fallback handling.
48903
63c4ed22
UD
489042010-06-19 Ulrich Drepper <drepper@redhat.com>
48905
ac2b484c
UD
48906 [BZ #11701]
48907 * posix/group_member.c (__group_member): Correct checking loop.
48908
63c4ed22
UD
48909 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48910 OOM in getpwuid_r correctly. Return error number when the caller
48911 should return, otherwise -1.
48912 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48913 call returning > 0 value.
48914 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48915
765ade4b
AS
489162010-06-07 Andreas Schwab <schwab@redhat.com>
48917
48918 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48919 libc_nonshared.a from targets in modules-names.
48920
80da2e09
KS
489212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48922
48923 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48924 requires it.
48925
158db122
LM
489262010-06-10 Luis Machado <luisgpm@br.ibm.com>
48927
48928 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48929 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48930 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48931 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48932
caa78cf8
AS
489332010-06-02 Andreas Schwab <schwab@redhat.com>
48934
48935 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48936
b2ef2c01
UD
489372010-06-14 Ulrich Drepper <drepper@redhat.com>
48938
48939 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48940 and F_GETPIPE_SZ.
48941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48945 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48946 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48947
fbd643b6
RM
489482010-06-14 Roland McGrath <roland@redhat.com>
48949
48950 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48951
f32f2869
JJ
489522010-06-07 Jakub Jelinek <jakub@redhat.com>
48953
48954 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48955 __REDIRECT followed by __THROW.
48956 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48957 * posix/getopt.h (getopt): Likewise.
48958
2a50c078
EPM
489592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48960
48961 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48962 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48963 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48964 in AT_FLAGS.
48965 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48966 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48967
eb5ad2eb
LM
489682010-05-28 Luis Machado <luisgpm@br.ibm.com>
48969
48970 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48971
3c88fe1e
L
489722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48973
48974 [BZ #11640]
48975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48976 Properly check family and model.
48977
d2f73151
TY
489782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48979
48980 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48981
ebd2e13d
LM
489822010-05-24 Luis Machado <luisgpm@br.ibm.com>
48983
48984 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48985
b32b8b45
UD
489862010-05-21 Ulrich Drepper <drepper@redhat.com>
48987
48988 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48989 symbol reference.
48990
9acbe24d
AS
489912010-05-19 Andreas Schwab <schwab@redhat.com>
48992
48993 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48994 symbol reference.
48995
f0ccf6ea
AS
489962010-05-21 Andreas Schwab <schwab@redhat.com>
48997
3d04ff3a
AS
48998 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48999 and internal_recvmmsg.
49000 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49001 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49002 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49003 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49004
f0ccf6ea
AS
49005 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49006 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49007 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49008
5b08ac57
AS
490092010-05-20 Andreas Schwab <schwab@redhat.com>
49010
49011 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49012
4828935d
LM
490132010-05-17 Luis Machado <luisgpm@br.ibm.com>
49014
49015 POWER7 optimizations.
49016 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49017 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49018
373d545e
UD
490192010-05-19 Ulrich Drepper <drepper@redhat.com>
49020
49021 * version.h: Update for 2.13 development version.
49022
21a2b1ae
AS
490232010-05-12 Andrew Stubbs <ams@codesourcery.com>
49024
49025 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49026 exceptions. Return 0.
49027
3f7dcb2b
RM
490282010-05-07 Roland McGrath <roland@redhat.com>
49029
49030 * elf/ldconfig.c (main): Add a const.
49031
5f24d53a 490322010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49033
a160f8d8
UD
49034 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49035 (args_options): Add no-idn option.
49036 (ahosts_keys_int): Add idn_flags to ai_flags.
49037 (parse_option): Handle 'i' option to clear idn_flags.
49038
5f24d53a
UD
49039 * malloc/malloc.c (_int_free): Possible race in the most recently
49040 added check. Only act on the data if no current modification
49041 happened.
265bb1ce
UD
49042
49043See ChangeLog.17 for earlier changes.
This page took 7.355336 seconds and 5 git commands to generate.